Don't use a nested function in rpmatch.
[platform/upstream/glibc.git] / ChangeLog
1 2014-09-12  Roland McGrath  <roland@hack.frob.com>
2
3         * stdlib/rpmatch.c (try): New function, broken out of ...
4         (rpmatch): ... local function here.  Also, prototypify definition.
5
6 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7
8         * scripts/soversions.awk: Do not handle configuration names.
9         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10         vendor and os variables to soversions.awk.
11         * configure.ac: Do not modify gnu-* host_os.
12         * configure: Regenerated
13         * shlib-versions: Remove first column with configuration names.
14         * nptl/shlib-versions: Likewise.
15         * nptl_db/shlib-versions: Likewise.
16         * sysdeps/hppa/shlib-versions: Likewise.
17         * sysdeps/m68k/shlib-versions: Likewise.
18         * sysdeps/mach/hurd/shlib-versions: Likewise.
19         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
20         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
21         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
22         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
23         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
24         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
25         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
26         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28         Likewise.
29         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
34         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
36         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37
38         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
40         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
41         Regenerated.
42         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
43         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44         Condition symbol version definitions on [HAVE_ELFV2_ABI].
45
46         * shlib-versions: Remove OS-specific entries.  Moved to files in
47         sysdeps.
48         * sysdeps/mach/hurd/shlib-versions: New file.
49         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
50
51         * nptl/shlib-versions: Remove architecture-specific entries.
52         Moved to files in sysdeps.
53         * shlib-versions: Likewise.
54         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
55         file.
56         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
57         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
58         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
59         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
60
61         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
62         (UDP_NO_CHECK6_RX): Likewise.
63
64 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
65
66         * sysdeps/posix/sysconf.c (__sysconf): Spell
67         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
68
69 2014-08-12  Florian Weimer  <fweimer@redhat.com>
70
71         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
72         loading.
73         * iconv/Versions (__gconv_transliterate): Export for use from
74         gconv modules.
75         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
76         (struct __gconv_trans_data, __gconv_trans_fct,
77         __gconv_trans_context_fct, __gconv_trans_query_fct,
78         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
79         definitions.
80         (struct __gconv_step_data): Remove __trans member.
81         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
82         longer hidden.  Remove unused trans_data argument.
83         * iconv/gconv_int.h (struct trans_struct): Remove definition.
84         (__gconv_translit_find): Remove declaration.
85         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
86         prototype.
87         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
88         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
89         trans_data argument.  Add hidden definition.
90         (__gconv_translit_find): Remove.
91         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
92         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
93         * iconv/skeleton.c: Remove transliteration initialization.
94         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
95         __gconv_step_data initialization.
96         * libio/iofwide.c (__libio_translit_): Remove.
97         (_IO_fwide): Adjust struct __gconv_step_data initialization.
98         * wcsmbs/btowc.c (__btowc): Likewise.
99         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
100         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
101         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
102         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
103         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
104         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
105         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
106         * wcsmbs/wctob.c (wctob): Likewise.
107
108 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
109
110         [BZ #16194]
111         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
112         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
113         register usage.
114         * sysdeps/x86/Makefile: Adjust.
115
116 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
117             Roland McGrath  <roland@hack.frob.com>
118
119         * locale/weight.h: Add include guard.
120         (findidx): Make static rather than auto; take new parameters
121         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
122         * locale/weightwc.h: Likewise.
123         * posix/fnmatch_loop.c
124         (FCT): Change type of EXTRA from int32_t to wint_t.
125         Don't include either header inside the function.
126         Call FINDIDX rather than findidx, and pass new arguments.
127         #undef FINDIDX at the end of the file.
128         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
129         FINDIDX before including fnmatch_loop.c for the non-wide version.
130         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
131         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
132         for the wide version.
133         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
134         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
135         Pass new arguments to findidx.
136         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
137         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
138         Don't #include it inside the function.  Pass new arguments to findidx.
139         * posix/regex_internal.h
140         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
141         (re_string_elem_size_at): Don't #include it inside the function.
142         Pass new arguments to findidx.
143         * string/strcoll_l.c: #include WEIGHT_H at top level.
144         (get_next_seq): Don't #include it inside the function.
145         Pass new arguments to findidx.
146         (get_next_seq_nocache): Likewise.
147         * string/strxfrm_l.c: #include WEIGHT_H at top level.
148         (STRXFRM): Don't #include it inside the function.
149         Pass new arguments to findidx.
150
151 2014-09-11  Florian Weimer  <fweimer@redhat.com>
152
153         [BZ #17344]
154         * malloc/malloc.c (unlink): Turn asserts into a call to
155         malloc_printerr.
156
157 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
158
159         [BZ #17370]
160         * libio/wfileops (do_ftell_wide): Free OUT.
161
162 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
163
164         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
165
166 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
167
168         [BZ #17363]
169         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
170         group if the current group is empty.
171
172 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
173
174         * benchtests/bench-memset.c (test_main): Add more test from size
175         from 32 to 512 bytes.
176         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
177         Add POWER8 memset object.
178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
179         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
180         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
181         implementation.
182         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
183         Likewise.
184         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
185         multiarch POWER8 memset optimization.
186         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
187         POWER8 memset optimization.
188
189         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
190         Remove bzero multiarch objects.
191         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
192         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
193         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
194         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
195         Remove define.
196         [__bzero]: Redefine to specific name.
197         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
198         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
199         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
200         define.
201         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
202         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
203
204 2014-09-10  Florian Weimer  <fweimer@redhat.com>
205
206         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
207         warnings into errors.
208
209         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
210         __cxa_thread_atexit_impl prototype.
211
212 2014-09-09  Steve Ellcey  <sellcey@mips.com>
213
214         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
215         Fix capitalization of error message.
216
217 2014-09-09  Steve Ellcey  <sellcey@mips.com>
218
219         * sysdeps/mips/preconfigure: Modify ABI tests.
220
221 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
222
223         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
224
225 2014-09-07  Roland McGrath  <roland@hack.frob.com>
226             Carlos O'Donell  <carlos@systemhalted.org>
227
228         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
229         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
230         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
231         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
232         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
233         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
234         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
235         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
236         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
237         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
238         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
239         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
240         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
241         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
242         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
243         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
244         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
245         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
246         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
247         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
248         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
249         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
250         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
251         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
252         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
253         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
254         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
255         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
256         Deconditionalize the code that was previously under [RESET_PID].
257         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
258         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
259         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
260         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
261         include sysdep.h.
262
263 2014-09-08  Allan McRae  <allan@archlinux.org>
264
265         * version.h (RELEASE): Set to "development".
266         (VERSION): Set to "2.20.90"
267
268 2014-09-07  Allan McRae  <allan@archlinux.org
269
270         * version.h (RELEASE): Set to "stable".
271         (VERSION): Set to "2.20"
272         * include/features.h (__GLIBC_MINOR__): Set to 20.
273
274         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
275         Liebler.
276
277         * po/ko.po: Update Korean translation from translation project.
278
279 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
280
281         [BZ #17354]
282         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
283         macro for handling signed relocations.
284
285 2014-09-03  Florian Weimer  <fweimer@redhat.com>
286
287         [BZ #17325]
288         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
289         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
290         assert.
291         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
292         * iconvdata/ibm935.c (BODY): Likewise.
293         * iconvdata/ibm937.c (BODY): Likewise.
294         * iconvdata/ibm939.c (BODY): Likewise.
295         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
296         assert.
297         * iconvdata/Makefile (iconv-test.out): Pass module list to test
298         script.
299         * iconvdata/run-iconv-test.sh: New test loop for checking for
300         decoder crashers.
301
302 2014-09-02  Khem Raj  <raj.khem@gmail.com>
303
304         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
305         libm_hidden_ver.
306
307 2014-09-01  Allan McRae  <allan@archlinux.org>
308
309         * po/eo.po: Update Esperanto translation from translation project.
310
311         * po/ca.po: Update Catalan translation from translation project.
312
313 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
314
315         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
316         __proc_dostop call.
317
318 2014-08-27  Mark Wielaard  <mjw@redhat.com>
319
320         [BZ #17319]
321         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
322         to call set_thread_area instead of hand written asm.
323         (__NR_set_thread_area): Removed define.
324         (TLS_FLAG_WRITABLE): Likewise.
325         (__ASSUME_SET_THREAD_AREA): Remove check.
326         (TLS_EBX_ARG): Remove define.
327         (TLS_LOAD_EBX): Likewise.
328
329 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
330
331         Simplify atomicity of socket creation in bind.
332
333         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
334         looking up the name after linking the file.
335
336 2014-08-27  Allan McRae  <allan@archlinux.org>
337
338         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
339
340 2014-08-26  Florian Weimer  <fweimer@redhat.com>
341
342         [BZ #17187]
343         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
344         trans_compare, open_translit, __gconv_translit_find):
345         Remove module loading code.
346
347 2014-08-26  Allan McRae  <allan@archlinux.org>
348
349         * po/vi.po: Update Vietnamese translation from translation project.
350
351         * po/uk.po: Update Ukrainian translation from translation project.
352
353         * po/fr.po: Update French translation from translation project.
354
355         * po/ru.po: Update Russian translation from translation project.
356
357         * po/pl.po: Update Polish translation from translation project.
358
359         * po/cs.po: Update Czech translation from translation project.
360
361         * po/de.po: Update German translation from translation project.
362
363         * po/bg.po: Update Bulgarian translation from translation project.
364
365         * po/sv.po: Update Sweedish translation from translation project.
366
367         * po/nl.po: Update Dutch translation from translation project.
368
369         * po/es.po: Update Spanish translation from translation project.
370
371 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
372
373         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
374
375         * catgets/Makefile (CPPFLAGS-gencat): Remove.
376         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
377         (CPPFLAGS-iconvconfig): Likewise.
378         * timezone/Makefile (CPPFLAGS-zic): Likewise.
379
380         * include/libc-symbols.h: Remove unnecessary check for
381         NOT_IN_libc.
382         * nptl/pthreadP.h: Likewise.
383         * sysdeps/aarch64/setjmp.S: Likewise.
384         * sysdeps/alpha/setjmp.S: Likewise.
385         * sysdeps/arm/sysdep.h: Likewise.
386         * sysdeps/i386/setjmp.S: Likewise.
387         * sysdeps/m68k/setjmp.c: Likewise.
388         * sysdeps/posix/getcwd.c: Likewise.
389         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
390         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
391         * sysdeps/s390/s390-32/setjmp.S: Likewise.
392         * sysdeps/s390/s390-64/setjmp.S: Likewise.
393         * sysdeps/sh/sh3/setjmp.S: Likewise.
394         * sysdeps/sh/sh4/setjmp.S: Likewise.
395         * sysdeps/unix/alpha/sysdep.h: Likewise.
396         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
397         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
398         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
399         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
402         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
403         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
404         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
405         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
406         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
407         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
408         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
409         * sysdeps/x86_64/setjmp.S: Likewise.
410
411 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
412
413         [BZ #17263]
414         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
415         <stdint.h>.
416         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
417         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
418
419 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
420
421         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
422
423         [BZ #17262]
424         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
425         and __x86_64__ when disabling x87 inline functions.
426
427 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
428
429         [BZ #17259]
430         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
431         asm statement with __cpuid_count.
432
433 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
434
435         * configure.ac: Change __ehdr_start code to dereference the struct.
436         Run readelf on the output to look for relocations.
437         * configure: Regenerated.
438
439 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
440
441         [BZ #17261]
442         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
443         value to 0.
444         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
445
446 2014-08-12  Roland McGrath  <roland@hack.frob.com>
447
448         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
449
450 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
451
452         [BZ #16892]
453         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
454         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
455
456 2014-08-12  Sean Anderson  <seanga2@gmail.com>
457
458         * malloc/malloc.c: Fix typo in comment.
459
460 2014-08-09  Allan McRae  <allan@archlinux.org>
461
462         * Regenerate libc.po.
463
464 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
465
466         * intl/tst-gettext2.sh: Check every lang file for creation.
467
468 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
469
470         * sysdeps/aarch64/fpu/math_private.h
471         (libc_feholdsetround_noex_aarch64_ctx): New function.
472
473 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
474
475         * sysdeps/arm/armv6/strcpy.S (strcpy):
476         Fix performance issue in misaligned cases.
477
478 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
479
480         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
481         Move definition from termios.h.
482         (struct termio): Likewise.
483         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
484         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
485         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
486         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
487         Likewise.
488         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
489         Move definition to ioctl-types.h
490         (struct termio): Likewise.
491         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
492         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
493         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
494         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
495         Likewise.
496
497 2014-08-05  Richard Henderson  <rth@redhat.com>
498
499         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
500         exceptions.
501         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
502         Add fraiseexcpt.
503         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
504         Use __feraiseexcept.
505         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
506         Protect libm symbols with IS_IN_libm.
507
508         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
509
510 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
511
512         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
513
514 2014-08-04  Will Newton  <will.newton@linaro.org>
515
516         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
517         file.
518
519 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
520
521         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
522         variants for each function.
523
524 2014-08-04  Roland McGrath  <roland@hack.frob.com>
525
526         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
527         appended ...
528         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
529         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
530         appended ...
531         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
532         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
533         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
534         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
535         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
536         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
537         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
538         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
539         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
540         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
541         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
542         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
543         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
544         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
545         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
546         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
547         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
548         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
549         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
550         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
551         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
552         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
553         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
554         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
555         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
556         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
557         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
558         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
559         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
560         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
561         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
562         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
563         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
564         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
565         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
566         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
567         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
568         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
569         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
570         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
571         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
572         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
573         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
574         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
575         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
576         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
577         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
578         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
579         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
580         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
581         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
582         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
583         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
584         Update #include.
585         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
586         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
587
588 2014-08-04  Roland McGrath  <roland@hack.frob.com>
589
590         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
591         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
592         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
593         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
594         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
595         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
596
597 2014-08-04  Roland McGrath  <roland@hack.frob.com>
598
599         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
600         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
601         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
602         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
603
604 2014-08-04  Roland McGrath  <roland@hack.frob.com>
605
606         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
607         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
608         (__libc_vfork): Define function under this name.
609         (__vfork): Define as an alias.
610         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
611         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
612
613 2014-08-04  Roland McGrath  <roland@hack.frob.com>
614
615         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
616         that was previously under [RESET_PID].
617         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
618
619 2014-08-04  Andreas Schwab  <schwab@suse.de>
620
621         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
622
623 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
624
625         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
626         (main): Likewise.
627
628 2014-08-01  Roland McGrath  <roland@hack.frob.com>
629
630         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
631
632 2014-08-01  Richard Henderon  <rth@redhat.com>
633
634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
635         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
636         typo in exact zero test.
637         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
638         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
639         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
640
641 2014-08-01  Roland McGrath  <roland@hack.frob.com>
642
643         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
644         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
645         * sysdeps/arm/sysdep.h: ... here.
646         [!__ASSEMBLER__]: Include <stdint.h>.
647
648 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
649
650         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
651         (HAVE_WCTYPE_H): Likewise.
652         (HAVE_ISWCTYPE): Likewise.
653         (ENABLE_NLS): Likewise.
654         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
655         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
656
657         * posix/regex_internal.c: Check if DEBUG is defined and is
658         set.
659
660         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
661         (HAVE_MBSRTOWCS): Likewise.
662         * posix/fnmatch.c: Include string.h unconditionally.
663
664 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
665
666         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
667         reversal.
668
669 2014-07-31  Roland McGrath  <roland@hack.frob.com>
670
671         * sysdeps/generic/safe-fatal.h: New file.
672         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
673         * nptl/forward.c: Include it.
674         (__pthread_unwind): Use __safe_fatal as default action, rather
675         than a bogus use of INTERNAL_SYSCALL that could never work.
676
677         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
678         * configure.ac (libc_cv_builtin_trap): New test.
679         * configure: Regenerated.
680         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
681         (ABORT_INSTRUCTION): Define using __builtin_trap.
682
683         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
684         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
685         * sysdeps/nptl/nptl-signals.h: New file.
686         * nptl/pthreadP.h: Include <nptl-signals.h>.
687
688 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
689
690         * sysdeps/s390/s390-64/utf16-utf32-z9.c
691         (ONE_DIRECTION): Define.
692         * sysdeps/s390/s390-64/utf8-utf16-z9.c
693         (ONE_DIRECTION): Define.
694         * sysdeps/s390/s390-64/utf8-utf32-z9.c
695         (ONE_DIRECTION): Define.
696
697 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
698
699         * sysdeps/s390/Makefile: Delete file.
700         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
701         * sysdeps/s390/__longjmp.c: Delete file.
702         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
703         Remove fields __flags and __reserved.
704         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
705         and add versioning.
706         * sysdeps/s390/rtld-__longjmp.c: Delete file.
707         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
708         * sysdeps/s390/rtld-setjmp.S: Likewise.
709         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
710         * sysdeps/s390/s390-32/__longjmp.c: ... here.
711         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
712         * sysdeps/s390/s390-32/setjmp.S: ... here.
713         Add versioning.
714         (__sigsetjmp): Remove setting __flags field.
715         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
716         * sysdeps/s390/s390-64/__longjmp.c: ... here.
717         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
718         * sysdeps/s390/s390-64/setjmp.S: ... here.
719         Add versioning.
720         (__sigsetjmp): Remove setting __flags field.
721         * sysdeps/s390/setjmp.S: Delete file.
722         * sysdeps/s390/sigjmp.c: Likewise.
723         * sysdeps/s390/v1-longjmp.c: Likewise.
724         * sysdeps/s390/v1-setjmp.h: Likewise.
725         * sysdeps/s390/v1-sigjmp.c: Likewise.
726         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
727         Remove v1-longjmp_chk.
728         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
729         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
730         Include debug/longjmp_chk.c and add versioning.
731         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
732         Include nptl/pt-longjmp.c and add versioning.
733         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
734         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
735         Include __longjmp.c.
736         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
737         Move to ...
738         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
739         (__getcontext): Remove setting __flags field.
740         Add versioning.
741         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
742         Don't restore upper high grps.
743         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
744         Likewise.
745         (__swapcontext): Remove setting uc_flags field.
746         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
747         Delete file.
748         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
749         Include __longjmp.c.
750         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
751         Move to ...
752         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
753         (__getcontext): Remove setting __flags field.
754         Add versioning.
755         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
756         (__swapcontext): Remove setting uc_flags field.
757         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
758         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
759         Remove fields uc_high_gprs and __reserved.
760         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
761         New file with reverted content.
762         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
763         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
764         Regenerated.
765         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
766         Regenerated.
767
768 2014-07-31  Andreas Schwab  <schwab@suse.de>
769
770         * config.h.in (HAVE_IFUNC): Define to 0.
771         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
772         definedness.
773
774 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
775
776         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
777         memmove-avx-unaligned, memcpy-avx-unaligned and
778         mempcpy-avx-unaligned.
779         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
780         Add tests for AVX memcpy functions.
781         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
782         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
783         memcpy_chk.
784         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
785         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
786         memmove_chk.
787         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
788         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
789         mempcpy_chk.
790         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
791         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
792         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
793
794 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
795
796         [BZ #17213]
797         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
798         powerpc64le.
799
800 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
801
802         [BZ #16839]
803         * manual/llio.texi: Add section about open file description locks.
804         * manual/examples/ofdlocks.c: Example of open file description
805         lock usage.
806         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
807         F_OFD_SETLK, and F_OFD_SETLKW.
808
809 2014-07-23  Allan McRae  <allan@archlinux.org>
810
811         * po/es.po: Update Spanish translation from translation project.
812
813 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
814
815         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
816
817 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
818
819         [BZ #17078]
820         * sysdeps/arm/dl-machine.h (elf_machine_rela)
821         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
822         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
823
824 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
825
826         [BZ #17088]
827         * math/fesetenv.c (__fesetenv)
828         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
829         * math/feupdateenv.c (__feupdateenv)
830         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
831
832         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
833         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
834         (__ASSUME_SOCKETCALL): Do not define.
835
836         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
837         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
838         (__ASSUME_SOCKETCALL): Do not define.
839         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
840         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
841         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
842         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
843         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
844         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
845         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
846         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
847
848         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
849         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
850         (__ASSUME_SOCKETCALL): Do not define.
851         (__ASSUME_IPC64): Define unconditionally.
852         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
853         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
854         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
855         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
856         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
857         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
858         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
859         Likewise.
860
861         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
862         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
863         (__ASSUME_SOCKETCALL): Do not define.
864         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
865         (__ASSUME_FUTEX_LOCK_PI): Likewise.
866         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
867         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
868         (__ASSUME_REQUEUE_PI): Define unconditionally.
869         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
870         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
871         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
872         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
873         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
874         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
875
876         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
877         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
878         (__ASSUME_SOCKETCALL): Do not define.
879         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
880         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
881         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
882         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
883         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
884         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
885
886         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
887         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
888         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
889         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
890         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
891         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
892         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
893         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
894         (__ASSUME_GETCPU_SYSCALL): Likewise.
895
896         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
897         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
898         cases for individual architectures.
899         * sysdeps/gnu/configure: Regenerated.
900         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
901         LIBC_SLIBDIR_RTLDDIR.
902         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
903         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
904         LIBC_SLIBDIR_RTLDDIR.
905         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
907         LIBC_SLIBDIR_RTLDDIR.
908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
909         Regenerated.
910         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
911         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
912         file.
913         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
914         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
915         file.
916         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
917         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
918         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
919         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
920
921         * sysdeps/aarch64/shlib-versions: Move to ...
922         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
923         * sysdeps/alpha/shlib-versions: Move to ...
924         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
925         * sysdeps/arm/shlib-versions: Move to ...
926         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
927         * sysdeps/hppa/shlib-versions: Move all contents except for
928         libgcc_s entry to ...
929         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
930         entry from ...
931         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
932         * sysdeps/ia64/shlib-versions: Move to ...
933         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
934         entry from ...
935         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
936         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
937         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
938         * sysdeps/microblaze/shlib-versions: Move to ...
939         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
940         * sysdeps/mips/shlib-versions: Move to ...
941         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
942         entry from ...
943         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
944         * sysdeps/tile/shlib-versions: Move to ...
945         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
946         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
947         from ...
948         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
949         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
950         entry from ...
951         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
952
953 2014-07-17  Will Newton  <will.newton@linaro.org>
954
955         * sysdeps/arm/bits/atomic.h
956         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
957         (__arch_compare_and_exchange_bool_16_int): Likewise.
958         (__arch_compare_and_exchange_bool_64_int): Likewise.
959
960         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
961         into an #else block.
962
963 2014-07-16  Roland McGrath  <roland@hack.frob.com>
964
965         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
966         just Linux configurations.  Test empirically that the compiler sets
967         __ARM_EABI__, rather than using the tuple to decide.
968         * sysdeps/arm/preconfigure: Regenerated.
969         * sysdeps/unix/sysv/linux/arm/configure: File removed.
970         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
971         contents appended ...
972         * sysdeps/arm/configure.ac: ... here.
973         * sysdeps/arm/configure: Regenerated.
974
975 2014-07-15  Roland McGrath  <roland@hack.frob.com>
976
977         * nptl/pthread_kill.c: New file.
978         * nptl/pthread_sigmask.c: New file.
979         * nptl/pthread_sigqueue.c: New file.
980
981         * sysdeps/nptl/lowlevellock.h: New file.
982         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
983         * sysdeps/nptl/lowlevellock-futex.h: New file.
984
985         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
986         Remove dead declarations.
987
988 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
989
990         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
991         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
992         config-cflags-avx2.
993         * sysdeps/x86_64/configure.ac: Likewise.
994         * sysdeps/i386/configure: Regenerated.
995         * sysdeps/x86_64/configure: Likewise.
996         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
997         memset-avx2 only if config-cflags-avx2 is yes.
998         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
999         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1000         defined.
1001         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1002         only if HAVE_AVX2_SUPPORT is defined.
1003         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1004
1005 2014-07-14  Alan Modra  <amodra@gmail.com>
1006
1007         [BZ #17153]
1008         * elf/elf.h (DT_PPC64_NUM): Correct value.
1009         * NEWS: Add to fixed bug list.
1010
1011 2014-07-13  Jim Meyering  <meyering@fb.com>
1012
1013         [BZ 17150]
1014         regex: don't deref NULL upon heap allocation failure
1015         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1016         failure in one more place.
1017         To trigger the segfault, configure grep -with-included-regex,
1018         build it, and run these commands:
1019         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1020
1021 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1022
1023         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1024
1025 2014-07-11  Richard Henderson  <rth@redhat.com>
1026
1027         * sysdeps/aarch64/libm-test-ulps: Update.
1028
1029 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1030
1031         [BZ #17135]
1032         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1033         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1034         (__nptl_setxid): Initialize error member.  Call
1035         __nptl_setxid_error.
1036         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1037         * nptl/descr.h (struct xid_command): Add error member.
1038         * nptl/tst-setuid3.c: New file.
1039         * nptl/Makefile (tests): Add it.
1040
1041 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1042
1043         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1044         New define.
1045         (__lll_trylock): Use __lll_base_trylock.
1046         (__lll_cond_trylock): Likewise.
1047
1048 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1049
1050         * nptl/pthread_create.c (start_thread): Use atomic_or and
1051         lll_futex_wake directly rather than lll_robust_dead.
1052         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1053         (lll_robust_dead): Macro removed.
1054         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1055         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1056         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1057         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1058         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1059         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1060         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1061         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1062         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1063         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1064         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1065         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1066         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1067         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1068         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1069
1070         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1071         Use atomic_compare_and_exchange_val_acq directly rather than
1072         lll_robust_trylock.
1073         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1074         (__lll_robust_trylock, lll_robust_trylock): Removed.
1075         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1076         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1077         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1078         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1079         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1080         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1081         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1082         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1083         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1084         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1085         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1086         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1087         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1088         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1089
1090 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1091
1092         * manual/locale.texi (Locale Names): New section documenting
1093         locale name syntax.  Adjust menu and node chaining accordingly.
1094         (Choosing Locale): Reference Locale Names, Locale Categories.
1095         Mention setting LC_ALL=C.  Reflect that name syntax is now
1096         documented.
1097         (Locale Categories): New section title.  Reference Locale Names.
1098         LC_ALL is an environment variable, but not a category.
1099         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1100         description, now in Locale Name.  Reference that section.  Locale
1101         name syntax is now documented.
1102
1103 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1104
1105         [BZ #17137]
1106         * locale/findlocale.c (name_present, valid_locale_name): New
1107         functions.
1108         (_nl_find_locale): Use the loc_name variable to store name
1109         candidates.  Call name_present and valid_locale_name to check and
1110         validate locale names.  Return an error if the locale is invalid.
1111
1112 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1113
1114         * locale/setlocale.c (setlocale): Use strdup for allocating
1115         composite name copy.
1116
1117 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1118
1119         Sync up with gnulib.
1120         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1121         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1122         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1123         and _GL_ARG_NONNULL.
1124         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1125         [!_LIBC]: Include code for Windows and Cygwin.
1126         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1127         Include prototype for int strerror_r.
1128         [!_LIBC] (is_open): New function.
1129         (flush_stdout): New function.
1130         (print_errno_message): Use it.
1131         (error): Likewise.
1132         (error_at_line): Likewise.
1133         (error_tail) Add function attribute macros.  Use
1134         __builtin_expect.
1135
1136         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1137
1138         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1139
1140         * io/ftw.c: Include sys/param.h unconditionally.
1141
1142         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1143
1144         [BZ #17125]
1145         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1146         libc_freeres_ptr.
1147         (freecache): New function to free CACHE on exit.
1148
1149         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1150         initialization.
1151
1152 2014-07-09  David S. Miller  <davem@davemloft.net>
1153
1154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1155
1156         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1157         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1158         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1159         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1160         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1161         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1162         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1163         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1164         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1165         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1166         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1167         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1168         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1169
1170 2014-07-09  Andreas Schwab  <schwab@suse.de>
1171
1172         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1173         output.
1174         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1175         (do_test): Likewise.
1176
1177         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1178
1179 2014-07-09  Will Newton  <will.newton@linaro.org>
1180
1181         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1182         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1183         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1184         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1185         * sysdeps/hppa/start.S (_start): Likewise.
1186
1187 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1188
1189         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1190
1191         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1192         defined.
1193
1194 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1195
1196         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1197         after checking that it is non-NULL.
1198
1199         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1200
1201 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1202
1203         * sysdeps/powerpc/memmove.c: Remove file.
1204         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1205         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1206         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1207         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1208         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1209         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1210         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1211         string memmove instead of removed powerpc one.
1212
1213         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1214         [weak_alias]: Fix compiler warning due trailing data.
1215         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1216         [weak_alias]: Likewise.
1217         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1218         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1219
1220         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1221         (__libc_ifunc_impl_list): Add memmove functions.
1222
1223 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1224
1225         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1226         Remove code.
1227         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1228         Likewise
1229         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1230         Likewise
1231         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1232         Likewise
1233         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1234         Likewise
1235         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1236         Likewise
1237         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1238         Likewise
1239         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1240         Likewise
1241         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1242         Likewise
1243         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1244         Likewise
1245         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1246         Likewise
1247         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1248         Likewise
1249         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1250         Likewise
1251         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1252         Likewise
1253         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1254         Likewise
1255         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1256         Likewise
1257         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1258         Likewise
1259
1260 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1261
1262         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1263         to avoid alignment traps in non-cacheable memory.
1264         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1265
1266         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1267         multiarch objects.
1268         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1269         file: multiarch power7 memmove.
1270         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1271         multiarch default memmove.
1272         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1273         multiarch memove for powerpc32/power4.
1274
1275         * string/bcopy.c: Use full path to include memmove.c.
1276         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1277         multiarch objects.
1278         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1279         bcopy for powerpc64.
1280         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1281         bcopy for powerpc64.
1282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1283         and memmove implementations.
1284         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1285         optimized multiarch memmove for POWER7/powerpc64.
1286         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1287         default multiarch memmove for powerpc64.
1288         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1289         multiarch for powerpc64.
1290         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1291         for POWER7/powerpc64.
1292         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1293         memmove for POWER7/powerpc64.
1294
1295         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1296         glibc default one.
1297
1298         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1299         __ELF_NATIVE_CLASS equal to 64.
1300
1301 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1302
1303         * sysdeps/nptl/lowlevellock.h: File removed.
1304
1305         * NEWS: NPTL is no longer an add-on!
1306         * nptl/internaltypes.h: Moved ...
1307         * sysdeps/nptl/internaltypes.h: ... here.
1308         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1309         * sysdeps/nptl/fork.c: Likewise.
1310         * sysdeps/nptl/gai_misc.h: Likewise.
1311         * sysdeps/nptl/librt-cancellation.c: Likewise.
1312         * sysdeps/nptl/jmp-unwind.c: Likewise.
1313         * sysdeps/nptl/setxid.h: Likewise.
1314         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1315         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1316         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1317         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1318         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1319         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1320         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1321         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1322         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1323         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1324         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1325         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1326         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1327         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1328         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1329         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1330         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1331         * nptl/Makeconfig: Moved ...
1332         * sysdeps/nptl/Makeconfig: ... here.
1333         * nptl/configure: File removed.
1334         * nptl/ANNOUNCE: File removed.
1335         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1336         * sysdeps/unix/sysv/linux/configure: Regenerated.
1337
1338         * nptl/Makefile (routines): Add libc_pthread_init,
1339         libc_multiple_threads, register-atfork and unregister-atfork.
1340         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1341         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1342         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1343         pthread-pi-defines.sym, structsem.sym.
1344         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1345         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1346         [$(subdir) = nptl] (tests): Add tst-setgetname.
1347         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1348         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1349         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1350         [!LIBC_SIGACTION]: Remove aliases.
1351         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1352         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1353         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1354         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1355         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1356         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1357         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1358         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1359         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1360         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1361         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1362         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1363         __libc_allocate_rtsig_private.
1364         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1365         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1366         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1367         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1368         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1369         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1370         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1371         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1372         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1373         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1374         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1375         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1376         * nptl/internaltypes.h: ... here.
1377         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1378         * sysdeps/nptl/jmp-unwind.c: ... here.
1379         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1380         * nptl/libc-lowlevellock.c: ... here.
1381         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1382         * nptl/libc_multiple_threads.c: ... here.
1383         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1384         * nptl/libc_pthread_init.c: ... here.
1385         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1386         * nptl/lowlevelbarrier.sym: ... here.
1387         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1388         * nptl/lowlevelcond.sym: ... here.
1389         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1390         * nptl/lowlevellock.c: ... here.
1391         * nptl/lowlevellock.h: Moved ...
1392         * sysdeps/nptl/lowlevellock.h: ... here.
1393         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1394         * nptl/lowlevelrobustlock.c: ... here.
1395         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1396         * nptl/lowlevelrobustlock.sym: ... here.
1397         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1398         * nptl/lowlevelrwlock.sym: ... here.
1399         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1400         * nptl/pt-fork.c: ... here.
1401         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1402         * nptl/pthread-pi-defines.sym: ... here.
1403         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1404         * nptl/pthread_attr_getaffinity.c: ... here.
1405         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1406         * nptl/pthread_attr_setaffinity.c: ... here.
1407         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1408         * nptl/pthread_mutex_cond_lock.c: ... here.
1409         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1410         Update #include.
1411         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1412         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1413         * nptl/pthread_once.c: ... here, replacing old file.
1414         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1415         * nptl/pthread_yield.c: ... here.
1416         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1417         * nptl/register-atfork.c: ... here.
1418         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1419         * nptl/sem_post.c: ... here.
1420         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1421         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1422         * nptl/sem_timedwait.c: ... here.
1423         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1424         * nptl/sem_trywait.c: ... here.
1425         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1426         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1427         * nptl/sem_wait.c: ... here.
1428         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1429         * nptl/structsem.sym: ... here.
1430         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1431         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1432         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1433         * nptl/unregister-atfork.c: ... here.
1434         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1435         * nptl/unwindbuf.sym: ... here.
1436         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1437         * sysdeps/nptl/fork.c: ... here.
1438         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1439         * sysdeps/nptl/fork.h: ... here.
1440         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1441         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1442         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1443         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1444         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1445         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1446         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1447         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1448         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1449         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1450         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1451         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1452         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1453         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1454         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1455         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1456         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1457         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1458         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1459         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1460         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1461         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1462         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1463         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1464         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1465         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1466         * sysdeps/unix/sysv/linux/raise.c: ... here.
1467         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1468         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1469         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1470         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1471         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1472         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1473         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1474         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1475         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1476         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1477         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1478         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1479         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1480         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1481         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1482
1483 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1484
1485         * sysdeps/generic/memcopy.h: Add comment for
1486         MEMCPY_OK_FOR_FWD_MEMMOVE.
1487
1488 2014-07-04  Will Newton  <will.newton@linaro.org>
1489
1490         * string/memchr.c: Merge from gnulib.
1491         [_LIBC]: Remove conditionals.
1492         (__ptr_t): Remove define.
1493         (LONG_MAX_32_BITS): Likewise.
1494         (LONG_MAX): Likewise.
1495         (MEMCHR): Use ANSI prototype and optimize algorithm.
1496
1497         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1498
1499 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1500
1501         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1502         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1503
1504         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1505         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1506         in a bare environment with no <stdlib.h> installed.
1507         * sysdeps/nptl/configure: Regenerated.
1508
1509         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1510
1511         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1512         AC_EGREP_CPP for kernel header checks, so they only succeed if
1513         including <linux/version.h> actually works right.
1514         * sysdeps/unix/sysv/linux/configure: Regenerated.
1515
1516         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1517         value so it's not diagnosed as unused.
1518
1519         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1520         thing) with "ifeq ($(subdir),rt)".
1521
1522 2014-07-03  Richard Henderson  <rth@redhat.com>
1523
1524         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1525         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1526         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1527
1528         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1529         (math_force_eval): New.
1530
1531         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1532         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1533
1534         * sysdeps/alpha/fpu/s_round.c: Remove file.
1535         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1536
1537         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1538         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1539         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1540         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1541         (_dl_start, print_statistics): Likewise.
1542         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1543         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1544
1545         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1546         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1547         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1548         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1549         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1550         (HP_SMALL_TIMING_AVAIL): Define.
1551         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1552         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1553         (HP_SMALL_TIMING_AVAIL): Define.
1554         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1555         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1556
1557         * sysdeps/aarch64/hp-timing.h: New file.
1558
1559         * sysdeps/generic/hp-timing.h: Remove dead comment.
1560         * sysdeps/generic/hp-timing-common.h: New file.
1561         * sysdeps/alpha/hp-timing.h: Include it.
1562         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1563         * sysdeps/i386/i686/hp-timing.h: Likewise.
1564         * sysdeps/ia64/hp-timing.h: Likewise.
1565         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1566         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1567         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1568         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1569         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1570         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1571         (hp_timing_t): New.
1572
1573         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1574         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1575         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1576         * elf/rtld.c (_dl_start_final): Likewise.
1577         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1578         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1579         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1580         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1581         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1582         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1583         (HP_TIMING_DIFF_INIT): Remove.
1584         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1585         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1586         (HP_TIMING_DIFF_INIT): Remove.
1587         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1588         * sysdeps/i386/i686/hp-timing.c: Remove file.
1589         * sysdeps/x86_64/hp-timing.c: Remove file.
1590         * sysdeps/ia64/hp-timing.c: Remove file.
1591         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1592         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1593         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1594         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1595
1596         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1597         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1598         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1599         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1600         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1601         (HP_TIMING_ACCUM): Remove.
1602         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1603         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1604         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1605
1606         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1607         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1608         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1609         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1610         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1611         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1612         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1613         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1614
1615         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1616
1617 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1618
1619         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1620
1621 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1622
1623         Sync up with gettext.
1624         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1625         [_MSC_VER]: Include malloc.h
1626         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1627         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1628         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1629         TEMP_FAILURE_RETRY.  Cast return of alloca.
1630         [!_LIBC] Call gl_rwlock_init.
1631         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1632
1633 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1634
1635         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1636         before checking its value.
1637
1638 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1639
1640         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1641
1642         * debug/memcpy_chk.c: Don't include pagecopy.h.
1643         * debug/mempcpy_chk.c: Likewise.
1644         * string/memcpy.c: Likewise.
1645         * string/memmove.c: Likewise.
1646         * sysdeps/powerpc/memmove.c: Likewise.
1647         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1648         definition of PAGE_COPY_FWD_MAYBE here...
1649         * sysdeps/generic/pagecopy.h: ... from here.
1650         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1651
1652 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1653             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1654
1655         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1657         optimizations.
1658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1659         (__libc_ifunc_impl_list): Likewise.
1660         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1661         multiarch strcat for PPC64.
1662         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1663         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1664
1665 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1666
1667         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1668
1669 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1670
1671         * intl/loadmsgcat.c: Remove declaration of
1672         get_sysdep_segment_value.
1673         (get_sysdep_segment_value): Use ISO C style.
1674         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1675         semicolon.  Fix typo and formatting in comment.
1676         (_nl_unload_domain): Use ISO C style.
1677
1678         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1679
1680 2014-07-02  Will Newton  <will.newton@linaro.org>
1681
1682         * malloc/obstack.c: Merge from gnulib master.
1683         [HAVE_CONFIG_H]: Remove conditional code.
1684         [!_LIBC]: Include config.h.
1685         [!ELIDE_CODE]: Don't include inttypes.h, include
1686         stdint.h unconditionally.
1687         (print_and_abort): Mark as _Noreturn.
1688         (_obstack_allocated_p): Mark as __attribute_pure__.
1689         (obstack_free): Rename to __obstack_free.
1690         [!__attribute__]: Remove conditional code.
1691         * malloc/obstack.h: Merge from gnulib master.
1692         [__cplusplus]: Move conditional down.
1693         [!__attribute_pure__]: Define __attribute_pure__ here
1694         if it is not already defined.
1695         (_obstack_memory_used): Mark as __attribute_pure__.
1696         [!__obstack_free]: Define as obstack_free.
1697         [__GNUC__]: Remove check for ancient NeXT gcc.
1698
1699 2014-07-02  Will Newton  <will.newton@linaro.org>
1700             Paul Eggert  <eggert@cs.ucla.edu>
1701
1702         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1703
1704 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1705
1706         * resolv/gethnamaddr.c: Add comment warning that the file is
1707         not maintained.
1708
1709 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1710
1711         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1712         entries.
1713
1714         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1715         entry for aio_cancel and aio_cancel64.
1716         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1717         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1718         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1719         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1720         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1721         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1722         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1723         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1724         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1725         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1726         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1727         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1728         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1729
1730 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1731
1732         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1733         * nptl/pthread_mutex_lock.c: Likewise.
1734         * nptl/pthread_mutex_timedlock.c: Likewise.
1735         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1736
1737 2014-07-01  Richard henderson  <rth@redhat.com>
1738
1739         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1740         (__isnan, __isnanl): Remove.
1741         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1742
1743         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1744
1745 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1746
1747         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1748
1749 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1750
1751         * resolv/nss_dns/dns-host.c (getanswer_r)
1752         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1753
1754 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1755
1756         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1757         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1758         undefine.
1759         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1760         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1761
1762 2014-07-01  Roland McGrath <roland@hack.frob.com>
1763
1764         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1765         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1766
1767         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1768         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1769
1770         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1771         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1772         ... here.
1773         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1774         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1775
1776         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1777         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1778         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1779         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1780
1781         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1782         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1783         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1784         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1785         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1786         Moved ...
1787         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1788         ... here.
1789         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1790         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1791         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1792         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1793         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1794         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1795         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1796         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1797         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1798         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1799         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1800         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1801         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1802         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1803         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1804         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1805         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1806         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1807         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1808         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1809         ... here.
1810         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1811         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1812         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1813         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1814         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1815         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1816         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1817         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1818
1819 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1820
1821         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1822         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1823         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1824         Add sysdep.
1825
1826 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1827
1828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1829
1830 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1831
1832         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1833         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1834
1835         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1836
1837         * sysdeps/arm/libm-test-ulps: Regenerated.
1838
1839 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1840             Roland McGrath <roland@hack.frob.com>
1841
1842         * test-skeleton.c (signal_handler): Kill the whole process group
1843         before killing the child individually.
1844         (main): Report any failure on `setpgid'.
1845
1846 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1847
1848         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1849         from _TLS_H to _ARM_NPTL_TLS_H.
1850         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1851         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1852
1853 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1854
1855         [BZ #16539]
1856         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1857         (__expm1l): Return argument unchanged when small but not
1858         subnormal.
1859
1860         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1861         include macro name.
1862         (_FP_UNPACK_RAW_1_P): Likewise.
1863         (_FP_PACK_RAW_1): Likewise.
1864         (_FP_PACK_RAW_1_P): Likewise.
1865         (_FP_MUL_MEAT_1_wide): Likewise.
1866         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1867         (_FP_MUL_MEAT_1_hard): Likewise.
1868         (_FP_DIV_MEAT_1_imm): Likewise.
1869         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1870         (_FP_DIV_MEAT_1_udiv): Likewise.
1871         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1872         (_FP_UNPACK_RAW_2): Likewise.
1873         (_FP_UNPACK_RAW_2_P): Likewise.
1874         (_FP_PACK_RAW_2): Likewise.
1875         (_FP_PACK_RAW_2_P): Likewise.
1876         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1877         (_FP_MUL_MEAT_2_wide): Likewise.
1878         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1879         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1880         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1881         (_FP_MUL_MEAT_2_gmp): Likewise.
1882         (_FP_DIV_MEAT_2_udiv): Likewise.
1883         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1884         (_FP_FRAC_SRL_4): Likewise.
1885         (_FP_FRAC_SRST_4): Likewise.
1886         (_FP_FRAC_SRS_4): Likewise.
1887         (_FP_UNPACK_RAW_4): Likewise.
1888         (_FP_UNPACK_RAW_4_P): Likewise.
1889         (_FP_PACK_RAW_4): Likewise.
1890         (_FP_PACK_RAW_4_P): Likewise.
1891         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1892         (_FP_MUL_MEAT_4_wide): Likewise.
1893         (_FP_MUL_MEAT_4_gmp): Likewise.
1894         (umul_ppppmnnn): Likewise.
1895         (_FP_DIV_MEAT_4_udiv): Likewise.
1896         (__FP_FRAC_ADD_4): Likewise.
1897         (__FP_FRAC_SUB_3): Likewise.
1898         (__FP_FRAC_SUB_4): Likewise.
1899         (__FP_FRAC_DEC_3): Likewise.
1900         (__FP_FRAC_DEC_4): Likewise.
1901         (__FP_FRAC_ADDI_4): Likewise.
1902         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1903         (_FP_FRAC_SRL_8): Likewise.
1904         (_FP_FRAC_SRS_8): Likewise.
1905
1906         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1907         include macro name.
1908         (FP_UNPACK_RAW_EP): Likewise.
1909         (FP_PACK_RAW_E): Likewise.
1910         (FP_PACK_RAW_EP): Likewise.
1911         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1912         (_FP_ISSIGNAN): Likewise.
1913         (_FP_ADD_INTERNAL): Likewise.
1914         (_FP_FMA): Likewise.
1915         (_FP_CMP): Likewise.
1916         (_FP_SQRT): Likewise.
1917         (_FP_TO_INT): Likewise.
1918         (_FP_FROM_INT): Likewise.
1919         (FP_EXTEND): Likewise.
1920         (_FP_DIV_MEAT_N_loop): Likewise.
1921
1922 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1923
1924         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1925         throughout.
1926
1927 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1928
1929         [BZ #17097]
1930         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1931         result with correct sign in case of exponents that produce
1932         overflow except for X very close to 1.
1933
1934 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1935
1936         mktime: merge #if/#ifdef usage from glibc
1937         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1938         as that works with both Glibc's and Gnulib's style.
1939         See thread starting at Siddhesh Poyarekar's bug report at:
1940         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1941
1942 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1943
1944         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1945         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1946         * sysdeps/tile/tilegx/memmove.c: Remove file.
1947
1948 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1949
1950         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1951         abi-name definition.
1952         * scripts/soversions.awk: Do not handle or generate ABI lines.
1953         * shlib-versions: Remove ABI entries.
1954         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1955         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1956
1957 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1958
1959         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1960         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1961         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1962         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1963         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1964         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1965         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1966         Moved ...
1967         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1968         ... here.
1969         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1970         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1971         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1972         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1973         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1974         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1975         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1976         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1978         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1979         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1980         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1981         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1982         Moved ...
1983         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1984         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1985         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1986         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1987         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1988         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1989         Moved ...
1990         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1991         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1992         Moved ...
1993         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1994         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1995         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1997         Moved ...
1998         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1999         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2000         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2001         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2002         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2003         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2004         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2005         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2006         Moved ...
2007         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2009         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2010         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2011         Moved ...
2012         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2013         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2014         Moved ...
2015         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2016         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2017         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2018         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2019         Moved ...
2020         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2021         ... here.
2022         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2023         Identical file removed.
2024         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2025         Moved ...
2026         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2027         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2028         Identical file removed.
2029         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2030         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2031         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2032         Moved ...
2033         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2034         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2035         Identical file removed.
2036         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2037         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2038         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2039         Identical file removed.
2040         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2041         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2042         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2043         Identical file removed.
2044         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2045         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2046         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2047         Identical file removed.
2048         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2049         Moved ...
2050         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2051         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2052         Identical file removed.
2053         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2054         Moved ...
2055         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2056         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2057         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2058         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2059         Identical file removed.
2060         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2061         Moved ...
2062         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2063         ... here.
2064         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2065         Identical file removed.
2066         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2067         Moved ...
2068         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2069         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2070         Identical file removed.
2071         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2072         Moved ...
2073         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2074         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2075         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2076         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2077         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2078         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2079         Moved ...
2080         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2081         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2082         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2083
2084         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2085         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2086         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2087         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2088         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2089
2090 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2091
2092         [BZ #17092]
2093         * nscd/nscd.c (monitor_child): Return exit status of child
2094         instead of return value from wait syscall.
2095
2096 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2097
2098         * configure.ac (libc_commonpagesize): Remove variable.
2099         (libc_relro_required): Likewise.
2100         (libc_cv_z_relro): Remove configure test.
2101         * configure: Regenerated.
2102         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2103         variable.
2104         (libc_relro_required): Likewise.
2105         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2106         (libc_relro_required): Likewise.
2107         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2108         (libc_relro_required): Likewise.
2109         * sysdeps/arm/preconfigure: Regenerated.
2110         * sysdeps/ia64/preconfigure: Remove file.
2111         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2112         variable.
2113         (libc_relro_required): Likewise.
2114
2115         [BZ #16561]
2116         [BZ #16562]
2117         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2118         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2119         recompute overflowing results in original rounding mode.
2120         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2121         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2122         recompute overflowing results in original rounding mode.
2123         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2124         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2125         recompute overflowing results in original rounding mode.
2126         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2127         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2128         recompute overflowing results in original rounding mode.
2129         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2130         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2131         recompute overflowing results in original rounding mode.
2132         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2133         (libc_feholdsetround_ctx): New macro.
2134         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2135         * sysdeps/i386/fpu/libm-test-ulps: Update.
2136         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2137
2138 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2139
2140         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2141         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2142         corresponding .cpsetup call.
2143
2144 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2145
2146         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2147         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2148         * sysdeps/arm/Makefile [$(subdir) = csu]
2149         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2150         (static-only-routines): Add aeabi_read_tp here.
2151         (shared-only-routines): Add libc-aeabi_read_tp here.
2152         (CFLAGS-libc-start.c): Add -fexceptions here.
2153         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2154         (sysdep_routines, static-only-routines, shared-only-routines):
2155         Don't add to these here.
2156         (CFLAGS-libc-start.c): Likewise.
2157
2158         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2159         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2160         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2161         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2162         * sysdeps/arm/Makefile [$(subdir) = rt]
2163         (librt-sysdep_routines, librt-shared-only-routines):
2164         Append rt-aeabi_unwind_cpp_pr1 here.
2165         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2166         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2167         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2168         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2169         Append nptl-aeabi_unwind_cpp_pr1 here.
2170         (tests): Filter out tst-cleanupx4 here.
2171         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2172         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2173         Don't do those here.
2174
2175 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2176
2177         * scripts/list-sources.sh: Do not handle ports specially.
2178
2179 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2180
2181         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2182         * sysdeps/arm/feupdateenv.c: Likewise.
2183
2184         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2185
2186 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2187
2188         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2189         trailing whitespace removed.
2190         * scripts/config.guess: Update to version 2014-03-23.
2191         * scripts/config.sub: Update to version 2014-05-01
2192         * scripts/install-sh: Update to version 2013-12-25.23.
2193         * scripts/move-if-change: Update from gnulib.
2194
2195 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2196
2197         * debug/memmove_chk.c: Remove pagecopy.h include.
2198
2199 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2200
2201         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2202         identical to gnulib mktime.
2203
2204 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2205
2206         * configure.ac: Do not test for machine being rs6000.  Do not test
2207         for powerpc*-*soft.
2208         * configure: Regenerated.
2209
2210         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2211         test.
2212         * configure: Regenerated.
2213         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2214         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2215         Remove configure test.
2216         * sysdeps/arm/configure: Regenerated.
2217         * sysdeps/nptl/configure.ac: Do not check
2218         libc_cv_asm_cfi_directives.
2219         * sysdeps/nptl/configure: Regenerated.
2220         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2221         * sysdeps/x86_64/nptl/configure: Remove generated file.
2222         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2223         unconditional.
2224         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2225
2226 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2227
2228         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2229         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2230         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2231         it is defined.
2232
2233         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2234         instead of whether it is defined.
2235         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2236         * sysdeps/hppa/dl-machine.h: Likewise.
2237         * sysdeps/ia64/dl-machine.h: Likewise.
2238         * sysdeps/m68k/dl-machine.h: Likewise.
2239         * sysdeps/microblaze/dl-machine.h: Likewise.
2240         * sysdeps/mips/dl-machine.: Likewise.
2241         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2242         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2243         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2244         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2245         * sysdeps/sh/dl-machine.h: Likewise.
2246         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2247         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2248         * sysdeps/tile/dl-machine.h: Likewise.
2249         * sysdeps/x86_64/dl-machine.h: Likewise.
2250
2251         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2252         code.
2253         (verify_persistent_db): Likewise.
2254
2255 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2256
2257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2258         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2260         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2262         Moved ...
2263         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2264         ... here.
2265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2266         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2268         Identical file removed.
2269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2270         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2272         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2274         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2276         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2278         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2280         Moved ...
2281         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2283         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2285         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2287         Moved ...
2288         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2290         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2292         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2294         Identical file removed.
2295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2296         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2298         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2300         Moved ...
2301         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2302         ... here.
2303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2304         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2306         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2308         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2310         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2312         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2314         Moved ...
2315         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2317         Moved ...
2318         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2320         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2322         Moved ...
2323         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2325         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2326
2327         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2328         folded into ...
2329         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2330         * sysdeps/unix/sysv/linux/s390/Versions
2331         (libpthread: GLIBC_2.19): New version set.
2332         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2333         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2334         (librt: GLIBC_2.3.3): New version set.
2335         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2336         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2337         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2338         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2339         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2340         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2341         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2342         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2343         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2344         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2345         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2346         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2347         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2348         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2349         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2350         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2351         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2352         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2353         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2354         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2355         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2356         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2357         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2358         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2359         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2360         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2361         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2362         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2363         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2364         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2365         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2366         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2367         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2368         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2369         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2370         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2371         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2372         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2373         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2374         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2375         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2376         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2377         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2378         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2379         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2380
2381         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2382         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2383         (__libc_vfork): Define the function under this name.
2384         [!NOT_IN_libc] (__vfork): Make this an alias.
2385         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2386         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2387         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2388         (__libc_vfork): Define the function under this name.
2389         [!NOT_IN_libc] (__vfork): Make this an alias.
2390         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2391         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2392         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2393         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2394         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2395         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2396
2397         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2398         code that was previously under [RESET_PID].
2399         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2400         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2401         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2402
2403         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2404         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2405         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2406         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2407         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2408         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2409         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2410         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2411         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2412         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2413         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2414         Moved ...
2415         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2416         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2417         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2418         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2419         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2420         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2421         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2422         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2423         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2424         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2425         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2426         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2427         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2428         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2429         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2430         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2431         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2432         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2433         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2434         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2435         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2436         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2437         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2438         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2439         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2440         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2441         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2442         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2443         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2444
2445 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2446
2447         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2448         that was previously under [RESET_PID].
2449         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2450
2451 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2452
2453         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2454         not undefine and redefine.
2455         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2456         [O_CLOEXEC]: Make code unconditional.
2457         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2458         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2459         <kernel-features.h>.
2460         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2461         conditional variable definition.
2462         (shm_open) [O_CLOEXEC]: Make code unconditional.
2463         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2464         code.
2465
2466         * configure.ac (USE_REGPARMS): Don't define here.
2467         * configure: Regenerated.
2468         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2469         * sysdeps/i386/configure: Regenerated.
2470
2471         * nptl/createthread.c: Don't include kernel-features.h.
2472         * nptl/pthread_cancel.c: Likewise.
2473         * nptl/pthread_condattr_setclock.c: Likewise.
2474         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2475         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2476         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2477         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2478         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2479         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2480         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2481         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2482         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2483         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2484         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2485         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2486         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2487         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2488         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2489         * nscd/gai.c: Likewise.
2490         * nss/nss_db/db-open.c: Likewise.
2491         * sysdeps/generic/ldsodefs.h: Likewise.
2492         * sysdeps/sh/nptl/tls.h: Likewise.
2493         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2494         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2495         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2496         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2497         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2498         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2499         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2500         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2501         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2502         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2503         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2504         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2505         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2506         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2507         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2508         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2509         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2510         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2511         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2512         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2513         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2514         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2515         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2516         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2517         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2518         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2519         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2520         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2521         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2522         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2523         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2524         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2525         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2526         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2527         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2528         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2529         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2530         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2531         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2532         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2533         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2534         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2535         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2536         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2537         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2538         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2539         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2540         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2541         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2542         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2543         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2544         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2545         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2546         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2547         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2548         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2549         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2550         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2573         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2574         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2575         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2576         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2577         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2578         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2579         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2580         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2581         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2582         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2583         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2584         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2585         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2586         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2587         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2588         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2589         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2590         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2591         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2592         * sysdeps/unix/sysv/linux/system.c: Likewise.
2593         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2594         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2595         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2596         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2597         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2598         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2599         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2600
2601         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2602         * configure: Regenerated.
2603         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2604
2605         * configure.ac (base_machine): Do not set specially for particular
2606         machines here.
2607         * configure: Regenerated.
2608         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2609         settings from configure.ac.
2610         * sysdeps/i386/preconfigure: New file.
2611         * sysdeps/s390/preconfigure: Likewise.
2612         * sysdeps/sh/preconfigure: Likewise.
2613         * sysdeps/sparc/preconfigure: Likewise.
2614
2615 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2616
2617         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2618         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2619         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2620         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2621         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2622         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2623         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2624         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2625         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2626         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2627         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2628         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2629         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2630         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2631         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2632         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2633         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2634         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2635         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2636
2637         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2638         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2639         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2640         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2641         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2642         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2643         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2644         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2645         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2646         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2647         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2648         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2649         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2650         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2651         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2652         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2653         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2654         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2655         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2656         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2657         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2658         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2659         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2660         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2661         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2662         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2663         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2664         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2665         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2666         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2667         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2668         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2669         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2670         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2671         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2672         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2673         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2674         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2675
2676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2677         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2679         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2681         Moved ...
2682         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2683         ... here.
2684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2685         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2687         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2689         Moved ...
2690         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2692         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2694         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2696         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2698         Moved ...
2699         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2701         Moved ...
2702         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2704         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2706         Moved ...
2707         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2709         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2711         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2713         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2715         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2717         Moved ...
2718         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2719         ... here.
2720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2721         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2723         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2725         Moved ...
2726         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2728         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2730         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2731         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2732         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2733         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2734         Moved ...
2735         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2737         Moved ...
2738         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2739         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2740         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2742         Moved ...
2743         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2745         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2747         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2748
2749 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2750
2751         * timezone/checktab.awk: Update from tzcode 2014e.
2752         * timezone/private.h: Likewise.
2753         * timezone/tzfile.h: Likewise.
2754         * timezone/zdump.c: Likewise.
2755         * timezone/zic.c: Likewise.
2756
2757         * sysdeps/unix/sysv/linux/kernel-features.h
2758         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2759         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2760         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2761         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2762         Remove conditional code.
2763
2764 2014-06-25  Will Newton  <will.newton@linaro.org>
2765
2766         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2767         (_dl_arm_cap_flags): Add HWCAP2 values.
2768         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2769         (_DL_HWCAP_COUNT): Increase to 37.
2770         (_DL_HWCAP_LAST): New define.
2771         (_DL_HWCAP2_LAST): New define.
2772         (_dl_procinfo): Add support for printing
2773         AT_HWCAP2 entries.
2774         (_dl_string_hwcap): Use _dl_hwcap_string.
2775
2776 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2777
2778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2779
2780 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2781
2782         * README: Do not mention ports directory.
2783
2784         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2785         Remove macro.
2786         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2787         <kernel-features.h>.
2788         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2789         conditional variable definition.
2790         (__futimes): Update comment.
2791         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2792         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2793
2794         [BZ #16560]
2795         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2796         arguments close to 0.
2797         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2798         Likewise.
2799         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2800         Likewise.
2801         * math/auto-libm-test-in: Add more tests of exp10.
2802         * math/auto-libm-test-out: Regenerated.
2803         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2804
2805         * sysdeps/unix/sysv/linux/kernel-features.h
2806         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2807         * sysdeps/unix/sysv/linux/readv.c: Do not include
2808         <kernel-features.h>.
2809         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2810         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2811         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2812         unconditional.
2813         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2814         conditional code.
2815         * sysdeps/unix/sysv/linux/writev.c: Do not include
2816         <kernel-features.h>.
2817         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2818         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2819         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2820         unconditional.
2821         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2822         conditional code.
2823
2824 2014-06-25  Will Newton  <will.newton@linaro.org>
2825
2826         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2827         comment changes throughout the file.  Remove checks
2828         for HAVE_*_H definitions that are not required.
2829         (__gen_tempname): Call abort if an unknown kind value is
2830         passed.
2831
2832 2014-06-25  Andreas Schwab  <schwab@suse.de>
2833
2834         [BZ #17086]
2835         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2836         scalbln, scalblnf, scalblnl in libc.
2837
2838 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2839
2840         [BZ #17086]
2841         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2842         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2843         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2844
2845 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2846
2847         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2848         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2849         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2850         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2851         Update #include.
2852         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2853         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2854         Update #include.
2855         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2856         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2857         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2858         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2859         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2860         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2861         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2862         * sysdeps/x86/bits/semaphore.h: ... here.
2863         * sysdeps/x86/nptl/elide.h: Moved ...
2864         * sysdeps/x86/elide.h: ... here.
2865         * sysdeps/x86_64/nptl/Implies: File removed.
2866         * sysdeps/i386/nptl/Implies: File removed.
2867
2868 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2869
2870         [BZ #16539]
2871         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2872         return the argument for normal arguments with exponent below -64.
2873         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2874         Likewise.
2875         * math/auto-libm-test-in: Add another test of expm1.
2876         * math/auto-libm-test-out: Regenerated.
2877
2878         [BZ #16287]
2879         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2880         calling __erfcl for arguments at least 16.
2881         * math/auto-libm-test-in: Add more tests of erf.
2882         * math/auto-libm-test-out: Regenerated.
2883
2884         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2885         individual architectures.
2886         * sysdeps/unix/sysv/linux/configure: Regenerated.
2887         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2888         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2889         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2890         (ldd_rewrite_script): Define variable.
2891         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2893         file.
2894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2895         generated file.
2896         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2897         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2898         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2899         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2900         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2901         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2902         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2903         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2904
2905 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2906
2907         [BZ #17084]
2908         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2909         Rename member __data.d to __data.__elision_data.
2910
2911 2014-06-24  Wilco  <wdijkstr@arm.com>
2912
2913         * NEWS: Add 16918 to fixed bug list.
2914
2915 2014-06-24  Wilco  <wdijkstr@arm.com>
2916
2917         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2918
2919 2014-06-24  Wilco  <wdijkstr@arm.com>
2920
2921         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2922         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2923         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2924         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2925         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2926         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2927         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2928         Use _FPU_MASK_RM.
2929
2930 2014-06-24  Wilco  <wdijkstr@arm.com>
2931
2932         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2933
2934 2014-06-24  Wilco  <wdijkstr@arm.com>
2935
2936         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2937         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2938         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2939         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2940
2941 2014-06-24  Wilco  <wdijkstr@arm.com>
2942
2943         [BZ #16918]
2944         * sysdeps/arm/feupdateenv.c (feupdateenv):
2945         Rewrite to reduce FPSCR accesses and fix return value.
2946
2947 2014-06-24  Wilco  <wdijkstr@arm.com>
2948
2949         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2950         Optimize to avoid unnecessary FPSCR writes.
2951         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2952         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2953         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2954         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2955
2956 2014-06-24  Wilco  <wdijkstr@arm.com>
2957
2958         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2959         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2960         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2961         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2962         Call libc_fetestexcept_vfp.
2963         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2964         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2965         __SOFTFP__ ifdef so that they can be built for softfp.
2966
2967 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2968
2969         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2970         argument type signed char.
2971
2972         * Makerules (check-abi): Dump diff of symlist if the test
2973         fails.
2974
2975 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2976
2977         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2978         using abort.
2979
2980         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2981         Remove unused variable ST.
2982
2983 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2984
2985         [BZ #16354]
2986         [BZ #17061]
2987         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2988         small arguments before calling __expm1.
2989         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2990         small arguments before calling __expm1f.
2991         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2992         small arguments before calling __expm1l.
2993         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2994         Likewise.
2995         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2996         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2997         spurious underflow for some cosh tests.
2998         * math/auto-libm-test-out: Regenerated.
2999         * sysdeps/i386/fpu/libm-test-ulps: Update.
3000
3001         [BZ #17050]
3002         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3003         (__ieee754_y1): Set errno if return value overflows.
3004         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3005         (__ieee754_y1f): Set errno if return value overflows.
3006         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3007         (__ieee754_y1l): Set errno if return value overflows.
3008         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3009         (__ieee754_y1l): Set errno if return value overflows.
3010         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3011         * math/auto-libm-test-out: Regenerated.
3012
3013         * math/gen-auto-libm-tests.c: Document use of
3014         ignore-zero-inf-sign.
3015         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3016         (input_flags): Add ignore-zero-inf-sign.
3017         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3018         * math/gen-libm-test.pl (generate_testfile): Handle
3019         ignore-zero-inf-sign.
3020         * math/auto-libm-test-in: Mark some cpow tests with
3021         ignore-zero-inf-sign and some with xfail-rounding.
3022         * math/auto-libm-test-out: Regenerated.
3023         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3024         * sysdeps/i386/fpu/libm-test-ulps: Update.
3025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3026
3027         [BZ #16315]
3028         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3029         overflowing or underflowing operations take place with sign of
3030         result.
3031         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3032         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3033         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3034         (__ieee754_pow): Recompute overflowing and underflowing results in
3035         original rounding mode.
3036         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3037         (__powl_helper): Allow negative argument X and scale negated value
3038         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3039         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3040         overflowing or underflowing operations take place with sign of
3041         result.
3042         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3043         Include <math.h>.
3044         * math/auto-libm-test-in: Add more tests of pow.
3045         * math/auto-libm-test-out: Regenerated.
3046         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3047         (pow_tonearest_test_data): Remove.
3048         (pow_test_tonearest): Likewise.
3049         (pow_towardzero_test_data): Likewise.
3050         (pow_test_towardzero): Likewise.
3051         (pow_downward_test_data): Likewise.
3052         (pow_test_downward): Likewise.
3053         (pow_upward_test_data): Likewise.
3054         (pow_test_upward): Likewise.
3055         (main): Don't call removed functions.
3056         * sysdeps/i386/fpu/libm-test-ulps: Update.
3057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3058
3059 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3060
3061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3062         Moved ...
3063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3065         Moved ...
3066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3068         Moved ...
3069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3071         Moved ...
3072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3074         File removed.
3075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3076         File removed.
3077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3078         File removed.
3079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3080         File removed.
3081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3082         File removed.
3083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3084         File removed.
3085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3086         File removed.
3087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3088         File removed.
3089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3090         File removed.
3091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3092         File removed.
3093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3094         File removed.
3095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3096         File removed.
3097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3098         Moved ...
3099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3101         Moved ...
3102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3103         ... here.
3104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3105         Moved ...
3106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3108         Moved ...
3109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3111         Moved ...
3112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3114         Moved ...
3115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3117         Moved ...
3118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3120         Moved ...
3121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3123         Moved ...
3124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3127         ... here.
3128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3129         Moved ...
3130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3132         Moved ...
3133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3134         ... here.
3135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3136         Moved ...
3137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3138         ... here.
3139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3140         Moved ...
3141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3142         ... here.
3143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3144         Moved ...
3145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3147         Moved ...
3148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3152         Moved ...
3153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3154         ... here.
3155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3156         Moved ...
3157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3158         ... here.
3159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3160         Moved ...
3161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3163         Moved ...
3164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3166         Moved ...
3167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3169         Moved ...
3170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3172         Moved ...
3173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3174         ... here.
3175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3176         Moved ...
3177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3179         Moved ...
3180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3182         Moved ...
3183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3185         Moved ...
3186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3190         Moved ...
3191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3193         Moved ...
3194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3196         Moved ...
3197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3198         ... here.
3199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3200         Moved ...
3201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3202         ... here.
3203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3204         Moved ...
3205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3206         ... here.
3207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3208         Moved ...
3209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3211         Moved ...
3212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3214         Moved ...
3215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3217         Moved ...
3218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3219         ... here.
3220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3221         Moved ...
3222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3223         ... here.
3224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3225         Moved ...
3226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3227         ... here.
3228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3229         Moved ...
3230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3232         Moved ...
3233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3234
3235 2014-06-23  Will Newton  <will.newton@linaro.org>
3236             Wilco  <wdijkstr@arm.com>
3237
3238         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3239         implementation.  Include get-rounding-mode.h.
3240         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3241         [!libc_feholdsetround_noex_ctx]: Define
3242         libc_feholdsetround_noex_ctx.
3243         [!libc_feholdsetround_noexf_ctx]: Define
3244         libc_feholdsetround_noexf_ctx.
3245         [!libc_feholdsetround_noexl_ctx]: Define
3246         libc_feholdsetround_noexl_ctx.
3247         (libc_feholdsetround_ctx): New function.
3248         (libc_feresetround_ctx): New function.
3249         (libc_feholdsetround_noex_ctx): New function.
3250         (libc_feresetround_noex_ctx): New function.
3251
3252 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3253
3254         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3255         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3256         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3257         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3258         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3259         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3260
3261         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3262         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3263         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3264         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3265         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3266         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3267         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3268         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3269         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3270         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3271         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3272         Moved ...
3273         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3274         ... here.
3275         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3276         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3277         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3278         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3279         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3280         Moved ...
3281         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3282         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3283         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3284         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3285         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3286         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3287         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3288         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3289         Moved ...
3290         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3291         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3292         Moved ...
3293         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3294         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3295         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3296         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3297         Moved ...
3298         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3299         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3300         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3301         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3302         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3303         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3304         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3305         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3306         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3307         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3308         Moved ...
3309         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3310         ... here.
3311         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3312         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3313         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3314         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3315         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3316         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3317         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3318         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3319         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3320         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3321         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3322         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3323         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3324         Moved ...
3325         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3326         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3327         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3328         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3329         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3330         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3331         Moved ...
3332         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3333         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3334         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3335         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3336         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3337
3338         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3339         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3340         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3341         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3342         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3343         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3344         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3345         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3346         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3347         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3348         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3349         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3350         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3351         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3352         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3353         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3354         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3355         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3356         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3357         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3358         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3359         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3360         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3361         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3362         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3363         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3364         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3365         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3366
3367 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3368
3369         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3370         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3371         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3372         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3373         (IPV6_PMTUDISC_INTERFACE): Likewise.
3374         (IPV6_PMTUDISC_OMIT): Likewise.
3375
3376 2014-06-23  Andreas Schwab  <schwab@suse.de>
3377
3378         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3379         Remove unused errout label.
3380
3381 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3382
3383         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3384         macro: hardware supports Vector Crypto instructions.
3385
3386 2014-06-23  Will Newton  <will.newton@linaro.org>
3387
3388         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3389         rather than __builtin_expect.
3390
3391         * elf/dl-lookup.c (undefined_msg): Remove variable.
3392         (_dl_lookup_symbol_x): Replace undefined_msg with string
3393         literal.
3394
3395         * elf/dl-lookup.c (do_lookup_unique): New function.
3396         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3397         to a separate function.
3398
3399 2014-06-23  Andreas Schwab  <schwab@suse.de>
3400
3401         [BZ #17079]
3402         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3403         before reading the next line.
3404
3405 2014-06-23  Will Newton  <will.newton@linaro.org>
3406
3407         * test-skeleton.c (signal_handler): Use printf and %m
3408         rather than perror.  Use printf rather than fprintf to
3409         stderr.  Use puts rather than fputs to stderr.
3410         (main): Likewise.
3411
3412 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3413
3414         * nscd/nscd.c (thread_info_t): Remove typedef.
3415         (thread_info): Remove variable.
3416
3417 2014-06-21  Allan McRae  <allan@archlinux.org>
3418
3419         * NEWS: Mention CVE-2014-4043.
3420
3421 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3422
3423         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3424         * nptl/smp.h: ... here.
3425
3426         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3427
3428         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3429         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3430         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3431         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3432
3433         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3434         * nptl/stack-aliasing.h: New file.
3435         * sysdeps/i386/i686/stack-aliasing.h: New file.
3436         * sysdeps/i386/i686/nptl/Makefile: File removed.
3437         * sysdeps/x86_64/stack-aliasing.h: New file.
3438         * sysdeps/x86_64/nptl/Makefile
3439         (CFLAGS-pthread_create.c): Variable removed.
3440
3441         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3442         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3443         old file.
3444         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3445         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3446         old file.
3447
3448 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3449
3450         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3451         (__ASSUME_SIGFRAME_V2): Remove macro.
3452         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3453         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3454         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3455         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3456         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3457         Declare as function.  Remove conditional macro definitions.
3458         (__default_rt_sa_restorer): Likewise.
3459         (__default_sa_restorer_v1): Remove declaration.
3460         (__default_sa_restorer_v2): Likewise.
3461         (__default_rt_sa_restorer_v1): Likewise.
3462         (__default_rt_sa_restorer_v2): Likewise.
3463         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3464         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3465         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3466
3467 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3468
3469         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3470         (libpthread-routines): Add sysdep.
3471         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3472         * sysdeps/unix/sysv/linux/sparc/Versions
3473         (libpthread: GLIBC_2.3.3): New version set.
3474         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3475         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3476         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3477         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3478         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3479         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3480         Moved ...
3481         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3482         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3483         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3484         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3485         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3486         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3487         * sysdeps/sparc/nptl/sem_init.c: ... here.
3488         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3489         * sysdeps/sparc/nptl/sem_post.c: ... here.
3490         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3491         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3492         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3493         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3494         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3495         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3496         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3497         (libpthread-routines): Add cpu_relax.
3498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3499         File removed.
3500         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3501         (librt: GLIBC_2.3.3): New version set.
3502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3503         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3504         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3505         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3506         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3507         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3508         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3509         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3510         Moved ...
3511         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3512         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3513         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3515         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3517         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3519         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3521         Moved ...
3522         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3523         Update #include.
3524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3525         Moved ...
3526         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3527         Update #include.
3528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3529         Moved ...
3530         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3531         Update #include.
3532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3533         Moved ...
3534         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3535         Update #include.
3536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3537         Moved ...
3538         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3539         Update #include.
3540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3541         Moved ...
3542         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3543         Update #include.
3544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3545         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3547         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3549         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3551         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3553         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3554         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3555         Moved ...
3556         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3558         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3560         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3561
3562 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3563
3564         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3565         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3566         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3567         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3568         * nscd/nscd.c: Likewise.
3569         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3570         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3571         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3572         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3573
3574         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3575         <kernel-features.h>.
3576         (init_mq_netlink): Remove conditional have_sock_cloexec
3577         definitions.  Remove code conditional on have_sock_cloexec < 0.
3578         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3579         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3580         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3581         <kernel-features.h>.
3582         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3583         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3584
3585 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3586
3587         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3588         Add tests for memset_chk and memset.
3589
3590         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3591         with AVX2_Usable.
3592
3593 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3594
3595         [BZ #16046]
3596         * elf/tst-dl-iter-static.c: New file.
3597         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3598
3599         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3600         error.
3601
3602 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3603
3604         * sysdeps/unix/sysv/linux/kernel-features.h
3605         (__ASSUME_F_GETOWN_EX): Remove macro.
3606         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3607         <kernel-features.h>.
3608         (miss_F_GETOWN_EX): Remove variable or macro.
3609         (do_fcntl): Do not check miss_F_GETOWN_EX.
3610         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3611
3612         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3613         Remove macro.
3614         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3615         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3616         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3617
3618         * sysdeps/unix/sysv/linux/kernel-features.h
3619         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3620         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3621         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3622         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3623
3624 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3625
3626         [BZ #17075]
3627         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3628         Fix calculation of the symbol's value.
3629         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3630         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3631         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3632         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3633         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3634         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3635         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3636         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3637         (modules-names): Add `tst-armtlsdescmod',
3638         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3639         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3640         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3641         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3642         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3643         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3644         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3645         ($(objpfx)tst-armtlsdescloc): New dependency.
3646         ($(objpfx)tst-armtlsdescextnow): Likewise.
3647         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3648         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3649         TLS scheme support.
3650         * sysdeps/arm/configure: Regenerate.
3651
3652 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3653
3654         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3655         (__atfct_seterrno_2): Likewise.
3656         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3657         <kernel-features.h>.
3658         (__ASSUME_ATFCTS): Do not undefine and redefine.
3659         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3660         (__have_atfcts): Remove conditional definition.
3661         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3662         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3663         unreachable if [__ASSUME_ATFCTS].
3664         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3665         not undefine and redefine.
3666         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3667         <kernel-features.h>.
3668         (faccessat) [__NR_faccessat]: Make code unconditional.
3669         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3670         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3671         <kernel-features.h>.
3672         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3673         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3674         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3675         <kernel-features.h>.
3676         (fchownat) [__NR_fchownat]: Make code unconditional.
3677         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3678         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3679         <kernel-features.h>.
3680         (futimesat) [__NR_futimesat]: Make code unconditional.
3681         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3682         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3683         <kernel-features.h>.
3684         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3685         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3686         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3687         <kernel-features.h>.
3688         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3689         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3690         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3691         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3692         <kernel-features.h>.
3693         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3694         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3695         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3696         <kernel-features.h>.
3697         (linkat) [__NR_linkat]: Make code unconditional.
3698         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3699         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3700         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3701         <kernel-features.h>.
3702         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3703         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3704         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3705         <kernel-features.h>.
3706         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3707         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3708         * sysdeps/unix/sysv/linux/openat.c: Do not include
3709         <kernel-features.h>.
3710         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3711         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3712         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3713         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3714         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3715         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3716         <kernel-features.h>.
3717         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3718         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3719         result of INLINE_SYSCALL directly, not via int variable.
3720         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3721         <kernel-features.h>.
3722         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3723         (renameat) [__NR_renameat]: Make code unconditional.
3724         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3725         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3726         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3727         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3728         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3729         (__ASSUME_ATFCTS): Do not undefine and redefine.
3730         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3731         <kernel-features.h>.
3732         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3733         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3734         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3735         <kernel-features.h>.
3736         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3737         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3738         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3739         (__ASSUME_ATFCTS): Do not undefine and redefine.
3740         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3741         <kernel-features.h>.
3742         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3743         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3744         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3745         <kernel-features.h>.
3746         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3747         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3748
3749 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3750
3751         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3752
3753 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3754
3755         [BZ #17069]
3756         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3757         constructed tree before returning error.
3758         * posix/bug-regexp36.c: Expand test case.
3759
3760 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3761
3762         [BZ #6803]
3763         * math/libm-test.inc (scalbln_test_date):
3764         Add errno expectations.
3765         * math/w_scalblnf.c: New File.
3766         Add wrapper which checks for setting errno to ERANGE.
3767         Add weak_alias for corresponding scalbln function.
3768         * math/w_scalbln.c: Likewise.
3769         * math/w_scalblnl.c: Likewise.
3770         * math/Makefile (libm-calls): Add w_scalbln.
3771         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3772         Remove weak_alias for corresponding scalbln function.
3773         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3774         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3775         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3776         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3777         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3778         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3779         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3780         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3781         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3782         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3783         Remove long_double_symbol for scalblnl function in libm, libc.
3784         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3785         Add wrapper which checks for setting errno to ERANGE.
3786         Add long_double_symbol for scalblnl function in libm, libc.
3787         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3788         Remove long_double_symbol for scalblnl in libm.
3789         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3790         Add wrapper which checks for setting errno to ERANGE.
3791         Add long_double_symbol for scalblnl function in libm.
3792         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3793         Do not use wrapper because of own implementation.
3794
3795 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3796
3797         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3798         3 bytes for __pad1 for x32.
3799         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3800
3801 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3802             H.J. Lu  <hongjiu.lu@intel.com>
3803
3804         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3805         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3806         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3807         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3808         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3809
3810 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3811
3812         [BZ #17069]
3813         * posix/regcomp.c (parse_expression): Deallocate partially
3814         constructed tree before returning error.
3815         * posix/Makefile.c (tests): Add bug-regex36.
3816         (generated): Add bug-regex36.mtrace.
3817         (tests-special): Add $(objpfx)bug-regex36-mem.out
3818         (bug-regex36-ENV): New variable.
3819         ($(objpfx)bug-regex36-mem.out): New rule.
3820         * posix/bug-regex36.c: New file.
3821
3822 2014-06-19  Will Newton  <will.newton@linaro.org>
3823
3824         * malloc/malloc.c (systrim): If extra is zero then return
3825         early.
3826
3827 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3828
3829         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3830
3831 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3832
3833         * sysdeps/aarch64/strchr.S: New file.
3834
3835 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3836
3837         [BZ #17022]
3838         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3839         from arguments -2 or below.
3840         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3841         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3842
3843 2014-06-18  Andreas Schwab  <schwab@suse.de>
3844
3845         [BZ #17062]
3846         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3847         of a bracket expr not to run off the end of the string.
3848         * posix/Makefile (tests): Add tst-fnmatch3.
3849         * posix/tst-fnmatch3.c: New file.
3850
3851 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3852
3853         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3854         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3855         [$(cross-compiling) = no]: Likewise.
3856         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3857         [$(cross-compiling) = no]: Likewise.
3858
3859 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3860
3861         [BZ #17031]
3862         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3863         double, adjusted for any remainder from the high double.
3864         * math/libm-test.inc (nearbyint): Add tests.
3865         (rint): Likewise.
3866
3867 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3868
3869         * nptl/sysdeps/powerpc/Makefile: Moved ...
3870         * sysdeps/powerpc/nptl/Makefile: ... here.
3871         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3872         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3873         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3874         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3875         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3876         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3877         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3878         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3879         * nptl/sysdeps/powerpc/tls.h: Moved ...
3880         * sysdeps/powerpc/nptl/tls.h: ... here.
3881
3882 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3883
3884         [BZ #16681]
3885         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3886         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3887         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3888         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3889         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3890         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3891         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3892         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3893         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3894
3895 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3896
3897         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3898
3899 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3900
3901         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3902         defined operator.
3903
3904         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3905         $TIMEOUTFACTOR.
3906
3907 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3908
3909         [BZ #17058]
3910         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3911         non-executed part of the test.
3912
3913 2014-06-16  Andreas Schwab  <schwab@suse.de>
3914
3915         * string/bits/string2.h (strdup, strndup): Update feature guard.
3916
3917 2014-06-14  David S. Miller  <davem@davemloft.net>
3918
3919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3920
3921 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3922
3923         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3924         that was previously under [RESET_PID].
3925         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3926
3927         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3928         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3929         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3930         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3931         (__libc_vfork): New strong alias.
3932         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3933
3934 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3935
3936         * sysdeps/generic/elide.h: New file.
3937
3938 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3939
3940         * Makefile (installed-headers): Adjust path of pthread.h header.
3941
3942 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3943
3944         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3945         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3946         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3947         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3948
3949         * nptl/sysdeps/s390/Makefile: Moved ...
3950         * sysdeps/s390/nptl/Makefile: ... here.
3951         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3952         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3953         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3954         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3955         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3956         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3957         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3958         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3959         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3960         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3961         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3962         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3963         * nptl/sysdeps/s390/tls.h: Moved ...
3964         * sysdeps/s390/nptl/tls.h: ... here.
3965
3966         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3967         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3968
3969 2014-06-13  David S. Miller  <davem@davemloft.net>
3970
3971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3972         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3974         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3978         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3979         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3980         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3981         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3982         Remove RESET_PID cpp guards.
3983         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3984         Remove RESET_PID cpp guards.
3985         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3986
3987 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3988
3989         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3990         __sp to uintptr_t.
3991
3992 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3993
3994         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3995         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3996         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3997         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3998         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3999         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4000         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4001         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4002         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4003         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4004         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4005         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4006         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4007         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4008         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4009         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4010         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4011         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4012         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4013         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4014
4015         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4016         (pthread_rwlock_rdlock): Add elision.
4017         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4018         (pthread_rwlock_wrlock): Add elision.
4019         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4020         (pthread_rwlock_trywrlock): Add elision.
4021         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4022         (pthread_rwlock_tryrdlock): Add elision.
4023         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4024         (pthread_rwlock_tryrdlock): Add elision unlock.
4025         * nptl/sysdeps/pthread/pthread.h:
4026         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4027         (PTHREAD_RWLOCK_INITIALIZER,
4028         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4029         Handle new elision field.
4030         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4031         * sysdeps/arm/nptl/bits/pthreadtypes.h
4032         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4033         * sysdeps/sh/nptl/bits/pthreadtypes.h
4034         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4035         * sysdeps/tile/nptl/bits/pthreadtypes.h
4036         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4037         * sysdeps/a/nptl/bits/pthreadtypes.h
4038         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4039         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4040         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4041         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4042         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4043         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4044         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4045         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4046         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4047         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4048         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4049         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4050         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4051         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4052         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4053         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4054         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4055         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4056         (elision_init): Set try_xbegin to zero when no RTM.
4057         * sysdeps/x86/nptl/bits/pthreadtypes.h
4058         (pthread_rwlock_t): Change __pad1 to __rwelision.
4059         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4060
4061 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4062
4063         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4064         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4065         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4066         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4067
4068 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4069
4070         [BZ #16996]
4071         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4072         that the cached result has been set before returning it.
4073
4074 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4075
4076         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4077         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4078         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4079         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4080         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4081         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4082
4083         * nptl/sysdeps/sparc/Makefile: Moved ...
4084         * sysdeps/sparc/nptl/Makefile: ... here.
4085         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4086         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4087         * nptl/sysdeps/sparc/tls.h: Moved ...
4088         * sysdeps/sparc/nptl/tls.h: ... here.
4089         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4090         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4091         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4092         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4093         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4094         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4095         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4096         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4097         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4098         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4099         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4100         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4101         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4102         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4103         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4104         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4105         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4106         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4107         Update #include.
4108         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4109         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4110         Update #include.
4111         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4112         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4113         Update #include.
4114         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4115         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4116         Update #include.
4117
4118         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4119
4120         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4121         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4122
4123         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4124         (struct list_links): Type removed.
4125         (struct thread_node, struct timer_node): Replace struct list_links
4126         with struct list_head.
4127         (list_unlink_ip): Likewise.
4128         * sysdeps/pthread/timer_routines.c
4129         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4130         (list_append, list_insbefore): Likewise.
4131         (list_init): Function removed.
4132         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4133         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4134         * sysdeps/pthread/Makefile: ... here, new file.
4135
4136         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4137         * sysdeps/nptl/Implies: ... here.
4138         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4139         * nptl/sysdeps/pthread/list.h: Moved ...
4140         * include/list.h: ... here.
4141         * nptl/sysdeps/pthread/createthread.c: Moved ...
4142         * nptl/createthread.c: ... here.
4143         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4144         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4145         * nptl/pt-longjmp.c: ... here.
4146         * nptl/sysdeps/pthread/Makefile: Moved ...
4147         * sysdeps/nptl/Makefile: ... here.
4148         * nptl/sysdeps/pthread/Subdirs: Moved ...
4149         * sysdeps/nptl/Subdirs: ... here.
4150         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4151         * sysdeps/nptl/aio_misc.h: ... here.
4152         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4153         * sysdeps/nptl/bits/libc-lock.h: ... here.
4154         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4155         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4156         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4157         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4158         * nptl/sysdeps/pthread/configure: Moved ...
4159         * sysdeps/nptl/configure: ... here.
4160         * nptl/sysdeps/pthread/configure.ac: Moved ...
4161         * sysdeps/nptl/configure.ac: ... here.
4162         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4163         * sysdeps/nptl/gai_misc.h: ... here.
4164         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4165         * sysdeps/nptl/librt-cancellation.c: ... here.
4166         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4167         * sysdeps/nptl/malloc-machine.h: ... here.
4168         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4169         * sysdeps/nptl/pthread-functions.h: ... here.
4170         * nptl/sysdeps/pthread/pthread.h: Moved ...
4171         * sysdeps/nptl/pthread.h: ... here.
4172         * nptl/sysdeps/pthread/setxid.h: Moved ...
4173         * sysdeps/nptl/setxid.h: ... here.
4174         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4175         * sysdeps/nptl/sigfillset.c: ... here.
4176         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4177         * sysdeps/nptl/tcb-offsets.h: ... here.
4178         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4179         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4180         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4181         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4182         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4183         * sysdeps/pthread/allocalim.h: ... here.
4184         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4185         * sysdeps/pthread/bits/sigthread.h: ... here.
4186         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4187         * sysdeps/pthread/flockfile.c: ... here.
4188         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4189         * sysdeps/pthread/ftrylockfile.c: ... here.
4190         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4191         * sysdeps/pthread/funlockfile.c: ... here.
4192         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4193         * sysdeps/pthread/posix-timer.h: ... here.
4194         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4195         * sysdeps/pthread/timer_create.c: ... here.
4196         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4197         * sysdeps/pthread/timer_delete.c: ... here.
4198         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4199         * sysdeps/pthread/timer_getoverr.c: ... here.
4200         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4201         * sysdeps/pthread/timer_gettime.c: ... here.
4202         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4203         * sysdeps/pthread/timer_routines.c: ... here.
4204         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4205         * sysdeps/pthread/timer_settime.c: ... here.
4206         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4207         * sysdeps/pthread/tst-timer.c: ... here.
4208         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4209         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4210
4211         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4212         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4213
4214         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4215         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4216         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4217         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4218         Update #include target.
4219         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4220         * sysdeps/i386/i686/nptl/Makefile: ... here.
4221         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4222         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4223         Update #include target.
4224         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4225         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4226         * nptl/sysdeps/i386/Makefile: Moved ...
4227         * sysdeps/i386/nptl/Makefile: ... here.
4228         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4229         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4230         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4231         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4232         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4233         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4234         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4235         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4236         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4237         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4238         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4239         * nptl/sysdeps/i386/tls.h: Moved ...
4240         * sysdeps/i386/nptl/tls.h: ... here.
4241
4242         * sysdeps/sh/Makefile [$(subdir) = csu]
4243         (gen-as-const-headers): Add tcb-offsets.sym.
4244         * nptl/sysdeps/sh/Makefile: File removed.
4245         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4246         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4247         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4248         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4249         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4250         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4251         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4252         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4253         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4254         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4255         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4256         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4257         * nptl/sysdeps/sh/tls.h: Moved ...
4258         * sysdeps/sh/nptl/tls.h: ... here.
4259         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4260         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4261         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4262         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4263         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4264         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4265         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4266         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4267         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4268         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4269         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4270         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4271         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4272         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4273         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4274         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4275         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4276         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4277         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4278         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4279         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4280         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4281         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4282         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4283         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4284         Moved ...
4285         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4286         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4287         Moved ...
4288         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4289         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4290         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4291         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4292         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4293         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4294         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4295         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4296         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4297         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4298         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4299         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4300         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4301         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4302         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4303         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4304         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4305         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4306         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4307
4308 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4309
4310         * posix/spawn_faction_addopen.c: Include string.h.
4311
4312 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4313
4314         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4315         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4316         * nptl/sysdeps/x86_64/Makefile: Moved ...
4317         * sysdeps/x86_64/nptl/Makefile: ... here.
4318         * nptl/sysdeps/x86_64/configure: Moved ...
4319         * sysdeps/x86_64/nptl/configure: ... here.
4320         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4321         * sysdeps/x86_64/nptl/configure.ac: ... here.
4322         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4323         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4324         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4325         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4326         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4327         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4328         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4329         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4330         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4331         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4332         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4333         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4334         * nptl/sysdeps/x86_64/tls.h: Moved ...
4335         * sysdeps/x86_64/nptl/tls.h: ... here.
4336         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4337         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4338         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4339         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4340
4341         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4342
4343 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4344
4345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4346
4347 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4348
4349         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4350         type.
4351         [POSIX] (off_t): Likewise.
4352         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4353         [POSIX] (S_ISBLK): Require macro.
4354         [POSIX] (S_ISCHR): Likewise.
4355         [POSIX] (S_ISDIR): Likewise.
4356         [POSIX] (S_ISFIFO): Likewise.
4357         [POSIX] (S_ISREG): Likewise.
4358         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4359         optional-macro.
4360         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4361         type.
4362         [POSIX] (time_t): Likewise.
4363         [POSIX] (timer_t): Likewise.
4364
4365 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4366
4367         [BZ #17048]
4368         * posix/spawn_int.h (struct __spawn_action): Make the path string
4369         non-const to support deallocation.
4370         * posix/spawn_faction_addopen.c
4371         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4372         * posix/spawn_faction_destroy.c
4373         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4374         path in all spawn_do_open actions.
4375         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4376         posix_spawn_file_actions_addopen.
4377
4378 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4379
4380         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4381         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4382         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4383         conditional code always true.
4384         (__libc_vfork): New alias.
4385
4386 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4387
4388         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4389         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4390
4391         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4392
4393         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4394         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4395
4396         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4397         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4398
4399         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4400         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4401
4402 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4403
4404         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4405         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4406         multiarch strcmp for PPC64.
4407         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4408         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4409         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4410         multiarch optimizations.
4411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4412         (__libc_ifunc_impl_list): Likewise.
4413
4414 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4415
4416         * benchtests/scripts/validate_benchout.py: New script.
4417         * benchtests/Makefile (bench-func): Call it.
4418         * benchtests/scripts/benchout.schema.json: New file.
4419
4420 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4421
4422         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4423         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4424         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4425         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4426         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4427         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4428         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4429         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4430         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4431         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4432         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4433         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4434         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4435         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4436         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4437         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4439         Moved ...
4440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4441         ... here.
4442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4443         Moved ...
4444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4446         Moved ...
4447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4448         ... here.
4449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4450         Moved ...
4451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4452         ... here.
4453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4454         Moved ...
4455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4457         Moved ...
4458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4459         ... here.
4460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4461         Moved ...
4462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4463         ... here.
4464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4465         Moved ...
4466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4468         Moved ...
4469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4470         ... here.
4471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4472         Moved ...
4473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4474         ... here.
4475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4476         Moved ...
4477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4478         ... here.
4479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4480         Moved ...
4481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4483         Moved ...
4484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4485         ... here.
4486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4487         Moved ...
4488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4489         ... here.
4490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4491         Moved ...
4492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4493         ... here.
4494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4495         Moved ...
4496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4498         Moved ...
4499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4500         ... here.
4501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4502         Moved ...
4503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4504         ... here.
4505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4506         Moved ...
4507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4509         Moved ...
4510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4511         ... here.
4512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4513         Moved ...
4514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4516         Moved ...
4517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4519         Moved ...
4520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4521         ... here.
4522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4523         Moved ...
4524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4525         ... here.
4526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4527         Moved ...
4528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4529         ... here.
4530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4531         Moved ...
4532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4534         Moved ...
4535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4536         ... here.
4537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4538         Moved ...
4539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4540         ... here.
4541         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4542         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4543         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4544         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4545         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4546         Moved ...
4547         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4548         ... here.
4549         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4550         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4551         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4552         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4553         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4554         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4555         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4556         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4557         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4558         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4559         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4560         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4561         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4562         Moved ...
4563         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4564         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4565         Moved ...
4566         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4567         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4568         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4569         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4570         Moved ...
4571         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4572         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4573         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4574         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4575         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4576         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4577         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4578
4579 2014-06-10  Wilco  <wdijkstr@arm.com>
4580
4581         * math/test-fenv-return.c: New file.
4582         * math/Makefile: Add new test test-fenv-return.
4583
4584 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4585
4586         [BZ #17042]
4587         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4588         when x - 1 is zero.
4589         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4590         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4591         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4592         0.0L for an argument of 1.0L.
4593         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4594         Likewise.
4595         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4596         value when x - 1 is zero.
4597         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4598         * sysdeps/i386/fpu/libm-test-ulps: Update.
4599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4600
4601 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4602
4603         [BZ #15119]
4604         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4605
4606 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4607
4608         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4609         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4610
4611 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4612
4613         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4614         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4615
4616         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4617         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4618
4619         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4620         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4621
4622         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4623         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4624
4625         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4626         if not already defined.
4627         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4628         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4629         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4630         (TLS_INIT_TP): Use it.
4631         (TLS_DEFINE_INIT_TP): New macro.
4632         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4633
4634 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4635
4636         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4637         constant.
4638         [POSIX] (IXANY): Likewise.
4639         [POSIX] (OLCUC): Likewise.
4640         [POSIX || POSIX2008] (CBAUD): Do not allow.
4641         [POSIX || POSIX2008] (DEFECHO): Likewise.
4642         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4643         [POSIX || POSIX2008] (ECHOKE): Likewise.
4644         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4645         [POSIX || POSIX2008] (EXTA): Likewise.
4646         [POSIX || POSIX2008] (EXTB): Likewise.
4647         [POSIX || POSIX2008] (FLUSHO): Likewise.
4648         [POSIX || POSIX2008] (LOBLK): Likewise.
4649         [POSIX || POSIX2008] (PENDIN): Likewise.
4650         [POSIX || POSIX2008] (SWTCH): Likewise.
4651         [POSIX || POSIX2008] (VDISCARD): Likewise.
4652         [POSIX || POSIX2008] (VDSUSP): Likewise.
4653         [POSIX || POSIX2008] (VLNEXT): Likewise.
4654         [POSIX || POSIX2008] (VREPRINT): Likewise.
4655         [POSIX || POSIX2008] (VSTATUS): Likewise.
4656         [POSIX || POSIX2008] (VWERASE): Likewise.
4657         (B*): Change to B[0123456789]*.
4658         * conform/data/time.h-data [POSIX || UNIX98]
4659         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4660         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4661         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4662         [POSIX] (tm_*): Do not allow.
4663
4664 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4665
4666         * Makefile (install): Don't set LANGUAGE.
4667         * Makefile.in (install): Likewise.
4668         * assert/Makefile (test-assert-ENV): Remove variable.
4669         (test-assert-perr-ENV): Likewise.
4670         * elf/Makefile (neededtest4-ENV): Likewise.
4671         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4672         [$(cross-compiling) = no]: Don't set LANGUAGE.
4673         * io/ftwtest-sh (LANG): Remove variable.
4674         * libio/Makefile (tst-widetext-ENV): Likewise.
4675         * manual/install.texi (Running make install): Don't refer to
4676         environment settings for make install.
4677         * INSTALL: Regenerated.
4678         * nptl/tst-tls6.sh: Don't set LANG.
4679         * posix/globtest.sh (LANG): Remove variable.
4680         * string/Makefile (tester-ENV): Likewise.
4681         (inl-tester-ENV): Likewise.
4682         (noinl-tester-ENV): Likewise.
4683         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4684         [$(cross-compiling) = no]: Don't set LANGUAGE.
4685         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4686         without explicit environment settings.
4687
4688 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4689
4690         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4691         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4692         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4693         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4694
4695 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4696
4697         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4698         other files in the crypt directory.
4699         * crypt/crypt.c: Remove duplicate includes.
4700         * crypt/crypt-entry.c: Likewise.
4701         * crypt/crypt_util.c: Likewise.
4702
4703 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4704
4705         * Makeconfig (run-program-env): New variable.
4706         (run-program-prefix-before-env): Likewise.
4707         (run-program-prefix-after-env): Likewise.
4708         (run-program-prefix): Define in terms of new variables.
4709         (built-program-cmd-before-env): New variable.
4710         (built-program-cmd-after-env): Likewise.
4711         (built-program-cmd): Define in terms of new variables.
4712         (test-program-prefix-before-env): New variable.
4713         (test-program-prefix-after-env): Likewise.
4714         (test-program-prefix): Define in terms of new variables.
4715         (test-program-cmd-before-env): New variable.
4716         (test-program-cmd-after-env): Likewise.
4717         (test-program-cmd): Define in terms of new variables.
4718         * Rules (make-test-out): Use $(run-program-env).
4719         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4720         (help): Do not mention environment variables.  Mention
4721         --timeoutfactor option.
4722         (timeoutfactor): New variable.
4723         (blacklist_exports): Remove function.
4724         (exports): Remove variable.
4725         (command): Do not include ${exports}.
4726         * manual/install.texi (Configuring and compiling): Do not mention
4727         test wrappers preserving environment variables.  Mention that last
4728         assignment to a variable must take precedence.
4729         * INSTALL: Regenerated.
4730         * benchtests/Makefile (run-bench): Use $(run-program-env).
4731         * catgets/Makefile ($(objpfx)test1.cat): Use
4732         $(built-program-cmd-before-env), $(run-program-env) and
4733         $(built-program-cmd-after-env).
4734         ($(objpfx)test2.cat): Do not specify environment variables
4735         explicitly.
4736         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4737         $(run-program-env) and $(built-program-cmd-after-env).
4738         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4739         $(run-program-env) and $(test-program-cmd-after-env).
4740         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4741         explicitly.
4742         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4743         run_program_env and test_program_cmd_after_env arguments.
4744         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4745         * elf/tst-pathopt.sh: Use run_program_env argument.
4746         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4747         $(test-wrapper-env) and $(run-program-env).
4748         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4749         run_program_env arguments.
4750         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4751         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4752         $(test-program-prefix-before-env), $(run-program-env) and
4753         $(test-program-prefix-after-env).
4754         ($(objpfx)tst-gettext2.out): Likewise.
4755         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4756         run_program_env and test_program_prefix_after_env arguments.
4757         * intl/tst-gettext2.sh: Likewise.
4758         * intl/tst-gettext4.sh: Do not set environment variables
4759         explicitly.
4760         * intl/tst-gettext6.sh: Likewise.
4761         * intl/tst-translit.sh: Likewise.
4762         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4763         $(test-program-prefix-before-env), $(run-program-env) and
4764         $(test-program-prefix-after-env).
4765         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4766         run_program_env and test_program_prefix_after_env arguments.
4767         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4768         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4769         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4770         explicitly with each use of ${test_wrapper_env}.
4771         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4772         $(test-program-prefix-before-env), $(run-program-env) and
4773         $(test-program-prefix-after-env).
4774         * posix/tst-getconf.sh: Do not set environment variables
4775         explicitly.
4776         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4777         run_program_env and test_program_prefix_after_env arguments.
4778         * stdio-common/tst-printf.sh: Do not set environment variables
4779         explicitly.
4780         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4781         $(test-program-prefix-before-env), $(run-program-env) and
4782         $(test-program-prefix-after-env).
4783         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4784         run_program_env and test_program_prefix_after_env arguments.
4785         Split $test calls into $test_pre and $test.
4786         * timezone/Makefile (build-testdata): Use
4787         $(built-program-cmd-before-env), $(run-program-env) and
4788         $(built-program-cmd-after-env).
4789
4790 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4791
4792         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4793         strlen for non SHARED builds.
4794
4795 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4796
4797         * nptl/allocatestack.c (check_list): Inlined function...
4798         (__reclaim_stacks): ... here.
4799
4800 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4801
4802         [BZ #15698]
4803         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4804         memory overrun.
4805
4806 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4807
4808         * Rules (make-test-out): Include
4809         LOCPATH=$(common-objpfx)localedata in default environment.
4810         * debug/Makefile (tst-chk1-ENV): Remove variable.
4811         (tst-chk2-ENV): Likewise.
4812         (tst-chk3-ENV): Likewise.
4813         (tst-chk4-ENV): Likewise.
4814         (tst-chk5-ENV): Likewise.
4815         (tst-chk6-ENV): Likewise.
4816         (tst-lfschk1-ENV): Likewise.
4817         (tst-lfschk2-ENV): Likewise.
4818         (tst-lfschk3-ENV): Likewise.
4819         (tst-lfschk4-ENV): Likewise.
4820         (tst-lfschk5-ENV): Likewise.
4821         (tst-lfschk6-ENV): Likewise.
4822         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4823         (tst-iconv7-ENV): Likewise.
4824         * intl/Makefile (LOCPATH-ENV): Likewise.
4825         (tst-codeset-ENV): Likewise.
4826         (tst-gettext3-ENV): Likewise.
4827         (tst-gettext5-ENV): Likewise.
4828         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4829         (tst-fopenloc-ENV): Likewise.
4830         (tst-fgetws-ENV): Remove variable.
4831         (tst-ungetwc1-ENV): Likewise.
4832         (tst-ungetwc2-ENV): Likewise.
4833         (bug-ungetwc2-ENV): Likewise.
4834         (tst-swscanf-ENV): Likewise.
4835         (bug-ftell-ENV): Likewise.
4836         (tst-fgetwc-ENV): Likewise.
4837         (tst-fseek-ENV): Likewise.
4838         (tst-ftell-partial-wide-ENV): Likewise.
4839         (tst-ftell-active-handler-ENV): Likewise.
4840         (tst-ftell-append-ENV): Likewise.
4841         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4842         (tst-regexloc-ENV): Likewise.
4843         (bug-regex1-ENV): Likewise.
4844         (tst-regex-ENV): Likewise.
4845         (tst-regex2-ENV): Likewise.
4846         (bug-regex5-ENV): Likewise.
4847         (bug-regex6-ENV): Likewise.
4848         (bug-regex17-ENV): Likewise.
4849         (bug-regex18-ENV): Likewise.
4850         (bug-regex19-ENV): Likewise.
4851         (bug-regex20-ENV): Likewise.
4852         (bug-regex22-ENV): Likewise.
4853         (bug-regex23-ENV): Likewise.
4854         (bug-regex25-ENV): Likewise.
4855         (bug-regex26-ENV): Likewise.
4856         (bug-regex30-ENV): Likewise.
4857         (bug-regex32-ENV): Likewise.
4858         (bug-regex33-ENV): Likewise.
4859         (bug-regex34-ENV): Likewise.
4860         (bug-regex35-ENV): Likewise.
4861         (tst-rxspencer-ENV): Likewise.
4862         (tst-rxspencer-no-utf8-ENV): Likewise.
4863         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4864         (tst-sscanf-ENV): Likewise.
4865         (tst-swprintf-ENV): Likewise.
4866         (tst-swscanf-ENV): Likewise.
4867         (test-vfprintf-ENV): Likewise.
4868         (scanf13-ENV): Likewise.
4869         (bug14-ENV): Likewise.
4870         (tst-grouping-ENV): Likewise.
4871         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4872         (tst-strtod3-ENV): Likewise.
4873         (tst-strtod4-ENV): Likewise.
4874         (tst-strtod5-ENV): Likewise.
4875         (testmb2-ENV): Likewise./
4876         * string/Makefile (tst-strxfrm-ENV): Likewise.
4877         (tst-strxfrm2-ENV): Likewise.
4878         (bug-strcoll1-ENV): Likewise.
4879         (test-strcasecmp-ENV): Likewise.
4880         (test-strncasecmp-ENV): Likewise.
4881         * time/Makefile (tst-strptime-ENV): Likewise.
4882         (tst-ftime_l-ENV): Likewise.
4883         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4884         (tst-mbrtowc-ENV): Likewise.
4885         (tst-wcrtomb-ENV): Likewise.
4886         (tst-mbrtowc2-ENV): Likewise.
4887         (tst-c16c32-1-ENV): Likewise.
4888         (tst-mbsnrtowcs-ENV): Likewise.
4889
4890 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4891
4892         * manual/resource.texi (How to get information about the memory
4893         subsystem?): Fix typo.
4894         Reported by Peon de la Parra Ivan <peon@keba.com>
4895
4896 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4897
4898         [BZ #16882]
4899         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4900         (pthread_spin_lock): Branch out of spin loop to proper location.
4901         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4902         (pthread_spin_lock): Likewise.
4903
4904         * nptl/tst-spin4.c: New test.
4905         * nptl/Makefile (tests): Add tst-spin4.
4906
4907 2014-06-03  Andreas Schwab  <schwab@suse.de>
4908
4909         [BZ #15946]
4910         * resolv/res_send.c (send_dg): Reload file descriptor after
4911         calling reopen.
4912
4913 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4914
4915         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4916
4917 2014-06-03  Richard Henderson  <rth@redhat.com>
4918
4919         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4920         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4921         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4922         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4923         in the SAVE_PID block.
4924         (__libc_vfork): New alias.
4925         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4926
4927         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4928         child in registers, not on the stack.  Remove RESET_PID conditionals.
4929         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4930
4931 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4932
4933         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4934
4935 2014-06-03  Wilco  <wdijkstr@arm.com>
4936
4937         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4938         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4939         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4940         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4941         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4942         Likewise.
4943
4944 2014-06-03  Wilco  <wdijkstr@arm.com>
4945
4946         * sysdeps/aarch64/fpu/math_private.h
4947         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4948         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4949         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4950         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4951         Fix declarations.
4952
4953 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4954
4955         * crypt/crypt-private.h: Include ufc-crypt.h.
4956         (__b64_from_24bit): Declare extern.
4957         * crypt/crypt_util.c(__b64_from_24bit): New function.
4958         (b64t): New static const variable.
4959         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4960         (b64t): Remove variable.
4961         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4962         * crypt/sha256-crypt.c: Include crypt-private.h.
4963         (b64t): Remove variable.
4964         (__sha256_crypt_r): Remove b64_from_24bit and replace
4965         with __b64_from_24bit.
4966         * crypt/sha512-crypt.c: Likewise.
4967
4968 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4969
4970         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4971         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4972         Label the code __libc_vfork rather than __vfork.
4973         [!NOT_IN_libc] (vfork): Define as weak alias.
4974         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4975         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4976         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4977
4978 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4979
4980         * malloc/malloc.c (malloc_info): Fix format specifier for
4981         n_mmaps.
4982
4983 2014-06-02  Wilco  <wdijkstr@arm.com>
4984
4985         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4986         FPCR write.
4987
4988 2014-06-02  Wilco  <wdijkstr@arm.com>
4989
4990         [BZ #17009]
4991         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4992         Rewrite to reduce FPCR/FPSR accesses.
4993
4994 2014-06-01  David S. Miller  <davem@davemloft.net>
4995
4996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4997
4998 2014-05-31  David S. Miller  <davem@davemloft.net>
4999
5000         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5001         to occur in round to nearest mode when |x| >= 2.0
5002
5003 2014-05-30  Richard Henderson  <rth@twiddle.net>
5004
5005         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5006         (PSEUDO_RET_NOERRNO): Remove.
5007         (ret): Don't redefine.
5008         (ret_NOERRNO): Define in terms of ret.
5009         (ret_ERRVAL): Likewise.
5010
5011         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5012         use of PSEUDO_RET; perform the error check directly.
5013
5014 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5015
5016         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5017         with __int128_t.
5018
5019 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5020
5021         * malloc/malloc (malloc_info): Fix formatting.
5022
5023 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5024             Roland McGrath  <roland@hack.frob.com>
5025
5026         * malloc/malloc (malloc_info): Also print mmapped statistics.
5027
5028 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5029
5030         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5031         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5032
5033 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5034
5035         * malloc/malloc.c (malloc_info): Inline mi_arena.
5036
5037 2014-05-29  Richard Henderson  <rth@twiddle.net>
5038
5039         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5040         Remove comma before expanding ASM_ARGS_##nr.
5041         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5042         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5043         of ASM_ARGS_##nr.
5044         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5045         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5046         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5047         (ASM_ARGS_1): Add leading comma.
5048
5049         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5050         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5051         to __errno_location.
5052         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5053         Remove the expected plt for __errno_location.
5054
5055         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5056         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5057         call to __read_tp.
5058
5059         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5060         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5061         it and break it down.
5062         (DOCARGS_0, DOCARGS_1): Do nothing.
5063         (DOCARGS_2): Update to store into the new stack frame.
5064         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5065         (UNDOCARGS_1): Update to restore from the new stack frame.
5066         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5067         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5068
5069         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5070         (SINGLE_THREAD_P): New parameter for result regno.
5071         (PSEUDO): Update to match; use cbz instead of beq.
5072
5073         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5074         Use ENTRY to define the _nocancel entry point.  Share the syscall
5075         and syscall error check paths with the cancel path.
5076         (PSEUDO_END): New.
5077
5078         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5079         whitespace; tabs before and after asm mnemonics.
5080
5081 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5082
5083         [BZ #15132]
5084         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5085         Call fstat64 or stat64 internally, depending on arguments passed.
5086         Replace stat buffer argument with file descriptor argument.
5087         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5088         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5089         Pass fd to __internal_statvfs instead of calling fstat64.
5090         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5091         Pass fd to __internal_statvfs64 instead of calling fstat64.
5092         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5093         Pass -1 to __internal_statvfs instead of calling stat64.
5094         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5095         Pass -1 to __internal_statvfs64 instead of calling stat64.
5096
5097 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5098
5099         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5100         that was previously under [RESET_PID].
5101         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5102
5103         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5104         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5105
5106 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5107
5108         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5109
5110         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5111         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5112
5113 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5114
5115         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5116
5117 2014-05-27  Andreas Schwab  <schwab@suse.de>
5118
5119         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5120         TLS_INIT_TP macro.
5121         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5122         * elf/rtld.c (init_tls, dl_main): Likewise.
5123         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5124         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5125         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5126         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5127         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5128         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5129         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5130         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5131         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5132         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5133         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5134         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5135         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5136         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5137         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5138         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5139         * sysdeps/generic/tls.h: Update description.
5140
5141 2014-05-27  Will Newton  <will.newton@linaro.org>
5142
5143         [BZ #16990]
5144         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5145         and restore r2 rather than just restoring.
5146
5147 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5148
5149         [BZ #16724]
5150         * libio/tst-ftell-append.c: New test case.
5151         * libio/Makefile (tests): Add test case.
5152         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5153         append mode.
5154         * libio/wfileops.c (do_ftell_wide): Likewise.
5155
5156 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5157
5158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5159
5160         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5161         ...
5162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5164         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5165         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5166         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5167         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5168         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5169         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5170         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5171         Moved ...
5172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5173         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5174         Moved ...
5175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5176         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5177         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5178         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5179         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5180         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5181         ...
5182         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5183         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5184         Moved ...
5185         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5186         here.
5187         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5188         ...
5189         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5190         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5191         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5192
5193         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5194         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5195         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5196         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5197
5198         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5199         merge into ...
5200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5201         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5202         ...
5203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5204         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5205         ...
5206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5207         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5208         Moved ...
5209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5210         here.
5211         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5212         Moved ...
5213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5215         Moved ...
5216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5217
5218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5219         conditional [RESET_PID].
5220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5221         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5222         removed.
5223         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5224         removed.
5225
5226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5227         <tcb-offsets.h>.
5228         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5229         (__libc_vfork): New strong alias.
5230         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5231         removed.
5232         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5233         Removed.
5234
5235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5236         <tcb-offsets.h>.
5237         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5238         (__libc_vfork): New strong alias.
5239         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5240         removed.
5241         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5242         removed.
5243
5244 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5245
5246         * malloc/malloc.c (mi_arena): New function.
5247         (malloc_info): Remove nested function mi_arena. Call non-nosted
5248         function mi_arena.
5249
5250 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5251
5252         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5253         by insrwi.
5254         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5255         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5256         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5257         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5258         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5259         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5260         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5261
5262 2014-05-26  Andreas Schwab  <schwab@suse.de>
5263
5264         [BZ #16984]
5265         * locale/programs/repertoire.c (repertoire_read): Add slash
5266         between I18NPATH element and file name.
5267         * locale/programs/locfile.c (locfile_read): Likewise.
5268
5269 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5270
5271         * nptl/pthread_mutexattr_settype.c
5272         (__pthread_mutexattr_settype):
5273         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5274
5275 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5276
5277         * nptl/tst-mutex5 (do_test):
5278         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5279
5280 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5281
5282         * benchtests/README: Document 'init' directive.
5283         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5284         BENCH_INIT.
5285         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5286         (parse_file): Recognize 'init' directive.
5287
5288 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5289
5290         [BZ #16796]
5291         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5292         alignment of struct pthread.
5293
5294 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5295
5296         [BZ #16878]
5297         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5298         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5299         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5300         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5301
5302 2014-05-25  Richard Henderson  <rth@twiddle.net>
5303
5304         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5305         (SINGLE_THREAD_P_PIC): Remove.
5306         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5307         (SINGLE_THREAD_P_PIC): Remove.
5308
5309         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5310         branch to syscall error ...
5311         (PSEUDO): ... here.
5312         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5313         from __local_syscall_error to .Lsyscall_error.
5314         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5315         (SYSCALL_ERROR): Update label name.
5316
5317         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5318         Do not use DOARGS/UNDOARGS.
5319         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5320         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5321         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5322         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5323         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5324
5325         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5326         block comment.
5327
5328         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5329         define if !NOT_IN_libc.
5330         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5331         define with non-default symbol versions.
5332
5333 2014-05-23  Richard Henderson  <rth@twiddle.net>
5334
5335         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5336         (vfork, __vfork): Define via compat_symbol.
5337
5338         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5339         [!HAVE_IFUNC] (vfork_compat): Remove.
5340         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5341
5342 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5343
5344         [BZ #16978]
5345         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5346         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5347         variable.
5348
5349 2014-05-23  Richard Henderson  <rth@twiddle.net>
5350
5351         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5352         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5353         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5354         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5355
5356         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5357         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5358         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5359         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5360         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5361         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5362         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5363         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5364         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5365         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5366         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5367         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5368         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5369         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5370         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5371         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5372         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5373         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5374         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5375         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5376         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5377         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5378         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5379         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5380         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5381         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5382         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5383         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5384         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5385         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5386         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5387         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5388         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5389         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5390         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5391         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5392         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5393         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5394         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5395         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5396         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5397         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5398         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5399         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5400         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5401         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5402         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5403         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5404         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5405         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5406         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5407         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5408         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5409         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5410         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5411         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5412
5413         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5414         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5415         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5416         before exiting on error.
5417         (__libc_vfork): New strong alias.
5418         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5419         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5420
5421         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5422         that was previously under [RESET_PID].
5423         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5424
5425         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5426
5427 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5428
5429         [BZ #16977]
5430         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5431         value when x - 1 is zero.
5432         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5433         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5434         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5435         0.0L for an argument of 1.0L.
5436         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5437         Likewise.
5438         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5439         value when x - 1 is zero.
5440         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5441         * sysdeps/i386/fpu/libm-test-ulps: Update.
5442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5443
5444 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5445
5446         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5447         alphasort and versionsort.
5448
5449 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5450
5451         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5452         macro.
5453         [copysignf]: Likewise.
5454
5455 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5456
5457         * crypt/md5-crypt.c: Fix formatting.
5458
5459 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5460
5461         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5462         (b64_from_24bit): New function.
5463
5464 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5465
5466         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5467         libc_hidden_builtin_def to ifunc.
5468         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5469         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5470
5471 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5472
5473         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5474         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5475
5476 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5477
5478         * nscd/Depend (linuxthreads): Remove.
5479         (nptl): Add.
5480         * resolv/Depend (linuxthreads): Remove.
5481         * rt/Depend (linuxthreads): Remove.
5482
5483         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5484         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5485         $(common-objpfx)elf/.
5486         (link-libc-before-gnulib): Likewise.
5487         (elfobjdir): Remove variable.
5488         * Makefile (install): Use $(elf-objpfx) instead of
5489         $(common-objpfx)elf/.
5490         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5491         $(elfobjdir)/.
5492         (link-libc-deps): Likewise.
5493         ($(common-objpfx)libc.so): Likewise.
5494         ($(common-objpfx)linkobj/libc.so): Likewise.
5495         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5496         instead of $(common-objpfx)elf/.
5497         (symbolic-link-list): Likewise.
5498         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5499         [$(cross-compiling) = no]: Likewise.
5500         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5501         $(elfobjdir)/.
5502         (static-gnulib-arch): Likewise.
5503         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5504         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5505         $(common-objpfx)elf/.
5506
5507 2014-05-21  Richard Henderson  <rth@redhat.com>
5508
5509         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5510         (SINGLE_THREAD_P): Use the correct width load.  Fold
5511         into the ldr offset.
5512
5513         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5514         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5515
5516 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5517
5518         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5519         (libgcc_s_resume): Use __attribute_used__.
5520         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5521         Likewise.
5522
5523 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5524
5525         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5526         optimization when used with float constants.
5527
5528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5529
5530 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5531
5532         [BZ #16915]
5533         * locale/nl_langinfo_l.c: Make direct reference to every
5534         _nl_current_CATEGORY symbol.
5535         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5536         (tests-static): Add tst-langinfo-static.
5537         (tests-special): Add tst-langinfo-static.out.
5538         ($(objpfx)tst-langinfo.out): Redirect output.
5539         ($(objpfx)tst-langinfo-static.out): New.
5540         * localedata/tst-langinfo.sh: Send output to stdout.
5541         * localedata/tst-langinfo-static.c: New file.
5542
5543         [BZ #16965]
5544         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5545         when the shift amount is modulo the limb size.
5546
5547 2014-05-20  Richard Henderson  <rth@redhat.com>
5548
5549         [BZ #16967]
5550         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5551         Change type of sa_flags from unsigned int to int.
5552
5553         [BZ #16966]
5554         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5555
5556         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5557
5558 2014-05-20  Will Newton  <will.newton@linaro.org>
5559
5560         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5561         Test the return value of the system call in the nocancel case.
5562
5563 2014-05-20  Will Newton  <will.newton@linaro.org>
5564             Yvan Roux  <yvan.roux@linaro.org>
5565
5566         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5567         #include of asm/ptrace.h.
5568         (PTRACE_GET_THREAD_AREA): Remove #undef.
5569         (PTRACE_GETHBPREGS): Likewise.
5570         (PTRACE_SETHBPREGS): Likewise.
5571         (struct user_regs_struct): New structure.
5572         (struct user_fpsimd_struct): New structure.
5573         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5574         #include of asm/ptrace.h and second #include of sys/user.h.
5575         (PTRACE_GET_THREAD_AREA): Remove #undef.
5576         (PTRACE_GETHBPREGS): Likewise.
5577         (PTRACE_SETHBPREGS): Likewise.
5578         (ELF_NGREG): Use new struct user_regs_struct.
5579         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5580
5581 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5582
5583         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5584         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5585
5586 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5587
5588         [BZ #16958]
5589         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5590         membar to avoid block loads/stores to overlap previous stores.
5591
5592 2014-05-17  Richard Henderson  <rth@redhat.com>
5593
5594         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5595         Create the __##syscall_name##_nocancel entry point.
5596         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5597         Remove; let the sysdep-cancel.h code create it.
5598
5599 2014-05-17  David S. Miller  <davem@davemloft.net>
5600
5601         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5602         Protect with __USE_GNU.
5603         (TIOCSET_TEMPT): Likewise.
5604         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5605         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5606         these are already provided in bits/ioctl-types.h
5607
5608 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5609
5610         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5611         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5612
5613         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5614         Use wait4 regardless of [__NR_waitpid].
5615
5616 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5617
5618         PR libgcc/60166
5619         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5620         (_FP_NANSIGN_Q): Set the quiet bit.
5621
5622 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5623
5624         * benchtests/Makefile
5625         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5626         not $(common-objpfx)math/libm.so.
5627         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5628         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5629         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5630         $(common-objpfx)dlfcn/libdl.so.
5631         ($(objpfx)tst-audit8): Depend on $(libm), not
5632         $(common-objpfx)math/libm.so.
5633         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5634         not $(common-objpfx)dlfcn/libdl.so.
5635         * math/Makefile
5636         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5637         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5638         [$(build-shared) = yes].
5639         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5640         $(common-objpfx)nptl/libpthread.so.
5641         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5642         $(common-objpfx)math/libm.so$(libm.so-version) or
5643         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5644         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5645         $(common-objpfx)dlfcn/libdl.so.
5646         * setjmp/Makefile (link-libm): Remove variable.
5647         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5648         * stdio-common/Makefile (link-libm): Remove variable.
5649         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5650         * stdlib/Makefile (link-libm): Remove variable.
5651         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5652         ($(objpfx)tst-strtod-round): Likewise.
5653         ($(objpfx)tst-tininess): Likewise.
5654         ($(objpfx)tst-strtod-underflow): Likewise.
5655         ($(objpfx)tst-strtod6): Likewise.
5656         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5657         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5658         $(common-objpfx)dlfcn/libdl.so.
5659
5660 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5661
5662         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5663         BSD terminal modes definitions.
5664
5665 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5666
5667         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5668         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5669
5670         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5671         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5672         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5673         Don't do #include_next.
5674         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5675         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5676         Don't do #include_next.
5677         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5678         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5679         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5680         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5681
5682 2014-05-16  Allan McRae  <allan@archlinux.org>
5683
5684         * po/sv.po: Update Swedish translation from translation project.
5685
5686         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5687         in sed expression.
5688
5689 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5690
5691         [BZ #16917]
5692         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5693         errno if the TIOCGPTN ioctl fails with an error different than
5694         EINVAL.
5695         * login/tst-ptsname.c: New file.
5696         * login/Makefile (tests): Add tst-ptsname.
5697
5698         [BZ #16943]
5699         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5700         and prlimit64.
5701
5702 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5703
5704         [BZ #16849]
5705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5706         herrno to return EAI_AGAIN.
5707
5708 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5709
5710         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5711         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5712         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5713         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5714         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5715         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5716         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5717         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5718         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5719         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5720         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5721         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5722         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5723         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5724         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5725         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5726         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5727         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5728         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5729         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5730         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5731         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5732         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5733         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5734         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5735         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5736         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5737         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5738         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5739         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5741         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5743         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5744         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5745         Moved ...
5746         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5748         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5749         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5750         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5751         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5752         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5754         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5756         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5758         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5760         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5762         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5764         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5765         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5766         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5768         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5770         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5772         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5774         Moved ...
5775         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5777         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5779         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5781         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5783         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5785         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5787         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5789         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5791         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5793         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5795         Moved ...
5796         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5798         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5799
5800         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5801         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5802         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5803         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5804         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5805         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5806         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5807         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5808         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5809         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5810         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5811         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5812         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5813         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5814         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5815         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5816         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5817         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5818         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5819         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5820         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5821         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5822         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5823         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5824         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5825         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5826         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5827         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5828         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5829         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5830         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5831
5832         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5833         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5834
5835         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5836         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5837         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5838         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5839         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5840         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5841         Moved ...
5842         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5843         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5844         Moved ...
5845         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5846         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5847         Moved ...
5848         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5849         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5850         Moved ...
5851         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5852         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5853         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5854         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5855         Moved ...
5856         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5857         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5858         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5859         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5860         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5861         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5862         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5863         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5864         Moved ...
5865         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5866         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5867         Moved ...
5868         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5869         ... here.
5870         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5871         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5872         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5873         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5874         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5875         Moved ...
5876         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5877         ... here.
5878         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5879         Moved ...
5880         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5881         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5882         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5883         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5884         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5885         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5886         Moved ...
5887         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5888         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5889         Moved ...
5890         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5891         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5892         Moved ...
5893         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5894         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5895         Moved ...
5896         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5897         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5898         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5899         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5900         Moved ...
5901         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5902         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5903         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5904         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5905         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5906         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5907         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5908         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5909         Moved ...
5910         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5911         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5912         Moved ...
5913         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5914         ... here.
5915         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5916         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5917         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5918         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5919         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5920         Moved ...
5921         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5922         ... here.
5923         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5924         Moved ...
5925         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5926         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5927         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5928         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5929         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5930         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5931         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5932         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5933         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5934         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5935         Moved ...
5936         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5937         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5938         Moved ...
5939         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5940         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5941         Moved ...
5942         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5943         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5944         Moved ...
5945         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5946         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5947         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5948         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5949         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5950         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5951         Moved ...
5952         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5953         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5954         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5955         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5956         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5957         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5958         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5959         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5960         Moved ...
5961         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5962         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5963         Moved ...
5964         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5965         ... here.
5966         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5967         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5968         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5969         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5970         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5971         Moved ...
5972         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5973         ... here.
5974         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5975         Moved ...
5976         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5977         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5978         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5979         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5980         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5981         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5982         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5983         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5984         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5985         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5986         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5987
5988         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5989         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5990
5991         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5992         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5993
5994         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5995         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5996         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5997         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5998         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5999         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6000         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6001         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6002         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6003         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6004         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6005         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6006         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6007         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6008         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6009         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6010         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6011         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6012         Moved ...
6013         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6014         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6015         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6016         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6017         Moved ...
6018         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6019         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6020         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6021         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6022         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6023         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6024         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6025         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6026         Moved ...
6027         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6028         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6029         Moved ...
6030         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6031         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6032         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6033         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6034         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6035         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6036         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6037         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6038         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6039         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6040         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6041         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6042         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6043         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6044         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6045         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6046         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6047
6048         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6049         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6050         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6051         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6052         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6053
6054         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6055         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6056         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6057         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6058         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6059         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6060         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6061         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6062         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6063         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6064
6065         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6066         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6067
6068         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6069         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6070         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6071         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6072         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6073         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6074         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6075         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6076         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6077         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6078         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6079         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6080         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6081         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6082         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6083         Update #include.
6084         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6085         Likewise.
6086         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6087         Likewise.
6088         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6089         Likewise.
6090         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6091         Likewise.
6092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6093         Likewise.
6094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6095         Likewise.
6096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6097         Likewise.
6098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6099         Likewise.
6100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6101         Likewise.
6102         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6103         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6104         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6105         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6106         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6107         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6108         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6109         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6110         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6111         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6112         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6113         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6114         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6115         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6116         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6117
6118         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6119         that was previously under [RESET_PID].
6120         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6121         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6122         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6123
6124         * sysdeps/i386/nptl/Implies: New file.
6125         * sysdeps/x86_64/nptl/Implies: New file.
6126         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6127         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6128         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6129         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6130
6131         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6132         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6133         (__libc_vfork): New strong alias.
6134         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6135         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6136
6137         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6138         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6139         (__libc_vfork): New strong alias.
6140         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6141         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6142
6143         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6144         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6145         (__libc_vfork): New strong alias.
6146         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6147         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6148         * nptl/pt-vfork.c: New file.
6149         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6150         (libpthread: GLIBC_2.20): New version set (empty).
6151
6152 2014-05-14  Will Newton  <will.newton@linaro.org>
6153
6154         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6155         rather than #if.
6156
6157 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6158
6159         [BZ #16564]
6160         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6161         arguments with exponent 65 or above.
6162         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6163         arguments 0x1p113L or above.
6164         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6165         to arguments 0x1p107L or above.
6166         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6167         positive arguments with exponent 65 or above.
6168         * math/auto-libm-test-in: Add more tests of log1p.
6169         * math/auto-libm-test-out: Regenerated.
6170
6171         [BZ #16928]
6172         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6173         non-finite arguments is +0.
6174         * math/s_cacosf.c (__cacosf): Likewise.
6175         * math/s_cacosl.c (__cacosl): Likewise.
6176         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6177         * sysdeps/i386/fpu/libm-test-ulps: Update.
6178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6179
6180         [BZ #16927]
6181         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6182         value.
6183         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6184         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6185         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6186         for explicit high bit of mantissa when testing for argument equal
6187         to 1.
6188         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6189         * sysdeps/i386/fpu/libm-test-ulps: Update.
6190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6191
6192         [BZ #16516]
6193         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6194         (__erf): Scale by 16 instead of 8 in potentially underflowing
6195         case.  Ensure exception if result actually underflows.
6196         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6197         (__erff): Scale by 16 instead of 8 in potentially underflowing
6198         case.  Ensure exception if result actually underflows.
6199         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6200         (efx8): Remove variable.
6201         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6202         case.  Ensure exception if result actually underflows.
6203         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6204         (efx8): Remove variable.
6205         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6206         case.  Ensure exception if result actually underflows.
6207         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6208         (efx8): Remove variable.
6209         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6210         case.  Ensure exception if result actually underflows.
6211         * math/auto-libm-test-in: Add more tests of erf.
6212         * math/auto-libm-test-out: Regenerated.
6213
6214 2014-05-14  Andreas Schwab  <schwab@suse.de>
6215
6216         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6217         Remove code conditionalized on USE___THREAD.
6218
6219         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6220         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6221         not definedness.
6222
6223 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6224
6225         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6226         Define unconditionally.
6227         (__ASSUME_O_CLOEXEC): Likewise.
6228         (__ASSUME_SOCK_CLOEXEC): Likewise.
6229         (__ASSUME_IN_NONBLOCK): Likewise.
6230         (__ASSUME_PIPE2): Likewise.
6231         (__ASSUME_EVENTFD2): Likewise.
6232         (__ASSUME_SIGNALFD4): Likewise.
6233         (__ASSUME_DUP3): Likewise.
6234         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6235         (__ASSUME_DUP3): Do not define.
6236         (__ASSUME_EVENTFD2): Likewise.
6237         (__ASSUME_IN_NONBLOCK): Likewise.
6238         (__ASSUME_O_CLOEXEC): Likewise.
6239         (__ASSUME_PIPE2): Likewise.
6240         (__ASSUME_SIGNALFD4): Likewise.
6241         (__ASSUME_SOCK_CLOEXEC): Likewise.
6242         (__ASSUME_UTIMES): Undefine.
6243         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6244         (__ASSUME_UTIMES): Do not define.
6245         (__ASSUME_O_CLOEXEC): Likewise.
6246         (__ASSUME_SOCK_CLOEXEC): Likewise.
6247         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6248         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6249         0x020621].
6250         (__ASSUME_PIPE2): Likewise.
6251         (__ASSUME_EVENTFD2): Likewise.
6252         (__ASSUME_SIGNALFD4): Likewise.
6253         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6254         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6255         Do not define.
6256         (__ASSUME_EVENTFD2): Likewise.
6257         (__ASSUME_SIGNALFD4): Likewise.
6258         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6259         (__ASSUME_32BITUIDS): Likewise.
6260         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6261         (__ASSUME_IPC64): Likewise.
6262         (__ASSUME_ST_INO_64_BIT): Likewise.
6263         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6264         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6265         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6266         (__ASSUME_UTIMES): Do not define.
6267         (__ASSUME_PSELECT): Likewise.
6268         (__ASSUME_PPOLL): Likewise.
6269         (__ASSUME_O_CLOEXEC): Likewise.
6270         (__ASSUME_SOCK_CLOEXEC): Likewise.
6271         (__ASSUME_IN_NONBLOCK): Likewise.
6272         (__ASSUME_PIPE2): Likewise.
6273         (__ASSUME_EVENTFD2): Likewise.
6274         (__ASSUME_SIGNALFD4): Likewise.
6275         (__ASSUME_DUP3): Likewise.
6276         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6277         (__ASSUME_UTIMES): Likewise.
6278         (__ASSUME_O_CLOEXEC): Likewise.
6279         (__ASSUME_SOCK_CLOEXEC): Likewise.
6280         (__ASSUME_IN_NONBLOCK): Likewise.
6281         (__ASSUME_PIPE2): Likewise.
6282         (__ASSUME_EVENTFD2): Likewise.
6283         (__ASSUME_SIGNALFD4): Likewise.
6284         (__ASSUME_DUP3): Likewise.
6285         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6286         (__ASSUME_UTIMES): Likewise.
6287         (__ASSUME_O_CLOEXEC): Likewise.
6288         (__ASSUME_SOCK_CLOEXEC): Likewise.
6289         (__ASSUME_IN_NONBLOCK): Likewise.
6290         (__ASSUME_PIPE2): Likewise.
6291         (__ASSUME_EVENTFD2): Likewise.
6292         (__ASSUME_SIGNALFD4): Likewise.
6293         (__ASSUME_DUP3): Likewise.
6294         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6295         Likewise.
6296         (__ASSUME_UTIMES): Likewise.
6297         (__ASSUME_EVENTFD2): Likewise.
6298         (__ASSUME_SIGNALFD4): Likewise.
6299         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6300         (__ASSUME_O_CLOEXEC): Likewise.
6301         (__ASSUME_SOCK_CLOEXEC): Likewise.
6302         (__ASSUME_IN_NONBLOCK): Likewise.
6303         (__ASSUME_PIPE2): Likewise.
6304         (__ASSUME_EVENTFD2): Likewise.
6305         (__ASSUME_SIGNALFD4): Likewise.
6306         (__ASSUME_DUP3): Likewise.
6307         (__ASSUME_UTIMES): Undefine.
6308
6309         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6310         feclearexcept.  Remove symbol versioning code.
6311         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6312         symbol versioning code.
6313         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6314         symbol versioning code.
6315         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6316         feupdateenv.  Remove symbol versioning code.
6317         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6318         fegetexceptflag.  Remove symbol versioning code.
6319         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6320         fesetexceptflag.  Remove symbol versioning code.
6321         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6322         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6323         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6324         (__posix_fadvise64_l32): Remove prototype.
6325         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6326         code.
6327
6328 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6329
6330         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6331         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6332         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6333         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6334
6335 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6336
6337         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6338         current working directory
6339
6340 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6341
6342         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6343         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6344         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6345         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6346         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6347         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6348         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6349         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6350         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6351         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6352         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6353         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6354         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6355         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6356         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6357         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6358         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6359         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6360         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6361         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6362         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6363         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6364         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6365         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6366         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6367         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6368         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6369         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6370         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6371         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6372         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6373         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6374         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6375         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6376         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6377         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6378         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6379         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6380         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6381         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6382         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6383         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6384
6385         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6386         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6387
6388         * sysdeps/unix/sysv/linux/arm/Makefile
6389         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6390         Add rt-aeabi_unwind_cpp_pr1.
6391         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6392         Add nptl-aeabi_unwind_cpp_pr1.
6393         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6394         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6395         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6396         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6397         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6398         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6399
6400         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6401         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6402         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6403         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6404
6405         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6406         Deconditionalize the code that was previously under [RESET_PID].
6407         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6408
6409         * sysdeps/generic/exit-thread.h: New file.
6410         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6411         * include/unistd.h (__exit_thread): Remove declaration.
6412         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6413         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6414         * csu/libc-start.c: Include <exit-thread.h>.
6415         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6416         * nptl/pthread_create.c: Include <exit-thread.h>.
6417         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6418         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6419         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6420         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6421         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6422         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6423         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6424         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6425         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6426         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6427         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6428         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6429         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6430         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6431         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6432         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6433         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6434
6435 2014-05-13  Andreas Schwab  <schwab@suse.de>
6436
6437         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6438
6439 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6440
6441         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6442         (__ASSUME_UTIMES): Do not condition on kernel version.
6443         (__ASSUME_PSELECT): Define unconditionally.
6444         (__ASSUME_PPOLL): Likewise.
6445         (__ASSUME_ATFCTS): Likewise.
6446         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6447         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6448         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6449         (__ASSUME_UTIMENSAT): Define unconditionally.
6450         (__ASSUME_PRIVATE_FUTEX): Likewise.
6451         (__ASSUME_FALLOCATE): Likewise.
6452         (__ASSUME_O_CLOEXEC): Likewise.
6453         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6454         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6455         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6456         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6457         (__ASSUME_IN_NONBLOCK): Likewise.
6458         (__ASSUME_PIPE2): Likewise.
6459         (__ASSUME_EVENTFD2): Likewise.
6460         (__ASSUME_SIGNALFD4): Likewise.
6461         (__ASSUME_DUP3): Likewise.
6462         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6463         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6464         (__ASSUME_AT_RANDOM): Likewise.
6465         (__ASSUME_PREADV): Likewise.
6466         (__ASSUME_PWRITEV): Likewise.
6467         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6468         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6469         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6470         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6471         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6472         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6473         (__ASSUME_O_CLOEXEC): Define unconditionally.
6474         (__ASSUME_PSELECT): Do not undefine conditionally.
6475         (__ASSUME_PPOLL): Likewise.
6476         (__ASSUME_ATFCTS): Likewise.
6477         (__ASSUME_SET_ROBUST_LIST): Likewise.
6478         (__ASSUME_UTIMENSAT): Likewise.
6479         (__ASSUME_FDATASYNC): Define unconditionally.
6480         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6481         (__ASSUME_SIGFRAME_V2): Likewise.
6482         )__ASSUME_EVENTFD2): Likewise.
6483         (__ASSUME_SIGNALFD4): Likewise.
6484         (__ASSUME_PSELECT): Do not undefine conditionally.
6485         (__ASSUME_PPOLL): Likewise.
6486         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6487         (__ASSUME_PSELECT): Define unconditionally.
6488         (__ASSUME_PPOLL): Likewise.
6489         (__ASSUME_O_CLOEXEC): Likewise.
6490         (__ASSUME_SOCK_CLOEXEC): Likewise.
6491         (__ASSUME_IN_NONBLOCK): Likewise.
6492         (__ASSUME_PIPE2): Likewise.
6493         (__ASSUME_EVENTFD2): Likewise.
6494         (__ASSUME_SIGNALFD4): Likewise.
6495         (__ASSUME_DUP3): Likewise.
6496         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6497         (__ASSUME_O_CLOEXEC): Likewise.
6498         (__ASSUME_SOCK_CLOEXEC): Likewise.
6499         (__ASSUME_IN_NONBLOCK): Likewise.
6500         (__ASSUME_PIPE2): Likewise.
6501         (__ASSUME_EVENTFD2): Likewise.
6502         (__ASSUME_SIGNALFD4): Likewise.
6503         (__ASSUME_DUP3): Likewise.
6504         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6505         (__ASSUME_EVENTFD2): Likewise.
6506         (__ASSUME_SIGNALFD4): Likewise.
6507         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6508
6509 2014-05-12  Andreas Schwab  <schwab@suse.de>
6510
6511         [BZ #16932]
6512         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6513         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6514         than maximum RPC packet size.
6515         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6516         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6517         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6518         (_nss_nis_getservbyport_r): Likewise.
6519
6520 2014-05-12  Will Newton  <will.newton@linaro.org>
6521
6522         * malloc/Makefile (tests): Add tst-mallopt.
6523         * malloc/tst-mallopt.c: New file.
6524
6525 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6526
6527         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6528         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6529
6530 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6531
6532         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6533         (tst-tlsmod6.so): Likewise.
6534
6535 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6536
6537         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6538
6539 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6540
6541         [BZ #16064]
6542         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6543         and <dl-procinfo.h>.
6544         (__fegetenv): Save SSE state in envp->__eip if supported.
6545         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6546         envp->__eip if supported.
6547         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6548         and <dl-procinfo.h>.
6549         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6550         __data_offset and __data_selector in environment to 0.  Set SSE
6551         state if supported.
6552         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6553         test-fenv-sse.
6554         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6555         -mfpmath=sse.
6556         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6557
6558 2014-05-09  Will Newton  <will.newton@linaro.org>
6559
6560         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6561         and libc_relro_required for ARM.
6562         * sysdeps/arm/preconfigure: Regenerate.
6563
6564 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6565             Stefan Liebler  <stli@linux.vnet.ibm.com>
6566
6567         * config.make.in (enable-lock-elision): New Makefile variable.
6568         * configure.ac: Likewise.
6569         * configure: Regenerate.
6570         * sysdeps/s390/configure.ac:
6571         Add check for gcc transactions support.
6572         * sysdeps/s390/configure: Regenerate.
6573         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6574         Build elision files if enabled.
6575         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6576         Add lock elision support for s390.
6577         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6578         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6579         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6580         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6581         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6582         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6583         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6584         Likewise.
6585         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6586         Likewise.
6587         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6588         Likewise.
6589         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6590         Likewise.
6591         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6592         (__lll_timedlock_elision, __lll_lock_elision)
6593         (__lll_unlock_elision, __lll_trylock_elision)
6594         (lll_timedlock_elision, lll_lock_elision)
6595         (lll_unlock_elision, lll_trylock_elision): Add.
6596         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6597         (pthread_mutex_t): Add lock elision support for s390.
6598
6599 2014-05-14  Wilco  <wdijkstr@arm.com>
6600
6601         * sysdeps/arm/fclrexcpt.c: Cleanup.
6602         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6603         * sysdeps/arm/feenablxcpt.c: Cleanup.
6604         * sysdeps/arm/fegetenv.c: Cleanup.
6605         * sysdeps/arm/fegetexcept.c: Cleanup.
6606         * sysdeps/arm/fegetround.c: Cleanup.
6607         * sysdeps/arm/feholdexcpt.c: Cleanup.
6608         * sysdeps/arm/fesetenv.c: Cleanup.
6609         * sysdeps/arm/fesetround.c: Cleanup.
6610         * sysdeps/arm/feupdateenv.c: Cleanup.
6611         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6612         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6613         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6614         * sysdeps/arm/ftestexcept.c: Cleanup.
6615         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6616         * sysdeps/arm/setfpucw.c: Cleanup.
6617
6618 2014-05-09  Will Newton  <will.newton@linaro.org>
6619
6620         * sysdeps/arm/armv7/strcmp.S: New file.
6621         * NEWS: Mention addition of ARMv7 optimized strcmp.
6622
6623 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6624
6625         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6626         look for %.ac rather than %.in.
6627
6628         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6629         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6630         * sysdeps/mach/hurd/configure: Regenerated.
6631         * sysdeps/unix/sysv/linux/configure: Regenerated.
6632
6633         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6634
6635 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6636
6637         [BZ# 16922]
6638         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6639         (LONG_SUB): Ditto.
6640         (PTR_SUB): Ditto.
6641
6642 2014-05-07  Andreas Schwab  <schwab@suse.de>
6643
6644         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6645         when skipping over non-matching result from nscd.
6646
6647 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6648
6649         [BZ #16876]
6650         * nptl/sockperf.c (client): Check socket return value.
6651
6652         [BZ #16877]
6653         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6654         nscd security class.
6655
6656 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6657
6658         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6659         * sysdeps/arm/unwind.h: ... here.
6660
6661 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6662
6663         [BZ# 16916]
6664         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6665         Define.
6666
6667 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6668
6669         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6670         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6671         multiarch strncpy for PPC64.
6672         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6673         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6675         multiarch optimizations.
6676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6677         (__libc_ifunc_impl_list): Likewise.
6678         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6679         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6680         multiarch stpncpy for PPC64.
6681         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6682         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6683
6684 2014-05-06  Andreas Schwab  <schwab@suse.de>
6685
6686         [BZ #16912]
6687         * gmon/mcount.c (_MCOUNT_DECL): Use
6688         atomic_compare_and_exchange_bool_acq instead of
6689         catomic_compare_and_exchange_bool_acq.
6690
6691 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6692
6693         * elf/Makefile (others, install-bin): Remove pldd.
6694         (pldd-modules): Variable removed.
6695         ($(objpfx)pldd): Target removed.
6696         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6697         (others, install-bin): Append pldd here.
6698         ($(objpfx)pldd): New target.
6699
6700         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6701         to 0, so the first #if test emitted later doesn't see it undefined.
6702         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6703         * sysdeps/gnu/errlist.c: Regenerated.
6704
6705 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6706
6707         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6708         [libc_hidden_builtin_def]: Define to empty value.
6709         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6710         [libc_hidden_builtin_def]: Likewise.
6711         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6712         [libc_hidden_builtin_def]: Likewise.
6713         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6714         [libc_hidden_builtin_def]: Likewise.
6715         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6716         __redirect_memcpy and define ifunc as default hidden symbol.
6717         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6718         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6719
6720 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6721
6722         * locale/iso-4217.def: Reintroduce XDR currency.
6723
6724 2014-05-04  Allan McRae  <allan@archlinux.org>
6725
6726         * po/eo.po: Update Esperanto translation from translation project.
6727
6728 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6729
6730         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6731         and FEATURE_INDEX_MAX to 1.
6732         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6733
6734 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6735
6736         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6737         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6738         * iconvdata/big5.c (ONE_DIRECTION): Define.
6739         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6740         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6741         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6742         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6743         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6744         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6745         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6746         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6747         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6748         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6749         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6750         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6751         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6752         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6753         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6754         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6755         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6756         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6757         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6758         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6759         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6760         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6761         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6762         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6763         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6764         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6765         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6766         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6767         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6768         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6769         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6770         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6771         * iconvdata/johab.c (ONE_DIRECTION): Define.
6772         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6773         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6774         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6775         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6776         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6777         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6778         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6779         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6780         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6781         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6782
6783 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6784
6785         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6786         (_IO_JUMPS_OFFSET): Define to 0.
6787
6788         * nptl/sysdeps/pthread/bits/libc-lock.h
6789         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6790         (__libc_lock_define_initialized_recursive): Always define using
6791         initializer.  Modern compilers treat uninitialized (implicit zero) and
6792         explicit zero initializers the same (i.e. put the datum in bss).
6793
6794 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6795
6796         * nscd/nscd-client.h: Include <string.h>.
6797
6798 2014-05-01  David S. Miller  <davem@davemloft.net>
6799
6800         [BZ #16885]
6801         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6802         multiple zero bytes exist at the end of a string.
6803         Reported by Aurelien Jarno <aurelien@aurel32.net>
6804
6805         * string/test-strcmp.c (check): Add explicit test for situations where
6806         there are multiple zero bytes after the first.
6807
6808 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6809
6810         [BZ #16890]
6811         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6812         when compiling wprintf.
6813         * stdio-common/tstdiomisc.c (t3): New function.
6814         (main): Call it.
6815
6816 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6817
6818         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6819         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6820         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6821         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6822
6823 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6824
6825         * stdlib/longlong.h: Updated from GCC.
6826
6827 2014-05-01  Will Newton  <will.newton@linaro.org>
6828             Bernard Ogden  <bernie.ogden@linaro.org>
6829
6830         * NEWS: Update fixed bug list.
6831
6832         [BZ #15119]
6833         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6834
6835 2014-04-30  David S. Miller  <davem@davemloft.net>
6836
6837         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6838         (libc_feholdexcept_setround_sparc_ctx): New function.
6839         (libc_fesetenv_sparc_ctx): Likewise.
6840         (libc_feupdateenv_sparc_ctx): Likewise.
6841         (libc_feholdsetround_sparc_ctx): Likewise.
6842         (libc_feholdexcept_setround_ctx): Define.
6843         (libc_feholdexcept_setroundf_ctx): Likewise.
6844         (libc_feholdexcept_setroundl_ctx): Likewise.
6845         (libc_fesetenv_ctx): Likewise.
6846         (libc_fesetenvf_ctx): Likewise.
6847         (libc_fesetenvl_ctx): Likewise.
6848         (libc_feupdateenv_ctx): Likewise.
6849         (libc_feupdateenvf_ctx): Likewise.
6850         (libc_feupdateenvl_ctx): Likewise.
6851         (libc_feresetround_ctx): Likewise.
6852         (libc_feresetroundf_ctx): Likewise.
6853         (libc_feresetroundl_ctx): Likewise.
6854         (libc_feholdsetround_ctx): Likewise.
6855         (libc_feholdsetroundf_ctx): Likewise.
6856         (libc_feholdsetroundl_ctx): Likewise.
6857
6858         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6859         with __USE_GNU instead of XOPEN cpp guards.
6860
6861         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6862         0.
6863
6864         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6865         with XOPEN cpp guards.
6866
6867 2014-04-30  Julian Brown  <julian@codesourcery.com>
6868
6869         [BZ #16888]
6870         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6871         handling.
6872
6873 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6874
6875         [BZ #9894]
6876         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6877         Change to 2.6.32.
6878         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6879         * sysdeps/unix/sysv/linux/configure: Regenerated.
6880         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6881         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6882         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6883         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6884         * README: Update reference to required Linux kernel version.
6885         * manual/install.texi (Linux): Update reference to required Linux
6886         kernel headers version.
6887         * INSTALL: Regenerated.
6888
6889         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6890         header inclusion.
6891         [POSIX] (limits.h): Likewise.
6892         [POSIX] (math.h): Likewise.
6893         [POSIX] (sys/wait.h): Likewise.
6894         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6895         function.
6896         [POSIX] (stddef.h): Do not allow header inclusion.
6897
6898 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6899
6900         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6901
6902 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6903
6904         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6905         Return immediately after lll_futex_wake.
6906
6907 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6908
6909         [BZ #16791]
6910         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6911         structure.
6912         (datahead_init_pos): Call datahead_init_common early.
6913         (datahead_init_neg): Likewise.
6914
6915         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6916         datahead_init_neg): New functions.
6917         * nscd/aicache.c (addhstaiX): Use them.
6918         * nscd/grpcache.c (cache_addgr): Likewise.
6919         * nscd/hstcache.c (cache_addhst): Likewise.
6920         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6921         * nscd/netgroupcache.c (do_notfound): Likewise.
6922         (addgetnetgrentX): Likewise.
6923         (addinnetgrX): Likewise.
6924         * nscd/pwdcache.c (cache_addpw): Likewise.
6925         * nscd/servicescache.c (cache_addserv): Likewise.
6926
6927 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6928             Atsushi Onoe  <atsushi@onoe.org>
6929
6930         [BZ #14308]
6931         [BZ #12994]
6932         [BZ #13651]
6933         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6934         one response is valid.
6935         * resolv/res_send.c (send_dg): Check for validity of other
6936         response if the current response is a referral.
6937
6938 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6939
6940         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6941
6942 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6943
6944         [BZ #16823]
6945         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6946         Always divide by positive zero when computing -Inf result.
6947         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6948         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6949
6950 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6951
6952         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6953         FPSCR if value do not change.
6954         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6955         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6956         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6957         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6958         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6959         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6960         function.
6961
6962 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6963
6964         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6965         * sysdeps/unix/sysv/linux/hppa: Move directory from
6966         ports/systeps/unix/sysv/linux/hppa.
6967         * README: Update listing for hppa-*-linux-gnu.
6968
6969 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6970
6971         [BZ #16754]
6972         * manual/stdio.texi (Hook functions): Fix types of stream hook
6973         functions.
6974         [BZ #16854]
6975         * socket/sys/socket.h: Fix typo in comment.
6976
6977 2014-04-28  Wilco  <wdijkstr@arm.com>
6978
6979         * sysdeps/arm/fenv_private.h: New file.
6980         * sysdeps/arm/math_private.h: New file.
6981         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6982
6983 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6984
6985         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6986         with __int128_t.
6987         (La_x86_64_retval): Likewise.
6988
6989 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6990
6991         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6992         fpsr if value didn't change.
6993         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6994         to fpcr if value didn't change.
6995         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6996         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6997         fpsr or fpcr if value didn't change.
6998         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6999         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7000         fpcr if value didn't change.
7001         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7002         to fpsr if value didn't change.
7003
7004 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7005
7006         * nptl/tst-sem3.c: Use test-skeleton.c
7007         (main): Rename to do_test.  Use return instead of
7008         exit.
7009         * nptl/tst-sem4.c: Use test-skeleton.c
7010         (main): Rename to do_test.
7011
7012 2014-04-22  David S. Miller  <davem@davemloft.net>
7013
7014         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7015         (struct sigaction): New struct member __glibc_reserved0, change
7016         type of sa_flags to int.
7017
7018 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7019
7020         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7021         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7022
7023 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7024
7025         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7026         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7027
7028 2014-04-22  Will Newton  <will.newton@linaro.org>
7029             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7030
7031         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7032         (__longjmp): Add longjmp and longjmp_target SystemTap
7033         probes.
7034         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7035         (__sigsetjmp): Add setjmp SystemTap probe.
7036
7037 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7038
7039         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7040         match manual order.
7041
7042 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7043
7044         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7045
7046         * sysdeps/powerpc/fpu/fenv_private.h
7047         (libc_feholdexcept_setroundl_ctx): Define to
7048         libc_feholdexcept_setround_ppc_ctx.
7049         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7050         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7051         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7052         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7053
7054 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7055
7056         * sysdeps/aarch64/math-tests.h: New file.
7057
7058 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7059
7060         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7061         New.
7062         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7063         Check and set bit_AVX2_Usable.
7064         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7065         macro.
7066         (bit_AVX2): Likewise.
7067         (index_AVX2_Usable): Likewise.
7068         (CPUID_AVX2): Likewise.
7069         (HAS_AVX2): Likewise.
7070
7071 2014-04-17  Will Newton  <will.newton@linaro.org>
7072
7073         * manual/setjmp.texi (System V contexts): Add note that
7074         calling setcontext on a context created by a call to a
7075         signal handler is undefined.  Update text to note that
7076         setcontext from a signal handler is possible but not
7077         recommended.
7078
7079         [BZ #16629]
7080         * stdlib/tst-setcontext.c: Include signal.h.
7081         (main): Check that the signal stack before and
7082         after swapcontext is the same.
7083
7084         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7085         Re-implement to restore registers in user code and avoid
7086         rt_sigreturn system call.
7087
7088 2014-04-17  Wilco  <wdijkstr@arm.com>
7089
7090         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7091         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7092         * math/test-fenv.c: Skip exception trap tests on targets which only
7093         support non-stop mode.
7094
7095 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7096             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7097
7098         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7099         (libc_feholdsetround_aarch64_ctx)
7100         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7101         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7102         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7103         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7104         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7105         (libc_feresetround_noexl_ctx): Define.
7106
7107 2014-04-16  Richard Henderson  <rth@redhat.com>
7108
7109         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7110
7111         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7112         unwind tables.
7113
7114         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7115         const from the non-libc, non-ldso copy.
7116
7117         * sysdeps/alpha/libm-test-ulps: Regenerate.
7118
7119 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7120             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7121
7122         * sysdeps/aarch64/fpu/math_private.h: New file.
7123
7124 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7125
7126         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7127
7128 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7129
7130         [BZ #16275]
7131         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7132         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7133         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7134         Intel MPX bound registers before _dl_profile_fixup.
7135         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7136         registers after _dl_profile_fixup.  Save and restore bound
7137         registers bnd0/bnd1 when calling _dl_call_pltexit.
7138         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7139         (LR_BND_OFFSET): Likewise.
7140         (LRV_BND0_OFFSET): Likewise.
7141         (LRV_BND1_OFFSET): Likewise.
7142
7143 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7144
7145         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7146         to...
7147         * sysdeps/mach/hurd/i386/tls.h: ... here.
7148         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7149         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7150         fields.
7151
7152 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7153
7154         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7155
7156 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7157
7158         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7159
7160 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7161
7162         [BZ #14770]
7163         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7164         * sysdeps/s390/configure: Regenerate.
7165
7166         [BZ #16824]
7167         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7168         Set round-to-nearest internally to reduce error accumulation.
7169
7170 2014-04-16  Alan Modra  <amodra@gmail.com>
7171
7172         [BZ #16740]
7173         [BZ #16619]
7174         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7175         * math/libm-test.inc (frexp_test_data): Add tests.
7176         * NEWS: Update fixed bug list.
7177
7178 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7179
7180         * benchtests/Makefile: Depend on libraries in build directory.
7181         (bench-math): Separate out math tests.
7182         (bench-pthread): Separate out pthread tests.
7183         (bench): Include math and pthread tests.
7184
7185 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7186
7187         [BZ #16831]
7188         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7189         _dl_debug_initialize.
7190
7191         * configure.ac: Remove SELinux header check.
7192         * configure: Regenerate.
7193         * nscd/selinux.c (perms): Array of const char* to permission names.
7194         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7195         default policy. Call string_to_security_class and string_to_av_perm to
7196         translate strings. Enforce default policy and call avs_has_perm with
7197         results of translated strings.
7198
7199 2014-04-13  David S. Miller  <davem@davemloft.net>
7200
7201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7202
7203 2014-04-12  Allan McRae  <allan@archlinux.org>
7204
7205         [BZ #16838]
7206         * manual/string.texi (Collation Functions): Fix qsort argument
7207         order in example.
7208         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7209
7210 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7211
7212         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7213         Make the test a no-op if there are no exceptions defined.
7214
7215 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7216
7217         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7218         enable-hardcoded-path-in-tests
7219
7220 2014-04-11  Will Newton  <will.newton@linaro.org>
7221
7222         * benchtests/Makefile (extra-objs): Add json-lib.o.
7223         (bench-func): Tidy up JSON output.
7224         * benchtests/bench-skeleton.c: Include json-lib.h.
7225         (main): Use JSON library functions to do output of
7226         benchmark results.
7227         * benchtests/bench-timing-type.c (main): Output the
7228         timing type simply, leaving formatting to the user.
7229         * benchtests/json-lib.c: New file.
7230         * benchtests/json-lib.h: Likewise.
7231
7232 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7233
7234         [BZ #15215]
7235         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7236         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7237         memory barriers.  Add comments.
7238         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7239         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7240         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7241         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7242         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7243         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7244
7245 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7246
7247         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7248         * sysdeps/s390/s390-64/configure.ac: ... this ...
7249         * sysdeps/s390/configure.ac: ... to here.
7250         * sysdeps/s390/s390-32/configure: Delete file.
7251         * sysdeps/s390/s390-64/configure: Delete file.
7252         * sysdeps/s390/configure: Regenerate.
7253
7254 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7255
7256         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7257
7258 2014-04-11  Will Newton  <will.newton@linaro.org>
7259
7260         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7261         to zero if it is not defined elsewhere.  (mtrim): Test
7262         the value of MALLOC_DEBUG with #if rather than #ifdef.
7263
7264 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7265
7266         * benchtests/pthread_once-inputs: New file.
7267         * benchtests/pthread_once-source.c: New file.
7268         * benchtests/README: Update documentation.
7269
7270 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7271             H.J. Lu  <hongjiu.lu@intel.com>
7272
7273         [BZ #16275]
7274         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7275         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7276         * sysdeps/x86_64/configure: Regenerated.
7277         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7278         macro.
7279         (REGISTER_SAVE_RAX): Likewise.
7280         (REGISTER_SAVE_RCX): Likewise.
7281         (REGISTER_SAVE_RDX): Likewise.
7282         (REGISTER_SAVE_RSI): Likewise.
7283         (REGISTER_SAVE_RDI): Likewise.
7284         (REGISTER_SAVE_R8): Likewise.
7285         (REGISTER_SAVE_R9): Likewise.
7286         (REGISTER_SAVE_BND0): Likewise.
7287         (REGISTER_SAVE_BND1): Likewise.
7288         (REGISTER_SAVE_BND2): Likewise.
7289         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7290         bound registers when calling _dl_fixup.
7291
7292 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7293
7294         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7295         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7296         of its definition.
7297         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7298         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7299         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7300         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7301         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7302         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7303         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7304
7305 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7306
7307         [BZ #15514]
7308         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7309         pathconf(_PC_NAME_MAX).
7310
7311 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7312
7313         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7314         Remove macro usage.
7315         (__PTHREAD_SPINS): Move definition to ...
7316         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7317         (__PTHREAD_SPINS): ... here.
7318         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7319         (__PTHREAD_SPIN): Likewise.
7320         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7321         (__PTHREAD_SPIN): Likewise.
7322         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7323         (__PTHREAD_SPIN): Likewise.
7324         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7325         (__PTHREAD_SPIN): Likewise.
7326         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7327         (__PTHREAD_SPIN): Likewise.
7328         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7329         (__PTHREAD_SPIN): Likewise.
7330         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7331         (__PTHREAD_SPIN): Likewise.
7332         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7333         (__PTHREAD_SPIN): Likewise.
7334         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7335         (__PTHREAD_SPIN): Likewise.
7336         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7337         (__PTHREAD_SPIN): Likewise.
7338         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7339         (__PTHREAD_SPIN): Likewise.
7340         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7341         (__PTHREAD_SPIN): Likewise.
7342
7343         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7344         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7345         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7346         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7347         imply folder.
7348         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7349         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7350         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7351         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7352         correct imply path.
7353         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7354         strlen symbol for non multi-arch builds.
7355         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7356         missing hidden_def and weak_alias.
7357
7358 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7359
7360         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7361
7362 2014-04-07  Will Newton  <will.newton@linaro.org>
7363
7364         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7365         and contents.  [!_LIBC] Remove #ifndef and contents.
7366         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7367         * string/memccpy.c (__memccpy): Use ANSI prototype.
7368         * string/memfrob.c (memfrob): Likewise.
7369         * string/strcoll.c (STRCOLL): Likewise.
7370         * string/strlen.c (strlen): Likewise.
7371         * string/strtok.c (STRTOK): Likewise.
7372         * string/strcat.c: Remove unused #include of memcopy.h.
7373         (strcat): Use ANSI prototype.
7374         * string/strchr.c: Remove unused #include of memcopy.h.
7375         (strchr): Use ANSI prototype.
7376         * string/strcmp.c: Remove unused #include of memcopy.h.
7377         (strcmp): Use ANSI prototype.
7378         * string/strcpy.c: Remove unused #include of memcopy.h.
7379         (strcpy): Use ANSI prototype.
7380
7381 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7382
7383         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7384         * config.make.in (config-extra-cppflags): Set it from
7385         libc_extra_cppflags.
7386         * configure.ac (libc_extra_cflags): Make it accumulate over
7387         configure fragments.
7388         (libc_extra_cppflags): New flag.
7389         * configure. Regenerate.
7390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7391         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7392         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7394
7395         [BZ #16815]
7396         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7397         result for FE_DOWNWARD rounding mode.
7398         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7399         Likewise.
7400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7401
7402 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7403
7404         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7405         in function argument name.
7406
7407 2014-04-03  David Svoboda  <svoboda@cert.org>
7408
7409         [BZ #5666]
7410         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7411         explicitly.
7412
7413 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7414
7415         * elf/dl-unmap-segments.h: New file.
7416         * sysdeps/generic/ldsodefs.h
7417         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7418         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7419         * elf/dl-fptr.c: Likewise.
7420         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7421         * sysdeps/aarch64/tlsdesc.c: Likewise.
7422         * sysdeps/arm/tlsdesc.c: Likewise.
7423         * sysdeps/i386/tlsdesc.c: Likewise.
7424         * sysdeps/tile/dl-runtime.c: Likewise.
7425         * sysdeps/x86_64/tlsdesc.c: Likewise.
7426         * elf/dl-load.h: New file.
7427         * elf/dl-load.c: Include it.
7428         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7429         Macros moved to dl-load.h.
7430         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7431         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7432         Use _dl_unmap_segments in place of __munmap.
7433         Break out segment-mapping loop into ...
7434         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7435
7436 2014-04-03  Will Newton  <will.newton@linaro.org>
7437
7438         * elf/dl-lookup.c (do_lookup_x): Remove comment
7439         referring to nested function and move variable
7440         declarations down to before first use.
7441
7442 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7443
7444         [BZ #16799]
7445         [BZ #16800]
7446         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7447         with 0 numerator.
7448         * math/s_catanf.c (__catanf): Likewise.
7449         * math/s_catanh.c (__catanh): Likewise.
7450         * math/s_catanhf.c (__catanhf): Likewise.
7451         * math/s_catanhl.c (__catanhl): Likewise.
7452         * math/s_catanl.c (__catanl): Likewise.
7453         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7454         by positive zero when computing -Inf result.
7455         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7456         (catanh_test): Likewise.
7457         * sysdeps/i386/fpu/libm-test-ulps: Update.
7458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7459
7460         [BZ #16789]
7461         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7462         instead of using underflowing value in computing result.
7463         * math/s_clog10.c (__clog10): Likewise.
7464         * math/s_clog10f.c (__clog10f): Likewise.
7465         * math/s_clog10l.c (__clog10l): Likewise.
7466         * math/s_clogf.c (__clogf): Likewise.
7467         * math/s_clogl.c (__clogl): Likewise.
7468         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7469         (clog10_test): Likewise.
7470         * sysdeps/i386/fpu/libm-test-ulps: Update.
7471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7472
7473 2014-04-02  Alan Modra  <amodra@gmail.com>
7474
7475         [BZ #16739]
7476         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7477         output when value is near a power of two.  Use int64_t for lx and
7478         remove casts.  Use decimal rather than hex exponent constants.
7479         Don't use long double multiplication when double will suffice.
7480         * math/libm-test.inc (nextafter_test_data): Add tests.
7481         * NEWS: Add 16739 and 16786 to bug list.
7482
7483         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7484
7485         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7486
7487 2014-04-01  Will Newton  <will.newton@linaro.org>
7488
7489         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7490         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7491
7492 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7493
7494         [BZ #13347]
7495         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7496         * nptl/tst-setuid2.c: New file.
7497         * nptl/Makefile (xtests): Add tst-setuid2.
7498
7499 2014-04-01  Alan Modra  <amodra@gmail.com>
7500
7501         [BZ #16786]
7502         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7503
7504 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7505
7506         [BZ #6803]
7507         [BZ #6804]
7508         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7509         set errno as appropriate.
7510         * math/w_scalbf.c (__scalbf): Likewise.
7511         * math/w_scalbl.c (__scalbl): Likewise.
7512         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7513         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7514         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7515         Add more NaN tests.
7516
7517         [BZ #16349]
7518         * math/w_atan2.c: Include <errno.h>.
7519         (__atan2): Set errno for result underflowing to zero.
7520         * math/w_atan2f.c: Include <errno.h>.
7521         (__atan2f): Set errno for result underflowing to zero.
7522         * math/w_atan2l.c: Include <errno.h>.
7523         (__atan2l): Set errno for result underflowing to zero.
7524         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7525         tests.
7526         * math/auto-libm-test-out: Regenerated.
7527
7528 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7529
7530         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7531         Encode instruction correctly in little endian.
7532         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7533         Likewise.
7534         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7535         Likewise.
7536         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7537         Likewise.
7538         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7539         Likewise.
7540
7541 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7542
7543         [BZ #9894]
7544         * sysdeps/unix/sysv/linux/kernel-features.h
7545         [__sparc__ && !__arch64__ && !__sparc_v9__]
7546         (__ASSUME_SET_ROBUST_LIST): Do not define.
7547         [__sparc__ && !__arch64__ && !__sparc_v9__]
7548         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7549         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7550         Likewise.
7551         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7552         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7553         (__ASSUME_REQUEUE_PI): Likewise.
7554         (__ASSUME_SET_ROBUST_LIST): Likewise.
7555         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7556         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7557         Undefine.
7558         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7559         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7560         Likewise.
7561         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7562         Likewise.
7563         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7564         Likewise.
7565         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7566         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7567         Undefine.
7568         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7569         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7570         Likewise.
7571
7572         [BZ #16648]
7573         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7574         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7575         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7576
7577 2014-03-31  Will Newton  <will.newton@linaro.org>
7578
7579         * benchtests/Makefile (bench): Add ffs and ffsll to list
7580         of tests.
7581         * benchtests/ffs-inputs: New file.
7582         * benchtests/ffsll-inputs: Likewise.
7583
7584 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7585
7586         [BZ #16770]
7587         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7588         too large before casting to int.
7589         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7590         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7591         * math/libm-test.inc (scalb_test_data): Add more tests.
7592
7593 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7594
7595         * benchtests/Makefile (DETAILED_OPT): New make option.
7596         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7597         set.
7598         * benchtests/bench-skeleton.c: Include stdbool.h.
7599         (main): Store and print timings per input.
7600         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7601         member to each argument value.
7602         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7603         (_print_arg_data): Initialize per-input timing to 0.
7604
7605         * benchtests/Makefile (timing-type): New binary.
7606         (bench-clean): Also remove bench-timing-type.
7607         (bench): New target for timing-type.
7608         (bench-func): Print output in JSON format.
7609         * benchtests/bench-skeleton.c (main): Print output in JSON
7610         format.
7611         * benchtests/bench-timing-type.c: New file.
7612         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7613         (TIMING_PRINT_STATS): Remove.
7614         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7615         name separately.
7616
7617         * benchtests/bench-modf.c: Remove.
7618         * benchtests/modf-inputs: New inputs file.
7619
7620 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7621
7622         [BZ #16362]
7623         * math/s_clog10.c (M_PI_LOG10E): New macro.
7624         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7625         imaginary parts are 0.
7626         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7627         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7628         imaginary parts are 0.
7629         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7630         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7631         imaginary parts are 0.
7632         * math/libm-test.inc (clog10_test_data): Update expected results
7633         for when real and imaginary parts are 0.
7634
7635 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7636
7637         * elf/dl-load.c: Finish conversion of __builtin_expect into
7638         __glibc_{un}likely.
7639
7640 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7641
7642         [BZ #16348]
7643         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7644         1+x for argument with exponent below -67.
7645         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7646         Likewise.
7647         * math/auto-libm-test-in: Add more tests of exp.
7648         * math/auto-libm-test-out: Regenerated.
7649
7650 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7651
7652         [BZ #16759]
7653         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7654         (nscd_getnetgrent): Use it.
7655
7656         [BZ #16760]
7657         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7658         of stpcpy.
7659
7660 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7661
7662         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7663         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7664         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7665         (lll_robust_unlock): Remove out of line section. Use cfi
7666         intrinsics.
7667         (LLL_STUB_UNWIND_INFO*): Remove.
7668         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7669         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7670         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7671         (lll_robust_unlock): Remove out of line section. Use cfi
7672         intrinsics.
7673         (LLL_STUB_UNWIND_INFO*): Remove.
7674
7675 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7676
7677         [BZ #16758]
7678         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7679         blank values.
7680
7681 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7682
7683         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7684
7685 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7686
7687         [BZ #16198]
7688         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7689         fnstenv.
7690         * math/test-fenv-preserve.c: New file.
7691         * math/Makefile (tests): Add test-fenv-preserve.
7692
7693 2014-03-26  Will Newton <will.newton@linaro.org>
7694
7695         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7696
7697 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7698
7699         * scripts/versionlist.awk: Partition the version sets and emit all
7700         GLIBC_* (sorted) before all others (sorted).
7701
7702 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7703
7704         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7705         GLIBC_2.2.5 version.
7706
7707 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7708
7709         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7710         calls.
7711
7712         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7713         previous change.
7714
7715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7716
7717 2014-03-25  Andreas Schwab  <schwab@suse.de>
7718
7719         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7720         label to be used after in6ailist is initialized.
7721
7722 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7723
7724         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7725         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7726
7727 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7728
7729         [BZ #16357]
7730         [BZ #16599]
7731         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7732         min_plus_half.
7733         (fp_formats): Update initializers.
7734         (init_fp_formats): Initialize new field.
7735         (output_for_one_input_case): Allow underflow for results up to
7736         min_plus_half.
7737         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7738         * math/auto-libm-test-in: Don't mark some underflows from asin and
7739         atanh as spurious.
7740         * math/auto-libm-test-out: Regenerated.
7741         * sysdeps/i386/fpu/libm-test-ulps: Update.
7742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7743
7744 2014-03-25  Andreas Schwab  <schwab@suse.de>
7745
7746         * libio/Makefile (tst-ftell-partial-wide-ENV)
7747         (tst-ftell-active-handler-ENV): Define.
7748
7749 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7750
7751         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7752
7753 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7754
7755         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7756
7757 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7758
7759         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7760         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7761         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7762
7763 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7764
7765         [BZ #16634]
7766         * elf/dl-load.c (open_verify): Add mode parameter.
7767         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7768         (open_path): Change from boolean 'secure' to complete flag 'mode'
7769         (_dl_map_object): Adjust.
7770         * elf/Makefile (tests): Add tst-dlopen-aout.
7771         * elf/tst-dlopen-aout.c: New test.
7772
7773 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7774
7775         [BZ #16714]
7776         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7777         (struct stat): Rename member pad0 to __glibc_reserved0.
7778
7779         [BZ #16712]
7780         * sysdeps/s390/s390-32/bits/wordsize.h
7781         (__WORDSIZE32_SIZE_ULONG): New define.
7782         * sysdeps/s390/s390-64/bits/wordsize.h
7783         (__WORDSIZE32_SIZE_ULONG): Likewise.
7784         * sysdeps/generic/stdint.h (SIZE_MAX):
7785         Define as UL if __WORDSIZE32_SIZE_ULONG.
7786
7787         [BZ #16713]
7788         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7789         (__glibc_reserved0): New variable.
7790         (sa_flags): Change type to int.
7791
7792         * posix/Makefile (before-compile): Use += before-compile instead
7793         of a :=.
7794
7795         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7796         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7797
7798 2014-03-20  Andreas Schwab  <schwab@suse.de>
7799
7800         [BZ #16743]
7801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7802         non-matching result from nscd.
7803
7804 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7805
7806         * scripts/bench.py: Moved to ...
7807         * benchtests/scripts/bench.py: ... here.
7808         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7809
7810 2014-03-24  Andreas Schwab  <schwab@suse.de>
7811
7812         [BZ #16002]
7813         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7814         alloca_account and account alloca use for struct in6ailist.
7815
7816 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7817
7818         [BZ #16284]
7819         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7820         rounding mode to recompute results that overflow to infinity or
7821         underflow to zero.
7822         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7823         bug 16284.
7824         * math/auto-libm-test-out: Regenerated.
7825         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7826         (ccosh_test): Likewise.
7827         (csin_test_data): Use plus_oflow.
7828         (csin_test): Use ALL_RM_TEST.
7829         (csinh_test_data): Use plus_oflow.
7830         (csinh_test): Use ALL_RM_TEST.
7831         * sysdeps/i386/fpu/libm-test-ulps: Update.
7832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7833
7834 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7835
7836         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7837         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7838         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7839
7840         [BZ #16731]
7841         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7842         when x - 1 is zero.
7843         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7844         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7845         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7846         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7847         argument is 1.
7848         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7849         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7850         zero.
7851         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7852         * sysdeps/i386/fpu/libm-test-ulps: Update.
7853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7854
7855 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7856
7857         * scripts/bench.pl: Remove file.
7858         * scripts/bench.py: New benchmark script.
7859         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7860         * benchtests/README: Mention python dependency.
7861         * scripts/pylintrc: New file.
7862         * scripts/pylint: New file.
7863
7864         * bits/mathdef.h: Use #ifdef instead of #if.
7865         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7866         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7867         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7868         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7869         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7870         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7871
7872 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7873             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7874
7875         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7876         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7877         and strpbrk-ppc64 objects.
7878         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7879         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7880         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7881         multiarch strpbrk for POWER7.
7882         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7883         multiarch strpbrk for PPC64.
7884         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7885         ifunc selector.
7886         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7887         strpbrk for POWER7.
7888
7889 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7890
7891         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7892         (atan_test): Likewise.
7893         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7894         (atanh_test): Use ALL_RM_TEST.
7895         (atan2_test_data): Likewise.
7896         (cabs_test): Likewise.
7897         (cacosh_test): Likewise.
7898         (carg_test): Likewise.
7899         (casin_test): Likewise.
7900         (casinh_test): Likewise.
7901         (cbrt_test): Likewise.
7902         (csqrt_test): Likewise.
7903         (erf_test): Likewise.
7904         (erfc_test): Likewise.
7905         (pow10_test): Likewise.
7906         (exp2_test): Likewise.
7907         (hypot_test): Likewise.
7908         (j0_test): Likewise.
7909         (j1_test): Likewise.
7910         (lgamma_test): Likewise.
7911         (gamma_test): Likewise.
7912         (sincos_test): Likewise.
7913         (tanh_test): Likewise.
7914         (y0_test): Likewise.
7915         (y1_test): Likewise.
7916         * sysdeps/i386/fpu/libm-test-ulps: Update.
7917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7918
7919 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7920
7921         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7922         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7923         and strcspn-ppc64 objects.
7924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7925         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7926         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7927         multiarch strcspn for POWER7.
7928         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7929         multiarch strcspn for PPC64.
7930         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7931         ifunc selector.
7932         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7933         strcspn for POWER7.
7934
7935 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7936
7937         * math/gen-libm-test.pl (generate_testfile): Expect only function
7938         name as argument to AUTO_TESTS_* and pass results for all rounding
7939         modes to parse_args.
7940         (parse_auto_input): Separate inputs of automatic tests from
7941         outputs before storing in %auto_tests.
7942         * math/libm-test.inc (acos_test_data): Update call to
7943         AUTO_TESTS_f_f.
7944         (acos_test): Use ALL_RM_TEST.
7945         (acos_tonearest_test_data): Remove.
7946         (acos_test_tonearest): Likewise.
7947         (acos_towardzero_test_data): Likewise.
7948         (acos_test_towardzero): Likewise.
7949         (acos_downward_test_data): Likewise.
7950         (acos_test_downward): Likewise.
7951         (acos_upward_test_data): Likewise.
7952         (acos_test_upward): Likewise.
7953         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7954         (asin_test_data): Likewise.
7955         (asin_test): Use ALL_RM_TEST.
7956         (asin_tonearest_test_data): Remove.
7957         (asin_test_tonearest): Likewise.
7958         (asin_towardzero_test_data): Likewise.
7959         (asin_test_towardzero): Likewise.
7960         (asin_downward_test_data): Likewise.
7961         (asin_test_downward): Likewise.
7962         (asin_upward_test_data): Likewise.
7963         (asin_test_upward): Likewise.
7964         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7965         (atan_test_data): Likewise.
7966         (atanh_test_data): Likewise.
7967         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7968         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7969         (carg_test_data): Likewise.
7970         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7971         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7972         (ccosh_test_data): Likewise.
7973         (cexp_test_data): Likewise.
7974         (clog_test_data): Likewise.
7975         (clog10_test_data): Likewise.
7976         (cos_test_data): Update call to AUTO_TESTS_f_f.
7977         (cos_test): Use ALL_RM_TEST.
7978         (cos_tonearest_test_data): Remove.
7979         (cos_test_tonearest): Likewise.
7980         (cos_towardzero_test_data): Likewise.
7981         (cos_test_towardzero): Likewise.
7982         (cos_downward_test_data): Likewise.
7983         (cos_test_downward): Likewise.
7984         (cos_upward_test_data): Likewise.
7985         (cos_test_upward): Likewise.
7986         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7987         (cosh_test): Use ALL_RM_TEST.
7988         (cosh_tonearest_test_data): Remove.
7989         (cosh_test_tonearest): Likewise.
7990         (cosh_towardzero_test_data): Likewise.
7991         (cosh_test_towardzero): Likewise.
7992         (cosh_downward_test_data): Likewise.
7993         (cosh_test_downward): Likewise.
7994         (cosh_upward_test_data): Likewise.
7995         (cosh_test_upward): Likewise.
7996         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7997         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7998         (ctan_test_data): Likewise.
7999         (ctan_test): Use ALL_RM_TEST.
8000         (ctan_tonearest_test_data): Remove.
8001         (ctan_test_tonearest): Likewise.
8002         (ctan_towardzero_test_data): Likewise.
8003         (ctan_test_towardzero): Likewise.
8004         (ctan_downward_test_data): Likewise.
8005         (ctan_test_downward): Likewise.
8006         (ctan_upward_test_data): Likewise.
8007         (ctan_test_upward): Likewise.
8008         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8009         (ctanh_test): Use ALL_RM_TEST.
8010         (ctanh_tonearest_test_data): Remove.
8011         (ctanh_test_tonearest): Likewise.
8012         (ctanh_towardzero_test_data): Likewise.
8013         (ctanh_test_towardzero): Likewise.
8014         (ctanh_downward_test_data): Likewise.
8015         (ctanh_test_downward): Likewise.
8016         (ctanh_upward_test_data): Likewise.
8017         (ctanh_test_upward): Likewise.
8018         (erf_test_data): Update call to AUTO_TESTS_f_f.
8019         (erfc_test_data): Likewise.
8020         (exp_test_data): Likewise.
8021         (exp_test): Use ALL_RM_TEST.
8022         (exp_tonearest_test_data): Remove.
8023         (exp_test_tonearest): Likewise.
8024         (exp_towardzero_test_data): Likewise.
8025         (exp_test_towardzero): Likewise.
8026         (exp_downward_test_data): Likewise.
8027         (exp_test_downward): Likewise.
8028         (exp_upward_test_data): Likewise.
8029         (exp_test_upward): Likewise.
8030         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8031         (exp10_test): Use ALL_RM_TEST.
8032         (exp10_tonearest_test_data): Remove.
8033         (exp10_test_tonearest): Likewise.
8034         (exp10_towardzero_test_data): Likewise.
8035         (exp10_test_towardzero): Likewise.
8036         (exp10_downward_test_data): Likewise.
8037         (exp10_test_downward): Likewise.
8038         (exp10_upward_test_data): Likewise.
8039         (exp10_test_upward): Likewise.
8040         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8041         (expm1_test_data): Likewise.
8042         (expm1_test): Use ALL_RM_TEST.
8043         (expm1_tonearest_test_data): Remove.
8044         (expm1_test_tonearest): Likewise.
8045         (expm1_towardzero_test_data): Likewise.
8046         (expm1_test_towardzero): Likewise.
8047         (expm1_downward_test_data): Likewise.
8048         (expm1_test_downward): Likewise.
8049         (expm1_upward_test_data): Likewise.
8050         (expm1_test_upward): Likewise.
8051         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8052         (fma_test): Use ALL_RM_TEST.
8053         (fma_towardzero_test_data): Remove.
8054         (fma_test_towardzero): Likewise.
8055         (fma_downward_test_data): Likewise.
8056         (fma_test_downward): Likewise.
8057         (fma_upward_test_data): Likewise.
8058         (fma_test_upward): Likewise.
8059         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8060         (j0_test_data): Update call to AUTO_TESTS_f_f.
8061         (j1_test_data): Likewise.
8062         (jn_test_data): Update call to AUTO_TESTS_if_f.
8063         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8064         (log_test_data): Update call to AUTO_TESTS_f_f.
8065         (log10_test_data): Likewise.
8066         (log1p_test_data): Likewise.
8067         (log2_test_data): Likewise.
8068         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8069         (pow_tonearest_test_data): Likewise.
8070         (sin_test_data): Update call to AUTO_TESTS_f_f.
8071         (sin_test): Use ALL_RM_TEST.
8072         (sin_tonearest_test_data): Remove.
8073         (sin_test_tonearest): Likewise.
8074         (sin_towardzero_test_data): Likewise.
8075         (sin_test_towardzero): Likewise.
8076         (sin_downward_test_data): Likewise.
8077         (sin_test_downward): Likewise.
8078         (sin_upward_test_data): Likewise.
8079         (sin_test_upward): Likewise.
8080         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8081         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8082         (sinh_test): Use ALL_RM_TEST.
8083         (sinh_tonearest_test_data): Remove.
8084         (sinh_test_tonearest): Likewise.
8085         (sinh_towardzero_test_data): Likewise.
8086         (sinh_test_towardzero): Likewise.
8087         (sinh_downward_test_data): Likewise.
8088         (sinh_test_downward): Likewise.
8089         (sinh_upward_test_data): Likewise.
8090         (sinh_test_upward): Likewise.
8091         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8092         (sqrt_test): Use ALL_RM_TEST.
8093         (sqrt_tonearest_test_data): Remove.
8094         (sqrt_test_tonearest): Likewise.
8095         (sqrt_towardzero_test_data): Likewise.
8096         (sqrt_test_towardzero): Likewise.
8097         (sqrt_downward_test_data): Likewise.
8098         (sqrt_test_downward): Likewise.
8099         (sqrt_upward_test_data): Likewise.
8100         (sqrt_test_upward): Likewise.
8101         (tan_test_data): Update call to AUTO_TESTS_f_f.
8102         (tan_test): Use ALL_RM_TEST.
8103         (tan_tonearest_test_data): Remove.
8104         (tan_test_tonearest): Likewise.
8105         (tan_towardzero_test_data): Likewise.
8106         (tan_test_towardzero): Likewise.
8107         (tan_downward_test_data): Likewise.
8108         (tan_test_downward): Likewise.
8109         (tan_upward_test_data): Likewise.
8110         (tan_test_upward): Likewise.
8111         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8112         (tgamma_test_data): Likewise.
8113         (y0_test_data): Likewise.
8114         (y1_test_data): Likewise.
8115         (yn_test_data): Update call to AUTO_TESTS_if_f.
8116         (main): Do not call removed functions.
8117
8118 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8119
8120         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8121         (ldexp_test_data): Remove.
8122         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8123         scalbn_test_data.
8124         (scalb_test): Use ALL_RM_TEST.
8125
8126 2014-03-19  Andreas Schwab  <schwab@suse.de>
8127
8128         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8129
8130 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8131
8132         [BZ #16649]
8133         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8134         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8135         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8136         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8137         (__ASSUME_PREADV): Undefine.
8138         (__ASSUME_PWRITEV): Likewise.
8139
8140 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8141
8142         * bits/mman-linux.h: Add comment about non-Linux use.
8143         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8144         bits/mman-linux.h resting place.
8145
8146         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8147         * bits/mman-linux.h: ... here.
8148
8149 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8150
8151         * conform/conformtest.pl: Add standard definition when calling C
8152         preprocessor on data files.
8153         (checknamespace): Remove unused variable.
8154
8155 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8156
8157         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8158         minus_oflow, plus_uflow and minus_uflow in expected results.
8159         * math/libm-test.inc (scalbn_test_data): Add more tests of
8160         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8161         minus_uflow.
8162         (scalbn_test): Use ALL_RM_TEST.
8163         (scalbln_test_data): Add more tests of negative arguments.  Use
8164         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8165         (scalbln_test): Use ALL_RM_TEST.
8166
8167 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8168
8169         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8170
8171 2014-03-18  Will Newton  <will.newton@linaro.org>
8172
8173         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8174         inaccurate comment.
8175
8176 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8177
8178         * Makerules [!subdir] (check-abi): Exit with error status if a
8179         test failed.
8180
8181 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8182
8183         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8184         for rint.  Include results for all rounding modes.
8185         (nearbyint_test): Use ALL_RM_TEST.
8186         (rint_test_data): Include all tests used for nearbyint.
8187
8188 2014-03-17  Will Newton  <will.newton@linaro.org>
8189
8190         * nptl/sysdeps/pthread/pthread.h: Revert previous
8191         change.
8192
8193         * sysdeps/generic/ldsodefs.h: Revert previous
8194         change.
8195
8196         * libio/genops.c: Revert previous change.
8197         * libio/libioP.h: Likewise.
8198         * stdio-common/vfprintf.c: Likewise.
8199
8200         * sysdeps/generic/math_private.h: Revert previous
8201         change.
8202
8203         * sysdeps/generic/math_private.h: Check whether
8204         HAVE_RM_CTX is defined with #ifdef rather
8205         than #if.
8206
8207         * argp/argp-fmtstream.h: Check whether
8208         __STRICT_ANSI__ is defined with #ifdef rather
8209         than #if.
8210         * argp/argp.h: Likewise.
8211
8212         * libio/genops.c: Check whether
8213         _IO_JUMPS_OFFSET is defined with #ifdef rather
8214         than #if.
8215         * libio/libioP.h: Likewise.
8216         * stdio-common/vfprintf.c: Likewise.
8217
8218         * sysdeps/generic/ldsodefs.h: Check whether
8219         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8220         than #if.
8221
8222         * nptl/sysdeps/pthread/pthread.h: Check
8223         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8224         its value.
8225
8226 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8227
8228         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8229         setting O_APPEND.
8230         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8231         test case.
8232
8233         [BZ #16680]
8234         * libio/fileops.c (_IO_file_open): Seek to end of file but
8235         don't cache the offset.
8236         (get_file_offset): Remove function.
8237         (do_ftell): Use cached offset when available.
8238         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8239         don't cache the offset.
8240         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8241         case.
8242         (do_one_test): Call it.
8243         (do_ftell_test): Fix up expected old offset for a+ mode.
8244         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8245         available.
8246
8247         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8248         up test status with function return status.
8249         (do_write_test): Likewise.
8250         (do_append_test): Likewise.
8251
8252         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8253         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8254         Remove.
8255
8256 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8257
8258         * math/gen-libm-test.pl (parse_args): Handle results specified for
8259         each rounding mode separately.
8260         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8261         tests and results from lrint_tonearest_test_data,
8262         lrint_towardzero_test_data, lrint_downward_test_data and
8263         lrint_upward_test_data.
8264         (lrint_test): Use ALL_RM_TEST.
8265         (lrint_tonearest_test_data): Remove.
8266         (lrint_test_tonearest): Likewise.
8267         (lrint_towardzero_test_data): Likewise.
8268         (lrint_test_towardzero): Likewise.
8269         (lrint_downward_test_data): Likewise.
8270         (lrint_test_downward): Likewise.
8271         (lrint_upward_test_data): Likewise.
8272         (lrint_test_upward): Likewise.
8273         (llrint_test_data): Merge in per-rounding-mode tests and results
8274         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8275         llrint_downward_test_data and llrint_upward_test_data.
8276         (llrint_test): Use ALL_RM_TEST.
8277         (llrint_tonearest_test_data): Remove.
8278         (llrint_test_tonearest): Likewise.
8279         (llrint_towardzero_test_data): Likewise.
8280         (llrint_test_towardzero): Likewise.
8281         (llrint_downward_test_data): Likewise.
8282         (llrint_test_downward): Likewise.
8283         (llrint_upward_test_data): Likewise.
8284         (llrint_test_upward): Likewise.
8285         (rint_test_data): Merge in per-rounding-mode tests and results
8286         from rint_tonearest_test_data, rint_towardzero_test_data,
8287         rint_downward_test_data and rint_upward_test_data.  Add
8288         per-rounding-mode results for tests not in those arrays.
8289         (rint_test): Use ALL_RM_TEST.
8290         (rint_tonearest_test_data): Remove.
8291         (rint_test_tonearest): Likewise.
8292         (rint_towardzero_test_data): Likewise.
8293         (rint_test_towardzero): Likewise.
8294         (rint_downward_test_data): Likewise.
8295         (rint_test_downward): Likewise.
8296         (rint_upward_test_data): Likewise.
8297         (rint_test_upward): Likewise.
8298         (main): Don't call removed functions.
8299
8300 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8301
8302         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8303         "Compiled on ..." crapola.  It is anti-useful.
8304
8305 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8306
8307         * scripts/evaluate-test.sh: Handle fourth argument to determine
8308         whether test run should stop on failure.
8309         * Makeconfig (stop-on-test-failure): New variable.
8310         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8311         $(stop-on-test-failure).
8312         * Makefile (tests): Give a summary of results from testing and
8313         exit with failure status if they include an ERROR or FAIL.
8314         (xtests): Likewise.
8315         * manual/install.texi (Configuring and compiling): Mention
8316         stop-on-test-failure=y.
8317         * INSTALL: Regenerated.
8318
8319 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8320
8321         * scripts/versionlist.awk: New file.
8322         * Makerules [$(build-shared) = yes]
8323         (postclean-generated): Add Versions.def, not Versions.def.v and
8324         Versions.def.v.i.
8325         ($(common-objpfx)Versions.def.v.i): Target removed.
8326         ($(common-objpfx)Versions.def): New target.
8327         ($(common-objpfx)Versions.all): Depend on that rather that
8328         $(common-objpfx)Versions.def.v.
8329         * Versions.def: File removed.
8330
8331         * Makeconfig (+gccwarn): Add -Wundef.
8332         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8333         a dl-sysdep.h breaking its contract.
8334         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8335         * include/stackinfo.h: New file.
8336         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8337         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8338         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8339         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8340         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8341         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8342         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8343         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8344         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8345         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8346         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8347         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8348         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8349         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8350         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8351
8352 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8353
8354         [BZ #16707]
8355         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8356         implementation.
8357         * math/libm-test.inc (round_test_data): Add more tests.
8358
8359         [BZ #16706]
8360         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8361         implementation.
8362         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8363
8364         [BZ #16701]
8365         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8366         implementation.
8367         * math/libm-test.inc (ceil_test_data): Add more tests.
8368
8369         * math/libm-test.inc (trunc_test_data): Add more tests related to
8370         BZ#16414.
8371
8372 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8373
8374         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8375         with #if rather than #ifdef.
8376         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8377
8378 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8379
8380         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8381         first.  Disable AVX-512 GCC support if assembler doesn't support
8382         it.
8383         * sysdeps/x86_64/configure: Regenerated.
8384
8385 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8386
8387         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8388         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8389         (__old_pthread_attr_setstack): Likewise.
8390         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8391         [!_STACK_GROWS_DOWN]: Likewise.
8392
8393 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8394
8395         * config.make.in (have-bash2): Delete.
8396         * configure.ac (libc_cv_have_bash2): Delete.
8397         * configure: Regenerate.
8398         * elf/Makefile (common-ldd-rewrite): Rename to ...
8399         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8400         (sh-ldd-rewrite): Delete.
8401         (bash-ldd-rewrite): Delete.
8402         (have-bash2): Delete checks.
8403         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8404         ldd-rewrite.
8405
8406         * config.make.in (have-ksh): Delete.
8407         (KSH): Delete.
8408         * configure.ac (libc_cv_have_ksh): Delete.
8409         * configure: Regenerate.
8410
8411         * elf/Makefile: Delete $(have-ksh) check.
8412         ($(objpfx)sotruss): Change KSH to BASH.
8413         * elf/sotruss.ksh: Rename to ...
8414         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8415         function style to match POSIX.  Drop ksh vim mode setting.
8416
8417         * manual/time.texi (Specifying the Time Zone with TZ): Change
8418         Tuesday to Thursday.
8419
8420         * debug/tst-longjmp_chk2.c: Update header comment.
8421         (stackoverflow_handler): Add comment.  Call assert on pass value.
8422
8423 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8424
8425         [BZ #16194]
8426         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8427         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8428         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8429         (La_x86_64_vector): Add zmm.
8430         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8431         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8432         ($(objpfx)tst-audit10): New target.
8433         ($(objpfx)tst-audit10.out): Likewise.
8434         (tst-audit10-ENV): New.
8435         (AVX512-CFLAGS): Likewise.
8436         (CFLAGS-tst-audit10.c): Likewise.
8437         (CFLAGS-tst-auditmod10a.c): Likewise.
8438         (CFLAGS-tst-auditmod10b.c): Likewise.
8439         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8440         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8441         * sysdeps/x86_64/configure: Regenerated.
8442         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8443         AVX-512 zmm register support.
8444         (_dl_x86_64_save_sse): Likewise.
8445         (_dl_x86_64_restore_sse): Likewise.
8446         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8447         size vector registers.
8448         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8449         (ZMM_SIZE): Likewise.
8450         * sysdeps/x86_64/tst-audit10.c: New file.
8451         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8452         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8453
8454 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8455
8456         * configure.ac (HAVE_EHDR_START): New check.
8457         * configure: Regenerated.
8458         * config.h.in (HAVE_EHDR_START): New #undef.
8459         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8460         assuming the lowest-addressed segment maps the start of the file.
8461
8462 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8463
8464         * INSTALL: Regenerated.
8465
8466 2014-03-13  Will Newton  <will.newton@linaro.org>
8467
8468         * manual/setjmp.texi (System V contexts): Improve
8469         clarity and grammar of documentation.
8470
8471 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8472
8473         [BZ #16381]
8474         * elf/Makefile (tests): Add tst-pie2.
8475         (tests-pie): Add tst-pie2.
8476         * elf/tst-pie2.c: New file.
8477         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8478         for ET_EXEC.
8479         * elf/rtld.c (map_doit): Load executable as lt_executable.
8480         (dl_main): Likewise.
8481
8482 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8483
8484         [BZ #16642]
8485         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8486         (__ASSUME_PSELECT): Undefine.
8487
8488 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8489
8490         [BZ #16689]
8491         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8492         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8493         static build.
8494         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8495         selector for static builds.
8496
8497 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8498
8499         [BZ #16695]
8500         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8501         key in the buffer.
8502
8503 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8504
8505         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8506         IFUNC selector for static builds.
8507
8508 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8509
8510         * sysdeps/mips/math_private.h [__mips_hard_float]
8511         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8512         libc_feresetround_mips_ctx.
8513         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8514         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8515         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8516
8517         [BZ #16677]
8518         * math/s_nextafter.c (__nextafter): Do not return value from
8519         overflowing computation.
8520         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8521         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8522         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8523         Likewise.
8524         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8525         Likewise.
8526         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8527         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8528
8529 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8530
8531         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8532         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8533         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8534         the new mov targetting sp.
8535
8536 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8537
8538         [BZ #16683]
8539         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8540         Define it for static builds as well.
8541         (NO_BZERO_IMPL): Likewise.
8542
8543 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8544
8545         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8546         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8547         multiarch strspn for PPC64.
8548         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8549         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8551         (__libc_ifunc_impl_list): Likewise.
8552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8553         multiarch optimizations
8554         * string/strspn.c (strspn): Using macro to redefine symbol name.
8555
8556 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8557             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8558
8559         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8560         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8561         multiarch strncat for PPC64.
8562         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8563         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8565         (__libc_ifunc_impl_list): Likewise.
8566         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8567         multiarch optimizations
8568
8569 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8570
8571         [BZ #16639]
8572         * nscd/nscd.service: Make service type forking.
8573
8574 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8575
8576         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8577         sign in non default rounding modes.
8578         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8579
8580 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8581
8582         * math/libm-test.inc (ALL_RM_TEST): New macro.
8583         (ceil_test): Use ALL_RM_TEST.
8584         (cimag_test): Likewise.
8585         (conj_test): Likewise.
8586         (copysign_test): Likewise.
8587         (cproj_test): Likewise.
8588         (creal_test): Likewise.
8589         (fabs_test): Likewise.
8590         (floor_test): Likewise.
8591         (fmax_test): Likewise.
8592         (fmin_test): Likewise.
8593         (fmod_test): Likewise.
8594         (fpclassify_test): Likewise.
8595         (frexp_test): Likewise.
8596         (ilogb_test): Likewise.
8597         (isfinite_test): Likewise.
8598         (finite_test): Likewise.
8599         (isgreater_test): Likewise.
8600         (isgreaterequal_test): Likewise.
8601         (isinf_test): Likewise.
8602         (isless_test): Likewise.
8603         (islessequal_test): Likewise.
8604         (islessgreater_test): Likewise.
8605         (isnan_test): Likewise.
8606         (isnormal_test): Likewise.
8607         (issignaling_test): Likewise.
8608         (isunordered_test): Likewise.
8609         (logb_test): Likewise.
8610         (logb_downward_test_data): Remove.
8611         (logb_test_downward): Likewise.
8612         (lround_test): Use ALL_RM_TEST.
8613         (llround_test): Likewise.
8614         (modf_test): Likewise.
8615         (nexttoward_test): Likewise.
8616         (remainder_test): Likewise.
8617         (drem_test): Likewise.
8618         (remainder_tonearest_test_data): Likewise.
8619         (remainder_test_tonearest): Likewise.
8620         (drem_test_tonearest): Likewise.
8621         (remainder_towardzero_test_data): Likewise.
8622         (remainder_test_towardzero): Likewise.
8623         (drem_test_towardzero): Likewise.
8624         (remainder_downward_test_data): Likewise.
8625         (remainder_test_downward): Likewise.
8626         (drem_test_downward): Likewise.
8627         (remainder_upward_test_data): Likewise.
8628         (remainder_test_upward): Likewise.
8629         (drem_test_upward): Likewise.
8630         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8631         (round_test): Use ALL_RM_TEST.
8632         (signbit_test): Likewise.
8633         (trunc_test): Likewise.
8634         (significand_test): Likewise.
8635         (main): Don't call removed functions.
8636
8637 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8638
8639         [BZ #16674]
8640         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8641         || __USE_XOPEN2K8].
8642         (ILL_ILLOPN): Likewise.
8643         (ILL_ILLADR): Likewise.
8644         (ILL_ILLTRP): Likewise.
8645         (ILL_PRVOPC): Likewise.
8646         (ILL_PRVREG): Likewise.
8647         (ILL_COPROC): Likewise.
8648         (ILL_BADSTK): Likewise.
8649         (FPE_INTDIV): Likewise.
8650         (FPE_INTOVF): Likewise.
8651         (FPE_FLTDIV): Likewise.
8652         (FPE_FLTOVF): Likewise.
8653         (FPE_FLTUND): Likewise.
8654         (FPE_FLTRES): Likewise.
8655         (FPE_FLTINV): Likewise.
8656         (FPE_FLTSUB): Likewise.
8657         (SEGV_MAPERR): Likewise.
8658         (SEGV_ACCERR): Likewise.
8659         (BUS_ADRALN): Likewise.
8660         (BUS_ADRERR): Likewise.
8661         (BUS_OBJERR): Likewise.
8662         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8663         (TRAP_TRACE): Likewise.
8664         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8665         __USE_XOPEN2K8].
8666         (CLD_KILLED): Likewise.
8667         (CLD_DUMPED): Likewise.
8668         (CLD_TRAPPED): Likewise.
8669         (CLD_STOPPED): Likewise.
8670         (CLD_CONTINUED): Likewise.
8671         (POLL_IN): Likewise.
8672         (POLL_OUT): Likewise.
8673         (POLL_MSG): Likewise.
8674         (POLL_ERR): Likewise.
8675         (POLL_PRI): Likewise.
8676         (POLL_HUP): Likewise.
8677         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8678         Likewise.
8679         (ILL_ILLOPN): Likewise.
8680         (ILL_ILLADR): Likewise.
8681         (ILL_ILLTRP): Likewise.
8682         (ILL_PRVOPC): Likewise.
8683         (ILL_PRVREG): Likewise.
8684         (ILL_COPROC): Likewise.
8685         (ILL_BADSTK): Likewise.
8686         (FPE_INTDIV): Likewise.
8687         (FPE_INTOVF): Likewise.
8688         (FPE_FLTDIV): Likewise.
8689         (FPE_FLTOVF): Likewise.
8690         (FPE_FLTUND): Likewise.
8691         (FPE_FLTRES): Likewise.
8692         (FPE_FLTINV): Likewise.
8693         (FPE_FLTSUB): Likewise.
8694         (SEGV_MAPERR): Likewise.
8695         (SEGV_ACCERR): Likewise.
8696         (BUS_ADRALN): Likewise.
8697         (BUS_ADRERR): Likewise.
8698         (BUS_OBJERR): Likewise.
8699         (BUS_MCEERR_AR): Likewise.
8700         (BUS_MCEERR_AO): Likewise.
8701         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8702         (TRAP_TRACE): Likewise.
8703         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8704         __USE_XOPEN2K8].
8705         (CLD_KILLED): Likewise.
8706         (CLD_DUMPED): Likewise.
8707         (CLD_TRAPPED): Likewise.
8708         (CLD_STOPPED): Likewise.
8709         (CLD_CONTINUED): Likewise.
8710         (POLL_IN): Likewise.
8711         (POLL_OUT): Likewise.
8712         (POLL_MSG): Likewise.
8713         (POLL_ERR): Likewise.
8714         (POLL_PRI): Likewise.
8715         (POLL_HUP): Likewise.
8716         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8717         (ILL_ILLOPN): Likewise.
8718         (ILL_ILLADR): Likewise.
8719         (ILL_ILLTRP): Likewise.
8720         (ILL_PRVOPC): Likewise.
8721         (ILL_PRVREG): Likewise.
8722         (ILL_COPROC): Likewise.
8723         (ILL_BADSTK): Likewise.
8724         (FPE_INTDIV): Likewise.
8725         (FPE_INTOVF): Likewise.
8726         (FPE_FLTDIV): Likewise.
8727         (FPE_FLTOVF): Likewise.
8728         (FPE_FLTUND): Likewise.
8729         (FPE_FLTRES): Likewise.
8730         (FPE_FLTINV): Likewise.
8731         (FPE_FLTSUB): Likewise.
8732         (SEGV_MAPERR): Likewise.
8733         (SEGV_ACCERR): Likewise.
8734         (BUS_ADRALN): Likewise.
8735         (BUS_ADRERR): Likewise.
8736         (BUS_OBJERR): Likewise.
8737         (BUS_MCEERR_AR): Likewise.
8738         (BUS_MCEERR_AO): Likewise.
8739         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8740         (TRAP_TRACE): Likewise.
8741         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8742         __USE_XOPEN2K8].
8743         (CLD_KILLED): Likewise.
8744         (CLD_DUMPED): Likewise.
8745         (CLD_TRAPPED): Likewise.
8746         (CLD_STOPPED): Likewise.
8747         (CLD_CONTINUED): Likewise.
8748         (POLL_IN): Likewise.
8749         (POLL_OUT): Likewise.
8750         (POLL_MSG): Likewise.
8751         (POLL_ERR): Likewise.
8752         (POLL_PRI): Likewise.
8753         (POLL_HUP): Likewise.
8754         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8755         Likewise.
8756         (ILL_ILLOPN): Likewise.
8757         (ILL_ILLADR): Likewise.
8758         (ILL_ILLTRP): Likewise.
8759         (ILL_PRVOPC): Likewise.
8760         (ILL_PRVREG): Likewise.
8761         (ILL_COPROC): Likewise.
8762         (ILL_BADSTK): Likewise.
8763         (ILL_BADIADDR): Likewise.
8764         (ILL_BREAK): Likewise.
8765         (FPE_INTDIV): Likewise.
8766         (FPE_INTOVF): Likewise.
8767         (FPE_FLTDIV): Likewise.
8768         (FPE_FLTOVF): Likewise.
8769         (FPE_FLTUND): Likewise.
8770         (FPE_FLTRES): Likewise.
8771         (FPE_FLTINV): Likewise.
8772         (FPE_FLTSUB): Likewise.
8773         (FPE_DECOVF): Likewise.
8774         (FPE_DECDIV): Likewise.
8775         (FPE_DECERR): Likewise.
8776         (FPE_INVASC): Likewise.
8777         (FPE_INVDEC): Likewise.
8778         (SEGV_MAPERR): Likewise.
8779         (SEGV_ACCERR): Likewise.
8780         (SEGV_PSTKOVF): Likewise.
8781         (BUS_ADRALN): Likewise.
8782         (BUS_ADRERR): Likewise.
8783         (BUS_OBJERR): Likewise.
8784         (BUS_MCEERR_AR): Likewise.
8785         (BUS_MCEERR_AO): Likewise.
8786         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8787         (TRAP_TRACE): Likewise.
8788         (TRAP_BRANCH): Likewise.
8789         (TRAP_HWBKPT): Likewise.
8790         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8791         __USE_XOPEN2K8].
8792         (CLD_KILLED): Likewise.
8793         (CLD_DUMPED): Likewise.
8794         (CLD_TRAPPED): Likewise.
8795         (CLD_STOPPED): Likewise.
8796         (CLD_CONTINUED): Likewise.
8797         (POLL_IN): Likewise.
8798         (POLL_OUT): Likewise.
8799         (POLL_MSG): Likewise.
8800         (POLL_ERR): Likewise.
8801         (POLL_PRI): Likewise.
8802         (POLL_HUP): Likewise.
8803         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8804         (ILL_ILLOPN): Likewise.
8805         (ILL_ILLADR): Likewise.
8806         (ILL_ILLTRP): Likewise.
8807         (ILL_PRVOPC): Likewise.
8808         (ILL_PRVREG): Likewise.
8809         (ILL_COPROC): Likewise.
8810         (ILL_BADSTK): Likewise.
8811         (FPE_INTDIV): Likewise.
8812         (FPE_INTOVF): Likewise.
8813         (FPE_FLTDIV): Likewise.
8814         (FPE_FLTOVF): Likewise.
8815         (FPE_FLTUND): Likewise.
8816         (FPE_FLTRES): Likewise.
8817         (FPE_FLTINV): Likewise.
8818         (FPE_FLTSUB): Likewise.
8819         (SEGV_MAPERR): Likewise.
8820         (SEGV_ACCERR): Likewise.
8821         (BUS_ADRALN): Likewise.
8822         (BUS_ADRERR): Likewise.
8823         (BUS_OBJERR): Likewise.
8824         (BUS_MCEERR_AR): Likewise.
8825         (BUS_MCEERR_AO): Likewise.
8826         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8827         (TRAP_TRACE): Likewise.
8828         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8829         __USE_XOPEN2K8].
8830         (CLD_KILLED): Likewise.
8831         (CLD_DUMPED): Likewise.
8832         (CLD_TRAPPED): Likewise.
8833         (CLD_STOPPED): Likewise.
8834         (CLD_CONTINUED): Likewise.
8835         (POLL_IN): Likewise.
8836         (POLL_OUT): Likewise.
8837         (POLL_MSG): Likewise.
8838         (POLL_ERR): Likewise.
8839         (POLL_PRI): Likewise.
8840         (POLL_HUP): Likewise.
8841         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8842         (ILL_ILLOPN): Likewise.
8843         (ILL_ILLADR): Likewise.
8844         (ILL_ILLTRP): Likewise.
8845         (ILL_PRVOPC): Likewise.
8846         (ILL_PRVREG): Likewise.
8847         (ILL_COPROC): Likewise.
8848         (ILL_BADSTK): Likewise.
8849         (FPE_INTDIV): Likewise.
8850         (FPE_INTOVF): Likewise.
8851         (FPE_FLTDIV): Likewise.
8852         (FPE_FLTOVF): Likewise.
8853         (FPE_FLTUND): Likewise.
8854         (FPE_FLTRES): Likewise.
8855         (FPE_FLTINV): Likewise.
8856         (FPE_FLTSUB): Likewise.
8857         (SEGV_MAPERR): Likewise.
8858         (SEGV_ACCERR): Likewise.
8859         (BUS_ADRALN): Likewise.
8860         (BUS_ADRERR): Likewise.
8861         (BUS_OBJERR): Likewise.
8862         (BUS_MCEERR_AR): Likewise.
8863         (BUS_MCEERR_AO): Likewise.
8864         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8865         (TRAP_TRACE): Likewise.
8866         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8867         __USE_XOPEN2K8].
8868         (CLD_KILLED): Likewise.
8869         (CLD_DUMPED): Likewise.
8870         (CLD_TRAPPED): Likewise.
8871         (CLD_STOPPED): Likewise.
8872         (CLD_CONTINUED): Likewise.
8873         (POLL_IN): Likewise.
8874         (POLL_OUT): Likewise.
8875         (POLL_MSG): Likewise.
8876         (POLL_ERR): Likewise.
8877         (POLL_PRI): Likewise.
8878         (POLL_HUP): Likewise.
8879         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8880         (ILL_ILLOPN): Likewise.
8881         (ILL_ILLADR): Likewise.
8882         (ILL_ILLTRP): Likewise.
8883         (ILL_PRVOPC): Likewise.
8884         (ILL_PRVREG): Likewise.
8885         (ILL_COPROC): Likewise.
8886         (ILL_BADSTK): Likewise.
8887         (FPE_INTDIV): Likewise.
8888         (FPE_INTOVF): Likewise.
8889         (FPE_FLTDIV): Likewise.
8890         (FPE_FLTOVF): Likewise.
8891         (FPE_FLTUND): Likewise.
8892         (FPE_FLTRES): Likewise.
8893         (FPE_FLTINV): Likewise.
8894         (FPE_FLTSUB): Likewise.
8895         (SEGV_MAPERR): Likewise.
8896         (SEGV_ACCERR): Likewise.
8897         (BUS_ADRALN): Likewise.
8898         (BUS_ADRERR): Likewise.
8899         (BUS_OBJERR): Likewise.
8900         (BUS_MCEERR_AR): Likewise.
8901         (BUS_MCEERR_AO): Likewise.
8902         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8903         (TRAP_TRACE): Likewise.
8904         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8905         __USE_XOPEN2K8].
8906         (CLD_KILLED): Likewise.
8907         (CLD_DUMPED): Likewise.
8908         (CLD_TRAPPED): Likewise.
8909         (CLD_STOPPED): Likewise.
8910         (CLD_CONTINUED): Likewise.
8911         (POLL_IN): Likewise.
8912         (POLL_OUT): Likewise.
8913         (POLL_MSG): Likewise.
8914         (POLL_ERR): Likewise.
8915         (POLL_PRI): Likewise.
8916         (POLL_HUP): Likewise.
8917         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8918         (ILL_ILLOPN): Likewise.
8919         (ILL_ILLADR): Likewise.
8920         (ILL_ILLTRP): Likewise.
8921         (ILL_PRVOPC): Likewise.
8922         (ILL_PRVREG): Likewise.
8923         (ILL_COPROC): Likewise.
8924         (ILL_BADSTK): Likewise.
8925         (ILL_DBLFLT): Likewise.
8926         (ILL_HARDWALL): Likewise.
8927         (FPE_INTDIV): Likewise.
8928         (FPE_INTOVF): Likewise.
8929         (FPE_FLTDIV): Likewise.
8930         (FPE_FLTOVF): Likewise.
8931         (FPE_FLTUND): Likewise.
8932         (FPE_FLTRES): Likewise.
8933         (FPE_FLTINV): Likewise.
8934         (FPE_FLTSUB): Likewise.
8935         (SEGV_MAPERR): Likewise.
8936         (SEGV_ACCERR): Likewise.
8937         (BUS_ADRALN): Likewise.
8938         (BUS_ADRERR): Likewise.
8939         (BUS_OBJERR): Likewise.
8940         (BUS_MCEERR_AR): Likewise.
8941         (BUS_MCEERR_AO): Likewise.
8942         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8943         (TRAP_TRACE): Likewise.
8944         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8945         __USE_XOPEN2K8].
8946         (CLD_KILLED): Likewise.
8947         (CLD_DUMPED): Likewise.
8948         (CLD_TRAPPED): Likewise.
8949         (CLD_STOPPED): Likewise.
8950         (CLD_CONTINUED): Likewise.
8951         (POLL_IN): Likewise.
8952         (POLL_OUT): Likewise.
8953         (POLL_MSG): Likewise.
8954         (POLL_ERR): Likewise.
8955         (POLL_PRI): Likewise.
8956         (POLL_HUP): Likewise.
8957         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8958         (ILL_ILLOPN): Likewise.
8959         (ILL_ILLADR): Likewise.
8960         (ILL_ILLTRP): Likewise.
8961         (ILL_PRVOPC): Likewise.
8962         (ILL_PRVREG): Likewise.
8963         (ILL_COPROC): Likewise.
8964         (ILL_BADSTK): Likewise.
8965         (FPE_INTDIV): Likewise.
8966         (FPE_INTOVF): Likewise.
8967         (FPE_FLTDIV): Likewise.
8968         (FPE_FLTOVF): Likewise.
8969         (FPE_FLTUND): Likewise.
8970         (FPE_FLTRES): Likewise.
8971         (FPE_FLTINV): Likewise.
8972         (FPE_FLTSUB): Likewise.
8973         (SEGV_MAPERR): Likewise.
8974         (SEGV_ACCERR): Likewise.
8975         (BUS_ADRALN): Likewise.
8976         (BUS_ADRERR): Likewise.
8977         (BUS_OBJERR): Likewise.
8978         (BUS_MCEERR_AR): Likewise.
8979         (BUS_MCEERR_AO): Likewise.
8980         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8981         (TRAP_TRACE): Likewise.
8982         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8983         __USE_XOPEN2K8].
8984         (CLD_KILLED): Likewise.
8985         (CLD_DUMPED): Likewise.
8986         (CLD_TRAPPED): Likewise.
8987         (CLD_STOPPED): Likewise.
8988         (CLD_CONTINUED): Likewise.
8989         (POLL_IN): Likewise.
8990         (POLL_OUT): Likewise.
8991         (POLL_MSG): Likewise.
8992         (POLL_ERR): Likewise.
8993         (POLL_PRI): Likewise.
8994         (POLL_HUP): Likewise.
8995         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8996         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8997
8998         [BZ #16670]
8999         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9000         before #include of <time.h>.
9001         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9002         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9003         (test-xfail-UNIX98/sched.h/conform): Likewise.
9004
9005 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9006
9007         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9008         error absence of trapping exception support.
9009         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9010
9011 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9012
9013         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9014         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9015         * timezone/Makefile (testdata): Move definition above include of
9016         Rules.
9017         (test-zones): New variable.
9018         (tests-special): Add zone files.
9019         (build-testdata): Use $(evaluate-test).
9020
9021         * elf/Makefile (tests-special): Rename tests to end with .out.
9022         ($(objpfx)noload-mem): Likewise.
9023         ($(objpfx)tst-leaks1-mem): Likewise.
9024         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9025         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9026         $(objpfx)test-iconvconfig.out.
9027         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9028         set -e inside subshell and redirect output to file.
9029         * iconvdata/Makefile (generated): Rename tests to end with .out.
9030         Correct type.
9031         (tests-special): Rename tests to end with .out.
9032         ($(objpfx)mtrace-tst-loading): Likewise.
9033         * intl/Makefile (generated): Likewise.
9034         (tests-special): Likewise.
9035         ($(objpfx)mtrace-tst-gettext): Likewise.
9036         * misc/Makefile (generated): Likewise.
9037         (tests-special): Likewise.
9038         ($(objpfx)tst-error1-mem): Likewise.
9039         * nptl/Makefile (tests-special): Likewise.
9040         ($(objpfx)tst-stack3-mem): Likewise.
9041         (generated): Likewise.
9042         * posix/Makefile (generated): Likewise.
9043         (tests-special): Likewise.
9044         (xtests-special): Likewise.
9045         ($(objpfx)tst-fnmatch-mem): Likewise.
9046         ($(objpfx)bug-regex2-mem): Likewise.
9047         ($(objpfx)bug-regex14-mem): Likewise.
9048         ($(objpfx)bug-regex21-mem): Likewise.
9049         ($(objpfx)bug-regex31-mem): Likewise.
9050         ($(objpfx)tst-vfork3-mem): Likewise.
9051         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9052         ($(objpfx)tst-pcre-mem): Likewise.
9053         ($(objpfx)tst-boost-mem): Likewise.
9054         ($(objpfx)bug-ga2-mem): Likewise.
9055         ($(objpfx)bug-glob2-mem): Likewise.
9056         * resolv/Makefile (generate): Likewise.
9057         (tests-special): Likewise.
9058         (xtests-special): Likewise.
9059         (generated): Likewise.
9060         ($(objpfx)mtrace-tst-leaks): Likewise.
9061         ($(objpfx)mtrace-tst-leaks2): Likewise.
9062
9063         * scripts/merge-test-results.sh: New file.
9064         * Makefile (tests-special-notdir): New variable.
9065         (tests): Run merge-test-results.sh.
9066         (xtests): Likewise.
9067         * Rules (tests-special-notdir): New variable.
9068         (xtests-special-notdir): Likewise.
9069         (tests): Run merge-test-results.sh
9070         (xtests): Likewise.
9071
9072         * Makeconfig (test-xfail-name): New variable.
9073         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9074         compute variable name for expected failures.
9075         * conform/Makefile (conformtest-headers-data): New variable.
9076         (conformtest-standards): Likewise.
9077         (conformtest-headers-ISO): Likewise.
9078         (conformtest-headers-ISO99): Likewise.
9079         (conformtest-headers-ISO11): Likewise.
9080         (conformtest-headers-POSIX): Likewise.
9081         (conformtest-headers-XPG3): Likewise.
9082         (conformtest-headers-XPG4): Likewise.
9083         (conformtest-headers-UNIX98): Likewise.
9084         (conformtest-headers-XOPEN2K): Likewise.
9085         (conformtest-headers-POSIX2008): Likewise.
9086         (conformtest-headers-XOPEN2K8): Likewise.
9087         (conformtest-header-list-base): Likewise.
9088         (conformtest-header-list-tests): Likewise.
9089         (conformtest-header-base): Likewise.
9090         (conformtest-header-tests): Likewise.
9091         (tests-special): Add $(conformtest-header-list-tests).  If
9092         [$(fast-check) && !$(cross-compiling)], add
9093         $(conformtest-header-tests) instead of
9094         $(objpfx)run-conformtest.out.
9095         (generated): Add $(conformtest-header-list-base).  If
9096         [$(fast-check) && !$(cross-compiling)], add
9097         $(conformtest-header-base).  Remove previous setting.
9098         ($(conformtest-header-list-tests)): New target.
9099         (test-xfail-run-conformtest): Remove variable.
9100         ($(objpfx)run-conformtest.out): Remove target.
9101         (test-xfail-ISO11/complex.h/conform): New variable.
9102         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9103         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9104         (test-xfail-XPG3/varargs.h/conform): Likewise.
9105         (test-xfail-XPG4/varargs.h/conform): Likewise.
9106         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9107         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9108         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9109         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9110         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9111         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9112         (test-xfail-XPG3/ftw.h/conform): Likewise.
9113         (test-xfail-XPG3/grp.h/conform): Likewise.
9114         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9115         (test-xfail-XPG3/limits.h/conform): Likewise.
9116         (test-xfail-XPG3/pwd.h/conform): Likewise.
9117         (test-xfail-XPG3/search.h/conform): Likewise.
9118         (test-xfail-XPG3/signal.h/conform): Likewise.
9119         (test-xfail-XPG3/stdio.h/conform): Likewise.
9120         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9121         (test-xfail-XPG3/string.h/conform): Likewise.
9122         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9123         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9124         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9125         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9126         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9127         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9128         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9129         (test-xfail-XPG3/termios.h/conform): Likewise.
9130         (test-xfail-XPG3/time.h/conform): Likewise.
9131         (test-xfail-XPG3/unistd.h/conform): Likewise.
9132         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9133         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9134         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9135         (test-xfail-XPG4/netdb.h/conform): Likewise.
9136         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9137         (test-xfail-XPG4/signal.h/conform): Likewise.
9138         (test-xfail-XPG4/stdio.h/conform): Likewise.
9139         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9140         (test-xfail-XPG4/stropts.h/conform): Likewise.
9141         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9142         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9143         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9144         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9145         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9146         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9147         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9148         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9149         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9150         (test-xfail-XPG4/termios.h/conform): Likewise.
9151         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9152         (test-xfail-XPG4/unistd.h/conform): Likewise.
9153         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9154         (test-xfail-POSIX/sched.h/conform): Likewise.
9155         (test-xfail-POSIX/signal.h/conform): Likewise.
9156         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9157         (test-xfail-POSIX/tar.h/conform): Likewise.
9158         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9159         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9160         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9161         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9162         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9163         (test-xfail-UNIX98/sched.h/conform): Likewise.
9164         (test-xfail-UNIX98/signal.h/conform): Likewise.
9165         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9166         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9167         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9168         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9169         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9170         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9171         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9172         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9173         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9174         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9175         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9176         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9177         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9178         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9179         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9180         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9181         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9182         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9183         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9184         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9185         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9186         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9187         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9188         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9189         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9190         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9191         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9192         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9193         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9194         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9195         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9196         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9197         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9198         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9199         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9200         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9201         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9202         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9203         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9204         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9205         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9206         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9207         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9208         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9209         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9210         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9211         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9212         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9213         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9214         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9215         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9216         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9217         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9218         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9219         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9220         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9221         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9222         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9223         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9224         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9225         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9226         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9227         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9228         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9229         (conformtest-cc-flags): Likewise.
9230         ($(conformtest-header-tests): New target.
9231         * conform/check-header-lists.sh: New file.
9232         * conform/run-conformtest.sh: Remove.
9233
9234         * conform/conformtest.pl: Allow ' and \ in values given for
9235         constants.
9236         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9237         inclusion.
9238         [POSIX] (sys/types.h): Likewise.
9239         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9240         inclusion.
9241         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9242         inclusion.
9243         * conform/data/signal.h-data (SIGIO): Remove expectation.
9244         [XPG3] (SIGBUS): Do not expect.
9245         [POSIX || XPG3] (SIGPOLL): Likewise.
9246         [POSIX || XPG3] (SIGPROF): Likewise.
9247         [POSIX || XPG3] (SIGSYS): Likewise.
9248         [XPG3] (SIGTRAP): Likewise.
9249         [POSIX || XPG3] (SIGURG): Likewise.
9250         [POSIX || XPG3] (SIGVTALRM): Likewise.
9251         [POSIX || XPG3] (SIGXCPU): Likewise.
9252         [POSIX || XPG3] (SIGXFSZ): Likewise.
9253         [POSIX] (SA_SIGINFO): Expect.
9254         [XPG3] (siginfo_t): Do not expect type or contents.
9255         [POSIX] (si_pid): Do not expect element.
9256         [POSIX] (si_uid): Likewise.
9257         [POSIX] (si_addr): Likewise.
9258         [POSIX] (si_status): Likewise.
9259         [POSIX] (si_band): Likewise.
9260         [XPG4] (si_value): Likewise.
9261         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9262         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9263         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9264         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9265         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9266         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9267         [POSIX || XPG3] (ILL_COPROC): Likewise.
9268         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9269         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9270         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9271         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9272         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9273         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9274         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9275         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9276         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9277         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9278         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9279         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9280         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9281         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9282         [POSIX || XPG3] (CLD_EXITED): Likewise.
9283         [POSIX || XPG3] (CLD_KILLED): Likewise.
9284         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9285         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9286         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9287         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9288         [POSIX || XPG3] (POLL_IN): Likewise.
9289         [POSIX || XPG3] (POLL_OUT): Likewise.
9290         [POSIX || XPG3] (POLL_MSG): Likewise.
9291         [POSIX || XPG3] (POLL_ERR): Likewise.
9292         [POSIX || XPG3] (POLL_PRI): Likewise.
9293         [POSIX || XPG3] (POLL_HUP): Likewise.
9294         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9295         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9296         (SIG*): Do not allow.
9297         [XPG3] (si_*): Likewise.
9298         [XPG3] (SI_*): Likewise.
9299         [XPG3 || XPG4] (sigev_*): Likewise.
9300         [XPG3 || XPG4] (SIGEV_*): Likewise.
9301         [XPG3 || XPG4] (sival_*): Likewise.
9302         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9303         [POSIX || XPG3] (BUS_*): Likewise.
9304         [POSIX || XPG3] (CLD_*): Likewise.
9305         [POSIX || XPG3] (FPE_*): Likewise.
9306         [POSIX || XPG3] (ILL_*): Likewise.
9307         [POSIX || XPG3] (POLL_*): Likewise.
9308         [POSIX || XPG3] (SEGV_*): Likewise.
9309         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9310         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9311         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9312         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9313         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9314         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9315         Specify type and value.
9316         (TVERSLEN): Likewise.
9317         (REGTYPE): Likewise.
9318         (AREGTYPE): Likewise.
9319         (LNKTYPE): Likewise.
9320         (SYMTYPE): Likewise.
9321         (CHRTYPE): Likewise.
9322         (BLKTYPE): Likewise.
9323         (DIRTYPE): Likewise.
9324         (FIFOTYPE): Likewise.
9325         (CONTTYPE): Likewise.
9326         (TSUID): Likewise.
9327         (TSGID): Likewise.
9328         (TSVTX): Likewise.
9329         (TUREAD): Likewise.
9330         (TUWRITE): Likewise.
9331         (TUEXEC): Likewise.
9332         (TGREAD): Likewise.
9333         (TGWRITE): Likewise.
9334         (TGEXEC): Likewise.
9335         (TOREAD): Likewise.
9336         (TOWRITE): Likewise.
9337         (TOEXEC): Likewise.
9338         [POSIX] (TSVTX): Expect constant.
9339
9340 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9341
9342         * Makefile (tests): Change dependencies to ....
9343         (tests-special): ... additions to this variable.
9344         (tests): Depend on $(tests-special).
9345         * Makerules (check-abi-list): New variable.
9346         (check-abi): Depend on $(check-abi-list).
9347         [$(subdir) = elf] (tests-special): Add
9348         $(objpfx)check-abi-libc.out.
9349         [$(build-shared) = yes && subdir] (tests-special): Add
9350         $(check-abi-list).
9351         [$(build-shared) = yes && subdir] (tests): Do not depend on
9352         check-abi.
9353         * Rules (tests): Depend on $(tests-special).
9354         (xtests): Depend on $(xtests-special).
9355         * catgets/Makefile (tests): Change dependencies to ....
9356         (tests-special): ... additions to this variable.
9357         * conform/Makefile (tests): Change dependencies to ....
9358         (tests-special): ... additions to this variable.
9359         * elf/Makefile (tests): Change dependencies to ....
9360         (tests-special): ... additions to this variable.
9361         * grp/Makefile (tests): Change dependencies to ....
9362         (tests-special): ... additions to this variable.
9363         * iconv/Makefile (xtests): Change dependencies to ....
9364         (xtests-special): ... additions to this variable.
9365         * iconvdata/Makefile (tests): Change dependencies to ....
9366         (tests-special): ... additions to this variable.
9367         * intl/Makefile (tests): Change dependencies to ....
9368         (tests-special): ... additions to this variable.  Also add
9369         $(objpfx)tst-gettext.out.
9370         * io/Makefile (tests): Change dependencies to ....
9371         (tests-special): ... additions to this variable.
9372         * libio/Makefile (tests): Change dependencies to ....
9373         (tests-special): ... additions to this variable.
9374         * malloc/Makefile (tests): Change dependencies to ....
9375         (tests-special): ... additions to this variable.
9376         * misc/Makefile (tests): Change dependencies to ....
9377         (tests-special): ... additions to this variable.
9378         * nptl/Makefile (tests): Change dependencies to ....
9379         (tests-special): ... additions to this variable.
9380         * nptl_db/Makefile (tests): Change dependencies to ....
9381         (tests-special): ... additions to this variable.
9382         * posix/Makefile (tests): Change dependencies to ....
9383         (tests-special): ... additions to this variable.
9384         (xtests): Change dependencies to ....
9385         (xtests-special): ... additions to this variable.
9386         * resolv/Makefile (tests): Change dependencies to ....
9387         (tests-special): ... additions to this variable.
9388         (xtests): Change dependencies to ....
9389         (xtests-special): ... additions to this variable.
9390         * stdio-common/Makefile (tests): Change dependencies to ....
9391         (tests-special): ... additions to this variable.
9392         (do-tst-unbputc): Remove target.
9393         (do-tst-printf): Likewise.
9394         * stdlib/Makefile (tests): Change dependencies to ....
9395         (tests-special): ... additions to this variable.
9396         * string/Makefile (tests): Change dependencies to ....
9397         (tests-special): ... additions to this variable.
9398         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9399         (tests-special): ... additions to this variable.
9400
9401         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9402         whole file.
9403         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9404         whole file.
9405         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9406         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9407
9408         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9409         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9410         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9411         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9412         * conform/data/libgen.h-data [XPG3]: Likewise.
9413         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9414         * conform/data/ndbm.h-data [XPG3]: Likewise.
9415         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9416         * conform/data/netdb.h-data [XPG3]: Likewise.
9417         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9418         * conform/data/poll.h-data [XPG3]: Likewise.
9419         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9420         * conform/data/strings.h-data [XPG3]: Likewise.
9421         * conform/data/stropts.h-data [XPG3]: Likewise.
9422         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9423         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9424         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9425         Likewise.
9426         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9427         * conform/data/sys/time.h-data [XPG3]: Likewise.
9428         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9429         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9430         * conform/data/sys/un.h-data [XPG3]: Likewise.
9431         * conform/data/syslog.h-data [XPG3]: Likewise.
9432         * conform/data/ucontext.h-data [XPG3]: Likewise.
9433         * conform/data/utmpx.h-data [XPG3]: Likewise.
9434         * conform/data/varargs.h-data [UNIX98]: Enable file.
9435
9436         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9437
9438         * math/libm-test.inc (struct test_f_f_data): Move expected results
9439         into structure for each rounding mode.
9440         (struct test_ff_f_data): Likewise.
9441         (struct test_ff_f_data_nexttoward): Likewise.
9442         (struct test_fi_f_data): Likewise.
9443         (struct test_fl_f_data): Likewise.
9444         (struct test_if_f_data): Likewise.
9445         (struct test_fff_f_data): Likewise.
9446         (struct test_c_f_data): Likewise.
9447         (struct test_f_f1_data): Likewise.
9448         (struct test_fF_f1_data): Likewise.
9449         (struct test_ffI_f1_data): Likewise.
9450         (struct test_c_c_data): Likewise.
9451         (struct test_cc_c_data): Likewise.
9452         (struct test_f_i_data): Likewise.
9453         (struct test_ff_i_data): Likewise.
9454         (struct test_f_l_data): Likewise.
9455         (struct test_f_L_data): Likewise.
9456         (struct test_fFF_11_data): Likewise.
9457         (RM_): New macro.
9458         (RM_FE_DOWNWARD): Likewise.
9459         (RM_FE_TONEAREST): Likewise.
9460         (RM_FE_TOWARDZERO): Likewise.
9461         (RM_FE_UPWARD): Likewise.
9462         (RUN_TEST_LOOP_f_f): Update references to expected results.
9463         (RUN_TEST_LOOP_2_f): Likewise.
9464         (RUN_TEST_LOOP_fff_f): Likewise.
9465         (RUN_TEST_LOOP_c_f): Likewise.
9466         (RUN_TEST_LOOP_f_f1): Likewise.
9467         (RUN_TEST_LOOP_fF_f1): Likewise.
9468         (RUN_TEST_LOOP_fI_f1): Likewise.
9469         (RUN_TEST_LOOP_ffI_f1): Likewise.
9470         (RUN_TEST_LOOP_c_c): Likewise.
9471         (RUN_TEST_LOOP_cc_c): Likewise.
9472         (RUN_TEST_LOOP_f_i): Likewise.
9473         (RUN_TEST_LOOP_f_i_tg): Likewise.
9474         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9475         (RUN_TEST_LOOP_f_b): Likewise.
9476         (RUN_TEST_LOOP_f_b_tg): Likewise.
9477         (RUN_TEST_LOOP_f_l): Likewise.
9478         (RUN_TEST_LOOP_f_L): Likewise.
9479         (RUN_TEST_LOOP_fFF_11): Likewise.
9480         * math/gen-libm-test.pl (parse_args): Output four copies of
9481         expected results for each test.
9482
9483         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9484         (__ASSUME_UTIMES): Remove.
9485         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9486         (__ASSUME_UTIMES): Likewise.
9487
9488         * math/gen-auto-libm-tests.c: Update comment on output format.
9489         (output_for_one_input_case): Generate before-rounding and
9490         after-rounding information as conditions on output flags not
9491         floating-point format.
9492         * math/auto-libm-test-out: Regenerated.
9493         * math/gen-libm-test.pl (cond_value): New function.
9494         (or_cond_value): Use cond_value.
9495         (generate_testfile): Handle conditional exceptions.
9496
9497 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9498
9499         * math/libm-test.inc (max_valid_error): New variable.
9500         (init_max_error): Take new argument specifying whether function
9501         results are exactly determined.  Set max_valid_error and bound
9502         other variables for errors based on this argument.
9503         (set_max_error): Do not record results above max_valid_error.
9504         (check_float_internal): Only accept errors of up to 0.5ulps if
9505         also at most max_valid_error.
9506         (START): Take new argument EXACT and pass it to init_max_error.
9507         (acos_test): Update call to START.
9508         (acos_test_tonearest): Likewise.
9509         (acos_test_towardzero): Likewise.
9510         (acos_test_downward): Likewise.
9511         (acos_test_upward): Likewise.
9512         (acosh_test): Likewise.
9513         (asin_test): Likewise.
9514         (asin_test_tonearest): Likewise.
9515         (asin_test_towardzero): Likewise.
9516         (asin_test_downward): Likewise.
9517         (asin_test_upward): Likewise.
9518         (asinh_test): Likewise.
9519         (atan_test): Likewise.
9520         (atanh_test): Likewise.
9521         (atan2_test): Likewise.
9522         (cabs_test): Likewise.
9523         (cacos_test): Likewise.
9524         (cacosh_test): Likewise.
9525         (carg_test): Likewise.
9526         (casin_test): Likewise.
9527         (casinh_test): Likewise.
9528         (catan_test): Likewise.
9529         (catanh_test): Likewise.
9530         (cbrt_test): Likewise.
9531         (ccos_test): Likewise.
9532         (ccosh_test): Likewise.
9533         (ceil_test): Likewise.
9534         (cexp_test): Likewise.
9535         (cimag_test): Likewise.
9536         (clog_test): Likewise.
9537         (clog10_test): Likewise.
9538         (conj_test): Likewise.
9539         (copysign_test): Likewise.
9540         (cos_test): Likewise.
9541         (cos_test_tonearest): Likewise.
9542         (cos_test_towardzero): Likewise.
9543         (cos_test_downward): Likewise.
9544         (cos_test_upward): Likewise.
9545         (cosh_test): Likewise.
9546         (cosh_test_tonearest): Likewise.
9547         (cosh_test_towardzero): Likewise.
9548         (cosh_test_downward): Likewise.
9549         (cosh_test_upward): Likewise.
9550         (cpow_test): Likewise.
9551         (cproj_test): Likewise.
9552         (creal_test): Likewise.
9553         (csin_test): Likewise.
9554         (csinh_test): Likewise.
9555         (csqrt_test): Likewise.
9556         (ctan_test): Likewise.
9557         (ctan_test_tonearest): Likewise.
9558         (ctan_test_towardzero): Likewise.
9559         (ctan_test_downward): Likewise.
9560         (ctan_test_upward): Likewise.
9561         (ctanh_test): Likewise.
9562         (ctanh_test_tonearest): Likewise.
9563         (ctanh_test_towardzero): Likewise.
9564         (ctanh_test_downward): Likewise.
9565         (ctanh_test_upward): Likewise.
9566         (erf_test): Likewise.
9567         (erfc_test): Likewise.
9568         (exp_test): Likewise.
9569         (exp_test_tonearest): Likewise.
9570         (exp_test_towardzero): Likewise.
9571         (exp_test_downward): Likewise.
9572         (exp_test_upward): Likewise.
9573         (exp10_test): Likewise.
9574         (exp10_test_tonearest): Likewise.
9575         (exp10_test_towardzero): Likewise.
9576         (exp10_test_downward): Likewise.
9577         (exp10_test_upward): Likewise.
9578         (pow10_test): Likewise.
9579         (exp2_test): Likewise.
9580         (expm1_test): Likewise.
9581         (expm1_test_tonearest): Likewise.
9582         (expm1_test_towardzero): Likewise.
9583         (expm1_test_downward): Likewise.
9584         (expm1_test_upward): Likewise.
9585         (fabs_test): Likewise.
9586         (fdim_test): Likewise.
9587         (floor_test): Likewise.
9588         (fma_test): Likewise.
9589         (fma_test_towardzero): Likewise.
9590         (fma_test_downward): Likewise.
9591         (fma_test_upward): Likewise.
9592         (fmax_test): Likewise.
9593         (fmin_test): Likewise.
9594         (fmod_test): Likewise.
9595         (fpclassify_test): Likewise.
9596         (frexp_test): Likewise.
9597         (hypot_test): Likewise.
9598         (ilogb_test): Likewise.
9599         (isfinite_test): Likewise.
9600         (finite_test): Likewise.
9601         (isgreater_test): Likewise.
9602         (isgreaterequal_test): Likewise.
9603         (isinf_test): Likewise.
9604         (isless_test): Likewise.
9605         (islessequal_test): Likewise.
9606         (islessgreater_test): Likewise.
9607         (isnan_test): Likewise.
9608         (isnormal_test): Likewise.
9609         (issignaling_test): Likewise.
9610         (isunordered_test): Likewise.
9611         (j0_test): Likewise.
9612         (j1_test): Likewise.
9613         (jn_test): Likewise.
9614         (ldexp_test): Likewise.
9615         (lgamma_test): Likewise.
9616         (gamma_test): Likewise.
9617         (lrint_test): Likewise.
9618         (lrint_test_tonearest): Likewise.
9619         (lrint_test_towardzero): Likewise.
9620         (lrint_test_downward): Likewise.
9621         (lrint_test_upward): Likewise.
9622         (llrint_test): Likewise.
9623         (llrint_test_tonearest): Likewise.
9624         (llrint_test_towardzero): Likewise.
9625         (llrint_test_downward): Likewise.
9626         (llrint_test_upward): Likewise.
9627         (log_test): Likewise.
9628         (log10_test): Likewise.
9629         (log1p_test): Likewise.
9630         (log2_test): Likewise.
9631         (logb_test): Likewise.
9632         (logb_test_downward): Likewise.
9633         (lround_test): Likewise.
9634         (llround_test): Likewise.
9635         (modf_test): Likewise.
9636         (nearbyint_test): Likewise.
9637         (nextafter_test): Likewise.
9638         (nexttoward_test): Likewise.
9639         (pow_test): Likewise.
9640         (pow_test_tonearest): Likewise.
9641         (pow_test_towardzero): Likewise.
9642         (pow_test_downward): Likewise.
9643         (pow_test_upward): Likewise.
9644         (remainder_test): Likewise.
9645         (drem_test): Likewise.
9646         (remainder_test_tonearest): Likewise.
9647         (drem_test_tonearest): Likewise.
9648         (remainder_test_towardzero): Likewise.
9649         (drem_test_towardzero): Likewise.
9650         (remainder_test_downward): Likewise.
9651         (drem_test_downward): Likewise.
9652         (remainder_test_upward): Likewise.
9653         (drem_test_upward): Likewise.
9654         (remquo_test): Likewise.
9655         (rint_test): Likewise.
9656         (rint_test_tonearest): Likewise.
9657         (rint_test_towardzero): Likewise.
9658         (rint_test_downward): Likewise.
9659         (rint_test_upward): Likewise.
9660         (round_test): Likewise.
9661         (scalb_test): Likewise.
9662         (scalbn_test): Likewise.
9663         (scalbln_test): Likewise.
9664         (signbit_test): Likewise.
9665         (sin_test): Likewise.
9666         (sin_test_tonearest): Likewise.
9667         (sin_test_towardzero): Likewise.
9668         (sin_test_downward): Likewise.
9669         (sin_test_upward): Likewise.
9670         (sincos_test): Likewise.
9671         (sinh_test): Likewise.
9672         (sinh_test_tonearest): Likewise.
9673         (sinh_test_towardzero): Likewise.
9674         (sinh_test_downward): Likewise.
9675         (sinh_test_upward): Likewise.
9676         (sqrt_test): Likewise.
9677         (sqrt_test_tonearest): Likewise.
9678         (sqrt_test_towardzero): Likewise.
9679         (sqrt_test_downward): Likewise.
9680         (sqrt_test_upward): Likewise.
9681         (tan_test): Likewise.
9682         (tan_test_tonearest): Likewise.
9683         (tan_test_towardzero): Likewise.
9684         (tan_test_downward): Likewise.
9685         (tan_test_upward): Likewise.
9686         (tanh_test): Likewise.
9687         (tgamma_test): Likewise.
9688         (trunc_test): Likewise.
9689         (y0_test): Likewise.
9690         (y1_test): Likewise.
9691         (yn_test): Likewise.
9692         (significand_test): Likewise.
9693
9694         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9695         individual tests in comment.
9696         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9697         (prev_max_error): New variable.
9698         (prev_real_max_error): Likewise.
9699         (prev_imag_max_error): Likewise.
9700         (compare_ulp_data): Don't refer to test names in comment.
9701         (find_test_ulps): Remove function.
9702         (find_function_ulps): Likewise.
9703         (find_complex_function_ulps): Likewise.
9704         (init_max_error): Take function name as argument.  Look up ulps
9705         for that function.
9706         (print_ulps): Remove function.
9707         (print_max_error): Use prev_max_error instead of calling
9708         find_function_ulps.
9709         (print_complex_max_error): Use prev_real_max_error and
9710         prev_imag_max_error instead of calling find_complex_function_ulps.
9711         (check_float_internal): Take max_ulp parameter instead of calling
9712         find_test_ulps.  Don't call print_ulps.
9713         (check_float): Update call to check_float_internal.
9714         (check_complex): Update calls to check_float_internal.
9715         (START): Pass argument to init_max_error.
9716         * math/gen-libm-test.pl (%results): Don't include "kind"
9717         information.
9718         (parse_ulps): Don't handle ulps of individual tests.
9719         (print_ulps_file): Likewise.
9720         (output_ulps): Likewise.
9721         * math/README.libm-test: Update.
9722         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9723         individual tests.
9724         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9725         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9726         * sysdeps/arm/libm-test-ulps: Likewise.
9727         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9728         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9729         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9730         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9731         * sysdeps/microblaze/libm-test-ulps: Likewise.
9732         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9733         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9734         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9735         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9736         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9737         * sysdeps/sh/libm-test-ulps: Likewise.
9738         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9739         * sysdeps/tile/libm-test-ulps: Likewise.
9740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9741
9742 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9743
9744         * math/libm-test.inc (print_complex_max_error): Check separately
9745         whether real and imaginary errors are within allowed range and
9746         pass 0 to print_complex_function_ulps instead of value within
9747         allowed range.
9748
9749 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9750
9751         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9752         formatting.
9753         (get_handles_fopen): Likewise.
9754         (do_write_test): Likewise.
9755
9756         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9757
9758         * libio/fileops.c (do_ftell): Use cached offset when
9759         available.
9760         * libio/iofwide.c (do_ftell_wide): Likewise.
9761         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9762         _IO_file_attach.
9763         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9764
9765         [BZ #16532]
9766         * libio/libioP.h (get_file_offset): New function.
9767         * libio/fileops.c (get_file_offset): Likewise.
9768         (do_ftell): Likewise.
9769         (_IO_new_file_seekoff): Split out ftell logic.
9770         * libio/wfileops.c (do_ftell_wide): Likewise.
9771         (_IO_wfile_seekoff): Split out ftell logic.
9772         * libio/tst-ftell-active-handler.c: New test case.
9773         * libio/Makefile (tests): Add it.
9774
9775 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9776
9777         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9778         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9779
9780 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9781
9782         [BZ #16639]
9783         * nscd/connections.c (nscd_init): Call do_exit.
9784         (start_threads): Call do_exit and notify_parent.
9785         (begin_drop_privileges): Call do_exit.
9786         (finish_drop_privileges): Likewise.
9787         * nscd/selinux.c (preserve_capabilities): Likewise.
9788         (install_real_capabilities): Likewise.
9789         (nscd_selinux_enabled): Likewise.
9790         (avc_create_thread): Likewise.
9791         (avc_alloc_lock): Likewise.
9792         (nscd_avc_init): Likewise.
9793         * nscd/nscd.c (parent_fd): New static variable.
9794         (main): Create a pipe between parent and child processes.
9795         Skip closing parent_fd.
9796         (monitor_child): New function.
9797         (do_exit): Likewise.
9798         (notify_parent): Likewise.
9799         * nscd/nscd.h (notify_parent): Likewise.
9800         (do_exit): Likewise.
9801
9802 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9803
9804         * malloc/malloc.c (__libc_calloc): Revert last change.
9805
9806 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9807
9808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9809
9810 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9811
9812         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9813         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9814         implementation.
9815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9816         (__libc_ifunc_impl_list): Likewise.
9817         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9818         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9819         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9820         * string/strrchr.c: Define STRRCHR.
9821
9822 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9823
9824         * benchtest/bench-strtok.c (simple_strtok): Delete.
9825         (strtok_string): Use as benchmark.
9826         * string/strtok (STRTOK): New macro.
9827
9828 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9829
9830         * manual/threads.texi: Add header and standard comments to all
9831         functions.
9832
9833         * elf/dl-lookup.c (check_match): New function.
9834         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9835         (do_lookup_x): Remove nested function check_match. Use non-nested
9836         function check_match.
9837
9838 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9839
9840         * csu/Makefile (generated, before-compile): Use += rather than =.
9841         * catgets/Makefile (generated, generated-dirs): Likewise.
9842         * debug/Makefile (generated): Likewise.
9843         * dlfcn/Makefile (generated): Likewise.
9844         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9845         * iconvdata/Makefile (before-compile, generated): Likewise.
9846         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9847         * libio/Makefile (generated): Likewise.
9848         * malloc/Makefile (generated): Likewise.
9849         * manual/Makefile (generated, generated-dirs): Likewise.
9850         * misc/Makefile (generated): Likewise.
9851         * posix/Makefile (generated): Likewise.
9852         * resolv/Makefile (generated): Likewise.
9853         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9854         * timezone/Makefile (generated, generated-dirs): Likewise.
9855
9856         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9857
9858 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9859
9860         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9861         power8 implementation.
9862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9863         file: POWER8 llround ifunc implementation.
9864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9865         (__lllround): Add POWER8 implementation.
9866         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9867         POWER8 llround implementation.
9868
9869         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9870         power8 implementation.
9871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9872         file: POWER8 llrint ifunc implementation.
9873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9874         Add POWER8 implementation.
9875         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9876         POWER8 llrint implementation.
9877
9878         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9879         power8 implementation.
9880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9881         file: POWER8 finite ifunc implementation.
9882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9883         Add POWER8 implementation.
9884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9885         Likewise.
9886         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9887         POWER8 finite implementation.
9888         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9889
9890         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9891         power8 implementation.
9892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9893         file: POWER8 isinf ifunc implementation.
9894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9895         POWER8 implementation.
9896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9897         Likewise.
9898         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9899         isinf implementation.
9900         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9901
9902         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9903         (INIT_ARCH): Add hwcap2 initialization.
9904         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9905         power8 implementation.
9906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9907         file: POWER8 isnan ifunc implementation.
9908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9909         POWER8 implementation.
9910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9911         Likewise.
9912         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9913         isnan implementation.
9914         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9915
9916 2014-02-27  Joey Ye  <joey.ye@arm.com>
9917
9918         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9919         (_FP_NANFRAC_Q): Set to zero.
9920
9921 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9922
9923         [BZ #16623]
9924         * math/auto-libm-test-in: New test inputs.
9925         * math/auto-libm-test-out: Regenerate.
9926         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9927         and DA.
9928         (__cos): Likewise.
9929         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9930
9931 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9932
9933         * scripts/evaluate-test.sh: Take new argument indicating whether
9934         failure is expected.
9935         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9936         indicating whether failure is expected.
9937         * conform/Makefile (test-xfail-run-conformtest): New variable.
9938         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9939         level.
9940         * posix/Makefile (test-xfail-annexc): New variable.
9941         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9942
9943 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9944
9945         * argp/Makefile: Include Makeconfig immediately after defining
9946         subdir.
9947         * assert/Makefile: Likewise.
9948         * benchtests/Makefile: Likewise.
9949         * catgets/Makefile: Likewise.
9950         * conform/Makefile: Likewise.
9951         * crypt/Makefile: Likewise.
9952         * csu/Makefile: Likewise.
9953         (all): Remove target.
9954         * ctype/Makefile: Include Makeconfig immediately after defining
9955         subdir.
9956         * debug/Makefile: Likewise.
9957         * dirent/Makefile: Likewise.
9958         * dlfcn/Makefile: Likewise.
9959         * gmon/Makefile: Likewise.
9960         * gnulib/Makefile: Likewise.
9961         * grp/Makefile: Likewise.
9962         * gshadow/Makefile: Likewise.
9963         * hesiod/Makefile: Likewise.
9964         * hurd/Makefile: Likewise.
9965         (all): Remove target.
9966         * iconvdata/Makefile: Include Makeconfig immediately after
9967         defining subdir.
9968         * inet/Makefile: Likewise.
9969         * intl/Makefile: Likewise.
9970         * io/Makefile: Likewise.
9971         * libio/Makefile: Likewise.
9972         (all): Remove target.
9973         * locale/Makefile: Include Makeconfig immediately after defining
9974         subdir.
9975         * login/Makefile: Likewise.
9976         * mach/Makefile: Likewise.
9977         (all): Remove target.
9978         * malloc/Makefile: Include Makeconfig immediately after defining
9979         subdir.
9980         (all): Remove target.
9981         * manual/Makefile: Include Makeconfig immediately after defining
9982         subdir.
9983         * math/Makefile: Likewise.
9984         * misc/Makefile: Likewise.
9985         * nis/Makefile: Likewise.
9986         * nss/Makefile: Likewise.
9987         * po/Makefile: Likewise.
9988         (all): Remove target.
9989         * posix/Makefile: Include Makeconfig immediately after defining
9990         subdir.
9991         * pwd/Makefile: Likewise.
9992         * resolv/Makefile: Likewise.
9993         * resource/Makefile: Likewise.
9994         * rt/Makefile: Likewise.
9995         * setjmp/Makefile: Likewise.
9996         * shadow/Makefile: Likewise.
9997         * signal/Makefile: Likewise.
9998         * socket/Makefile: Likewise.
9999         * soft-fp/Makefile: Likewise.
10000         * stdio-common/Makefile: Likewise.
10001         * stdlib/Makefile: Likewise.
10002         * streams/Makefile: Likewise.
10003         * string/Makefile: Likewise.
10004         * sunrpc/Makefile: Likewise.
10005         (all): Remove target.
10006         * sysvipc/Makefile: Include Makeconfig immediately after defining
10007         subdir.
10008         * termios/Makefile: Likewise.
10009         * time/Makefile: Likewise.
10010         * timezone/Makefile: Likewise.
10011         (all): Remove target.
10012         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10013         subdir.
10014         * wctype/Makefile: Likewise.
10015
10016 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10017
10018         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10019         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10020         (libc_feholdexcept_setround_mips): Ditto.
10021         (libc_feholdsetround): New.
10022         (libc_feholdsetroundf): New.
10023         (libc_feholdsetroundl): New.
10024         (libc_feupdateenv_test_mips): New.
10025         (libc_feupdateenv_test): New.
10026         (libc_feupdateenv_testf): New.
10027         (libc_feupdateenv_testl): New.
10028         (libc_feresetround): New.
10029         (libc_feresetroundf): New.
10030         (libc_feresetroundl): New.
10031         (libc_fetestexcept_mips): New.
10032         (libc_fetestexcept): New.
10033         (libc_fetestexceptf): New.
10034         (libc_fetestexceptl): New.
10035         (HAVE_RM_CTX): New.
10036         (libc_feholdexcept_setround_mips_ctx): New.
10037         (libc_feholdexcept_setround_ctx): New.
10038         (libc_feholdexcept_setroundf_ctx): New.
10039         (libc_feholdexcept_setroundl_ctx): New.
10040         (libc_fesetenv_mips_ctx): New.
10041         (libc_fesetenv_ctx): New.
10042         (libc_fesetenv_ctxf): New.
10043         (libc_fesetenv_ctxl): New.
10044         (libc_feupdateenv_mips_ctx): New.
10045         (libc_feupdateenv_ctx): New.
10046         (libc_feupdateenvf_ctx): New.
10047         (libc_feupdateenvl_ctx): New.
10048         (libc_feholdsetround_mips_ctx): New.
10049         (libc_feholdsetround_ctx): New.
10050         (libc_feholdsetroundf_ctx): New.
10051         (libc_feholdsetroundl_ctx): New.
10052         (libc_feresetround_mips_ctx): New.
10053         (libc_feresetround_ctx): New.
10054         (libc_feresetroundf_ctx): New.
10055         (libc_feresetroundl_ctx): New.
10056
10057 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10058
10059         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10060
10061         * manual/ipc.texi: New file.
10062         * manual/Makefile (chapters): Add ipc.
10063         * manual/job.texi: Add "Inter-Process Communication" to next.
10064         * manual/process.texi: Add "Inter-Process Communication" to prev.
10065
10066 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10067
10068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10069
10070 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10071
10072         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10073
10074         * manual/arith.texi: Fix spaces after sentences.
10075         * manual/charset.texi: Likewise.
10076         * manual/errno.texi: Likewise.
10077         * manual/install.texi: Likewise.
10078         * manual/llio.texi: Likewise.
10079         * manual/locale.texi: Likewise.
10080         * manual/maint.texi: Likewise.
10081         * manual/math.texi: Likewise.
10082         * manual/memory.texi: Likewise.
10083         * manual/message.texi: Likewise.
10084         * manual/probes.texi: Likewise.
10085         * manual/resource.texi: Likewise.
10086         * manual/signal.texi: Likewise.
10087         * manual/socket.texi: Likewise.
10088         * manual/stdio.texi: Likewise.
10089         * manual/string.texi: Likewise.
10090         * manual/time.texi: Likewise.
10091         * manual/users.texi: Likewise.
10092
10093 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10094
10095         [BZ #16632]
10096         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10097         _DEFAULT_SOURCE is defined.
10098
10099 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10100             Carlos O'Donell  <carlos@redhat.com>
10101
10102         [BZ #16613]
10103         * elf/dl-tls.c (_dl_count_modids): New function.
10104         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10105         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10106         audit library and increment generation counter.
10107         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10108         * elf/tst-audit9.c: New file.
10109         * elf/tst-auditmod9a.c: New file.
10110         * elf/tst-auditmod9b.c: New file.
10111         * elf/Makefile: Add rules to build and run tst-audit9.
10112
10113 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10114
10115         [BZ #15347]
10116         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10117
10118 2014-02-25  Will Newton  <will.newton@linaro.org>
10119
10120         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10121         (__longjmp): Restore sp and lr before restoring callee
10122         saved registers.  Add longjmp and longjmp_target
10123         SystemTap probe point.
10124         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10125         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10126         Define to zero to match jmpbuf layout.
10127         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10128         (__sigsetjmp): Save sp and lr before saving callee
10129         saved registers.  Add setjmp SystemTap probe point.
10130
10131 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10132
10133         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10134
10135 2014-02-24  Andreas Schwab  <schwab@suse.de>
10136
10137         [BZ #15804]
10138         * elf/pldd.c (wait_for_ptrace_stop): New function.
10139         (main): Call it after attaching.
10140
10141 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10142
10143         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10144         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10145         Versions files is now verboten.
10146         * hurd/Versions (libc: GLIBC_2.0):
10147         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10148         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10149         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10150         * mach/Versions: Likewise.
10151
10152         * csu/Versions: Remove unused %include.
10153         * resolv/Versions: Likewise.
10154
10155 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10156
10157         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10158         ($(objpfx)check-local-headers.out): Likewise.
10159         ($(objpfx)begin-end-check.out): Likewise.
10160         * Makerules (check-abi-%.out): Likewise.
10161         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10162         ($(objpfx)test2.cat): Likewise.
10163         ($(objpfx)de/libc.cat): Likewise.
10164         ($(objpfx)test-gencat.out): Likewise.
10165         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10166         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10167         ($(objpfx)noload-mem): Likewise.
10168         ($(objpfx)tst-pathopt.out): Likewise.
10169         ($(objpfx)tst-rtld-load-self.out): Likewise.
10170         ($(objpfx)tst-array1-cmp.out): Likewise.
10171         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10172         ($(objpfx)tst-array2-cmp.out): Likewise.
10173         ($(objpfx)tst-array3-cmp.out): Likewise.
10174         ($(objpfx)tst-array4-cmp.out): Likewise.
10175         ($(objpfx)tst-array5-cmp.out): Likewise.
10176         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10177         ($(objpfx)check-textrel.out): Likewise.
10178         ($(objpfx)check-execstack.out): Likewise.
10179         ($(objpfx)check-localplt.out): Likewise.
10180         ($(objpfx)order2-cmp.out): Likewise.
10181         ($(objpfx)tst-leaks1-mem): Likewise.
10182         ($(objpfx)tst-leaks1-static-mem): Likewise.
10183         ($(objpfx)tst-initorder-cmp.out): Likewise.
10184         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10185         ($(objpfx)tst-unused-dep.out): Likewise.
10186         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10187         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10188         * iconv/Makefile (test-iconvconfig): Likewise.
10189         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10190         ($(objpfx)iconv-test.out): Likewise.
10191         ($(objpfx)tst-tables.out): Likewise.
10192         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10193         ($(objpfx)tst-gettext.out): Likewise.
10194         ($(objpfx)tst-translit.out): Likewise.
10195         ($(objpfx)tst-gettext2.out): Likewise.
10196         ($(objpfx)tst-gettext4.out): Likewise.
10197         ($(objpfx)tst-gettext6.out): Likewise.
10198         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10199         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10200         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10201         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10202         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10203         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10204         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10205         ($(objpfx)wordexp-tst.out): Likewise.
10206         ($(objpfx)annexc.out): Likewise.
10207         ($(objpfx)tst-fnmatch-mem): Likewise.
10208         ($(objpfx)bug-regex2-mem): Likewise.
10209         ($(objpfx)bug-regex14-mem): Likewise.
10210         ($(objpfx)bug-regex21-mem): Likewise.
10211         ($(objpfx)bug-regex31-mem): Likewise.
10212         ($(objpfx)tst-vfork3-mem): Likewise.
10213         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10214         ($(objpfx)tst-pcre-mem): Likewise.
10215         ($(objpfx)tst-boost-mem): Likewise.
10216         ($(objpfx)tst-getconf.out): Likewise.
10217         ($(objpfx)bug-ga2-mem): Likewise.
10218         ($(objpfx)bug-glob2-mem): Likewise.
10219         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10220         ($(objpfx)mtrace-tst-leaks2): Likewise.
10221         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10222         ($(objpfx)tst-printf.out): Likewise.
10223         ($(objpfx)tst-setvbuf1.out): Likewise.
10224         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10225         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10226         ($(objpfx)tst-fmtmsg.out): Likewise.
10227         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10228         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10229
10230         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10231         * bits/sigaction.h [__USE_MISC]: Likewise.
10232         * bits/waitstatus.h: Update #endif comments.
10233         * ctype/ctype.h: Likewise.
10234         * dirent/dirent.h: Likewise.
10235         [__USE_MISC]: Remove redundant conditionals.
10236         * grp/grp.h: Update #endif comments.
10237         [__USE_GNU]: Remove redundant conditionals.
10238         [__USE_MISC]: Likewise.
10239         * inet/netinet/in.h [__USE_GNU]: Likewise.
10240         * io/sys/stat.h [__USE_MISC]: Likewise.
10241         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10242         * libio/bits/stdio.h: Update #endif comments.
10243         [__USE_MISC]: Remove redundant conditionals.
10244         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10245         * libio/stdio.h: Update #endif comments.
10246         [__USE_MISC]: Remove redundant conditionals.
10247         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10248         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10249         * math/math.h: Update #else and #endif comments.
10250         [__USE_MISC]: Remove redundant conditionals.
10251         * misc/sys/uio.h: Update #endif comments.
10252         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10253         * posix/glob.h [__USE_MISC]: Likewise.
10254         * posix/sys/types.h: Update #endif comments.
10255         [__USE_MISC]: Remove redundant conditionals.
10256         * posix/sys/wait.h: Update #endif comments.
10257         [__USE_MISC]: Remove redundant conditionals.
10258         * posix/unistd.h: Update #endif comments.
10259         [__USE_MISC]: Remove redundant conditionals.
10260         * pwd/pwd.h [__USE_GNU]: Likewise.
10261         [__USE_MISC]: Likewise.
10262         * resolv/netdb.h [__USE_GNU]: Likewise.
10263         * signal/signal.h: Update #endif comments.
10264         [__USE_MISC]: Remove redundant conditionals.
10265         * stdlib/stdlib.h: Update #else and #endif comments.
10266         [__USE_MISC]: Remove redundant conditionals.
10267         [__USE_GNU]: Likewise.
10268         * string/bits/string2.h [__USE_MISC]: Likewise.
10269         * string/string.h: Update #endif comments.
10270         [__USE_MISC]: Remove redundant conditionals.
10271         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10272         Likewise.
10273         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10274         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10275         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10276         Likewise.
10277         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10278         Likewise.
10279         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10280         comments.
10281         [__USE_MISC]: Remove redundant conditionals.
10282         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10283         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10284         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10285         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10286         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10287         Likewise.
10288         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10289         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10290         Likewise.
10291         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10292         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10293         Likewise.
10294         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10295         Likewise.
10296         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10297         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10298         Likewise.
10299         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10300         Likewise.
10301         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10302         * sysdeps/x86/bits/string.h: Update #endif comments.
10303         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10304         conditionals.
10305         * time/sys/time.h: Update #endif comments.
10306         * time/time.h: Likewise.
10307         [__USE_MISC]: Remove redundant conditionals.
10308
10309 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10310
10311         [BZ #16600]
10312         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10313
10314 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10315
10316         * Versions.def (librt): Add GLIBC_2.17.
10317
10318 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10319
10320         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10321         synonym for _SYS_AUXV_H to allow direct inclusion.
10322         * sysdeps/sparc/bits/hwcap.h: Likewise.
10323         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10324         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10325         * sysdeps/sparc/sysdep.h: Likewise.
10326
10327 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10328
10329         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10330
10331 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10332
10333         * benchtests/bench-strrchr.c: Print length instead of position.
10334
10335 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10336
10337         [BZ #16611]
10338         * sysdeps/unix/sysv/linux/kernel-features.h
10339         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10340         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10341         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10342         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10343         Likewise.
10344         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10345         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10346         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10347         (__ASSUME_SENDMMSG): Define instead of using previous
10348         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10349         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10350         (__ASSUME_SENDMMSG_SYSCALL): Define.
10351         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10352         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10353         Likewise.
10354         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10355         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10356         Likewise.
10357         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10358         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10359         Likewise.
10360         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10361         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10362         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10363         [__ASSUME_SENDMMSG]: Change conditionals to
10364         [__ASSUME_SENDMMSG_SOCKETCALL].
10365         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10366         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10367         Define.
10368         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10369         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10370         Likewise.
10371         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10372         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10373         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10374         [!__ASSUME_SENDMMSG]: Change conditional to
10375         [!__ASSUME_SENDMMSG_SOCKETCALL].
10376         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10377         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10378         Define.
10379
10380         [BZ #16610]
10381         * sysdeps/unix/sysv/linux/kernel-features.h
10382         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10383         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10384         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10385         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10386         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10387         [__i386__ || __sparc__]
10388         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10389         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10390         (__ASSUME_RECVMMSG): Define instead of using previous
10391         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10392         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10393         (__ASSUME_RECVMMSG_SYSCALL): Define.
10394         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10395         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10396         Likewise.
10397         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10398         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10399         Likewise.
10400         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10401         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10402         Likewise.
10403         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10404         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10405         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10406         [__ASSUME_RECVMMSG]: Change condition to
10407         [__ASSUME_RECVMMSG_SOCKETCALL].
10408         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10409         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10410         Define.
10411         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10412         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10413         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10414         Likewise.
10415         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10416         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10417         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10418         [!__ASSUME_RECVMMSG]: Change condition to
10419         [!__ASSUME_RECVMMSG_SOCKETCALL].
10420         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10421         (__ASSUME_RECVMMSG_SYSCALL): Define.
10422
10423         [BZ #16609]
10424         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10425         __powerpc__ || __s390__ || __sh__ || __sparc__]
10426         (__ASSUME_SOCKETCALL): Define.
10427         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10428         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10429         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10430         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10431         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10432         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10433         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10434         (__ASSUME_ACCEPT4): Define instead of using previous
10435         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10436         __powerpc__ || __sparc__ || __s390__)] condition.
10437         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10438         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10439         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10440         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10441         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10442         [!__ASSUME_ACCEPT4]: Change condition to
10443         [!__ASSUME_ACCEPT4_SOCKETCALL].
10444         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10445         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10446         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10447         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10448         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10449         __ASSUME_ACCEPT4_SYSCALL.
10450         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10451         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10452         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10453         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10454         __ASSUME_ACCEPT4_SYSCALL.
10455         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10456         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10457         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10458         [__ASSUME_ACCEPT4]: Change condition to
10459         [__ASSUME_ACCEPT4_SOCKETCALL].
10460         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10461         (__ASSUME_SOCKETCALL): Define.
10462         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10463         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10464         (__ASSUME_SOCKETCALL): Define.
10465         (__ASSUME_ACCEPT4): Remove.
10466         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10467         Define.
10468         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10469         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10470         Likewise.
10471         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10472         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10473
10474         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10475         macro.
10476         (HWCAP_ARM_LPAE): Likewise.
10477         (HWCAP_ARM_EVTSTRM): Likewise.
10478         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10479         Add vpfd32, lpae and evtstrm.
10480         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10481         Increase to 22.
10482
10483 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10484
10485         * math/auto-libm-test-in: Add tests of clog10.
10486         * math/auto-libm-test-out: Regenerated.
10487         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10488         * sysdeps/i386/fpu/libm-test-ulps: Update.
10489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10490
10491 2014-02-18  Andreas Schwab  <schwab@suse.de>
10492
10493         [BZ #16574]
10494         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10495         Store non-zero if the second buffer was newly allocated.
10496         (send_dg): Likewise.
10497         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10498         to send_vc and send_dg.
10499         (res_nsend): Pass NULL for ansp2_malloced.
10500         * resolv/res_query.c (__libc_res_nquery): Add parameter
10501         answerp2_malloced and pass it down to __libc_res_nsend.
10502         (res_nquery): Pass additional NULL to __libc_res_nquery.
10503         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10504         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10505         second answer buffer if answerp2_malloced was set.
10506         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10507         (__libc_res_nquerydomain): Add parameter
10508         answerp2_malloced and pass it down to __libc_res_nquery.
10509         (res_nquerydomain): Pass additional NULL to
10510         __libc_res_nquerydomain.
10511         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10512         additional NULL to __libc_res_nsend and __libc_res_nquery.
10513         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10514         additional NULL to __libc_res_nsearch.
10515         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10516         parameter of __libc_res_nsearch to check for separately allocated
10517         second buffer.
10518         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10519         __libc_res_nquery.
10520         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10521         additional NULL to __libc_res_nquery.
10522         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10523         __libc_res_nsearch.
10524         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10525         * include/resolv.h: Update prototypes of __libc_res_nquery,
10526         __libc_res_nsearch, __libc_res_nsend.
10527
10528 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10529
10530         * math/auto-libm-test-in: Add tests of fma.
10531         * math/auto-libm-test-out: Regenerated.
10532         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10533         (fma_towardzero_test_data): Likewise.
10534         (fma_downward_test_data): Likewise.
10535         (fma_upward_test_data): Likewise.
10536         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10537         mpc_mode.
10538         (rounding_modes): Add values for new field.
10539         (func_calc_method): Add value mpfr_fff_f.
10540         (func_calc_desc): Add mpfr_fff_f union field.
10541         (test_function): Add field exact_args.
10542         (FUNC): Add macro argument EXACT_ARGS.
10543         (FUNC_mpfr_f_f): Update call to FUNC.
10544         (FUNC_mpfr_f_f): Likewise.
10545         (FUNC_mpfr_ff_f): Likewise.
10546         (FUNC_mpfr_if_f): Likewise.
10547         (FUNC_mpc_c_f): Likewise.
10548         (FUNC_mpc_c_c): Likewise.
10549         (test_functions): Add fma.  Update calls to FUNC.
10550         (handle_input_arg): Add argument exact_args.
10551         (add_test): Update call to handle_input_arg.
10552         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10553         (output_for_one_input_case): Update call to calc_generic_results.
10554         Recalculate exact zero results in each rounding mode.
10555
10556         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10557         non-negative before setting low bit.
10558         * math/auto-libm-test-in: Mark one asin test possibly having
10559         spurious underflow.
10560         * math/auto-libm-test-out: Regenerated.
10561         * sysdeps/i386/fpu/libm-test-ulps: Update.
10562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10563
10564 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10565
10566         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10567         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10568         ports/sysdeps/unix/sysv/linux/microblaze.
10569         * README: Add missing listing for microblaze*-*-linux-gnu.
10570
10571 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10572
10573         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10574         duplicate code
10575
10576 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10577
10578         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10579         * sysdeps/unix/sysv/linux/ia64: Move directory from
10580         ports/sysdeps/unix/sysv/linux/ia64.
10581         * README: Update listing for ia64-*-linux-gnu.
10582
10583 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10584             Joseph Myers  <joseph@codesourcery.com>
10585
10586         * Makeconfig (test-name): New variable.
10587         (evaluate-test): Likewise.
10588         * Makerules (do-test-clean): Remove .test-result files.
10589         (common-mostlyclean): Likewise.
10590         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10591         * scripts/evaluate-test.sh: New file.
10592
10593 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10594
10595         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10596         separate $(objpfx)tst-fopenloc-cmp.out and
10597         $(objpfx)tst-fopenloc-mem.out targets.
10598         (tests): Update dependencies.
10599         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10600         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10601         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10602         (tst-rxspencer-no-utf8-ARGS): New variable.
10603         (tst-rxspencer-no-utf8-ENV): Likewise.
10604         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10605         instead of $(objpfx)tst-rxspencer-mem.
10606         ($(objpfx)tst-rxspencer-mem): Change target to
10607         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10608         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10609         * posix/tst-rxspencer-no-utf8.c: New file.
10610
10611         * elf/Makefile ($(objpfx)order.out): Remove rule.
10612         [$(run-built-tests) = yes] (tests): Depend on
10613         $(objpfx)order-cmp.out.
10614         ($(objpfx)order-cmp.out): New rule.
10615         [$(run-built-tests) = yes] (tests): Depend on
10616         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10617         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10618         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10619         $(objpfx)tst-array5-static-cmp.out.
10620         ($(objpfx)tst-array1.out): Remove rule.
10621         ($(objpfx)tst-array1-cmp.out): New rule.
10622         ($(objpfx)tst-array1-static.out): Remove rule.
10623         ($(objpfx)tst-array1-static-cmp.out): New rule.
10624         ($(objpfx)tst-array2.out): Remove rule.
10625         ($(objpfx)tst-array2-cmp.out): New rule.
10626         ($(objpfx)tst-array3.out): Remove rule.
10627         ($(objpfx)tst-array3-cmp.out): New rule.
10628         ($(objpfx)tst-array4.out): Remove rule.
10629         ($(objpfx)tst-array4-cmp.out): New rule.
10630         ($(objpfx)tst-array5.out): Remove rule.
10631         ($(objpfx)tst-array5-cmp.out): New rule.
10632         ($(objpfx)tst-array5-static.out): Remove rule.
10633         ($(objpfx)tst-array5-static-cmp.out): New rule.
10634         [$(run-built-tests) = yes] (tests): Depend on
10635         $(objpfx)order2-cmp.out.
10636         ($(objpfx)order2.out): Remove rule.
10637         ($(objpfx)order2-cmp.out): New rule.
10638         ($(objpfx)tst-initorder.out): Remove rule.
10639         [$(run-built-tests) = yes] (tests): Depend on
10640         $(objpfx)tst-initorder-cmp.out.
10641         ($(objpfx)tst-initorder-cmp.out): New rule.
10642         ($(objpfx)tst-initorder2.out): Remove rule.
10643         [$(run-built-tests) = yes] (tests): Depend on
10644         $(objpfx)tst-initorder2-cmp.out.
10645         ($(objpfx)tst-initorder2-cmp.out): New rule.
10646         [$(run-built-tests) = yes] (tests): Depend on
10647         $(objpfx)tst-unused-dep-cmp.out.
10648         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10649         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10650         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10651         on $(objpfx)tst-setvbuf1-cmp.out.
10652         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10653         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10654         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10655         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10656         ($(objpfx)tst-svc.out): Remove rule.
10657         ($(objpfx)tst-svc-cmp.out): New rule.
10658
10659 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10660
10661         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10662         * ctype/ctype.h [__USE_MISC]: Likewise.
10663         * dirent/dirent.h [__USE_MISC]: Likewise.
10664         * grp/grp.h [__USE_MISC]: Likewise.
10665         * io/fcntl.h [__USE_MISC]: Likewise.
10666         * io/sys/stat.h [__USE_MISC]: Likewise.
10667         * libio/stdio.h [__USE_MISC]: Likewise.
10668         * posix/unistd.h [__USE_MISC]: Likewise.
10669         * pwd/pwd.h [__USE_MISC]: Likewise.
10670         * stdlib.h [__USE_MISC]: Likewise.
10671         * string/bits/string2.h [__USE_MISC]: Likewise.
10672         * string/string.h [__USE_MISC]: Likewise.
10673         * time/time.h [__USE_MISC]: Likewise.
10674
10675 2014-02-13  Andreas Schwab  <schwab@suse.de>
10676
10677         [BZ #16574]
10678         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10679         second answer buffer if it was separately allocated.
10680
10681 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10682
10683         * sysdeps/mips/math-tests.h: Include <features.h>.
10684         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10685         (ROUNDING_TESTS_long_double): Do not define.
10686         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10687         (EXCEPTION_TESTS_long_double): Likewise.
10688         * sysdeps/mips/mips64/libm-test-ulps: Update.
10689
10690         * include/features.h (__USE_BSD): Remove macro definitions.
10691         (__USE_SVID): Likewise.
10692         (_BSD_SOURCE): Likewise.
10693         (_SVID_SOURCE): Likewise.
10694         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10695         from definition of _DEFAULT_SOURCE.
10696         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10697         [_DEFAULT_SOURCE].
10698         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10699         * bits/mman.h [__USE_BSD]: Likewise.
10700         * bits/termios.h [__USE_BSD]: Likewise.
10701         * bits/waitstatus.h [__USE_BSD]: Likewise.
10702         * ctype/ctype.h [__USE_SVID]: Likewise.
10703         * dirent/dirent.h [__USE_BSD]: Likewise.
10704         * grp/grp.h [__USE_SVID]: Likewise.
10705         [__USE_BSD]: Likewise.
10706         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10707         * io/fcntl.h [__USE_BSD]: Likewise.
10708         * io/ftw.h [__USE_BSD]: Likewise.
10709         * io/sys/stat.h [__USE_BSD]: Likewise.
10710         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10711         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10712         * libio/stdio.h [__USE_SVID]: Likewise.
10713         [__USE_BSD]: Likewise.
10714         * math/math.h [__USE_SVID]: Likewise.
10715         [__USE_BSD]: Likewise.
10716         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10717         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10718         * misc/search.h [__USE_SVID]: Likewise.
10719         * misc/sys/mman.h [__USE_BSD]: Likewise.
10720         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10721         * misc/sys/uio.h [__USE_BSD]: Likewise.
10722         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10723         * posix/glob.h [__USE_BSD]: Likewise.
10724         * posix/regex.h [__USE_BSD]: Likewise.
10725         * posix/sys/types.h [__USE_BSD]: Likewise.
10726         [__USE_SVID]: Likewise.
10727         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10728         * posix/sys/wait.h [__USE_BSD]: Likewise.
10729         [__USE_SVID]: Likewise.
10730         * posix/unistd.h [__USE_BSD]: Likewise.
10731         [__USE_SVID]: Likewise.
10732         * pwd/pwd.h [__USE_SVID]: Likewise.
10733         * resolv/netdb.h [__USE_BSD]: Likewise.
10734         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10735         * signal/signal.h [__USE_BSD]: Likewise.
10736         [__USE_SVID]: Likewise.
10737         * socket/sys/socket.h [__USE_BSD]: Likewise.
10738         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10739         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10740         [__USE_SVID]: Likewise.
10741         * string/bits/string2.h [__USE_BSD]: Likewise.
10742         [__USE_SVID]: Likewise.
10743         * string/bits/string3.h [__USE_BSD]: Likewise.
10744         * string/endian.h [__USE_BSD]: Likewise.
10745         * string/string.h [__USE_SVID]: Likewise.
10746         [__USE_BSD]: Likewise.
10747         * string/strings.h [__USE_BSD]: Likewise.
10748         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10749         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10750         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10751         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10752         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10753         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10754         Likewise.
10755         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10756         Likewise.
10757         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10758         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10759         Likewise.
10760         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10761         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10762         Likewise.
10763         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10764         Likewise.
10765         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10766         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10767         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10768         Likewise.
10769         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10770         Likewise.
10771         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10772         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10773         * termios/termios.h [__USE_BSD]: Likewise.
10774         * time/sys/time.h [__USE_BSD]: Likewise.
10775         * time/time.h [__USE_BSD]: Likewise.
10776         [__USE_SVID]: Likewise.
10777
10778         * Makefile (subdir_targets): Remove subdir_lint.out.
10779
10780         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10781         (do-tst-printf): Likewise.
10782         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10783         $(objpfx)tst-printf.out.
10784
10785         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10786
10787         * Makerules (check-abi-%): Change target to
10788         $(objpfx)check-abi-%.out.
10789         (check-abi target): Update dependencies.
10790         (check-abi-pattern variable): Redirect output of diff to $@.
10791         (check-abi variable): Likewise.
10792         * elf/Makefile (check-abi): Update dependencies.
10793
10794         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10795         unused.
10796         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10797         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10798         subnormal range.
10799         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10800         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10801         value has largest subnormal exponent.
10802         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10803         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10804         * sysdeps/aarch64/soft-fp/sfp-machine.h
10805         (_FP_TININESS_AFTER_ROUNDING): New macro.
10806         * sysdeps/alpha/soft-fp/sfp-machine.h
10807         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10808         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10809         Likewise.
10810         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10811         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10812         * sysdeps/mips/soft-fp/sfp-machine.h
10813         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10814         * sysdeps/powerpc/soft-fp/sfp-machine.h
10815         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10816         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10817         Likewise.
10818         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10819         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10820         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10821         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10822         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10823         Likewise.
10824
10825 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10826
10827         [BZ #16545]
10828         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10829         model 1.
10830
10831 2014-02-12  Richard Henderson  <rth@redhat.com>
10832
10833         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10834         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10835         * sysdeps/unix/sysv/linux/alpha: Move directory from
10836         ports/sysdeps/unix/sysv/linux/alpha.
10837         * README: Update listing for alpha-*-linux-gnu.
10838
10839 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10840
10841         * include/features.h: Update comment documenting feature test
10842         macros.
10843         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10844         _DEFAULT_SOURCE.
10845         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10846         (_SVID_SOURCE): Likewise.
10847         (_DEFAULT_SOURCE): Update description of default features.
10848         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10849         with _GNU_SOURCE.
10850         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10851         (S_ISVTX): Likewise.
10852         * manual/math.texi (Mathematical Constants): Likewise.
10853         * manual/signal.texi (Interrupted Primitives): Likewise.
10854         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10855         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10856         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10857         Don't refer to _SVID_SOURCE in warning text.
10858
10859         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10860
10861         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10862         already defined.
10863         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10864         * sysdeps/mips/dl-lookup.c: Remove.
10865         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10866
10867 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10868
10869         [BZ #16447]
10870         * math/auto-libm-test-in: Add testcase for expl.
10871         * math/auto-libm-test-out: Regenerate.
10872         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10873         calculation of unsafe.
10874         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10875
10876 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10877
10878         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10879         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10880         ports/sysdeps/unix/sysv/linux/aarch64.
10881         * README: Update listing for aarch64*-*-linux-gnu.
10882
10883 2014-02-11  Will Newton  <will.newton@linaro.org>
10884
10885         * manual/probes.texi (Mathematical Function Probes): Use
10886         "triggered" instead of "hit".
10887
10888         * manual/probes.texi (Internal Probes): Add documentation
10889         of setjmp, longjmp and longjmp_target probes.
10890
10891         * include/stap-probe.h: Add comment about probe argument
10892         format.
10893
10894         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10895         definition.  (tr_where, tr_freehook, tr_mallochook,
10896         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10897
10898 2014-02-11  David S. Miller  <davem@davemloft.net>
10899
10900         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10901         processing int_tests.
10902
10903 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10904
10905         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10906         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10907         * sysdeps/unix/sysv/linux/mips: Move directory from
10908         ports/sysdeps/unix/sysv/linux/mips.
10909         * README: Update listing for mips-*-linux-gnu and
10910         mips64-*-linux-gnu.
10911
10912 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10913
10914         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10915         * sysdeps/unix/sysv/linux/m68k: Move directory from
10916         ports/sysdeps/unix/sysv/linux/m68k.
10917         * README: Update listing for m68k-*-linux-gnu.
10918
10919 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10920
10921         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10922         * sysdeps/unix/sysv/linux/generic: Move directory from
10923         ports/sysdeps/unix/sysv/linux/generic.
10924         * sysdeps/unix/sysv/linux/tile: Move directory from
10925         ports/sysdeps/unix/sysv/linux/tile.
10926         * README: Update listing for tile*-*-linux-gnu.
10927
10928 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10929
10930         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10931         __builtin_expect.
10932         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10933         * catgets/open_catalog.c (__open_catalog): Likewise.
10934         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10935         * debug/confstr_chk.c: Likewise.
10936         * debug/fread_chk.c (__fread_chk): Likewise.
10937         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10938         * debug/getgroups_chk.c: Likewise.
10939         * debug/mbsnrtowcs_chk.c: Likewise.
10940         * debug/mbsrtowcs_chk.c: Likewise.
10941         * debug/mbstowcs_chk.c: Likewise.
10942         * debug/memcpy_chk.c: Likewise.
10943         * debug/memmove_chk.c: Likewise.
10944         * debug/mempcpy_chk.c: Likewise.
10945         * debug/memset_chk.c: Likewise.
10946         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10947         * debug/strcat_chk.c (__strcat_chk): Likewise.
10948         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10949         * debug/strncat_chk.c (__strncat_chk): Likewise.
10950         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10951         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10952         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10953         * debug/wcpncpy_chk.c: Likewise.
10954         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10955         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10956         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10957         * debug/wcsncpy_chk.c: Likewise.
10958         * debug/wcsnrtombs_chk.c: Likewise.
10959         * debug/wcsrtombs_chk.c: Likewise.
10960         * debug/wcstombs_chk.c: Likewise.
10961         * debug/wmemcpy_chk.c: Likewise.
10962         * debug/wmemmove_chk.c: Likewise.
10963         * debug/wmempcpy_chk.c: Likewise.
10964         * debug/wmemset_chk.c: Likewise.
10965         * dirent/scandirat.c (SCANDIRAT): Likewise.
10966         * dlfcn/dladdr1.c (dladdr1): Likewise.
10967         * dlfcn/dladdr.c (dladdr): Likewise.
10968         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10969         * dlfcn/dlerror.c (__dlerror): Likewise.
10970         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10971         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10972         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10973         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10974         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10975         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10976         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10977         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10978         Likewise.
10979         * elf/dl-conflict.c: Likewise.
10980         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10981         * elf/dl-dst.h: Likewise.
10982         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10983         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10984         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10985         * elf/dl-init.c (call_init, _dl_init): Likewise.
10986         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10987         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10988         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10989         Likewise.
10990         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10991         Likewise.
10992         * elf/dl-minimal.c (__libc_memalign): Likewise.
10993         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10994         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10995         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10996         * elf/dl-sym.c (do_sym): Likewise.
10997         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10998         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10999         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11000         * elf/dl-writev.h (_dl_writev): Likewise.
11001         * elf/ldconfig.c (search_dir): Likewise.
11002         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11003         (dl_main): Likewise.
11004         * elf/setup-vdso.h (setup_vdso): Likewise.
11005         * grp/compat-initgroups.c (compat_call): Likewise.
11006         * grp/fgetgrent.c (fgetgrent): Likewise.
11007         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11008         * grp/putgrent.c (putgrent): Likewise.
11009         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11010         Likewise.
11011         * hurd/hurdinit.c: Likewise.
11012         * iconvdata/8bit-gap.c (struct): Likewise.
11013         * iconvdata/ansi_x3.110.c : Likewise.
11014         * iconvdata/big5.c : Likewise.
11015         * iconvdata/big5hkscs.c : Likewise.
11016         * iconvdata/cp1255.c: Likewise.
11017         * iconvdata/cp1258.c : Likewise.
11018         * iconvdata/cp932.c : Likewise.
11019         * iconvdata/euc-cn.c: Likewise.
11020         * iconvdata/euc-jisx0213.c : Likewise.
11021         * iconvdata/euc-jp.c: Likewise.
11022         * iconvdata/euc-jp-ms.c : Likewise.
11023         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11024         * iconvdata/gb18030.c : Likewise.
11025         * iconvdata/gbbig5.c (const): Likewise.
11026         * iconvdata/gbgbk.c: Likewise.
11027         * iconvdata/gbk.c : Likewise.
11028         * iconvdata/ibm1364.c : Likewise.
11029         * iconvdata/ibm930.c : Likewise.
11030         * iconvdata/ibm932.c: Likewise.
11031         * iconvdata/ibm933.c : Likewise.
11032         * iconvdata/ibm935.c : Likewise.
11033         * iconvdata/ibm937.c : Likewise.
11034         * iconvdata/ibm939.c : Likewise.
11035         * iconvdata/ibm943.c: Likewise.
11036         * iconvdata/iso_11548-1.c: Likewise.
11037         * iconvdata/iso-2022-cn.c : Likewise.
11038         * iconvdata/iso-2022-cn-ext.c : Likewise.
11039         * iconvdata/iso-2022-jp-3.c: Likewise.
11040         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11041         * iconvdata/iso-2022-kr.c : Likewise.
11042         * iconvdata/iso646.c (gconv_end): Likewise.
11043         * iconvdata/iso_6937-2.c : Likewise.
11044         * iconvdata/iso_6937.c : Likewise.
11045         * iconvdata/iso8859-1.c: Likewise.
11046         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11047         * iconvdata/shift_jisx0213.c : Likewise.
11048         * iconvdata/sjis.c : Likewise.
11049         * iconvdata/t.61.c : Likewise.
11050         * iconvdata/tcvn5712-1.c : Likewise.
11051         * iconvdata/tscii.c: Likewise.
11052         * iconvdata/uhc.c : Likewise.
11053         * iconvdata/unicode.c (gconv_end): Likewise.
11054         * iconvdata/utf-16.c (gconv_end): Likewise.
11055         * iconvdata/utf-32.c (gconv_end): Likewise.
11056         * iconvdata/utf-7.c (base64): Likewise.
11057         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11058         * iconv/gconv_close.c (__gconv_close): Likewise.
11059         * iconv/gconv_open.c (__gconv_open): Likewise.
11060         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11061         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11062         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11063         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11064         (ucs4le_internal_loop_single): Likewise.
11065         * iconv/iconv.c (iconv): Likewise.
11066         * iconv/iconv_close.c: Likewise.
11067         * iconv/loop.c (SINGLE): Likewise.
11068         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11069         * include/atomic.h: Likewise.
11070         * inet/inet6_option.c (option_alloc): Likewise.
11071         * intl/bindtextdom.c (set_binding_values): Likewise.
11072         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11073         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11074         * intl/localealias.c (read_alias_file): Likewise.
11075         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11076         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11077         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11078         * libio/fmemopen.c (fmemopen): Likewise.
11079         * libio/iofgets.c (_IO_fgets): Likewise.
11080         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11081         * libio/iofgetws.c (fgetws): Likewise.
11082         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11083         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11084         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11085         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11086         * locale/findlocale.c (_nl_find_locale): Likewise.
11087         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11088         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11089         Likewise.
11090         * locale/setlocale.c (setlocale): Likewise.
11091         * login/programs/pt_chown.c (main): Likewise.
11092         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11093         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11094         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11095         (mmap, mmap64, mremap, munmap): Likewise.
11096         * math/e_exp2l.c: Likewise.
11097         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11098         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11099         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11100         * math/s_catan.c (__catan): Likewise.
11101         * math/s_catanf.c (__catanf): Likewise.
11102         * math/s_catanh.c (__catanh): Likewise.
11103         * math/s_catanhf.c (__catanhf): Likewise.
11104         * math/s_catanhl.c (__catanhl): Likewise.
11105         * math/s_catanl.c (__catanl): Likewise.
11106         * math/s_ccosh.c (__ccosh): Likewise.
11107         * math/s_ccoshf.c (__ccoshf): Likewise.
11108         * math/s_ccoshl.c (__ccoshl): Likewise.
11109         * math/s_cexp.c (__cexp): Likewise.
11110         * math/s_cexpf.c (__cexpf): Likewise.
11111         * math/s_cexpl.c (__cexpl): Likewise.
11112         * math/s_clog10.c (__clog10): Likewise.
11113         * math/s_clog10f.c (__clog10f): Likewise.
11114         * math/s_clog10l.c (__clog10l): Likewise.
11115         * math/s_clog.c (__clog): Likewise.
11116         * math/s_clogf.c (__clogf): Likewise.
11117         * math/s_clogl.c (__clogl): Likewise.
11118         * math/s_csin.c (__csin): Likewise.
11119         * math/s_csinf.c (__csinf): Likewise.
11120         * math/s_csinh.c (__csinh): Likewise.
11121         * math/s_csinhf.c (__csinhf): Likewise.
11122         * math/s_csinhl.c (__csinhl): Likewise.
11123         * math/s_csinl.c (__csinl): Likewise.
11124         * math/s_csqrt.c (__csqrt): Likewise.
11125         * math/s_csqrtf.c (__csqrtf): Likewise.
11126         * math/s_csqrtl.c (__csqrtl): Likewise.
11127         * math/s_ctan.c (__ctan): Likewise.
11128         * math/s_ctanf.c (__ctanf): Likewise.
11129         * math/s_ctanh.c (__ctanh): Likewise.
11130         * math/s_ctanhf.c (__ctanhf): Likewise.
11131         * math/s_ctanhl.c (__ctanhl): Likewise.
11132         * math/s_ctanl.c (__ctanl): Likewise.
11133         * math/w_pow.c: Likewise.
11134         * math/w_powf.c: Likewise.
11135         * math/w_powl.c: Likewise.
11136         * math/w_scalb.c (sysv_scalb): Likewise.
11137         * math/w_scalbf.c (sysv_scalbf): Likewise.
11138         * math/w_scalbl.c (sysv_scalbl): Likewise.
11139         * misc/error.c (error_tail): Likewise.
11140         * misc/pselect.c (__pselect): Likewise.
11141         * nis/nis_callback.c (__nis_create_callback): Likewise.
11142         * nis/nis_call.c (__nisfind_server): Likewise.
11143         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11144         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11145         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11146         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11147         * nis/nis_lookup.c (nis_lookup): Likewise.
11148         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11149         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11150         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11151         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11152         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11153         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11154         * nis/nss_compat/compat-initgroups.c (add_group)
11155         (internal_getgrent_r): Likewise.
11156         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11157         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11158         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11159         (internal_getspnam_r): Likewise.
11160         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11161         (_nss_nis_getaliasbyname_r): Likewise.
11162         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11163         (_nss_nis_getntohost_r): Likewise.
11164         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11165         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11166         (_nss_nis_getgrgid_r): Likewise.
11167         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11168         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11169         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11170         (_nss_nis_gethostbyname4_r): Likewise.
11171         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11172         (initgroups_netid): Likewise.
11173         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11174         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11175         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11176         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11177         (_nss_nis_getprotobynumber_r): Likewise.
11178         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11179         (_nss_nis_getsecretkey): Likewise.
11180         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11181         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11182         (_nss_nis_getpwuid_r): Likewise.
11183         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11184         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11185         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11186         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11187         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11188         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11189         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11190         Likewise.
11191         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11192         (_nss_nisplus_getntohost_r): Likewise.
11193         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11194         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11195         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11196         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11197         Likewise.
11198         * nis/nss_nisplus/nisplus-initgroups.c
11199         (_nss_nisplus_initgroups_dyn): Likewise.
11200         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11201         (_nss_nisplus_getnetbyaddr_r): Likewise.
11202         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11203         (_nss_nisplus_getprotobynumber_r): Likewise.
11204         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11205         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11206         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11207         Likewise.
11208         * nis/nss_nisplus/nisplus-service.c
11209         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11210         (_nss_nisplus_getservbyport_r): Likewise.
11211         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11212         (_nss_nisplus_getspnam_r): Likewise.
11213         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11214         Likewise.
11215         * nscd/aicache.c (addhstaiX): Likewise.
11216         * nscd/cache.c (cache_search, prune_cache): Likewise.
11217         * nscd/connections.c (register_traced_file, send_ro_fd)
11218         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11219         (main_loop_epoll): Likewise.
11220         * nscd/grpcache.c (addgrbyX): Likewise.
11221         * nscd/hstcache.c (addhstbyX): Likewise.
11222         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11223         * nscd/mem.c (gc, mempool_alloc): Likewise.
11224         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11225         (addinnetgrX): Likewise.
11226         * nscd/nscd-client.h (__nscd_acquire_maplock)
11227         (__nscd_drop_map_ref): Likewise.
11228         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11229         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11230         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11231         Likewise.
11232         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11233         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11234         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11235         (__nscd_get_map_ref): Likewise.
11236         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11237         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11238         Likewise.
11239         * nscd/pwdcache.c (addpwbyX): Likewise.
11240         * nscd/selinux.c (preserve_capabilities): Likewise.
11241         * nscd/servicescache.c (addservbyX): Likewise.
11242         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11243         * posix/fnmatch.c (fnmatch): Likewise.
11244         * posix/getopt.c (_getopt_internal_r): Likewise.
11245         * posix/glob.c (glob, glob_in_dir): Likewise.
11246         * posix/wordexp.c (exec_comm_child): Likewise.
11247         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11248         (getanswer_r, gaih_getanswer_slice): Likewise.
11249         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11250         * resolv/res_init.c: Likewise.
11251         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11252         * resolv/res_query.c (__libc_res_nquery): Likewise.
11253         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11254         Likewise.
11255         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11256         * stdio-common/perror.c (perror): Likewise.
11257         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11258         * stdio-common/tmpnam.c (tmpnam): Likewise.
11259         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11260         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11261         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11262         Likewise.
11263         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11264         * stdlib/putenv.c (putenv): Likewise.
11265         * stdlib/setenv.c (__add_to_environ): Likewise.
11266         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11267         * stdlib/strtol_l.c (INTERNAL): Likewise.
11268         * string/memmem.c (memmem): Likewise.
11269         * string/strerror.c (strerror): Likewise.
11270         * string/strnlen.c (__strnlen): Likewise.
11271         * string/test-memmem.c (simple_memmem): Likewise.
11272         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11273         * sunrpc/pm_getport.c (__get_socket): Likewise.
11274         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11275         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11276         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11277         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11278         Likewise.
11279         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11280         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11281         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11282         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11283         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11284         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11285         Likewise.
11286         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11287         Likewise.
11288         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11289         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11290         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11291         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11292         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11293         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11294         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11295         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11296         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11297         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11298         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11299         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11300         Likewise.
11301         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11302         Likewise.
11303         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11304         Likewise.
11305         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11306         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11307         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11308         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11309         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11310         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11311         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11312         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11313         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11314         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11315         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11316         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11317         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11318         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11319         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11320         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11321         Likewise.
11322         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11323         Likewise.
11324         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11325         Likewise.
11326         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11327         Likewise.
11328         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11329         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11330         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11331         Likewise.
11332         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11333         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11334         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11335         * sysdeps/posix/sleep.c: Likewise.
11336         * sysdeps/posix/tempname.c: Likewise.
11337         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11338         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11339         Likewise.
11340         * sysdeps/powerpc/powerpc32/dl-machine.h
11341         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11342         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11343         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11344         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11345         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11346         Likewise.
11347         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11348         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11349         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11350         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11351         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11352         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11353         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11354         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11355         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11356         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11357         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11358         (elf_machine_lazy_rel): Likewise.
11359         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11360         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11361         (elf_machine_lazy_rel): Likewise.
11362         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11363         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11364         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11365         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11366         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11367         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11368         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11369         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11370         Likewise.
11371         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11372         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11373         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11374         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11375         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11376         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11377         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11378         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11379         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11380         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11381         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11382         Likewise.
11383         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11384         (__posix_fallocate64_l64): Likewise.
11385         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11386         (posix_fallocate): Likewise.
11387         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11388         Likewise.
11389         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11390         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11391         (getifaddrs_internal): Likewise.
11392         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11393         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11394         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11395         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11396         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11397         (__posix_fallocate64_l64): Likewise.
11398         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11399         Likewise.
11400         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11401         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11402         (__get_clockfreq): Likewise.
11403         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11404         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11405         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11406         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11407         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11408         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11409         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11410         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11411         Likewise.
11412         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11413         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11414         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11415         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11416         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11417         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11418         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11419         Likewise.
11420         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11421         (posix_fallocate): Likewise.
11422         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11423         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11424         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11425         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11426         (elf_machine_rela, elf_machine_rela_relative)
11427         (elf_machine_lazy_rel): Likewise.
11428         * time/asctime.c (asctime_internal): Likewise.
11429         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11430         * time/tzset.c (__tzset_parse_tz): Likewise.
11431         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11432         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11433         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11434         * wcsmbs/wcsmbsload.h: Likewise.
11435
11436         [BZ #15894]
11437         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11438
11439         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11440         (arena_get2): Remove THREAD_STATS conditionals.
11441         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11442         (__malloc_stats, int): Likewise.
11443
11444 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11445
11446         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11447         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11448
11449         * manual/setjmp.texi: Fix typos/grammar errors.
11450
11451         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11452         Only return early when n is <= 0.  Delete unused return statement.
11453
11454         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11455         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11456         * debug/tst-longjmp_chk3.c: New file.
11457
11458         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11459         (test_main): Replace code with set_fortify_handler call.
11460         * debug/test-strcpy_chk.c: Likewise.
11461         * debug/tst-chk1.c: Likewise.
11462         * debug/tst-longjmp_chk.c: Likewise.
11463         * test-skeleton.c: Include fcntl.h & paths.h
11464         (set_fortify_handler): Define.
11465
11466         * debug/tst-longjmp_chk.c: Add header comment and include
11467         ../test-skeleton.c.
11468         (do_test): Mark static.
11469         (TEST_FUNCTION): Define.
11470
11471         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11472         (IP_PMTUDISC_INTERFACE): Likewise.
11473         (IP_MULTICAST_IF): Likewise.
11474         (IP_MULTICAST_TTL): Likewise.
11475         (IP_MULTICAST_LOOP): Likewise.
11476         (IP_ADD_MEMBERSHIP): Likewise.
11477         (IP_DROP_MEMBERSHIP): Likewise.
11478         (IP_UNBLOCK_SOURCE): Likewise.
11479         (IP_BLOCK_SOURCE): Likewise.
11480         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11481         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11482         (IP_MSFILTER): Likewise.
11483         (MCAST_JOIN_GROUP): Likewise.
11484         (MCAST_BLOCK_SOURCE): Likewise.
11485         (MCAST_UNBLOCK_SOURCE): Likewise.
11486         (MCAST_LEAVE_GROUP): Likewise.
11487         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11488         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11489         (MCAST_MSFILTER): Likewise.
11490         (IP_MULTICAST_ALL): Likewise.
11491         (IP_UNICAST_IF): Likewise.
11492
11493         * timezone/Makefile: Delete $(have-ksh) check.
11494         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11495         * timezone/tzselect.ksh: Add +x mode bits.
11496
11497         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11498         (ANON_INODE_FS_MAGIC): Likewise.
11499         (BDEVFS_MAGIC): Likewise.
11500         (BINFMTFS_MAGIC): Likewise.
11501         (BTRFS_TEST_MAGIC): Likewise.
11502         (CRAMFS_MAGIC_WEND): Likewise.
11503         (DEBUGFS_MAGIC): Likewise.
11504         (ECRYPTFS_SUPER_MAGIC): Likewise.
11505         (EXT3_SUPER_MAGIC): Likewise.
11506         (EXT4_SUPER_MAGIC): Likewise.
11507         (FUTEXFS_SUPER_MAGIC): Likewise.
11508         (HOSTFS_SUPER_MAGIC): Likewise.
11509         (HUGETLBFS_MAGIC): Likewise.
11510         (MINIX3_SUPER_MAGIC): Likewise.
11511         (MTD_INODE_FS_MAGIC): Likewise.
11512         (NILFS_SUPER_MAGIC): Likewise.
11513         (OPENPROM_SUPER_MAGIC): Likewise.
11514         (PIPEFS_MAGIC): Likewise.
11515         (PSTOREFS_MAGIC): Likewise.
11516         (QNX6_SUPER_MAGIC): Likewise.
11517         (RAMFS_MAGIC): Likewise.
11518         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11519         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11520         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11521         (SECURITYFS_MAGIC): Likewise.
11522         (SELINUX_MAGIC): Likewise.
11523         (SMACK_MAGIC): Likewise.
11524         (SOCKFS_MAGIC): Likewise.
11525         (SQUASHFS_MAGIC): Likewise.
11526         (STACK_END_MAGIC): Likewise.
11527         (TMPFS_MAGIC): Likewise.
11528         (USBDEVICE_SUPER_MAGIC): Likewise.
11529         (V9FS_MAGIC): Likewise.
11530         (XENFS_SUPER_MAGIC): Likewise.
11531         (CRAMFS_MAGIC): Fix typo in comment.
11532         (EXT2_SUPER_MAGIC): Update comment.
11533         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11534
11535 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11536
11537         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11538         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11539         * sysdeps/unix/sysv/linux/arm: Move directory from
11540         ports/sysdeps/unix/sysv/linux/arm.
11541         * README: Update listing for arm-*-linux-gnueabi.
11542
11543         * README: Remove mention of am33.
11544
11545 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11546
11547         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11548         than the comma operator, to avoid "rhs of comma has no effect"
11549         compiler warnings.
11550         (__sigfillset, __sigandset, __sigorset): Likewise.
11551         * include/signal.h (__sigemptyset): Likewise.
11552         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11553
11554 2014-02-07  Allan McRae  <allan@archlinux.org>
11555
11556         * version.h (RELEASE): Set to "development".
11557         (VERSION): Set to "2.19.90"
11558         * NEWS: Add 2.20 section.
11559
11560 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11561
11562         [BZ #16529]
11563         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11564
11565 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11566
11567         * manual/contrib.texi: Update entry for Carlos O'Donell,
11568         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11569
11570 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11571
11572         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11573
11574         * sysdeps/unix/sysv/linux/kernel-features.h
11575         [__LINUX_KERNEL_VERSION >= 0x020621]
11576         (__ASSUME_PROC_PID_TASK_COMM): Define.
11577
11578 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11579
11580         [BZ #16398]
11581         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11582         conversion when destination buffer does not have enough space.
11583         * libio/tst-ftell-partial-wide.c: New test case.
11584         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11585
11586         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11587         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11588         Leonard and Allan McRae.
11589
11590 2014-02-04  David S. Miller  <davem@davemloft.net>
11591
11592         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11593         32-bit.
11594
11595 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11596
11597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11598         New file
11599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11600         New file
11601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11602         New file.
11603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11604         New file.
11605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11606         New file.
11607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11608         New file.
11609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11610         New file.
11611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11612         New file.
11613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11614         New file.
11615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11616         New file.
11617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11618         New file.
11619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11620         New file.
11621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11622         New file.
11623
11624 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11625
11626         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11627         * shlib-versions: Likewise.
11628
11629 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11630             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11631
11632         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11633         (abilist-pattern): New variable, set to %-le.abilist.
11634
11635         * Makerules (abilist-pattern): New variable.
11636         (vpath): Use $(abilist-pattern) in place of %.abilist.
11637         (check-abi-% pattern rule): Likewise.
11638         (check-abi, update-abi): Likewise.
11639
11640 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11641
11642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11643
11644 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11645
11646         * manual/startup.texi: Add next, previous, and top entries for
11647         the `Program Arguments' and `Environment Variables' nodes.
11648
11649 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11650
11651         * manual/macros.texi: Add comments before MTASC-safety macros.
11652
11653         * manual/users.texi: Document MTASC-safety properties.
11654
11655         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11656         (pthread_getspecific, pthread_setspecific): Format with
11657         @deftypefun, and add @safety note.
11658         * manual/signal.texi: Move comments that analyze the above
11659         functions to their home place.
11660
11661 2014-02-03  Allan McRae  <allan@archlinux.org>
11662
11663         * po/sl.po: Update Slovenian translation from translation project.
11664
11665 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11666
11667         * manual/time.texi (timegm): Add missing blank after @c.
11668         Reported by Joseph Myers <joseph@codesourcery.com>.
11669
11670 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11671
11672         * manual/check-safety.sh: New.
11673         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11674
11675         * manual/terminal.texi: Document MTASC-safety properties.
11676
11677         * manual/filesys.texi: Document MTASC-safety properties.
11678
11679         * manual/errno.texi: Document MTASC-safety properties.
11680
11681         * manual/intro.texi: Document safety identifiers and
11682         conditionals.
11683
11684         * manual/string.texi (wcstok): Fix prototype.
11685         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11686
11687         * manual/time.texi: Document MTASC-safety properties.
11688
11689         * manual/string.texi: Document MTASC-safety properties.
11690
11691         * manual/threads.texi: Document MTASC-safety properties.
11692
11693         * manual/stdio.texi: Document MTASC-safety properties.
11694
11695         * manual/syslog.texi: Document MTASC-safety properties.
11696
11697         * manual/sysinfo.texi: Document MTASC-safety properties.
11698
11699         * manual/startup.texi: Document MTASC-safety properties.
11700
11701         * manual/socket.texi: Document MTASC-safety properties.
11702
11703         * manual/signal.texi: Document MTASC-safety properties.
11704
11705 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11706
11707         * manual/setjmp.texi: Document MTASC-safety properties.
11708
11709         * manual/search.texi: Document MTASC-safety properties.
11710
11711         * manual/resource.texi: Document MTASC-safety properties.
11712
11713         * manual/process.texi: Document MTASC-safety properties.
11714
11715         * manual/platform.texi: Document MTASC-safety properties.
11716
11717         * manual/pipe.texi: Document MTASC-safety properties.
11718
11719         * manual/pattern.texi: Document MTASC-safety properties.
11720
11721         * manual/message.texi: Document MTASC-safety properties.
11722
11723         [BZ #12751]
11724         * manual/memory.texi: Document MTASC-safety properties.
11725
11726         * manual/math.texi: Document MTASC-safety properties.
11727
11728         * manual/locale.texi: Document MTASC-safety properties.
11729
11730         * manual/llio.texi: Document MTASC-safety properties.
11731
11732         * manual/libdl.texi: New.
11733
11734         * manual/lang.texi: Document MTASC-safety properties.
11735
11736         * manual/job.texi: Document MTASC-safety properties.
11737
11738         * manual/getopt.texi: Document MTASC-safety properties.
11739
11740         * manual/ctype.texi: Document MTASC-safety properties.
11741
11742 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11743
11744         [BZ #16046]
11745         * csu/libc-tls.c (static_map): Remove variable.
11746         (__libc_setup_tls): Use main executable's link map for TLS data.
11747         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11748         casing for LM_ID_BASE and GL(dl_nns).
11749         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11750         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11751         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11752         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11753         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11754         member.
11755         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11756         l_phnum members.
11757
11758 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11759
11760         * manual/debug.texi: Document MTASC-safety properties.
11761
11762 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11763
11764         [BZ #16510]
11765         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11766         of __x86_64__ when disabling x87 inline functions.
11767
11768 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11769
11770         * manual/charset.texi: Document MTASC-safety properties.
11771
11772         * manual/crypt.texi: Document MTASC-safety properties.
11773
11774         * manual/conf.texi: Document MTASC-safety properties.
11775
11776         * manual/arith.texi: Document MTASC-safety properties.
11777
11778         * manual/argp.texi: Document MTASC-safety properties.
11779
11780         * manual/macros.texi: Introduce macros to document multi
11781         thread, asynchronous signal and asynchronous cancellation
11782         safety properties.
11783         * manual/intro.texi: Introduce the properties themselves.
11784
11785 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11786
11787         * sysdeps/sh/sh4/Makefile: New file.
11788
11789 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11790
11791         * math/gen-libm-test.pl ($srcdir): New variable.
11792         ($auto_input): Use it.
11793
11794 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11795
11796         [BZ #16506]
11797         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11798         access beyond array bounds when parsing netgroups file.
11799
11800         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11801         the old buffer before realloc.
11802
11803 2014-01-27  Allan McRae  <allan@archlinux.org>
11804
11805         * po/fr.po: Update French translation from translation project.
11806
11807 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11808
11809         * sysdeps/sh/libm-test-ulps: Regenerate.
11810
11811 2014-01-24  David S. Miller  <davem@davemloft.net>
11812
11813         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11814
11815 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11816
11817         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11818         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11819
11820 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11821
11822         [BZ #16474]
11823         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11824         string pointers after reallocation.
11825
11826 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11827
11828         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11829         __SH4A__ instead of __SH_FPU_ANY__.
11830
11831 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11832
11833         * sysdeps/sh/fpu_control.h: New file.
11834         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11835         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11836         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11837         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11838         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11839         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11840         * sysdeps/sh/sys/ucontext.h: Remove.
11841         * sysdeps/sh/sys: Remove directory.
11842
11843 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11844
11845         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11846         s390/sys/ucontext.h.
11847         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11848         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11849
11850 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11851
11852         [BZ #15605]
11853         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11854
11855 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11856
11857         [BZ#16431]
11858         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11859         Adjust the vDSO correctly for internal calls.
11860         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11861
11862 2014-01-20  Allan McRae  <allan@archlinux.org>
11863
11864         * po/ca.po: Update Catalan translation from translation project.
11865
11866 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11867
11868         * sysdeps/s390/sotruss-lib.c: New file.
11869
11870 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11871
11872         [BZ#16430]
11873         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11874         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11875         local calls issues by not having a PLT stub required for IFUNC calls.
11876         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11877
11878 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11879
11880         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11881         * math/test-fpucw-static.c: Likewise.
11882
11883 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11884
11885         [BZ #16453]
11886         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11887
11888 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11889
11890         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11891         implementation for powerpc.
11892
11893 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11894
11895         [BZ #14782]
11896         * sysdeps/posix/system.c (__libc_system): Do not enable
11897         asynchronous cancellation.
11898
11899 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11900
11901         [BZ #16427]
11902         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11903         handling only for numbers special also in the IEEE case.
11904
11905 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11906
11907         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11908
11909 2014-01-11  Allan McRae  <allan@archlinux.org>
11910
11911         * po/bg.po: Update Bulgarian translation from translation project.
11912
11913         * po/de.po: Update German translation from translation project.
11914
11915 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11916
11917         * sysdeps/generic/gcc-compat.h: New file.
11918
11919 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11920
11921         * benchtests/asin-inputs: Correct slow inputs.
11922         * benchtests/acos-inputs: Likewise.
11923
11924 2014-01-10  Allan McRae  <allan@archlinux.org>
11925
11926         * po:sv.po: Update Swedish translation from translation project.
11927
11928         * po/vi.po: Update Vietnamese translation from translation project.
11929
11930         * po/eo.po: Update Esperanto translation from translation project.
11931
11932         * po/cs.po: Update Czech translation from translation project.
11933
11934         * po/nl.po: Update Dutch translation from translation project.
11935
11936         * po/pl.po: Update Polish translation from translation project.
11937
11938         * po/ru.po: Update Russian translation from translation project.
11939
11940         * po/uk.po: Update Ukrainian translation from translation project.
11941
11942 2014-01-08  Brooks Moses  <bmoses@google.com>
11943
11944         * elf/dl-load.c: Fix comment typo.
11945
11946 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11947
11948         * po/header.pot: Rename to...
11949         * po/pot.header: ... this.
11950         * po/Makefile: Use pot.header.
11951
11952 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11953             Maxim Kuvyrkov  <maxim@kugelworks.com>
11954
11955         [BZ #16394]
11956         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11957         SRC and DEST against LEN.
11958
11959 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11960
11961         [BZ #16414]
11962         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11963         implementation.
11964         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11965
11966 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11967
11968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11969
11970 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11971
11972         [BZ #16408]
11973         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11974         for large positive arguments.
11975
11976 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11977
11978         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11979
11980         * math/auto-libm-test-in: Mark various tests with
11981         xfail-rounding:ldbl-128ibm.
11982         * math/auto-libm-test-out: Regenerated.
11983
11984         [BZ #16407]
11985         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11986         Increase overflow threshold.
11987
11988 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11989
11990         [BZ #14286]
11991         * stdio-common/vfprintf.c: Check for integer overflow.
11992
11993 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11994
11995         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11996         the first argument and return value of __tls_get_addr_internal.
11997
11998 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11999
12000         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12001         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12002
12003 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12004
12005         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12006         * sysdeps/s390/rtld-global-offsets.sym: New file.
12007         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12008         GLIBC_2.19 symbol.
12009         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12010         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12011         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12012         ... this.
12013         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12014         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12015         ... this.
12016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12017         Regenerate.
12018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12019         Regenerate.
12020         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12021         halfs of GPRs for high_gprs contexts.
12022         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12023         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12024         field.
12025         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12026         uc_flags field.
12027         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12028         64 bit versions:
12029         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12030         for high GPRs (uc_high_gprs) and for future extensions
12031         (__reserved).
12032         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12033         for future extensions (__reserved).
12034         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12035         64 bit versions:
12036         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12037         SC_HIGHGPRS offset definition.
12038         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12039         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12040
12041         * Versions.def: Add GLIBC_2.19 for libpthread.
12042         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12043         siglongjmp for libpthread with GLIBC_2.19 symver.
12044         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12045         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12046         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12047         * sysdeps/s390/__longjmp.c: New file.
12048         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12049         * sysdeps/s390/longjmp.c: New file.
12050         * sysdeps/s390/setjmp.S: New file.
12051         * sysdeps/s390/sigjmp.S: New file.
12052         * sysdeps/s390/v1-longjmp.c: New file.
12053         * sysdeps/s390/v1-setjmp.h: New file.
12054         * sysdeps/s390/v1-sigjmp.c: New file.
12055         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12056         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12057         GLIBC_2.19 version.
12058         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12059         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12060         versioned symbols for ____longjmp_chk.
12061         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12062         Likewise.
12063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12064         Regenerate.
12065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12066         Regenerate.
12067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12068         Regenerate.
12069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12070         Regenerate.
12071         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12072         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12073         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12074         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12075         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12076         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12077         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12078         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12079         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12080         * sysdeps/s390/rtld-__longjmp.c: New file.
12081         * sysdeps/s390/rtld-setjmp.S: New file.
12082
12083 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12084
12085         [BZ #16400]
12086         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12087         Return -__logl (x) for small positive arguments without evaluating
12088         a polynomial.
12089
12090 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12091
12092         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12093         Rename to ...
12094         (__ptrace_peeksiginfo_args): ... this.
12095         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12096         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12097         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12098
12099 2014-01-06  Allan McRae  <allan@archlinux.org>
12100
12101         * inet/netinet/in.h: Fix typo in comment.
12102
12103 2014-01-05  Andreas Jaeger  <aj@suse.de>
12104
12105         * sysdeps/i386/fpu/libm-test-ulps: Update.
12106
12107 2014-01-05  Allan McRae  <allan@archlinux.org>
12108
12109         * po/libc.pot: Regenerated.
12110
12111         * malloc/memusagestat.c: Fix gettext call formatting.
12112
12113 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12114
12115         * nscd/nscd.c: Improve usage() output.
12116
12117 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12118
12119         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12120         * sysdeps/unix/sysv/linux/configure: Regenerated.
12121         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12122         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12123
12124 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12125
12126         [BZ #16390]
12127         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12128         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12129
12130 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12131
12132         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12133         extra tokens at end of #undef directive.
12134         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12135         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12136         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12137
12138 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12139
12140         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12141
12142         * math/auto-libm-test-in: Mark various tests with
12143         xfail-rounding:ldbl-128ibm.
12144         * math/auto-libm-test-out: Regenerated.
12145
12146 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12147
12148         [BZ #16386]
12149         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12150         numbers with subnormal high part when calculating exponent.
12151
12152         [BZ #16385]
12153         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12154         fabs.
12155
12156         [BZ #16384]
12157         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12158         M_LN2l.
12159         (__ieee754_acoshl): Use __log1pl not __log1p.
12160
12161 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12162
12163         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12164         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12165         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12166         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12167         (reused_arena, arena_get2): Convert to GNU style.
12168         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12169         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12170         (memalign_check, __malloc_set_state): Likewise.
12171         * malloc/mallocbug.c (main): Likewise.
12172         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12173         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12174         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12175         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12176         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12177         (__posix_memalign, malloc_info): Likewise.
12178         * malloc/malloc.h: Likewise.
12179         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12180         (mallochook, memalignhook, reallochook, mabort): Likewise.
12181         * malloc/mcheck.h: Likewise.
12182         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12183         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12184         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12185         * malloc/morecore.c (__default_morecore): Likewise.
12186         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12187         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12188         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12189         (print_and_abort): Likewise.
12190         * malloc/obstack.h: Likewise.
12191         * malloc/set-freeres.c (__libc_freeres): Likewise.
12192         * malloc/tst-mallocstate.c (main): Likewise.
12193         * malloc/tst-mtrace.c (main): Likewise.
12194         * malloc/tst-realloc.c (do_test): Likewise.
12195
12196 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12197
12198         [BZ #16366]
12199         * nscd/netgroupcache.c (do_notfound): New function.
12200         (addgetnetgrentX): Use it.
12201
12202         [BZ # 16365]
12203         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12204         NSS_STATUS_NOTFOUND.
12205
12206 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12207
12208         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12210
12211 2014-01-01  Allan McRae  <allan@archlinux.org>
12212
12213         * scripts/update-copyrights: Update configure input file suffix.
12214
12215         * NEWS: Update copyright year.
12216         * catgets/gencat.c: Likewise.
12217         * csu/version.c: Likewise.
12218         * debug/catchsegv.sh: Likewise.
12219         * debug/pcprofiledump.c: Likewise.
12220         * debug/xtrace.sh: Likewise.
12221         * elf/ldconfig.c: Likewise.
12222         * elf/ldd.bash.in: Likewise.
12223         * elf/pldd.c: Likewise.
12224         * elf/sotruss.ksh: Likewise.
12225         * elf/sprof.c: Likewise.
12226         * iconv/iconv_prog.c: Likewise.
12227         * iconv/iconvconfig.c: Likewise.
12228         * locale/programs/locale.c: Likewise.
12229         * locale/programs/localedef.c: Likewise.
12230         * login/programs/pt_chown.c: Likewise.
12231         * malloc/memusage.sh: Likewise.
12232         * malloc/memusagestat.c: Likewise.
12233         * malloc/mtrace.pl: Likewise.
12234         * manual/libc.texinfo: Likewise.
12235         * nscd/nscd.c: Likewise.
12236         * nss/getent.c: Likewise.
12237         * nss/makedb.c: Likewise.
12238         * posix/getconf.c: Likewise.
12239         * scripts/test-installation.pl: Likewise.
12240
12241         * All files with FSF copyright notices: Update copyright dates
12242         using scripts/update-copyrights.
12243         * intl/plural.c: Regenerated.
12244         * locale/programs/charmap-kw.h: Likewise.
12245         * locale/programs/locfile-kw.h: Likewise.
12246
12247 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12248
12249         * sysdeps/unix/sysv/linux/configure: Regenerated.
12250         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12251         the linux/fanotify.h header.
12252         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12253         HAVE_LINUX_FANOTIFY_H is defined.
12254
12255 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12256
12257         * benchtests/cos-inputs: New inputs.
12258         * benchtests/sin-inputs: Likewise.
12259
12260         * benchtests/atan-inputs: New inputs. Fix name of multiple
12261         precision fallback inputs.
12262
12263         * benchtests/atanh-inputs: New inputs.
12264         * benchtests/tanh-inputs: Likewise.
12265
12266         * benchtests/acosh-inputs: New inputs.
12267         * benchtests/asinh-inputs: Likewise.
12268
12269         * benchtests/cosh-inputs: New inputs.
12270         * benchtests/sinh-inputs: Likewise.
12271
12272         * benchtests/acos-inputs: Add more inputs.
12273         * benchtests/asin-inputs: Likewise.
12274
12275 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12276
12277         [BZ #16375]
12278         * manual/arith.texi: Fix spelling.
12279         * manual/charset.texi: Likewise.
12280         * manual/errno.texi: Likewise.
12281         * manual/filesys.texi: Likewise.
12282         * manual/lang.texi: Likewise.
12283         * manual/llio.texi: Likewise.
12284         * manual/locale.texi: Likewise.
12285         * manual/message.texi: Likewise.
12286         * manual/resource.texi: Likewise.
12287         * manual/search.texi: Likewise.
12288         * manual/setjmp.texi: Likewise.
12289         * manual/stdio.texi: Likewise.
12290         * manual/string.texi: Likewise.
12291         * manual/sysinfo.texi: Likewise.
12292         * manual/time.texi: Likewise.
12293
12294 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12295
12296         * po/sl.po: New file.
12297
12298 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12299
12300         * .gitignore: Add core/.gdbinit/.gdb_history.
12301
12302 2013-12-27  Allan McRae  <allan@archlinux.org>
12303
12304         [BZ #16369]
12305         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12306         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12307
12308 2013-12-24  Brooks Moses  <bmoses@google.com>
12309
12310         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12311         all compilers that claim C++98 compliance, not just GCC.
12312         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12313         Likewise.
12314
12315 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12316
12317         * NEWS: Restore accidentally deleted bug-fix entries.
12318
12319 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12320             Ondřej Bílka  <neleai@seznam.cz>
12321
12322         [BZ #15073]
12323         * malloc/malloc.c (_int_free): Perform sanity check only if we
12324         have_lock.
12325
12326 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12327
12328         [BZ #12986]
12329         * manual/stdio.texi (String Input Conversions): Clarify that character
12330         classes are not supported.
12331
12332 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12333
12334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12335
12336 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12337
12338         [BZ #16337]
12339         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12340         Calculate results for small negative arguments directly rather
12341         than using reflection formula with special underflow handling.
12342
12343         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12344         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12345         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12346         (fchflags): Likewise.
12347         (revoke): Likewise.
12348         (setlogin): Likewise.
12349         (sigaltstack): Likewise.
12350         (wait4): Likewise.
12351         (sigblock): Remove.
12352         (sigsetmask): Likewise.
12353         (wait3): Likewise.
12354         (waitpid): Likewise.
12355         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12356         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12357         file.
12358         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12359         * sysdeps/unix/bsd/Makefile: ... here.
12360         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12361         * sysdeps/unix/bsd/Versions: ... here.
12362         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12363         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12364         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12365         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12366         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12367         * sysdeps/unix/bsd/sigblock.c: ... here.
12368         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12369         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12370         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12371         * sysdeps/unix/bsd/sigvec.c: ... here.
12372         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12373         * sysdeps/unix/bsd/tcdrain.c: ... here.
12374         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12375         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12376         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12377         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12378         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12379         * sysdeps/unix/bsd/wait.c: ... here.
12380         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12381         * sysdeps/unix/bsd/wait3.c: ... here.
12382         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12383         * sysdeps/unix/bsd/waitpid.c: ... here.
12384
12385 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12386
12387         [BZ #16356]
12388         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12389         round-to-nearest for [!USE_AS_EXPM1L].
12390         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12391         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12392         more tests of exp and exp10.  Expect some exp10 tests to miss
12393         exceptions or fail in directed rounding modes.
12394         * math/auto-libm-test-out: Regenerated.
12395         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12396         (exp10_test_tonearest): New function.
12397         (exp10_towardzero_test_data): New array.
12398         (exp10_test_towardzero): New function.
12399         (exp10_downward_test_data): New array.
12400         (exp10_test_downward): New function.
12401         (exp10_upward_test_data): New array.
12402         (exp10_test_upward): New function.
12403         (main): Call the new functions.
12404         * sysdeps/i386/fpu/libm-test-ulps: Update.
12405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12406
12407 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12408
12409         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12410         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12411         * math/auto-libm-test-out: Regenerated.
12412         * math/libm-test.inc (acosh_test_data): Add more tests.
12413         (atanh_test_data): Likewise.
12414         (ceil_test_data): Likewise.
12415         (copysign_test_data): Likewise.
12416         * sysdeps/i386/fpu/libm-test-ulps: Update.
12417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12418
12419         * timezone/checktab.awk: Update from tzcode 2013i.
12420         * timezone/private.h: Likewise.
12421         * timezone/scheck.c: Likewise.
12422         * timezone/tzfile.h: Likewise.
12423         * timezone/tzselect.ksh: Likewise.
12424         * timezone/zdump.c: Likewise.
12425         * timezone/zic.c: Likewise.
12426
12427         * math/auto-libm-test-in: Add tests of cpow.
12428         * math/auto-libm-test-out: Regenerated.
12429         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12430         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12431         mpc_cc_c.
12432         (func_calc_desc): Add mpc_cc_c union field.
12433         (test_functions): Add cpow.
12434         (special_fill_2pi): New function.
12435         (special_real_inputs): Add 2pi.
12436         (calc_generic_results): Handle mpc_cc_c.
12437         * sysdeps/i386/fpu/libm-test-ulps: Update.
12438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12439
12440         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12441         csqrt, ctan and ctanh.
12442         * math/auto-libm-test-out: Regenerated.
12443         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12444         (TEST_COND_x86): Likewise.
12445         (ccos_test_data): Use AUTO_TESTS_c_c.
12446         (ccosh_test_data): Likewise.
12447         (cexp_test_data): Likewise.
12448         (clog_test_data): Likewise.
12449         (csqrt_test_data): Likewise.
12450         (ctan_test_data): Likewise.
12451         (ctan_tonearest_test_data): Likewise.
12452         (ctan_towardzero_test_data): Likewise.
12453         (ctan_downward_test_data): Likewise.
12454         (ctan_upward_test_data): Likewise.
12455         (ctanh_test_data): Likewise.
12456         (ctanh_tonearest_test_data): Likewise.
12457         (ctanh_towardzero_test_data): Likewise.
12458         (ctanh_downward_test_data): Likewise.
12459         (ctanh_upward_test_data): Likewise.
12460         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12461         mpc_c_c.
12462         (func_calc_desc): Add mpc_c_c union field.
12463         (FUNC_mpc_c_c): New macro.
12464         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12465         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12466         ctanh.
12467         (special_fill_min_subnorm_p120): New function.
12468         (special_real_inputs): Add min_subnorm_p120.
12469         (calc_generic_results): Handle mpc_c_c.
12470         * sysdeps/i386/fpu/libm-test-ulps: Update.
12471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12472
12473 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12474
12475         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12476         (do_sin_slow): New functions.
12477         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12478         (cslow2, csloww1, csloww2): Use the new functions.
12479
12480         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12481         Use M to change sign of result instead of X.  Assume X is
12482         positive.
12483         (csloww1): Likewise.
12484         (__sin): Adjust.
12485         (__cos): Adjust.
12486
12487         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12488         arguments A and DA.
12489         (__sin): Adjust.
12490         (__cos): Likewise.
12491
12492         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12493         (__cos): Likewise.
12494         (sloww1): Don't adjust sign of DX.
12495         (csloww1): Likewise.
12496         (sloww2): Use X directly and don't adjust sign of DX.
12497         (csloww2): Likewise.
12498
12499 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12500
12501         * math/auto-libm-test-in: Add tests of cabs and carg.
12502         * math/auto-libm-test-out: Regenerated.
12503         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12504         (carg_test_data): Likewise.
12505         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12506         mpc_c_f.
12507         (func_calc_desc): Add mpc_c_f union field.
12508         (test_functions): Add cabs and carg.
12509         (calc_generic_results): Handle mpc_c_f.
12510
12511         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12512         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12513         as a macro and a compat symbol.
12514         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12515         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12516         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12517         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12518         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12519         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12520         not use .hidden.
12521         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12522         Likewise.
12523         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12524         Likewise.
12525         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12526         Likewise.
12527         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12528         Likewise.
12529         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12530         Likewise.
12531         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12532         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12533         from GLIBC_2.3.2.
12534
12535 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12536
12537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12538
12539 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12540
12541         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12542         trailing whitespace removed.
12543         * scripts/config.guess: Update to version 2013-11-29.
12544         * scripts/config.sub: Update to version 2013-10-01.
12545
12546         * math/auto-libm-test-in: Add tests of sincos.
12547         * math/auto-libm-test-out: Regenerated.
12548         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12549         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12550         mpfr_f_11.
12551         (func_calc_desc): Add mpfr_f_11 union field.
12552         (test_functions): Add sincos.
12553         (calc_generic_results): Handle mpfr_f_11.
12554         * sysdeps/i386/fpu/libm-test-ulps: Update.
12555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12556
12557 2013-12-19  Andreas Schwab  <schwab@suse.de>
12558
12559         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12560         CALL_MCOUNT.
12561         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12562         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12563         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12564
12565 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12566
12567         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12568         * sysdeps/i386/fpu/libm-test-ulps: Update.
12569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12570
12571         [BZ #16293]
12572         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12573         round-to-nearest mode when using frndint.
12574         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12575         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12576         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12577         Likewise.
12578         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12579         sinh test to fail.
12580         * math/auto-libm-test-out: Regenerated.
12581         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12582         (TEST_COND_x86): Likewise.
12583         (expm1_tonearest_test_data): New array.
12584         (expm1_test_tonearest): New function.
12585         (expm1_towardzero_test_data): New array.
12586         (expm1_test_towardzero): New function.
12587         (expm1_downward_test_data): New array.
12588         (expm1_test_downward): New function.
12589         (expm1_upward_test_data): New array.
12590         (expm1_test_upward): New function.
12591         (main): Run the new test functions.
12592         * sysdeps/i386/fpu/libm-test-ulps: Update.
12593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12594
12595         * include/features.h: Update comment documenting feature test
12596         macros.  Mention _DEFAULT_SOURCE in comment.
12597         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12598         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12599         _BSD_SOURCE and _SVID_SOURCE.
12600         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12601         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12602         !_SVID_SOURCE]: Likewise.
12603         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12604         (__USE_POSIX_IMPLICITLY): Define.
12605         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12606         (_POSIX_SOURCE): Undefine and redefine.
12607         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12608         (_POSIX_C_SOURCE): Likewise.
12609         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12610         (Feature Test Macros): Update documentation of default features.
12611
12612 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12613
12614         * benchtests/Makefile: Add bench-strtok.
12615         * benchtests/bench-strtok.c: New file: strtok benchtest.
12616
12617 2013-12-19  Allan McRae  <allan@archlinux.org>
12618
12619         * manual/install.texi: Suppress menu for plain text output.
12620         * INSTALL: Regenerated.
12621
12622 2013-12-18  Brooks Moses  <bmoses@google.com>
12623
12624         [BZ #15846]
12625         * misc/getauxval.c: Include errno.h.
12626         (__getauxval): Set errno to ENOENT if the requested type is not
12627         found.
12628         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12629         don't declare with __attribute_const__.
12630         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12631         * manual/startup.texi: Document that getauxval sets errno.
12632
12633 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12634
12635         * math/auto-libm-test-in: Add tests of jn and yn.
12636         * math/auto-libm-test-out: Regenerated.
12637         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12638         (yn_test_data): Likewise.
12639         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12640         mpfr_if_f.
12641         (func_calc_desc): Add mpfr_if_f union field.
12642         (FUNC_mpfr_if_f): New macro.
12643         (test_functions): Add jn and yn.
12644         (calc_generic_results): Assert type of second input for
12645         mpfr_ff_f.  Handle mpfr_if_f.
12646         (output_for_one_input_case): Disable all checking for arguments
12647         fitting floating-point types in case of an integer argument.
12648         * sysdeps/i386/fpu/libm-test-ulps: Update.
12649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12650
12651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12652         Don't expect fegetround reference in libm.so.
12653
12654 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12655
12656         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12657         $(config-cflags-nofma).
12658
12659 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12660
12661         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12662         * math/auto-libm-test-out: Regenerated.
12663
12664         [BZ #16338]
12665         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12666         to determine exponent and adjust argument to have exponent of -1.
12667         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12668         log2.
12669         * math/auto-libm-test-out: Regenerated.
12670         * sysdeps/i386/fpu/libm-test-ulps: Update.
12671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12672
12673 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12674
12675         * manual/probes.texi: Remove cases when per-thread arenas are
12676         disabled.
12677
12678 2013-12-18  Andreas Schwab  <schwab@suse.de>
12679
12680         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12681         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12682         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12683         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12684         * sysdeps/i386/i686/multiarch/Makefile: Update.
12685         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12686
12687 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12688
12689         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12690         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12691
12692 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12693
12694         [BZ #15968]
12695         Support TZ transition times < 00:00:00.
12696         This is needed for version-3 tz-format files; it supports time
12697         stamps past 2037 for America/Godthab (the only entry in the tz
12698         database for which this change is relevant).
12699         * manual/time.texi (TZ Variable): Document transition times
12700         from -167:59:59 through -00:00:01.
12701         * time/tzset.c (tz_rule): Time of day is now signed.
12702         (__tzset_parse_tz): Parse negative time of day.
12703
12704         Document TZ transition times >= 25:00:00.
12705         * manual/time.texi (TZ Variable): Document transition times from
12706         25:00:00 through 167:59:59.  These are already supported, and this
12707         support will help with version-3 tz-format files.
12708
12709         * manual/time.texi (TZ Variable): Modernize North America example
12710         to reflect current (i.e., 2007-and-later) daylight saving rules.
12711
12712         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12713
12714 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12715
12716         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12717         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12718         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12719         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12720         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12721         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12722         * sysdeps/unix/bsd/clock.c: Likewise.
12723         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12724         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12725         * sysdeps/unix/bsd/init-posix.c: Likewise.
12726         * sysdeps/unix/bsd/poll.c: Likewise.
12727         * sysdeps/unix/bsd/ptsname.c: Likewise.
12728         * sysdeps/unix/bsd/seekdir.c: Likewise.
12729         * sysdeps/unix/bsd/setegid.c: Likewise.
12730         * sysdeps/unix/bsd/seteuid.c: Likewise.
12731         * sysdeps/unix/bsd/setgid.c: Likewise.
12732         * sysdeps/unix/bsd/setrgid.c: Likewise.
12733         * sysdeps/unix/bsd/setruid.c: Likewise.
12734         * sysdeps/unix/bsd/setsid.c: Likewise.
12735         * sysdeps/unix/bsd/setuid.c: Likewise.
12736         * sysdeps/unix/bsd/sigaction.c: Likewise.
12737         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12738         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12739         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12740         * sysdeps/unix/bsd/telldir.c: Likewise.
12741         * sysdeps/unix/bsd/times.c: Likewise.
12742         * sysdeps/unix/bsd/usleep.c: Likewise.
12743
12744         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12745         ($(objpfx)libbsd-compat.a): Remove rule.
12746
12747         * include/features.h (__FAVOR_BSD): Do not define.
12748         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12749         features conflicting with POSIX.
12750         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12751         (_BSD_SOURCE): Remove description of not being a subset of other
12752         feature test macros.
12753         * manual/job.texi (getpgrp): Do not document BSD version.
12754         (getpgid): Do not document by reference to BSD getpgrp.
12755         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12756         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12757         * signal/signal.h [__FAVOR_BSD]: Likewise.
12758         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12759         instead of making contents conditional on [__FAVOR_BSD].
12760         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12761
12762 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12763
12764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12765
12766 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12767
12768         [BZ #16314]
12769         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12770         values below 2**-450, not 2**-500.
12771         * math/auto-libm-test-in: Don't allow spurious underflow from
12772         hypot.
12773         * math/auto-libm-test-out: Regenerated.
12774
12775         [BZ #16316]
12776         [BZ #16330]
12777         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12778         values of ha and hb and sort them after adjusting subnormal
12779         arguments.
12780         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12781         Likewise.
12782         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12783         values of ea and eb and sort them after adjusting subnormal
12784         arguments.
12785         * math/auto-libm-test-in: Do not expect some hypot tests of
12786         subnormals to fail.  Add more hypot tests.
12787         * math/auto-libm-test-out: Regenerated.
12788
12789 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12790
12791         [BZ #13304]
12792         * sysdeps/sh/s_fma.c: New file.
12793         * sysdeps/sh/s_fmaf.c: New file.
12794         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12795         version.
12796         * sysdeps/sh/Implies: Add sh/soft-fp.
12797
12798 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12799
12800         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12801         level of indirection to members `objname', `errstring', `malloced'.
12802         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12803         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12804         it as the __longjmp argument (just pass 1 instead).
12805         (_dl_catch_error): Initialize C with argument pointers and address of
12806         volatile local ERRCODE rather than copying values out of C at return.
12807
12808 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12809
12810         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12811         * math/auto-libm-test-out: Regenerated.
12812         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12813         (hypot_test_data): Likewise.
12814         (pow_test_data): Likewise.
12815         (pow_tonearest_test_data): Likewise.
12816         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12817         mpfr_ff_f.
12818         (func_calc_desc): Add mpfr_ff_f union field.
12819         (FUNC_mpfr_ff_f): New macro.
12820         (test_functions): Add atan2, hypot and pow.
12821         (special_fill_min): New function.
12822         (special_fill_minus_min): Likewise.
12823         (special_fill_min_subnorm): Likewise.
12824         (special_fill_minus_min_subnorm): Likewise.
12825         (special_real_inputs): Add min, -min, min_subnorm and
12826         -min_subnorm.
12827         (calc_generic_results): Handle mpfr_ff_f.
12828         * sysdeps/i386/fpu/libm-test-ulps: Update.
12829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12830
12831 2013-12-16  Will Newton  <will.newton@linaro.org>
12832
12833         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12834         (Aligned Memory Blocks): Add documentation for aligned_alloc
12835         and suggest it as an alternative to posix_memalign.
12836         (Hooks for Malloc): Document __memalign_hook is also called
12837         for aligned_alloc.  (Summary of Malloc): Add summary for
12838         aligned alloc.  Document __memalign_hook is also called
12839         for aligned_alloc.
12840
12841 2013-12-16  Will Newton  <will.newton@linaro.org>
12842
12843         * manual/memory.texi (Malloc Examples): Clarify default
12844         alignment documentation.  Suggest posix_memalign rather
12845         than memalign or valloc.
12846         (Aligned Memory Blocks): Remove suggestion to use memalign
12847         or valloc.  Remove obsolete comment about BSD.
12848         Document memalign errno values and mark the function obsolete.
12849         Document posix_memalign returned error codes.  Mark valloc
12850         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12851         called for posix_memalign and valloc.
12852         (Summary of Malloc): Add posix_memalign to function summary.
12853         __memalign_hook is also called for posix_memalign and valloc.
12854
12855 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12856
12857         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12858         TAYLOR_SIN.
12859         (__sin): Adjust.
12860         (__cos): Likewise.
12861         (sloww): Use mynumber union.  Expand ternary operator into
12862         if-else statements.
12863         (cslow): use mynumber union.
12864
12865 2013-12-16  Allan McRae  <allan@archlinux.org>
12866
12867         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12868         * configure: Regenerated.
12869
12870         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12871
12872         [BZ #14120]
12873         * configure.ac: Added --enable-maintainer-mode. Check for
12874         autoconf when enabled.
12875         * configure: Regenerated.
12876
12877         * nscd/nscd.service: New file.
12878         * nscd/nscd.tmpfiles: New file.
12879
12880 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12881
12882         [BZ #12100]
12883         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12884         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12885         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12886         (strstr): Add __strstr_sse2_unaligned ifunc.
12887         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12888         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12889         (strcasestr): Remove __strcasestr_sse42 ifunc.
12890         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12891         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12892         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12893
12894 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12895
12896         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12897         * sysdeps/sh/bits/fenv.h: ... here.
12898         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12899
12900 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12901
12902         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12903
12904         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12905         hypotf multiarch implementations.
12906         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12907         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12908         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12909         multiarch hypot for PPC64.
12910         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12911         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12912         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12913         multiarch hypotf for PPC64.
12914
12915         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12916         modff multiarch implementations.
12917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12920         multiarch modf for PPC64.
12921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12924         multiarch modff for PPC64.
12925
12926         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12927         and logl multiarch implementations.
12928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12931         multiarch logb for PPC64.
12932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12935         multiarch logb for PPC64.
12936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12939         multiarch logb for PPC64.
12940
12941         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12942         isinff multiarch implementation.
12943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12944         file.
12945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12947         multiarch isinf for PPC64.
12948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12949         file.
12950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12951         multiarch isinff for PPC64.
12952
12953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12954         finitef multiarch implementation.
12955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12956         file.
12957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12959         multiarch finite for PPC64.
12960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12961         file.
12962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12963         multiarch finitef for PPC64.
12964
12965         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12966         lrint multiarch implementation.
12967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12968         file.
12969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12971         multiarch llrint for PPC64.
12972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12973         multiarch lrint for PPC64.
12974
12975         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12976         copysignf multiarch implementation.
12977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12978         file.
12979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12980         file.
12981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12982         multiarch copysign for PPC64.
12983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12984         multiarch copysignf for PPC64.
12985
12986         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12987         multiarch implementation.
12988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12989         file.
12990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12991         file.
12992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12993         file.
12994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12995         file.
12996         multiarch llround for PPC64.
12997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12998         multiarch trunc for PPC64.
12999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13000         multiarch truncf for PPC64.
13001
13002         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13003         multiarch implementation.
13004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13005         file.
13006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13007         file.
13008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13009         file.
13010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13011         file.
13012         multiarch llround for PPC64.
13013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13014         multiarch round for PPC64.
13015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13016         multiarch roundf for PPC64.
13017
13018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13019         multiarch implementation.
13020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13021         file.
13022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13023         file.
13024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13025         file.
13026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13027         file.
13028         multiarch llround for PPC64.
13029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13030         multiarch floor for PPC64.
13031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13032         multiarch floorf for PPC64.
13033
13034         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13035         multiarch implementation.
13036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13037         file.
13038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13039         file.
13040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13041         file.
13042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13043         file.
13044         multiarch llround for PPC64.
13045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13046         multiarch ceil for PPC64.
13047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13048         multiarch ceilf for PPC64.
13049
13050         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13051         multiarch implementation.
13052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13053         file.
13054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13055         file.
13056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13057         file.
13058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13059         multiarch llround for PPC64.
13060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13061         multiarch lround for PPC64.
13062
13063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13064         multiarch implementation.
13065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13068         file.
13069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13072         multiarch isnan for PPC64.
13073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13074         multiarch isnanf for PPC64.
13075
13076         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13077         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13078         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13079         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13080         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13082
13083         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13084         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13085         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13086         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13087
13088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13089         multiarch implementations.
13090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13091         (__libc_ifunc_impl_list): Likewise.
13092         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13093         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13094         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13095         multiarch stpcpy for PPC64.
13096
13097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13098         multiarch implementations.
13099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13100         (__libc_ifunc_impl_list): Likewise.
13101         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13102         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13103         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13104         multiarch strcpy for PPC64.
13105
13106         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13107         redefine function name.
13108         (_wordcopy_fwd_dest_aligned): Likewise.
13109         (_wordcopy_bwd_aligned): Likewise.
13110         (_wordcopy_bwd_dest_aligned): Likewise.
13111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13112         multiarch implementations.
13113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13114         (__libc_ifunc_impl_list): Likewise.
13115         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13116         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13117         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13118         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13119         multiarch wcscpy for PPC64.
13120
13121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13122         multiarch implementations.
13123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13124         (__libc_ifunc_impl_list): Likewise.
13125         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13126         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13127         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13128         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13129         multiarch wcscpy for PPC64.
13130
13131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13132         multiarch implementations.
13133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13134         (__libc_ifunc_impl_list): Likewise.
13135         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13136         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13137         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13138         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13139         multiarch wcsrchr for PPC64.
13140
13141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13142         multiarch implementations.
13143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13144         (__libc_ifunc_impl_list): Likewise.
13145         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13146         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13147         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13148         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13149         multiarch wcschr for PPC64.
13150
13151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13152         multiarch implementations.
13153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13154         (__libc_ifunc_impl_list): Likewise.
13155         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13156         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13157         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13158         multiarch strchrnul for PPC64.
13159
13160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13161         implementations.
13162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13163         (__libc_ifunc_impl_list): Likewise.
13164         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13165         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13166         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13167         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13168         strchr for PPC64.
13169
13170         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13171         implementations.
13172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13173         (__libc_ifunc_impl_list): Likewise.
13174         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13175         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13176         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13177         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13178         strncmp for PPC64.
13179
13180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13181         multiarch implementations.
13182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13183         (__libc_ifunc_impl_list): Likewise.
13184         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13185         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13186         strncasecmp for PPC64.
13187         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13188         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13189         multiarch strncasecmp_l for PPC64.
13190
13191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13192         multiarch implementations.
13193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13194         (__libc_ifunc_impl_list): Likewise.
13195         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13196         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13197         multiarch strcasecmp for PPC64.
13198         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13199         file.
13200         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13201         multiarch strcasecmp_l for PPC64.
13202
13203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13204         implementations.
13205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13206         (__libc_ifunc_impl_list): Likewise.
13207         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13208         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13209         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13210         strnlen for PPC64.
13211
13212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13213         implementations.
13214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13215         (__libc_ifunc_impl_list): Likewise.
13216         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13217         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13218         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13219         strlen for PPC64.
13220
13221         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13222         implementations.
13223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13224         (__libc_ifunc_impl_list): Likewise.
13225         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13226         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13227         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13228         rawmemrchr for PPC64.
13229
13230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13231         implementation.
13232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13233         (__libc_ifunc_impl_list): Likewise.
13234         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13235         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13236         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13237         memrchr for PPC64.
13238
13239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13240         implementation.
13241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13242         (__libc_ifunc_impl_list): Likewise.
13243         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13244         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13245         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13246         memchr for PPC64.
13247
13248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13249         implementation.
13250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13251         (__libc_ifunc_impl_list): Likewise.
13252         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13253         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13254         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13255         mempcpy for PPC64.
13256
13257         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13258         avoid cretion of __bzero symbol.
13259         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13260         Likewise.
13261         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13262         Likewise.
13263         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13264         Likewise.
13265         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13266         multiarch implementations.
13267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13268         (__libc_ifunc_impl_list): Likewise.
13269         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13270         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13271         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13272         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13273         bzero for PPC32.
13274         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13275         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13276         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13277         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13278         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13279         memset for PPC64.
13280         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13281
13282         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13284         implementations.
13285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13286         (__libc_ifunc_impl_list): Likewise.
13287         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13288         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13289         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13290         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13291         memcmp for PPC64.
13292
13293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13294         multiarch for POWER/PPC64.
13295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13296         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13297         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13298         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13299         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13300         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13301         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13302         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13303         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13304         memcpy for PPC64.
13305
13306         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13307         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13308         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13309         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13310         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13311         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13312         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13313         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13314         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13315         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13316         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13317         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13318         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13319         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13320         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13328
13329 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13330
13331         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13332
13333 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13334
13335         * benchtests/Makefile (bench): Add exp2 and log2.
13336         (LDLIBS-bench-exp2): Add -lm.
13337         (LDLIBS-bench-log2): Likewise.
13338         * benchtests/exp2-inputs: New inputs file.
13339         * benchtests/log2-inputs: New inputs file.
13340         * benchtests/log-inputs: Add new inputs.
13341         * benchtests/tan-inputs: Likewise.
13342
13343 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13344
13345         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13346         definition...
13347         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13348         (csloww2): ... from here.
13349
13350         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13351         instead of structures.
13352         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13353         (POLYNOMIAL): Likewise.
13354         (TAYLOR_SLOW): Likewise.
13355         (__sin): Likewise.
13356         (__cos): Likewise.
13357         (slow1): Likewise.
13358         (slow2): Likewise.
13359         (sloww): Likewise.
13360         (sloww1); Likewise.
13361         (sloww2): Likewise.
13362         (bsloww1): Likewise.
13363         (bsloww2): Likewise.
13364         (cslow2): Likewise.
13365         (csloww): Likewise.
13366         (csloww1): Likewise.
13367         (csloww2): Likewise.
13368
13369 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13370
13371         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13372         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13373         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13374         * malloc/hooks.c (realloc_check): Likewise.
13375
13376         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13377         * malloc/arena.c: Remove PER_THREAD conditional.
13378         [!PER_THREAD]: Remove code.
13379         (ptmalloc_unlock_all2): Likewise.
13380         (ptmalloc_init): Likewise.
13381         (_int_new_arena): Likewise.
13382         (arena_get2): Likewise.
13383         * malloc/hooks.c (__malloc_get_state): Likewise.
13384         (__malloc_set_state): Likewise.
13385         * malloc/malloc.c: Likewise.
13386         (struct malloc_state): Likewise.
13387         (struct malloc_par): Likewise.
13388         (__libc_realloc): Likewise.
13389         (__libc_mallopt): Likewise.
13390
13391 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13392
13393         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13394
13395 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13396
13397         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13398         macro to a function.  Check for zero perturb_byte.
13399         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13400
13401         * malloc/malloc.c: (force_reg): Remove.
13402         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13403         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13404         force_reg by atomic_forced_read.
13405         * malloc/arena.c (ptmalloc_init): Likewise.
13406         * malloc/hooks.c (top_check): Likewise.
13407
13408 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13409
13410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13411
13412 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13413
13414         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13415
13416 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13417
13418         * math/auto-libm-test-in: Add tests of lgamma.
13419         * math/auto-libm-test-out: Regenerated.
13420         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13421         (M_LOG_2_SQRT_PIl): Likewise.
13422         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13423         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13424         mpfr_f_f1.
13425         (func_calc_desc): Add mpfr_f_f1 union field.
13426         (ARGS1): New macro.
13427         (ARGS2): Likewise.
13428         (ARGS3): Likewise.
13429         (ARGS4): Likewise.
13430         (RET1): Likewise.
13431         (RET2): Likewise.
13432         (CALC): Likewise.
13433         (FUNC): Likewise.
13434         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13435         (test_functions): Add lgamma.
13436         (calc_generic_results): Handle mpfr_f_f1.
13437         * sysdeps/i386/fpu/libm-test-ulps: Update.
13438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13439
13440 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13441
13442         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13443         __mpn_add_n for PowerPC64/POWER7.
13444         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13445         __mpn_sub_n for PowerPC64/POWER7.
13446
13447         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13448         __mpn_addmul_1 for PowerPC64.
13449         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13450         __mpn_submul_1 for PowerPC64.
13451         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13452         for PowerPC64.
13453         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13454         for PowerPC64.
13455
13456 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13457
13458         [BZ #15089]
13459         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13460
13461 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13462
13463         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13464
13465         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13466         add multiarch folders.
13467         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13468         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13469         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13470         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13471         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13472         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13473         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13474         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13475         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13476         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13477         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13484
13485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13486         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13488         New file.
13489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13490         New file.
13491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13492         multiarch __ieee754_hypot for PowerPC32.
13493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13494         New file.
13495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13496         New file.
13497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13498         multiarch __ieee754_hypotf for PowerPC32.
13499
13500         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13501         long_double_symbol only if __logbl is defined.
13502         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13503         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13504         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13505         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13506         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13507         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13508         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13509         path for implementation.
13510         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13511         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13513         logb, and logbl multiarch implementations for PowerPC32.
13514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13515         file.
13516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13517         file.
13518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13519         multiarch logb for PowerPC32.
13520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13521         file.
13522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13523         file.
13524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13525         multiarch logbf for PowerPC32.
13526         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13528         file.
13529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13530         multiarch logbl implementation for PowerPC32.
13531
13532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13533         and modff multiarch implementations.
13534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13535         New file.
13536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13537         New file.
13538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13539         multiarch modf for PowerPC32.
13540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13541         New file.
13542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13543         New file.
13544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13545         multiarch modff for PowerPC32.
13546
13547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13548         and lrintf multiarch implementations.
13549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13550         New file.
13551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13552         New file.
13553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13554         multiarch lrint for PowerPC32.
13555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13556         file: multiarch lrintf for PowerPC32.
13557
13558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13559         and lroundf multiarch implementations.
13560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13561         New file.
13562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13563         New file.
13564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13565         New file.
13566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13567         multiarch lround for PowerPC32.
13568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13569         file: multiarch lroundf for PowerPC32.
13570
13571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13572         copysign and copysignf multiarch implementations.
13573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13574         New file.
13575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13576         New file.
13577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13578         file: multiarch copysign for PowerPC32.
13579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13580         file: multiarch copysignf for PowerPC32.
13581
13582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13583         and truncf multiarch implementations.
13584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13585         New file.
13586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13587         file.
13588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13589         multiarch trunc for PowerPC32.
13590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13591         New file.
13592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13593         New file.
13594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13595         multiarch truncf for PowerPC32.
13596
13597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13598         and roundf multiarch implementations.
13599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13600         New file.
13601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13602         file.
13603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13604         multiarch round for PowerPC32.
13605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13606         New file.
13607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13608         New file.
13609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13610         multiarch roundf for PowerPC32.
13611
13612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13613         and floorf multiarch implementations.
13614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13615         New file.
13616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13617         file.
13618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13619         multiarch floor for PowerPC32.
13620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13621         New file.
13622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13623         New file.
13624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13625         multiarch floorf for PowerPC32.
13626
13627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13628         and ceilf multiarch implementations.
13629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13630         New file.
13631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13632         file.
13633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13634         multiarch ceil for PowerPC32.
13635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13636         New file.
13637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13638         file.
13639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13640         multiarch ceilf for PowerPC32.
13641
13642         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13643         is defined.
13644         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13645         FINITEF is defined.
13646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13647         and finitef multiarch implementations.
13648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13649         New file.
13650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13651         file.
13652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13653         multiarch finite for PowerPC32.
13654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13655         New file.
13656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13657         file: multiarch finitef for PowerPC32.
13658
13659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13660         and isinff multiarch implementations.
13661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13662         file.
13663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13664         file.
13665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13666         multiarch isinf for PowerPC32.
13667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13668         New file.
13669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13670         multiarch isinff for PowerPC32.
13671
13672         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13673         alias when __isnan is defined.
13674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13675         and isnanf multiarch implementations.
13676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13677         file.
13678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13679         file.
13680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13681         file.
13682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13683         file.
13684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13685         multiarch isnan for PowerPC32.
13686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13687         New file.
13688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13689         New file.
13690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13691         multiarch isnanf for PowerPC32.
13692
13693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13694         and sqrtf multiarch implementations.
13695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13696         file.
13697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13698         file.
13699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13700         multiarch sqrt for PowerPC32.
13701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13702         file.
13703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13704         file.
13705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13706         multiarch sqrtf for PowerPC32.
13707
13708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13709         and llroundf multiarch implementations.
13710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13711         New file.
13712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13713         New file.
13714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13715         New file.
13716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13717         file: multiarch llround for PowerPC32.
13718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13719         file: multiarch llroundf for PowerPC32.
13720
13721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13722         multiarch PowerPC32 fpu implementations.
13723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13724         New file.
13725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13726         New file.
13727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13728         multiarch llrint for PowerPC32.
13729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13730         New file.
13731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13732         New file.
13733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13734         file.
13735
13736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13737
13738         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13739         file.
13740         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13741         file.
13742         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13743         file.
13744         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13745         multiarch wordcopy for PPC32.
13746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13747         wordcopy objects.
13748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13749         (__libc_ifunc_impl_list): Likewise.
13750         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13751         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13752         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13753         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13754         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13755         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13756
13757         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13758         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13759         file.
13760         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13761         file.
13762         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13763         file.
13764         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13765         multiarch wcscpy for PPC32.
13766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13767         multiarch objects.
13768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13769         (__libc_ifunc_impl_list): Likewise.
13770         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13771         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13772         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13773         sysdeps/powerpc/power6/wcscpy.c.
13774
13775         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13777         file.
13778         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13779         file.
13780         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13781         file.
13782         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13783         multiarch wcsrchr for PPC32.
13784         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13785         multiarch objects.
13786         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13787         (__libc_ifunc_impl_list): Likewise.
13788         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13789         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13790         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13791         sysdeps/powerpc/power6/wcsrchr.c.
13792
13793         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13794         file.
13795         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13796         file.
13797         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13798         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13799         multiarch wcschr for PPc32.
13800         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13801         multiarch objects.
13802         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13803         (__libc_ifunc_impl_list): Likewise.
13804         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13805         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13806         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13807         sysdeps/powerpc/power6/wcschr.c.
13808
13809         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13810         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13811         file.
13812         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13813         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13814         file: multiarch strchr for PPC32.
13815         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13816         multiarch objects.
13817         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13818         (__libc_ifunc_impl_list): Likewise.
13819
13820         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13821         name.
13822         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13823         file.
13824         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13825         file.
13826         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13827         multiarch strchrnul for PPC32.
13828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13829         multiarch objects.
13830         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13831         (__libc_ifunc_impl_list): Likewise.
13832
13833         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13834         file.
13835         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13836         multiarch strncasecmp for PPC32.
13837         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13838         file.
13839         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13840         multiarch strncasecmp_l for PPC32.
13841         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13842         strncasecmp multiarch objects.
13843         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13844         (__libc_ifunc_impl_list): Likewise.
13845
13846         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13847         file.
13848         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13849         multiarch strncasecmp for PPC32.
13850         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13851         New file.
13852         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13853         multiarch strcasecmp_l for PPC32.
13854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13855         multiarch objects.
13856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13857         (__libc_ifunc_impl_list): Likewise.
13858
13859         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13860         file.
13861         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13862         file.
13863         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13864         multiarch strncmp for PPC32.
13865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13866         multiarch objects.
13867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13868         (__libc_ifunc_impl_list): Likewise.
13869
13870         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13871         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13872         file.
13873         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13874         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13875         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13876         multiarch objects.
13877         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13878         (__libc_ifunc_impl_list): Likewise.
13879
13880         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13881         file.
13882         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13883         file.
13884         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13885         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13886         multiarch objects.
13887         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13888         (__libc_ifunc_impl_list): Likewise.
13889
13890         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13891         file.
13892         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13893         file.
13894         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13895         multiarch rawmemchr for PPC32.
13896         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13897         multiarch objects.
13898         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13899         (__libc_ifunc_impl_list): Likewise.
13900
13901         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13902         file.
13903         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13904         file.
13905         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13906         file: memrchr multiarch for PPC32.
13907         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13908         multiarch objects.
13909         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13910         (__libc_ifunc_impl_list): Likewise.
13911
13912         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13913         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13914         file.
13915         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13916         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13917         multiarch memchr for PPC32.
13918         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13919         multiarch objects.
13920         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13921         (__libc_ifunc_impl_list): Likewise.
13922
13923         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13924         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13925         file.
13926         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13927         file.
13928         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13929         file: multiarch mempcpy for PPC32.
13930         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13931         multiarch objects.
13932         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13933         (__libc_ifunc_impl_list): Likewise.
13934
13935         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13936         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13937         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13938         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13939         multiarch bzero for PPC32.
13940         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13941         file.
13942         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13943         file.
13944         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13945         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13946         file: multiarch memset for PPC32.
13947         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13948         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13949         memset multiarch objects.
13950         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13951         (__libc_ifunc_impl_list): Likewise.
13952
13953         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13954         file.
13955         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13956         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13957         memcmp for PPC32.
13958         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13959         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13960         multiarch objects.
13961         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13962         (__libc_ifunc_impl_list): Likewise.
13963
13964         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13965         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13966         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13967         file.
13968         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13969         file.
13970         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13971         file.
13972         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13973         multiarch memcpy for PPC32.
13974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13975         multiarch objects.
13976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13977         (__libc_ifunc_impl_list): Likewise.
13978
13979         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13980         support multiarch for POWER/PPC32.
13981         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13982         Likewise.
13983         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13985         Implies file to make multiarch folder appers before the fpu and
13986         default folder for power4 configuration.
13987
13988 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13989
13990         * scripts/bench.pl: Append volatile keyword to type.
13991
13992 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13993
13994         * sysdeps/sh/sotruss-lib.c: New file.
13995         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13996
13997 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13998
13999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14000
14001 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14002
14003         [BZ #6810]
14004         * math/w_tgamma.c: Include <errno.h>.
14005         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14006         * math/w_tgammaf.c: Include <errno.h>.
14007         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14008         * math/w_tgammal.c: Include <errno.h>.
14009         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14010         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14011         underflow.  Add more tgamma tests.
14012         * math/auto-libm-test-out: Regenerated.
14013         * sysdeps/i386/fpu/libm-test-ulps: Update.
14014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14015
14016         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14017         sin, sinh, tan, tanh, tgamma, y0 and y1.
14018         * math/auto-libm-test-out: Regenerated.
14019         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14020         (TEST_COND_x86): Likewise.
14021         (M_E2l): Remove macro.
14022         (M_E3l): Likewise.
14023         (M_2_SQRT_PIl): Likewise.
14024         (M_SQRT_PIl): Likewise.
14025         (M_1_DIV_El): Likewise.
14026         (log_test_data): Use AUTO_TESTS_f_f.
14027         (log10_test_data): Likewise.
14028         (log1p_test_data): Likewise.
14029         (log2_test_data): Likewise.
14030         (sin_test_data): Likewise.
14031         (sin_tonearest_test_data): Likewise.
14032         (sin_towardzero_test_data): Likewise.
14033         (sin_downward_test_data): Likewise.
14034         (sin_upward_test_data): Likewise.
14035         (sinh_test_data): Likewise.
14036         (sinh_tonearest_test_data): Likewise.
14037         (sinh_towardzero_test_data): Likewise.
14038         (sinh_downward_test_data): Likewise.
14039         (sinh_upward_test_data): Likewise.
14040         (tan_test_data): Likewise.
14041         (tan_tonearest_test_data): Likewise.
14042         (tan_towardzero_test_data): Likewise.
14043         (tan_downward_test_data): Likewise.
14044         (tan_upward_test_data): Likewise.
14045         (tanh_test_data): Likewise.
14046         (tgamma_test_data): Likewise.
14047         (y0_test_data): Likewise.
14048         (y1_test_data): Likewise.
14049         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14050         (special_real_inputs): Add pi/4.
14051         * sysdeps/i386/fpu/libm-test-ulps: Update.
14052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14053
14054 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14055
14056         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14057         "longjmp_target" static probes.
14058         (__longjmp): Rename to __longjmp_symbol.
14059         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14060         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14061         on which longjmp to generate.
14062         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14063         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14064         probe.
14065         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14066         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14067         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14068         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14069         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14070         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14072         __longjmp_symbol based on which __longjmp to generate.
14073         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14074         probe.
14075         (setjmp): Rename to setjmp_symbol.
14076         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14077         (_setjmp): Rename to _setjmp_symbol.
14078         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14079         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14080         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14081         which setjmp to generate.
14082         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14083         "longjmp_target" static probes.
14084
14085 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14086
14087         * benchtests/README: Add note about output arguments.
14088         * benchtests/bench-sincos.c: Remove file.
14089         * benchtests/sincos-inputs: New file.
14090         * scripts/bench.pl: Identify output arguments and define
14091         static variables for them.
14092
14093         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14094
14095         [BZ #15941]
14096         * Makefile (INSTALL): Add install-plain.texi as the primary
14097         dependency.
14098         * manual/install-plain.texi: New file.
14099         * manual/install.texi: Include node directive only for
14100         non-plaintext output.
14101
14102 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14103
14104         * stdlib/longlong.h: Update from GCC.
14105
14106         [BZ #6807]
14107         [BZ #15901]
14108         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14109         * math/w_j0f.c (y0f): Likewise.
14110         * math/w_j0l.c (__y0l): Likewise.
14111         * math/w_j1.c (y1): Likewise.
14112         * math/w_j1f.c (y1f): Likewise.
14113         * math/w_j1l.c (__y1l): Likewise
14114         * math/w_jn.c (yn): Likewise.
14115         * math/w_jnf.c (ynf): Likewise.
14116         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14117         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14118         value for Bessel function domain errors outside _SVID_ mode.
14119         Adjust sign of return value for yn (negative integer, 0).
14120         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14121         by zero in return for negative x and set sign appropriately for
14122         negative n.
14123         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14124         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14125         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14126         expectations in error cases.
14127         (y1_test_data): Likewise.
14128         (yn_test_data): Likewise.
14129         * sysdeps/i386/fpu/libm-test-ulps: Update.
14130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14131
14132 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14133
14134         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14135         "64" to "64-v1".  Add "64-v2".
14136         (abi-64-options): Rename to ...
14137         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14138         (abi-64-condition): Rename to ...
14139         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14140         (abi-64-ld-soname): Rename to ...
14141         (abi-64-v1-ld-soname): ... this.
14142         (abi-64-v2-options): Define.
14143         (abi-64-v2-condition): Likewise.
14144         (abi-64-v2-ld-soname): Likewise.
14145         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14146         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14150
14151 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14152             Alan Modra  <amodra@gmail.com>
14153
14154         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14155         New versions for use with the ELFv2 ABI.
14156         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14157         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14158         declaration.
14159         (struct La_ppc64v2_retval): Likewise.
14160         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14161         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14162         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14163         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14164         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14165         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14166         Do not save or restore CR.
14167         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14168         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14169         return values for ELFv2 ABI.  Fix location of FPR return registers.
14170         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14171         updated values for _CALL_ELF == 2.
14172         (La_regs, La_retval, int_retval): Likewise.
14173
14174 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14175
14176         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14177         (FRAME_MIN_SIZE_PARM): Likewise.
14178         (FRAME_BACKCHAIN): Likewise.
14179         (FRAME_CR_SAVE): Likewise.
14180         (FRAME_LR_SAVE): Likewise.
14181         (FRAME_TOC_SAVE): Likewise.
14182         (FRAME_PARM_SAVE): Likewise.
14183         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14184         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14185         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14186         (call_mcount_parm_offset): New macro.
14187         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14188         (PROF): Use symbolic stack frame offsets.
14189         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14190         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14191         Redefine in terms of FRAME_MIN_SIZE.
14192         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14193         (_dl_profile_resolve): Likewise.  Update comment.
14194         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14195         symbols stack frame offsets.
14196         (__sigsetjmp): Likewise.
14197         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14198         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14199         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14200         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14201
14202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14203         (FRAME_BACKCHAIN): Remove.
14204         (FRAME_CR_SAVE): Likewise.
14205         (FRAME_LR_SAVE): Likewise.
14206         (FRAME_COMPILER_DW): Likewise.
14207         (FRAME_LINKER_DW): Likewise.
14208         (FRAME_TOC_SAVE): Likewise.
14209         (FRAME_PARM_SAVE): Likewise.
14210         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14211         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14212         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14214         (CHECK_SP): Use symbolic stack frame offsets.
14215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14216         zone" instead of caller's parameter save area for temp storage.
14217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14218         Likewise.  Also, use symbolic stack frame offsets.
14219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14220         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14221         our own stack frame instead of the caller's.
14222         (__socket): Use symbolic stack frame offsets.
14223
14224 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14225             Alan Modra  <amodra@gmail.com>
14226
14227         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14228         Define.
14229         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14230         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14231         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14232         New function.
14233         (elf_machine_fixup_plt): Call it.
14234         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14235         reloc arguments.
14236         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14237         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14238         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14239         r2 before calling target.
14240
14241 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14242             Alan Modra  <amodra@gmail.com>
14243
14244         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14245         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14246         versions of macros to support ELFv2 ABI.
14247         (LOCALENTRY): New macro.
14248         (ENTRY, EALIGN): Use it.
14249         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14250         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14251         fall through into ENTRY entry point.
14252         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14253         Only define if _CALL_ELF != 2.
14254
14255         (elf_machine_matches_host): Verify ABI version matches.
14256         (RTLD_START): Use LOCALENTRY.
14257         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14258         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14259         (PLT_ENTRY_WORDS): New macro.
14260         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14261         (elf_machine_runtime_setup): Support ELFv2 ABI.
14262         (elf_machine_fixup_plt): Likewise.
14263         (elf_machine_plt_conflict): Likewise.
14264         (resolve_ifunc): Likewise.
14265         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14266         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14267         Likewise.
14268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14269         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14271         (makecontext): Support ELFv2 ABI.
14272         * elf/elf.h (EF_PPC64_ABI): Define.
14273
14274 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14275
14276         * sysdeps/powerpc/powerpc64/sysdep.h
14277         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14278         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14279         (ENTRY) [ASSEMBLER]: ... but instead here ...
14280         (EALIGN) [ASSEMBLER]: ... and here.
14281         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14282         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14283         (ENTRY_2) [!ASSEMBLER]: Use it.
14284         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14285         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14286         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14287         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14288         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14290         Use PPC64_LOAD_FUNCPTR.
14291
14292         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14293
14294 2013-12-04  Alan Modra  <amodra@gmail.com>
14295
14296         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14297         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14298         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14299         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14300
14301         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14302         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14303         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14304         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14305         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14306         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14307
14308 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14309
14310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14311         (__makecontext): Fix incorrect CFI when backtracing out of
14312         context created via makecontext.
14313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14314         (__setcontext): Fix incorrect CFI during switch to new context.
14315         (__novec_setcontext): Likewise.
14316
14317 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14318
14319         [BZ #4772]
14320         * time/strptime_l.c (__strptime_internal): Allow modifiers
14321         in strptime.
14322         * time/tst-strptime.c (day_tests): Add testcase.
14323
14324 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14325
14326         * scripts/bench.pl: Skip over blank lines.
14327
14328 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14329
14330         [BZ #926]
14331         * manual/time.texi (Calendar Time): Clarify what timezone functions
14332         use.
14333
14334 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14335
14336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14337
14338 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14339
14340         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14341         implementation.
14342         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14343         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14344         * debug/memset_chk.c (__memset_chk): Likewise.
14345         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14346         * debug/strncpy_chk.c: Likewise.
14347
14348 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14349
14350         [BZ #15268]
14351         [BZ #15425]
14352         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14353         (__ieee754_exp): For possibly underflowing results, check size of
14354         result and force underflow exception if required.
14355         * math/auto-libm-test-in: Add more tests of exp.
14356         * math/auto-libm-test-out: Regenerated.
14357         * sysdeps/i386/fpu/libm-test-ulps: Update.
14358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14359
14360         [BZ #16283]
14361         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14362         * math/w_exp2f.c (__exp2f): Likewise.
14363         * math/w_exp2l.c (__exp2l): Likewise.
14364         * math/auto-libm-test-in: Do not allow missing errno on exp2
14365         underflow.
14366         * math/auto-libm-test-out: Regenerated.
14367
14368 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14369
14370         [BZ #16274]
14371         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14372         handle filename validation.
14373         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14374         (do_open): Delete.
14375
14376 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14377
14378         [BZ #6786]
14379         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14380         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14381         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14382         <float.h>.
14383         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14384         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14385         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14386         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14387         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14388         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14389         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14390         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14391         Add more erfc tests.
14392         * math/auto-libm-test-out: Regenerated.
14393         * sysdeps/i386/fpu/libm-test-ulps: Update.
14394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14395
14396         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14397         exp2, expm1, j0 and j1.
14398         * math/auto-libm-test-out: Regenerated.
14399         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14400         (erfc_test_data): Likewise.
14401         (exp_test_data): Likewise.
14402         (exp_tonearest_test_data): Likewise.
14403         (exp_towardzero_test_data): Likewise.
14404         (exp_downward_test_data): Likewise.
14405         (exp_upward_test_data): Likewise.
14406         (exp10_test_data): Likewise.
14407         (exp2_test_data): Likewise.
14408         (expm1_test_data): Likewise.
14409         (j0_test_data): Likewise.
14410         (j1_test_data): Likewise.
14411         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14412         (input_flag_type): Add flag_xfail_rounding.
14413         (input_flags): Add xfail-rounding.
14414         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14415         (output_for_one_input_case): Handle flag_xfail_rounding.
14416         * sysdeps/i386/fpu/libm-test-ulps: Update.
14417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14418
14419 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14420
14421         [BZ #16289]
14422         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14423         division by 0.
14424
14425 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14426
14427         [BZ #16195]
14428         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14429         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14430         (STAP_PROBE0): New macro.
14431         (STAP_PROBE1): Likewise.
14432         (STAP_PROBE2): Likewise.
14433         (STAP_PROBE3): Likewise.
14434         (STAP_PROBE4): Likewise.
14435
14436 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14437
14438         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14439
14440 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14441
14442         * benchtests/Makefile (bench): Add sqrt.
14443         (LDLIBS-bench-sqrt): New.
14444         * benchtests/sqrt-input: New.
14445
14446 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14447
14448         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14449         (GAIH_EAI): Likewise.
14450         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14451         (gaih_inet): Likewise.
14452         (getaddrinfo): Don't use GAIH_EAI.
14453
14454         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14455         (struct gaih): Remove definition.
14456
14457 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14458
14459         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14460         Use HERRNOP directly.
14461
14462 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14463
14464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14465
14466 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14467
14468         * math/gen-auto-libm-tests.c (test_functions): Add more
14469         single-argument functions.
14470         (special_fill_pi_2): New function.
14471         (special_fill_minus_pi_2): Likewise.
14472         (special_fill_pi_6): Likewise.
14473         (special_fill_minus_pi_6): Likewise.
14474         (special_fill_pi_3): Likewise.
14475         (special_fill_2pi_3): Likewise.
14476         (special_fill_e): Likewise.
14477         (special_fill_1_e): Likewise.
14478         (special_fill_e_minus_1): Likewise.
14479         (special_real_inputs): Add more special inputs.
14480         (output_for_one_input_case): Do not require ERANGE on underflow to
14481         zero if round-to-nearest result does not underflow to zero, unless
14482         exact results required.
14483         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14484         atan, atanh, cbrt, cos and cosh.
14485         * math/auto-libm-test-out: Regenerated.
14486         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14487         (acos_tonearest_test_data): Likewise.
14488         (acos_towardzero_test_data): Likewise.
14489         (acos_downward_test_data): Likewise.
14490         (acos_upward_test_data): Likewise.
14491         (acosh_test_data): Likewise.
14492         (asin_test_data): Likewise.
14493         (asin_tonearest_test_data): Likewise.
14494         (asin_towardzero_test_data): Likewise.
14495         (asin_upward_test_data): Likewise.
14496         (asinh_test_data): Likewise.
14497         (atan_test_data): Likewise.
14498         (atanh_test_data): Likewise.
14499         (cbrt_test_data): Likewise.
14500         (cos_test_data): Likewise.
14501         (cos_tonearest_test_data): Likewise.
14502         (cos_towardzero_test_data): Likewise.
14503         (cos_downward_test_data): Likewise.
14504         (cos_upward_test_data): Likewise.
14505         (cosh_test_data): Likewise.
14506         (cosh_tonearest_test_data): Likewise.
14507         (cosh_towardzero_test_data): Likewise.
14508         (cosh_downward_test_data): Likewise.
14509         (cosh_upward_test_data): Likewise.
14510         * sysdeps/i386/fpu/libm-test-ulps: Update.
14511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14512
14513 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14514
14515         [BZ #6787]
14516         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14517         * math/w_exp10f.c (__exp10f): Likewise.
14518         * math/w_exp10l.c (__exp10l): Likewise.
14519         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14520         errno settings in existing tests.
14521
14522         [BZ #14032]
14523         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14524         precision control set to double precision.
14525         * sysdeps/i386/fpu/w_sqrt.c: New file.
14526         * math/auto-libm-test-in: Add more tests.
14527         * math/auto-libm-test-out: Update.
14528
14529         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14530         (sqrt_test_tonearest): New function.
14531         (sqrt_towardzero_test_data): New variable.
14532         (sqrt_test_towardzero): New function.
14533         (sqrt_downward_test_data): New variable.
14534         (sqrt_test_downward): New function.
14535         (sqrt_upward_test_data): New variable.
14536         (sqrt_test_upward): New function.
14537         (main): Call the new functions.
14538
14539         * math/gen-auto-libm-tests.c: New file.
14540         * math/auto-libm-test-in: Likewise.
14541         * math/auto-libm-test-out: New generated file.
14542         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14543         variables.
14544         (%beautify): Add generated representations of zero.
14545         (top level): Set $auto_input and call parse_auto_input.
14546         (beautify): Remove trailing "f" from hex float constants.
14547         (parse_args): Handle XFAIL_TEST.
14548         (convert_condition): New function.
14549         (or_value): Likewise.
14550         (or_cond_value): Likewise.
14551         (generate_testfile): Handle AUTO_TESTS_* lines.
14552         (parse_auto_input): New function.
14553         * math/libm-test.inc (XFAIL_TEST): New macro.
14554         (ERRNO_UNCHANGED): Update value.
14555         (ERRNO_EDOM): Likewise.
14556         (ERRNO_ERANGE): Likewise.
14557         (IGNORE_RESULT): Likewise.
14558         (TEST_COND_flt_32): New macro.
14559         (TEST_COND_dbl_64): Likewise.
14560         (TEST_COND_ldbl_96_intel): Likewise.
14561         (TEST_COND_ldbl_96_m68k): Likewise.
14562         (TEST_COND_ldbl_128): Likewise.
14563         (TEST_COND_ldbl_128ibm): Likewise.
14564         (TEST_COND_long32): Likewise.
14565         (TEST_COND_long64): Likewise.
14566         (TEST_COND_before_rounding): Likewise.
14567         (TEST_COND_after_rounding): Likewise.
14568         (enable_test): Handle XFAIL_TEST flag.
14569         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14570         with finite results.
14571         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14572         auto-libm-test-out.
14573
14574 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14575             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14576
14577         [BZ #16214]
14578         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14579         __tls_get_addr_internal instead of __tls_get_offset in order to
14580         avoid GOT pointer dependency.  Make rtld export
14581         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14582         __tls_get_addr since we are a __tls_get_offset platform.
14583         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14584         GOT pointer being set up before.
14585         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14586
14587 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14588
14589         * manual/math.texi (Errors in Math Functions): Document accuracy
14590         goals.
14591
14592         [BZ #15004]
14593         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14594         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14595         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14596         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14597         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14598         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14599         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14600         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14601         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14602         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14603         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14604         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14605         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14606         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14607         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14608         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14609
14610         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14611         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14612         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14613         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14614         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14615         Likewise.
14616         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14617         Likewise.
14618         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14619         Likewise.
14620         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14621         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14622         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14623         atomic-feupdateenv and flt-rounds.
14624         * sysdeps/powerpc/nofpu/Versions (libc): Add
14625         __atomic_feholdexcept, __atomic_feclearexcept,
14626         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14627         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14628         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14629         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14630         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14631         here.
14632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14633         Update.
14634
14635         * manual/arith.texi (FP Exceptions): Document that exceptions may
14636         not be raised when matherr is used.
14637         (Math Error Reporting): Document overflow in directed rounding
14638         modes.  Document that errno may not be set when finite values are
14639         returned on overflow.  Document intent to set errno on underflow
14640         only for underflow to zero.
14641
14642         [BZ #16271]
14643         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14644         round-to-nearest then adjust result for other rounding modes.
14645         * include/fenv.h (fegetround): Use libm_hidden_proto.
14646         * math/fegetround.c (fegetround): Use libm_hidden_def.
14647         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14648         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14649         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14650         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14651         Likewise.
14652         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14653         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14654         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14655         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14656
14657 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14658
14659         [BZ #16077]
14660         * nss/Versions (libnss_files): Add
14661         _nss_files_gethostbyname3_r.
14662         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14663         New function.
14664         (HOST_DB_LOOKUP): Remove macro.
14665         (_nss_files_gethostbyname_r): Implement function without the
14666         HOST_DB_LOOKUP macro.
14667         (_nss_files_gethostbyname2_r): Likewise.
14668
14669 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14670
14671         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14672
14673 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14674
14675         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14676         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14677         warning.
14678
14679 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14680
14681         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14682         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14683         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14684         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14685         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14686         __fe_nomask_env_priv and attribute_hidden.
14687         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14688         (libc_feupdateenv_test_ppc): Likewise.
14689         (libc_feresetround_ppc): Likewise.
14690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14691         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14692         compat_symbol macro.
14693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14694         (__fe_nomask_env): Likewise.
14695         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14696
14697 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14698
14699         * string/Makefile: Remove ifunc tests.
14700         * string/test-string.h: Define TEST_IFUNC.
14701         * string/test-bcopy-ifunc.c: Remove.
14702         * string/test-bzero-ifunc.c: Likewise.
14703         * string/test-memccpy-ifunc.c: Likewise.
14704         * string/test-memchr-ifunc.c: Likewise.
14705         * string/test-memcmp-ifunc.c: Likewise.
14706         * string/test-memcpy-ifunc.c: Likewise.
14707         * string/test-memmem-ifunc.c: Likewise.
14708         * string/test-memmove-ifunc.c: Likewise.
14709         * string/test-mempcpy-ifunc.c: Likewise.
14710         * string/test-memrchr-ifunc.c: Likewise.
14711         * string/test-memset-ifunc.c: Likewise.
14712         * string/test-rawmemchr-ifunc.c: Likewise.
14713         * string/test-stpcpy-ifunc.c: Likewise.
14714         * string/test-stpncpy-ifunc.c: Likewise.
14715         * string/test-strcasecmp-ifunc.c: Likewise.
14716         * string/test-strcasestr-ifunc.c: Likewise.
14717         * string/test-strcat-ifunc.c: Likewise.
14718         * string/test-strchr-ifunc.c: Likewise.
14719         * string/test-strchrnul-ifunc.c: Likewise.
14720         * string/test-strcmp-ifunc.c: Likewise.
14721         * string/test-strcpy-ifunc.c: Likewise.
14722         * string/test-strcspn-ifunc.c: Likewise.
14723         * string/test-strlen-ifunc.c: Likewise.
14724         * string/test-strncasecmp-ifunc.c: Likewise.
14725         * string/test-strncat-ifunc.c: Likewise.
14726         * string/test-strncmp-ifunc.c: Likewise.
14727         * string/test-strncpy-ifunc.c: Likewise.
14728         * string/test-strnlen-ifunc.c: Likewise.
14729         * string/test-strpbrk-ifunc.c: Likewise.
14730         * string/test-strrchr-ifunc.c: Likewise.
14731         * string/test-strspn-ifunc.c: Likewise.
14732         * string/test-strstr-ifunc.c: Likewise.
14733
14734 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14735
14736         * benchtests/Makefile: Remove ifunc tests.
14737         * benchtests/bench-string.h: Define TEST_IFUNC.
14738         * benchtests/bench-bcopy-ifunc.c: Remove.
14739         * benchtests/bench-bzero-ifunc.c: Likewise.
14740         * benchtests/bench-memccpy-ifunc.c: Likewise.
14741         * benchtests/bench-memchr-ifunc.c: Likewise.
14742         * benchtests/bench-memcmp-ifunc.c: Likewise.
14743         * benchtests/bench-memcpy-ifunc.c: Likewise.
14744         * benchtests/bench-memmem-ifunc.c: Likewise.
14745         * benchtests/bench-memmove-ifunc.c: Likewise.
14746         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14747         * benchtests/bench-memrchr-ifunc.c: Likewise.
14748         * benchtests/bench-memset-ifunc.c: Likewise.
14749         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14750         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14751         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14752         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14753         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14754         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14755         * benchtests/bench-strcat-ifunc.c: Likewise.
14756         * benchtests/bench-strchr-ifunc.c: Likewise.
14757         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14758         * benchtests/bench-strcmp-ifunc.c: Likewise.
14759         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14760         * benchtests/bench-strcpy-ifunc.c: Likewise.
14761         * benchtests/bench-strcspn-ifunc.c: Likewise.
14762         * benchtests/bench-strlen-ifunc.c: Likewise.
14763         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14764         * benchtests/bench-strncat-ifunc.c: Likewise.
14765         * benchtests/bench-strncmp-ifunc.c: Likewise.
14766         * benchtests/bench-strncpy-ifunc.c: Likewise.
14767         * benchtests/bench-strnlen-ifunc.c: Likewise.
14768         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14769         * benchtests/bench-strrchr-ifunc.c: Likewise.
14770         * benchtests/bench-strsep-ifunc.c: Likewise.
14771         * benchtests/bench-strspn-ifunc.c: Likewise.
14772         * benchtests/bench-strstr-ifunc.c: Likewise.
14773
14774 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14775
14776         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14777
14778 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14779
14780         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14781         * rt/aio.h: Likewise.
14782         * sysdeps/gnu/bits/utmp.h: Likewise.
14783         * sysdeps/gnu/bits/utmpx.h: Likewise.
14784         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14785         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14786         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14787         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14788         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14789         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14790         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14791         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14792         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14793         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14794         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14795         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14796         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14798         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14799         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14800         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14801         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14802         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14803         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14804         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14805         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14806         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14807         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14808         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14809         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14810         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14811         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14812         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14813         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14814         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14815         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14816         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14817         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14818         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14819         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14820         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14821         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14822         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14823         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14824         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14825         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14826
14827 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14828
14829         [BZ #16245]
14830         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14831         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14832
14833 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14834
14835         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14836         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14837         Likewise.
14838
14839 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14840
14841         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14842         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14843         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14844         (__fesetround): Remove define.
14845         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14846         rounding and exceptions handling.
14847         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14848         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14849         (__fe_nomask_env): Likewise.
14850         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14851         __fegetround instead of fegetround.
14852         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14853         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14854
14855 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14856
14857         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14858         it's there.
14859
14860         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14861
14862 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14863
14864         [BZ #11157]
14865         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14866         (encrypt_r): Likewise.
14867         * malloc/obstack.h (obstack_free): Likewise.
14868         * posix/unistd.h (encrypt): Likewise.
14869
14870 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14871
14872         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14873         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14874         DL_CALL_DT_FINI() that call the functions directly.
14875         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14876         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14877         * elf/dl-fini.c: Likewise.
14878
14879 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14880
14881         * malloc/hooks.c (memalign_check): Add alignment rounding.
14882         * malloc/malloc.c (_mid_memalign): New function.
14883         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14884         Implement by calling _mid_memalign.
14885         * manual/probes.texi (Memory Allocation Probes): Remove
14886         memory_valloc_retry and memory_pvalloc_retry.
14887
14888 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14889
14890         * locale/programs/locarchive.c (open_archive): Add const
14891         qualifier to ARCHIVEFNAME and copy default fname to
14892         DEFAULT_FNAME.
14893
14894         [BZ #15601]
14895         * libio/tst-widetext.input: Rename Oriya to Odia.
14896         * locale/iso-639.def: Likewise.
14897
14898         * manual/probes.texi (Mathematical Function Probes): Add
14899         documentation for sin, cos, asin and acos probes.
14900         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14901         (__sin32): Add slowasin probe.
14902         (__cos32): Add slowacos probe.
14903         (__mpsin): Add slowsin probe.
14904         (__mpcos): Add slowcos probe.
14905
14906 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14907
14908         [BZ #15483]
14909         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14910         thread-local __sim_exceptions_thread and global
14911         __sim_exceptions_global.
14912         (__sim_disabled_exceptions): Change to thread-local
14913         __sim_disabled_exceptions_thread and global
14914         __sim_disabled_exceptions_global.
14915         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14916         and global __sim_round_mode_global.
14917         (__simulate_exceptions): Use thread-local floating-point state and
14918         set global state from it as needed.
14919         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14920         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14921         __sim_round_mode_thread.
14922         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14923         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14924         and global __sim_exceptions_global.
14925         (__sim_disabled_exceptions): Change to thread-local
14926         __sim_disabled_exceptions_thread and global
14927         __sim_disabled_exceptions_global.
14928         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14929         and global __sim_round_mode_global.
14930         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14931         (SIM_SET_GLOBAL): Likewise.
14932         * sysdeps/powerpc/soft-fp/sfp-machine.h
14933         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14934         __sim_round_mode_thread.
14935         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14936         __sim_disabled_exceptions_thread.
14937         (__sim_exceptions): Change to __sim_exceptions_thread.
14938         (__sim_disabled_exceptions): Change to
14939         __sim_disabled_exceptions_thread.
14940         (__sim_round_mode): Change to __sim_round_mode_thread.
14941         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14942         thread-local floating-point state and set global state from it as
14943         needed.
14944         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14945         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14946         (__sim_disabled_exceptions): Remove extern declaration.
14947         (feenableexcept): Use thread-local floating-point state and set
14948         global state from it as needed.
14949         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14950         extern declaration.
14951         (__sim_disabled_exceptions): Likewise.
14952         (__sim_round_mode): Likewise.
14953         (__fegetenv): Use thread-local floating-point state.
14954         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14955         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14956         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14957         floating-point state and set global state from it as needed.
14958         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14959         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14960         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14961         Likewise.
14962         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14963         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14964         Likewise.
14965         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14966         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14967         Use __sim_round_mode_thread.
14968         * math/test-fenv-tls.c: New file.
14969         * math/Makefile (tests): Add test-fenv-tls.
14970         ($(objpfx)test-fenv-tls): Depend on
14971         $(common-objpfx)nptl/libpthread.so.
14972
14973 2013-11-19  Andreas Schwab  <schwab@suse.de>
14974
14975         * locale/programs/locale.c (show_info): Decode wordarray elements.
14976         * locale/categories.def (LC_MONETARY): Add element for
14977         _NL_MONETARY_CRNCYSTR.
14978         * locale/C-monetary.c (conversion_rate): New variable.
14979         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14980         element.
14981
14982 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14983
14984         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14985         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14986
14987 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14988
14989         * elf/Makefile (tst-auxv): New test.
14990         * elf/tst-auxv.c: New
14991         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14992
14993 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14994
14995         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14996         (hidden_proto): Caller changed.
14997         (hidden_tls_proto): New macro.
14998         (libc_hidden_tls_proto): Likewise.
14999         (rtld_hidden_tls_proto): Likewise.
15000         (libm_hidden_tls_proto): Likewise.
15001         (libresolv_hidden_tls_proto): Likewise.
15002         (librt_hidden_tls_proto): Likewise.
15003         (libdl_hidden_tls_proto): Likewise.
15004         (libnss_files_hidden_tls_proto): Likewise.
15005         (libnsl_hidden_tls_proto): Likewise.
15006         (libnss_nisplus_hidden_tls_proto): Likewise.
15007         (libutil_hidden_tls_proto): Likewise.
15008
15009 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15010
15011         [BZ #10253]
15012         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15013         (decompose_rpath): Defer expansion to fillin_rpath.
15014         (_dl_init_paths): Pass linkmap to fillin_rpath.
15015
15016 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15017
15018         * benchtests/Makefile: Add strsep.
15019         * benchtests/bench-strsep.c: New file: strsep benchtest.
15020         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15021
15022 2013-11-18  Andreas Schwab  <schwab@suse.de>
15023
15024         * locale/programs/locale.c (show_info) [case byte]: Check for
15025         '\377' instead of '\177'.
15026         * locale/C-monetary.c (not_available): Always use "\377".
15027         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15028         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15029         detect unavailable sign_posn locale elements.
15030         * locale/localeconv.c (__localeconv): For grouping and
15031         mon_grouping handle "\177" and "\377" like no grouping.
15032         (INT_ELEM): New macro.  Use it to set all numeric members.
15033         * locale/programs/ld-monetary.c (monetary_read)
15034         <tok_mon_grouping>: Normalize single -1 to the empty string.
15035         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15036         Likewise.
15037
15038 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15039
15040         [BZ #16055]
15041         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15042         when we match (nil).
15043         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15044
15045 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15046
15047         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15048         (NO_TEST_INLINE): Update value.
15049         (ERRNO_UNCHANGED): Likewise.
15050         (ERRNO_EDOM): Likewise.
15051         (ERRNO_ERANGE): Likewise.
15052         (IGNORE_RESULT): Likewise.
15053         (check_float_internal): Check signs of NaN results if
15054         TEST_NAN_SIGN used.
15055         (check_complex): Pass TEST_NAN_SIGN flag through to second
15056         check_float_internal call.
15057         (copysign_test_data): Add tests with quiet NaNs as second
15058         argument.  Use TEST_NAN_SIGN.
15059         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15060         TEST_NAN_SIGN.
15061         (signbit_test_data): Add tests of quiet NaN argument.
15062         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15063
15064         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15065         $ignore_result.
15066         (parse_args): Handle function results specified as IGNORE.
15067         * math/libm-test.inc (IGNORE_RESULT): New macro.
15068         (check_float_internal): Do not check numerical result if flag
15069         IGNORE_RESULT set.
15070         (check_complex): Pass through IGNORE_RESULT to second
15071         check_float_internal call.
15072         (check_int): Do not check numerical result if flag IGNORE_RESULT
15073         set.
15074         (check_long): Likewise.
15075         (check_bool): Likewise.
15076         (check_longlong): Likewise.
15077         (lrint_test_data): Add tests of infinite and NaN arguments.
15078         (lrint_tonearest_test_data): Likewise.
15079         (lrint_towardzero_test_data): Likewise.
15080         (lrint_downward_test_data): Likewise.
15081         (lrint_upward_test_data): Likewise.
15082         (llrint_test_data): Likewise.
15083         (llrint_tonearest_test_data): Likewise.
15084         (llrint_towardzero_test_data): Likewise.
15085         (llrint_downward_test_data): Likewise.
15086         (llrint_upward_test_data): Likewise.
15087         (lround_test_data): Likewise.
15088         (llround_test_data): Likewise.
15089
15090         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15091         (ERRNO_UNCHANGED): Update value.
15092         (ERRNO_EDOM): Likewise.
15093         (ERRNO_ERANGE): Likewise.
15094         (NO_TEST_INLINE_FLOAT): New macro.
15095         (NO_TEST_INLINE_DOUBLE): Likewise.
15096         (enable_test): New function.
15097         (RUN_TEST_f_f): Check enable_test before running test.
15098         (RUN_TEST_2_f): Likewise.
15099         (RUN_TEST_fff_f): Likewise.
15100         (RUN_TEST_c_f): Likewise.
15101         (RUN_TEST_f_f1): Likewise.
15102         (RUN_TEST_fF_f1): Likewise.
15103         (RUN_TEST_fI_f1): Likewise.
15104         (RUN_TEST_ffI_f1): Likewise.
15105         (RUN_TEST_c_c): Likewise.
15106         (RUN_TEST_cc_c): Likewise.
15107         (RUN_TEST_f_i): Likewise.
15108         (RUN_TEST_f_i_tg): Likewise.
15109         (RUN_TEST_ff_i_tg): Likewise.
15110         (RUN_TEST_f_b): Likewise.
15111         (RUN_TEST_f_b_tg): Likewise.
15112         (RUN_TEST_f_l): Likewise.
15113         (RUN_TEST_f_L): Likewise.
15114         (RUN_TEST_fFF_11): Likewise.
15115         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15116         conditionals.
15117         (cosh_test_data): Likewise.
15118         (exp_test_data): Likewise.
15119         (expm1_test_data): Likewise.
15120         (hypot_test_data): Likewise.
15121         (pow_test_data): Likewise.
15122         (sinh_test_data): Likewise.
15123         (tanh_test_data): Likewise.
15124         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15125         flags argument.
15126
15127         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15128         tests with quiet NaN input and output.
15129         (acosh_test_data): Likewise.
15130         (asin_test_data): Likewise.
15131         (asinh_test_data): Likewise.
15132         (atan_test_data): Likewise.
15133         (atanh_test_data): Likewise.
15134         (atan2_test_data): Likewise.
15135         (cbrt_test_data): Likewise.
15136         (cos_test_data): Likewise.
15137         (cosh_test_data): Likewise.
15138         (erf_test_data): Likewise.
15139         (erfc_test_data): Likewise.
15140         (exp_test_data): Likewise.
15141         (exp10_test_data): Likewise.
15142         (exp2_test_data): Likewise.
15143         (expm1_test_data): Likewise.
15144         (hypot_test_data): Likewise.
15145         (j0_test_data): Likewise.
15146         (j1_test_data): Likewise.
15147         (jn_test_data): Likewise.
15148         (lgamma_test_data): Likewise.
15149         (log_test_data): Likewise.
15150         (log10_test_data): Likewise.
15151         (log1p_test_data): Likewise.
15152         (log2_test_data): Likewise.
15153         (pow_test_data): Likewise.
15154         (scalb_test_data): Likewise.
15155         (sin_test_data): Likewise.
15156         (sincos_test_data): Likewise.
15157         (sinh_test_data): Likewise.
15158         (tan_test_data): Likewise.
15159         (tanh_test_data): Likewise.
15160         (tgamma_test_data): Likewise.
15161         (y0_test_data): Likewise.
15162         (y1_test_data): Likewise.
15163         (yn_test_data): Likewise.
15164
15165         [BZ #16167]
15166         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15167         argument being NaN and avoid computations with second argument in
15168         that case.
15169         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15170         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15171         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15172
15173 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15174
15175         * locale/iso-639.def: Add Chitwani Tharu (the).
15176
15177 2013-11-14  Andreas Schwab  <schwab@suse.de>
15178
15179         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15180         word instead of empty string.
15181
15182 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15183
15184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15185         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15187         (__fe_nomask_env): Likewise.
15188
15189 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15190
15191         * benchtests/bench-timing.h: Include time.h.
15192
15193 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15194
15195         [BZ #15997]
15196         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15197         to 3.4.0 for x32.
15198         * sysdeps/unix/sysv/linux/configure: Regenerated.
15199
15200 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15201
15202         [BZ #16151]
15203         * stdlib/strtod_l.c (round_and_return): Do not consider
15204         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15205         exponent one less than half the least subnormal exponent.
15206         * stdlib/test-strtod-round-data: Add more tests.
15207         * stdlib/tst-strtod-round.c (tests): Regenerated.
15208
15209 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15210
15211         [BZ #14143]
15212         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15213         (__fe_mask_env): Likewise.
15214         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15215         libm_hidden_proto and add function prototype.
15216         (__fe_mask_env): Add function prototype.
15217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15218         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15220         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15222         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15223
15224 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15225
15226         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15227         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15228
15229 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15230
15231         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15232         of htab_find_slot().
15233
15234 2013-11-11  David S. Miller  <davem@davemloft.net>
15235
15236         [BZ #16150]
15237         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15238         symbol in the non-vis3 case in static builds.
15239         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15240         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15241         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15242         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15243
15244 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15245
15246         [BZ #387]
15247         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15248         it is empty.
15249
15250 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15251
15252         * benchtests/Makefile: Add bench-strtod.
15253         * benchtests/bench-strtod.c: New file: strtod benchtest
15254
15255 2013-11-11  Andreas Schwab  <schwab@suse.de>
15256
15257         [BZ #16153]
15258         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15259         terminating NUL in key length.
15260
15261 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15262
15263         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15264         Add artificial ODP entry for vDSO symbol for PPC64.
15265         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15266         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15267
15268 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15269
15270         [BZ #15374]
15271         * nss/getent.c (services_keys): Recognize services starting with digit.
15272
15273 2013-11-06  David S. Miller  <davem@davemloft.net>
15274
15275         [BZ #15985]
15276         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15277         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15278
15279 2013-11-06  Will Newton  <will.newton@linaro.org>
15280
15281         * manual/memory.texi (Malloc Examples): Remove register
15282         keyword from examples.
15283
15284 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15285
15286         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15287
15288 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15289
15290         [BZ #6981]
15291         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15292         depending on [__GCC_IEC_559 > 0].
15293         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15294         depending on [__GCC_IEC_559_COMPLEX > 0].
15295
15296 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15297
15298         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15299         to iso-639.def.
15300
15301 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15302
15303         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15304
15305 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15306
15307         [BZ #16112]
15308         * malloc/malloc (malloc_info): Do not handle first bin as
15309         special case.
15310
15311 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15312
15313         * locale/iso-639.def: Add Central Nahuatl (nhn).
15314
15315 2013-11-01  Bruno Haible  <bruno@clisp.org>
15316
15317         [BZ #7003]
15318         * manual/math.texi (BSD Random): Specify range upper bound as
15319         in POSIX.
15320
15321 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15322
15323         * locale/iso-639.def: Add Meadow Mari (mhr).
15324
15325 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15326
15327         [BZ #14752], [BZ #15763]
15328         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15329         Validate name.
15330         * rt/tst_shm.c: Add test for escaping directory.
15331
15332 2013-10-31  Andreas Schwab  <schwab@suse.de>
15333
15334         [BZ #15917]
15335         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15336         followed by 'x' as part of digit sequence.
15337         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15338
15339 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15340
15341         [BZ #16037]
15342         * configure.ac: allow GNU Make 4.0 and greater.
15343         * configure: Regenerated.
15344
15345 2013-10-30  Will Newton  <will.newton@linaro.org>
15346
15347         [BZ #16038]
15348         * malloc/hooks.c (memalign_check): Limit alignment to the
15349         maximum representable power of two.
15350         * malloc/malloc.c (__libc_memalign): Likewise.
15351         * malloc/tst-memalign.c (do_test): Add test for very
15352         large alignment values.
15353         * malloc/tst-posix_memalign.c (do_test): Likewise.
15354
15355 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15356
15357         [BZ #11087]
15358         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15359         (munmap_chunk): Likewise.
15360         (mremap_chunk): Likewise.
15361
15362 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15363
15364         [BZ #15799]
15365         * stdlib/div.c (div): Remove obsolete code.
15366         * stdlib/ldiv.c (ldiv): Likewise.
15367         * stdlib/lldiv.c (lldiv): Likewise.
15368
15369 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15370
15371         [BZ #16071]
15372         * nss/nss_files/files-XXX.c (get_contents_ret): New
15373         enumerator.
15374         (get_contents): New function.
15375         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15376
15377 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15378
15379         * configure.in: Moved to ...
15380         * configure.ac: ... here. Change reference to configure.in
15381         to configure.ac.
15382         * sysdeps/arm/preconfigure.ac: ... here.
15383         configure.in to configure.ac.
15384         * sysdeps/gnu/configure.in: Moved to ...
15385         * sysdeps/gnu/configure.ac: ... here.
15386         * sysdeps/i386/configure.in: Moved to ...
15387         * sysdeps/i386/configure.ac: ... here.
15388         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15389         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15390         * sysdeps/mach/configure.in: Moved to ...
15391         * sysdeps/mach/configure.ac: ... here.
15392         * sysdeps/mach/hurd/configure.in: Moved to ...
15393         * sysdeps/mach/hurd/configure.ac: ... here.
15394         * sysdeps/powerpc/configure.in: Moved to ...
15395         * sysdeps/powerpc/configure.ac: ... here.
15396         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15397         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15398         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15399         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15400         * sysdeps/s390/s390-32/configure.in: Moved to ...
15401         * sysdeps/s390/s390-32/configure.ac: ... here.
15402         * sysdeps/s390/s390-64/configure.in: Moved to ...
15403         * sysdeps/s390/s390-64/configure.ac: ... here.
15404         * sysdeps/sh/configure.in: Moved to ...
15405         * sysdeps/sh/configure.ac: ... here.
15406         * sysdeps/sparc/configure.in: Moved to ...
15407         * sysdeps/sparc/configure.ac: ... here.
15408         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15409         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15410         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15411         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15412         * sysdeps/x86_64/configure.in: Moved to ...
15413         * sysdeps/x86_64/configure.ac: ... here.
15414         * sysdeps/x86_64/preconfigure.in: Moved to ...
15415         * sysdeps/x86_64/preconfigure.ac: ... here.
15416         * aclocal.m4: Change reference to configure.in to configure.ac.
15417         * config.h.in: Likewise.
15418         * manual/install.texi: Likewise.
15419         * manual/maint.texi: Likewise.
15420         * Makefile: Likewise.
15421         * malloc/Makefile: Likewise.
15422         * nscd/Makefile: Likewise.
15423         * Makeconfig: Change reference to configure.in and
15424         preconfigure.in to configure.ac and preconfigure.ac
15425         respectively.
15426         * INSTALL: Regenerated.
15427         * configure: Likewise.
15428         * sysdeps/gnu/configure: Likewise.
15429         * sysdeps/i386/configure: Likewise.
15430         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15431         * sysdeps/mach/configure: Likewise.
15432         * sysdeps/mach/hurd/configure: Likewise.
15433         * sysdeps/powerpc/configure: Likewise.
15434         * sysdeps/powerpc/powerpc32/configure: Likewise.
15435         * sysdeps/powerpc/powerpc64/configure: Likewise.
15436         * sysdeps/s390/s390-32/configure: Likewise.
15437         * sysdeps/s390/s390-64/configure: Likewise.
15438         * sysdeps/sh/configure: Likewise.
15439         * sysdeps/sparc/configure: Likewise.
15440         * sysdeps/unix/sysv/linux/configure: Likewise.
15441         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15442         * sysdeps/x86_64/configure: Likewise.
15443         * sysdeps/x86_64/preconfigure: Likewise.
15444
15445 2013-10-29  Andreas Schwab  <schwab@suse.de>
15446
15447         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15448
15449 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15450
15451         * benchtests/pow-inputs: Add new inputs.
15452
15453         * benchtests/exp-inputs: Add new inputs.
15454
15455         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15456         conditional check for return value.
15457         (__cos32): Likewise.
15458
15459 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15460
15461         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15462         to provide a boost for large inputs with word alignment.
15463         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15464         implementation based on optimized PPC64 strcpy.
15465         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15466         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15467         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15468         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15469
15470 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15471
15472         [BZ #2801]
15473         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15474
15475 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15476
15477         [BZ #14876]
15478         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15479         * time/tst-strptime.c (day_tests): Add testcase.
15480
15481 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15482
15483         [BZ #14029]
15484         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15485
15486 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15487
15488         [BZ #16074]
15489         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15490         MAP_FAILED on error.
15491
15492 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15493
15494         [BZ #16072]
15495         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15496         heap for large requests.
15497
15498 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15499
15500         [BZ #9954]
15501         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15502         result if the result has no associated interface.
15503         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15504         interface for all 127.X.Y.Z addresses.
15505
15506 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15507
15508         * locale/iso-639.def: Add Ligurian (lij)
15509
15510 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15511
15512         [BZ #15825]
15513         * sunrpc/rpc_main.c: Document rpcgen -5.
15514
15515 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15516
15517         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15518
15519 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15520
15521         [BZ #10278]
15522         * posix/glob.c: Match only directories when trailing slash is present.
15523         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15524         (main): Add testcase.
15525
15526 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15527
15528         [BZ #15670]
15529         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15530
15531 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15532
15533         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15534         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15535         AUTH_DES and cindex for FIPS 140-2.
15536         (DES Encryption): Add cindex FIPS 46-3.
15537
15538         * locale/locarchive.h (struct locarhandle): Add fname.
15539         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15540         if an optional argument was specified to --list-archive,
15541         otherwise NULL.
15542         * locale/programs/locarchive.c (show_archive_content): Take new
15543         argument fname and pass it via ah.fname to open_archive.
15544         * locale/programs/localedef.h: Update decl.
15545         (open_archive): If AH->fname is non-null, open that file
15546         rather than the default file name, and don't ignore ENOENT.
15547         (create_archive): Set AH.fname to NULL.
15548         (delete_locales_from_archive): Likewise.
15549         (add_locales_to_archive): Likewise.
15550         * locale/programs/locfile.c (write_all_categories): Likewise.
15551
15552 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15553             Aldy Hernandez  <aldyh@redhat.com>
15554
15555         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15556         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15557         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15558         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15559         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15560         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15561         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15562         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15563         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15564         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15565         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15566         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15567         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15568         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15569         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15570         Likewise.
15571         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15572         Likewise.
15573         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15574         Likewise.
15575         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15576         Likewise.
15577         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15578         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15579         Likewise.
15580         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15581         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15582         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15583         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15584         Likewise.
15585         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15586         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15587         * sysdeps/powerpc/preconfigure: Likewise.
15588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15589         Likewise.
15590         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15591         Replace contents of file by #include of <fenv_libc.h>.
15592         * sysdeps/powerpc/soft-fp/sfp-machine.h
15593         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15594         and <sys/prctl.h>.
15595         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15596         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15597         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15598         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15599         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15600         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15602         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15603         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15604         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15605         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15606         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15608         Allow copysignl PLT reference to be missing.
15609
15610 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15611             Joseph Myers  <joseph@codesourcery.com
15612
15613         [BZ #15948]
15614         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15615         single character.
15616         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15617
15618 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15619
15620         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15621         * elf/tst-tls1.c: Likewise.
15622         * elf/tst-tls10.h: Likewise.
15623         * elf/tst-tls14.c: Likewise.
15624         * elf/tst-tls2.c: Likewise.
15625         * elf/tst-tls3.c: Likewise.
15626         * elf/tst-tls4.c: Likewise.
15627         * elf/tst-tls5.c: Likewise.
15628         * elf/tst-tls6.c: Likewise.
15629         * elf/tst-tls7.c: Likewise.
15630         * elf/tst-tls8.c: Likewise.
15631         * elf/tst-tls9.c: Likewise.
15632         * elf/tst-tlsmod1.c: Likewise.
15633         * elf/tst-tlsmod13.c: Likewise.
15634         * elf/tst-tlsmod13a.c: Likewise.
15635         * elf/tst-tlsmod14a.c: Likewise.
15636         * elf/tst-tlsmod16a.c: Likewise.
15637         * elf/tst-tlsmod16b.c: Likewise.
15638         * elf/tst-tlsmod2.c: Likewise.
15639         * elf/tst-tlsmod3.c: Likewise.
15640         * elf/tst-tlsmod4.c: Likewise.
15641         * elf/tst-tlsmod5.c: Likewise.
15642         * elf/tst-tlsmod6.c: Likewise.
15643
15644 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15645
15646         [BZ #12486]
15647         * malloc/malloc.c: remove checks for statistics.
15648
15649 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15650
15651         [BZ #15277]
15652         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15653         * inet/tst-network.c: Add testcase.
15654
15655 2013-10-17  Andreas Schwab  <schwab@suse.de>
15656
15657         [BZ #15218]
15658         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15659         to determine canonical name.
15660
15661 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15662
15663         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15664         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15665         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15666         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15667         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15668         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15669         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15670         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15671         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15672         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15673         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15674         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15675         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15676         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15677         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15678         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15679         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15680         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15681         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15682         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15683         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15684         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15685         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15686         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15687         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15688         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15689         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15690         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15691         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15692         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15693         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15694         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15695         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15696         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15697         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15698         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15699         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15700         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15701         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15702         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15703         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15704         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15705         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15706         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15707         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15708         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15709         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15710         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15711         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15712         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15713         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15714         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15715         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15716         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15717         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15718         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15719         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15720         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15721
15722 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15723
15724         [BZ #16041]
15725         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15726         make result into a quiet NaN.
15727
15728 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15729
15730         * soft-fp/adddf3.c: Fix horizontal whitespace.
15731         * soft-fp/addsf3.c: Likewise.
15732         * soft-fp/addtf3.c: Likewise.
15733         * soft-fp/divdf3.c: Likewise.
15734         * soft-fp/divsf3.c: Likewise.
15735         * soft-fp/divtf3.c: Likewise.
15736         * soft-fp/double.h: Likewise.
15737         * soft-fp/eqdf2.c: Likewise.
15738         * soft-fp/eqsf2.c: Likewise.
15739         * soft-fp/eqtf2.c: Likewise.
15740         * soft-fp/extenddftf2.c: Likewise.
15741         * soft-fp/extended.h: Likewise.
15742         * soft-fp/extendsfdf2.c: Likewise.
15743         * soft-fp/extendsftf2.c: Likewise.
15744         * soft-fp/extendxftf2.c: Likewise.
15745         * soft-fp/fixdfdi.c: Likewise.
15746         * soft-fp/fixdfsi.c: Likewise.
15747         * soft-fp/fixdfti.c: Likewise.
15748         * soft-fp/fixsfdi.c: Likewise.
15749         * soft-fp/fixsfsi.c: Likewise.
15750         * soft-fp/fixsfti.c: Likewise.
15751         * soft-fp/fixtfdi.c: Likewise.
15752         * soft-fp/fixtfsi.c: Likewise.
15753         * soft-fp/fixtfti.c: Likewise.
15754         * soft-fp/fixunsdfdi.c: Likewise.
15755         * soft-fp/fixunsdfsi.c: Likewise.
15756         * soft-fp/fixunsdfti.c: Likewise.
15757         * soft-fp/fixunssfdi.c: Likewise.
15758         * soft-fp/fixunssfsi.c: Likewise.
15759         * soft-fp/fixunssfti.c: Likewise.
15760         * soft-fp/fixunstfdi.c: Likewise.
15761         * soft-fp/fixunstfsi.c: Likewise.
15762         * soft-fp/fixunstfti.c: Likewise.
15763         * soft-fp/floatdidf.c: Likewise.
15764         * soft-fp/floatdisf.c: Likewise.
15765         * soft-fp/floatditf.c: Likewise.
15766         * soft-fp/floatsidf.c: Likewise.
15767         * soft-fp/floatsisf.c: Likewise.
15768         * soft-fp/floatsitf.c: Likewise.
15769         * soft-fp/floattidf.c: Likewise.
15770         * soft-fp/floattisf.c: Likewise.
15771         * soft-fp/floattitf.c: Likewise.
15772         * soft-fp/floatundidf.c: Likewise.
15773         * soft-fp/floatundisf.c: Likewise.
15774         * soft-fp/floatunditf.c: Likewise.
15775         * soft-fp/floatunsidf.c: Likewise.
15776         * soft-fp/floatunsisf.c: Likewise.
15777         * soft-fp/floatunsitf.c: Likewise.
15778         * soft-fp/floatuntidf.c: Likewise.
15779         * soft-fp/floatuntisf.c: Likewise.
15780         * soft-fp/floatuntitf.c: Likewise.
15781         * soft-fp/fmadf4.c: Likewise.
15782         * soft-fp/fmasf4.c: Likewise.
15783         * soft-fp/fmatf4.c: Likewise.
15784         * soft-fp/gedf2.c: Likewise.
15785         * soft-fp/gesf2.c: Likewise.
15786         * soft-fp/getf2.c: Likewise.
15787         * soft-fp/ledf2.c: Likewise.
15788         * soft-fp/lesf2.c: Likewise.
15789         * soft-fp/letf2.c: Likewise.
15790         * soft-fp/muldf3.c: Likewise.
15791         * soft-fp/mulsf3.c: Likewise.
15792         * soft-fp/multf3.c: Likewise.
15793         * soft-fp/negdf2.c: Likewise.
15794         * soft-fp/negsf2.c: Likewise.
15795         * soft-fp/negtf2.c: Likewise.
15796         * soft-fp/op-1.h: Likewise.
15797         * soft-fp/op-2.h: Likewise.
15798         * soft-fp/op-4.h: Likewise.
15799         * soft-fp/op-8.h: Likewise.
15800         * soft-fp/op-common.h: Likewise.
15801         * soft-fp/quad.h: Likewise.
15802         * soft-fp/single.h: Likewise.
15803         * soft-fp/soft-fp.h: Likewise.
15804         * soft-fp/sqrtdf2.c: Likewise.
15805         * soft-fp/sqrtsf2.c: Likewise.
15806         * soft-fp/sqrttf2.c: Likewise.
15807         * soft-fp/subdf3.c: Likewise.
15808         * soft-fp/subsf3.c: Likewise.
15809         * soft-fp/subtf3.c: Likewise.
15810         * soft-fp/truncdfsf2.c: Likewise.
15811         * soft-fp/trunctfdf2.c: Likewise.
15812         * soft-fp/trunctfsf2.c: Likewise.
15813         * soft-fp/trunctfxf2.c: Likewise.
15814         * soft-fp/unorddf2.c: Likewise.
15815         * soft-fp/unordsf2.c: Likewise.
15816         * soft-fp/unordtf2.c: Likewise.
15817
15818 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15819
15820         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15821         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15822
15823 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15824
15825         * elf/dl-libc.c: Clear initfini list after freeing.
15826
15827 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15828
15829         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15830         * soft-fp/addsf3.c: Likewise.
15831         * soft-fp/addtf3.c: Likewise.
15832         * soft-fp/divdf3.c: Likewise.
15833         * soft-fp/divsf3.c: Likewise.
15834         * soft-fp/divtf3.c: Likewise.
15835         * soft-fp/double.h: Likewise.
15836         * soft-fp/eqdf2.c: Likewise.
15837         * soft-fp/eqsf2.c: Likewise.
15838         * soft-fp/eqtf2.c: Likewise.
15839         * soft-fp/extenddftf2.c: Likewise.
15840         * soft-fp/extended.h: Likewise.
15841         * soft-fp/extendsfdf2.c: Likewise.
15842         * soft-fp/extendsftf2.c: Likewise.
15843         * soft-fp/extendxftf2.c: Likewise.
15844         * soft-fp/fixdfdi.c: Likewise.
15845         * soft-fp/fixdfsi.c: Likewise.
15846         * soft-fp/fixdfti.c: Likewise.
15847         * soft-fp/fixsfdi.c: Likewise.
15848         * soft-fp/fixsfsi.c: Likewise.
15849         * soft-fp/fixsfti.c: Likewise.
15850         * soft-fp/fixtfdi.c: Likewise.
15851         * soft-fp/fixtfsi.c: Likewise.
15852         * soft-fp/fixtfti.c: Likewise.
15853         * soft-fp/fixunsdfdi.c: Likewise.
15854         * soft-fp/fixunsdfsi.c: Likewise.
15855         * soft-fp/fixunsdfti.c: Likewise.
15856         * soft-fp/fixunssfdi.c: Likewise.
15857         * soft-fp/fixunssfsi.c: Likewise.
15858         * soft-fp/fixunssfti.c: Likewise.
15859         * soft-fp/fixunstfdi.c: Likewise.
15860         * soft-fp/fixunstfsi.c: Likewise.
15861         * soft-fp/fixunstfti.c: Likewise.
15862         * soft-fp/floatdidf.c: Likewise.
15863         * soft-fp/floatdisf.c: Likewise.
15864         * soft-fp/floatditf.c: Likewise.
15865         * soft-fp/floatsidf.c: Likewise.
15866         * soft-fp/floatsisf.c: Likewise.
15867         * soft-fp/floatsitf.c: Likewise.
15868         * soft-fp/floattidf.c: Likewise.
15869         * soft-fp/floattisf.c: Likewise.
15870         * soft-fp/floattitf.c: Likewise.
15871         * soft-fp/floatundidf.c: Likewise.
15872         * soft-fp/floatundisf.c: Likewise.
15873         * soft-fp/floatunsidf.c: Likewise.
15874         * soft-fp/floatunsisf.c: Likewise.
15875         * soft-fp/floatuntidf.c: Likewise.
15876         * soft-fp/floatuntisf.c: Likewise.
15877         * soft-fp/floatuntitf.c: Likewise.
15878         * soft-fp/fmadf4.c: Likewise.
15879         * soft-fp/fmasf4.c: Likewise.
15880         * soft-fp/fmatf4.c: Likewise.
15881         * soft-fp/gedf2.c: Likewise.
15882         * soft-fp/gesf2.c: Likewise.
15883         * soft-fp/getf2.c: Likewise.
15884         * soft-fp/ledf2.c: Likewise.
15885         * soft-fp/lesf2.c: Likewise.
15886         * soft-fp/letf2.c: Likewise.
15887         * soft-fp/muldf3.c: Likewise.
15888         * soft-fp/mulsf3.c: Likewise.
15889         * soft-fp/multf3.c: Likewise.
15890         * soft-fp/negdf2.c: Likewise.
15891         * soft-fp/negsf2.c: Likewise.
15892         * soft-fp/negtf2.c: Likewise.
15893         * soft-fp/op-1.h: Likewise.
15894         * soft-fp/op-2.h: Likewise.
15895         * soft-fp/op-4.h: Likewise.
15896         * soft-fp/op-8.h: Likewise.
15897         * soft-fp/op-common.h: Likewise.
15898         * soft-fp/quad.h: Likewise.
15899         * soft-fp/single.h: Likewise.
15900         * soft-fp/soft-fp.h: Likewise.
15901         * soft-fp/sqrtdf2.c: Likewise.
15902         * soft-fp/sqrtsf2.c: Likewise.
15903         * soft-fp/sqrttf2.c: Likewise.
15904         * soft-fp/subdf3.c: Likewise.
15905         * soft-fp/subsf3.c: Likewise.
15906         * soft-fp/subtf3.c: Likewise.
15907         * soft-fp/truncdfsf2.c: Likewise.
15908         * soft-fp/trunctfdf2.c: Likewise.
15909         * soft-fp/trunctfsf2.c: Likewise.
15910         * soft-fp/trunctfxf2.c: Likewise.
15911         * soft-fp/unorddf2.c: Likewise.
15912         * soft-fp/unordsf2.c: Likewise.
15913         * soft-fp/unordtf2.c: Likewise.
15914
15915 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15916
15917         [BZ #15672]
15918         * misc/error.c (error_tail): Fix possible buffer overflow.
15919
15920 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15921
15922         [BZ #13028]
15923         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15924         address.
15925
15926 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15927
15928         [BZ #832]
15929         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15930         testing pipefail option.
15931
15932 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15933
15934         * soft-fp/double.h: Indent preprocessor directives inside #if.
15935         * soft-fp/extended.h: Likewise.
15936         * soft-fp/op-2.h: Likewise.
15937         * soft-fp/op-4.h: Likewise.
15938         * soft-fp/op-common.h: Likewise.
15939         * soft-fp/quad.h: Likewise.
15940         * soft-fp/single.h: Likewise.
15941         * soft-fp/soft-fp.h: Likewise.
15942
15943 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15944
15945         * iconv/iconv_prog.c: Fix typos.
15946         * stdio-common/psiginfo-data.h: Likewise.
15947
15948 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15949
15950         [BZ #15764]
15951         * locale/setlocale.c: Fix typo.
15952
15953 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15954
15955         [BZ #16036]
15956         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15957         signaling NaN arguments.
15958         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15959         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15960
15961         [BZ #14910]
15962         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15963         unordered operands.
15964         * soft-fp/gesf2.c (__gesf2): Likewise.
15965         * soft-fp/getf2.c (__getf2): Likewise.
15966         * soft-fp/ledf2.c (__ledf2): Likewise.
15967         * soft-fp/lesf2.c (__lesf2): Likewise.
15968         * soft-fp/letf2.c (__letf2): Likewise.
15969
15970         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15971         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15972         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15973         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15974         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15975         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15976         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15977         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15978         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15979         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15980         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15981         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15982         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15983         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15984         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15985         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15986         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15987         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15988         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15989         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15990         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15991         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15992         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15993         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15994         * soft-fp/floattidf.c (__floattidf): Likewise.
15995         * soft-fp/floattisf.c (__floattisf): Likewise.
15996         * soft-fp/floattitf.c (__floattitf): Likewise.
15997         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15998         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15999         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16000         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16001         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16002         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16003         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16004         * soft-fp/gesf2.c (__gesf2): Likewise.
16005         * soft-fp/getf2.c (__getf2): Likewise.
16006         * soft-fp/ledf2.c (__ledf2): Likewise.
16007         * soft-fp/lesf2.c (__lesf2): Likewise.
16008         * soft-fp/letf2.c (__letf2): Likewise.
16009
16010         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16011         Undefine and redefine.
16012         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16013         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16014         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16015         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16016         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16017         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16018         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16019         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16020         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16021         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16022         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16023         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16024         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16025         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16026         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16027
16028         [BZ #16032]
16029         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16030         without decrementing exponent if mantissa >= that for the
16031         denominator, not >.
16032         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16033         denominator, not >.  Decrement exponent in < case instead of
16034         incrementing in >= case.
16035         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16036         without decrementing exponent if mantissa >= that for the
16037         denominator, not >.
16038
16039         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16040         computing saturated result for unsigned overflow.
16041
16042 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16043             Jeff Law  <law@redhat.com>
16044
16045         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16046         (atan2Mp): Add systemtap probe marker.
16047         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16048         (__ieee754_log): Add systemtap probe marker.
16049         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16050         (atanMp): Add systemtap probe marker.
16051         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16052         (tanMp): Add systemtap probe marker.
16053         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16054         (__slowexp): Add systemtap probe marker.
16055         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16056         (__slowpow): Add systemtap probe marker.
16057         * manual/probes.texi: Document probes.
16058
16059 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16060
16061         [BZ #15362]
16062         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16063         written.
16064         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16065         written.
16066         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16067         written to buffer but not flushed.
16068         * libio/iofwrite_u.c:  Likewise.
16069         * libio/iopadn.c:  Return bytes returned even if EOF was
16070         encountered.
16071         * libio/iowpadn.c:  Likewise.
16072         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16073         if _IO_padn does not write the whole buffer.
16074         [!COMPILE_WPRINTF] (PAD): Likewise.
16075
16076 2013-10-10  David S. Miller  <davem@davemloft.net>
16077
16078         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16079         directory block.
16080
16081 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16082
16083         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16084         instead of FSF address.
16085         * soft-fp/fixdfti.c: Likewise.
16086         * soft-fp/fixsfti.c: Likewise.
16087         * soft-fp/fixtfti.c: Likewise.
16088         * soft-fp/fixunsdfti.c: Likewise.
16089         * soft-fp/fixunssfti.c: Likewise.
16090         * soft-fp/fixunstfti.c: Likewise.
16091         * soft-fp/floattidf.c: Likewise.
16092         * soft-fp/floattisf.c: Likewise.
16093         * soft-fp/floattitf.c: Likewise.
16094         * soft-fp/floatuntidf.c: Likewise.
16095         * soft-fp/floatuntisf.c: Likewise.
16096         * soft-fp/floatuntitf.c: Likewise.
16097         * soft-fp/trunctfxf2.c: Likewise.
16098
16099         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16100         * soft-fp/fixdfti.c: Likewise.
16101         * soft-fp/fixsfti.c: Likewise.
16102         * soft-fp/fixtfti.c: Likewise.
16103         * soft-fp/fixunsdfti.c: Likewise.
16104         * soft-fp/fixunssfti.c: Likewise.
16105         * soft-fp/fixunstfti.c: Likewise.
16106         * soft-fp/floattidf.c: Likewise.
16107         * soft-fp/floattisf.c: Likewise.
16108         * soft-fp/floattitf.c: Likewise.
16109         * soft-fp/floatuntidf.c: Likewise.
16110         * soft-fp/floatuntisf.c: Likewise.
16111         * soft-fp/floatuntitf.c: Likewise.
16112         * soft-fp/trunctfxf2.c: Likewise.
16113
16114 2013-10-10  David S. Miller  <davem@davemloft.net>
16115
16116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16117
16118 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16119
16120         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16121         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16122         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16123         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16124         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16125         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16126         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16127
16128         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16129         for NaNs before doing comparisons on argument.
16130         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16131         Likewise.
16132
16133 2013-10-10  Will Newton  <will.newton@linaro.org>
16134
16135         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16136         passed to _int_memalign does not overflow.
16137
16138 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16139
16140         * scripts/bench.pl: Add include-sources directive.
16141         * benchtests/README: Update documentation.
16142
16143 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16144
16145         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16146         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16147         instead of FP_INIT_ROUNDMODE.
16148         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16149         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16150
16151         [BZ #16034]
16152         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16153         copy class of input value.
16154         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16155         not handle exceptions.
16156         * soft-fp/negsf2.c (__negsf2): Likewise.
16157         * soft-fp/negtf2.c (__negtf2): Likewise.
16158         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16159
16160 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16161
16162         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16163         semicolon.  From Linux kernel.
16164
16165 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16166
16167         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16168
16169 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16170
16171         [BZ #156]
16172         * manual/socket.texi: Added statement about buffer
16173         for gethostbyname2_r.
16174
16175 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16176
16177         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16178         Use .p2align directive instead, throughout.
16179         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16180         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16181         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16182         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16183         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16184         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16185         * sysdeps/x86_64/strchr.S: Likewise.
16186         * sysdeps/x86_64/strrchr.S: Likewise.
16187
16188 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16189
16190         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16191
16192         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16193
16194         * sysdeps/generic/math_private.h (__mpsin1): Remove
16195         declaration.
16196         (__mpcos1): Likewise.
16197         (__mpsin): New argument __range_reduce.
16198         (__mpcos): Likewise.
16199         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16200         (slow): Use __mpsin and __mpcos.
16201         (slow1): Likewise.
16202         (slow2): Likewise.
16203         (sloww): Likewise.
16204         (sloww1): Likewise.
16205         (sloww2): Likewise.
16206         (bsloww): Likewise.
16207         (bsloww1): Likewise.
16208         (bsloww2): Likewise.
16209         (cslow2): Likewise.
16210         (csloww): Likewise.
16211         (csloww1): Likewise.
16212         (csloww2): Likewise.
16213         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16214         range_reduce.  Merge in __mpsin1.
16215         (__mpcos): Likewise.
16216         (__mpsin1): Remove.
16217         (__mpcos1): Likewise.
16218
16219 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16220
16221         * locale/loadlocale.c (_nl_intern_locale_data): Use
16222         LOCFILE_ALIGNED_P.
16223         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16224         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16225         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16226         obstack data is appropriately aligned.
16227         (obstack_int32_grow_fast): Likewise.
16228         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16229         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16230         (add_locale_uint32_array): Likewise.
16231
16232 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16233
16234         * benchtests/Makefile: Remove ARGLIST and RET variables.
16235         ($(objpfx)bench-%.c): Pass only function name to the script.
16236         * benchtests/README: Update documentation.
16237         * benchtests/acos-inputs: Add new directives.
16238         * benchtests/acosh-inputs: Likewise.
16239         * benchtests/asin-inputs: Likewise.
16240         * benchtests/asinh-inputs: Likewise.
16241         * benchtests/atan-inputs: Likewise.
16242         * benchtests/atanh-inputs: Likewise.
16243         * benchtests/cos-inputs: Likewise.
16244         * benchtests/cosh-inputs: Likewise.
16245         * benchtests/exp-inputs: Likewise.
16246         * benchtests/log-inputs: Likewise.
16247         * benchtests/pow-inputs: Likewise.
16248         * benchtests/rint-inputs: Likewise.
16249         * benchtests/sin-inputs: Likewise.
16250         * benchtests/sinh-inputs: Likewise.
16251         * benchtests/tan-inputs: Likewise.
16252         * benchtests/tanh-inputs: Likewise.
16253         * scripts/bench.pl: Add support for new directives.
16254
16255 2013-10-07  Alan Modra  <amodra@gmail.com>
16256
16257         * README: Fix careless merge.
16258
16259 2013-10-05  Alan Modra  <amodra@gmail.com>
16260
16261         * NEWS: Mention powerpc64le support and bugs fixed.
16262         * README: Both big-endian and little-endian powerpc64 supported.
16263
16264 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16265
16266         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16267         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16268         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16269         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16270
16271 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16272
16273         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16274         match prototype.
16275
16276 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16277
16278         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16279         Move -mhard-float appending from
16280         ports/sysdeps/powerpc/powerpc32/Makefile.
16281         [$(with-fp) = yes] (ASFLAGS): Likewise.
16282         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16283         * sysdeps/powerpc/nofpu: Move directory from
16284         ports/sysdeps/powerpc/nofpu.
16285         * sysdeps/powerpc/soft-fp: Move directory from
16286         ports/sysdeps/powerpc/soft-fp.
16287         * sysdeps/powerpc/powerpc32/405: Move directory from
16288         ports/sysdeps/powerpc/powerpc32/405.
16289         * sysdeps/powerpc/powerpc32/440: Move directory from
16290         ports/sysdeps/powerpc/powerpc32/440.
16291         * sysdeps/powerpc/powerpc32/464: Move directory from
16292         ports/sysdeps/powerpc/powerpc32/464.
16293         * sysdeps/powerpc/powerpc32/476: Move directory from
16294         ports/sysdeps/powerpc/powerpc32/476.
16295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16296         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16298         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16300         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16302         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16304         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16305         * README: Update for powerpc-*-linux-gnu software floating point
16306         support in libc.
16307
16308         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16309         case to powerpc/powerpc32*.
16310         * sysdeps/unix/sysv/linux/configure: Regenerated.
16311
16312         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16313         (_FPU_MASK_OM): Define as 0x04.
16314         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16315         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16316         0x00c10080.
16317         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16318         0x0000003c.
16319         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16320
16321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16322         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16323         getcontext_e500.
16324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16325         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16326         setcontext_e500.
16327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16328         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16329         and setcontext_e500.
16330
16331 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16332
16333         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16334
16335 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16336
16337         * manual/threads.texi (Default Thread Attributes): Fix typo.
16338
16339 2013-10-04  Will Newton  <will.newton@linaro.org>
16340
16341         * malloc/Makefile: Add tst-memalign.
16342         * malloc/tst-memalign.c: New file.
16343
16344         * malloc/tst-posix_memalign.c: Add comments.
16345         (do_test): Add comments and call free on all potentially
16346         allocated pointers. Add space after cast.
16347
16348         * malloc/tst-pvalloc.c: Add comments.
16349         (do_test): Add comments and call free on all potentially
16350         allocated pointers. Remove duplicate check for NULL pointer.
16351         Add space after cast.
16352
16353         * malloc/tst-valloc.c: Add comments.
16354         (do_test): Add comments and call free on all potentially
16355         allocated pointers. Remove duplicate check for NULL pointer.
16356         Add space after cast.
16357
16358 2013-10-04  Alan Modra  <amodra@gmail.com>
16359
16360         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16361         Use stdint types in rather than __attribute__((mode())).
16362         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16363
16364 2013-10-04  Alan Modra  <amodra@gmail.com>
16365
16366         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16367         Correct handling of unaligned relocs for little-endian.
16368         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16369
16370 2013-10-04  Alan Modra  <amodra@gmail.com>
16371
16372         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16373         * configure: Regenerate.
16374         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16375         * shlib-versions: Likewise.
16376
16377 2013-10-04  Alan Modra  <amodra@gmail.com>
16378
16379         * string/tester.c (test_memrchr): Increment reported test cycle.
16380
16381 2013-10-04  Alan Modra  <amodra@gmail.com>
16382
16383         * string/test-memcpy.c (do_one_test): When reporting errors, print
16384         string address and don't overrun end of string.
16385
16386 2013-10-04  Alan Modra  <amodra@gmail.com>
16387
16388         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16389         insrdi.  Make better use of reg selection to speed exit slightly.
16390         Schedule entry path a little better.  Remove useless "are we done"
16391         checks on entry to main loop.  Handle wrapping around zero address.
16392         Correct main loop count.  Handle single left-over word from main
16393         loop inline rather than by using loop_small.  Remove extra word
16394         case in loop_small caused by wrong loop count.  Add little-endian
16395         support.
16396         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16397         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16398         cache hint.
16399         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16400         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16401         support.  Avoid rlwimi.
16402         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16403
16404 2013-10-04  Alan Modra  <amodra@gmail.com>
16405
16406         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16407         insrdi.  Formatting.
16408         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16409         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16410         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16411         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16412         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16413         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16414
16415 2013-10-04  Alan Modra  <amodra@gmail.com>
16416
16417         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16418         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16419         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16420         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16421         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16422         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16423         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16424         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16425         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16426         use of regs.  Use power7 mtocrf.  Tidy function tails.
16427
16428 2013-10-04  Alan Modra  <amodra@gmail.com>
16429
16430         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16431         Formatting.  Consistently use rXXX register defines or rN defines.
16432         Use early exit labels that avoid restoring unused non-volatile regs.
16433         Make cr field use more consistent with rWORDn compares.  Rename
16434         regs used as shift registers for unaligned loop, using rN defines
16435         for short lifetime/multiple use regs.
16436         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16437         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16438         addi 1,1,64 to pop stack frame.  Simplify return value code.
16439         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16440
16441 2013-10-04  Alan Modra  <amodra@gmail.com>
16442
16443         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16444         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16445         rather than rlwimi.
16446         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16447         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16448         little-endian support.  Correct typos.
16449         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16450         rather than rlwimi.
16451         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16452         in loop and entry code to keep "and." results.
16453         (strchr): Add little-endian support.  Comment.  Move cntlzd
16454         earlier in tail.
16455         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16456
16457 2013-10-04  Alan Modra  <amodra@gmail.com>
16458
16459         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16460         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16461         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16462         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16463
16464 2013-10-04  Alan Modra  <amodra@gmail.com>
16465
16466         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16467         (rTMP): Define as r11.
16468         (strcmp): Add little-endian support.  Optimise tail.
16469         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16470         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16471         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16472         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16473         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16474         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16475         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16476
16477 2013-10-04  Alan Modra  <amodra@gmail.com>
16478
16479         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16480         little-endian support.  Remove unnecessary "are we done" tests.
16481         Handle "s" wrapping around zero and extremely large "size".
16482         Correct main loop count.  Handle single left-over word from main
16483         loop inline rather than by using small_loop.  Correct comments.
16484         Delete "zero" tail, use "end_max" instead.
16485         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16486
16487 2013-10-04  Alan Modra  <amodra@gmail.com>
16488
16489         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16490         support.  Don't branch over align.
16491         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16492         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16493         support.  Rearrange tmp reg use to suit.  Comment.
16494         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16495
16496 2013-10-04  Alan Modra  <amodra@gmail.com>
16497
16498         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16499
16500 2013-10-04  Alan Modra  <amodra@gmail.com>
16501
16502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16503         conditional form of branch and link when obtaining pc.
16504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16505
16506 2013-10-04  Alan Modra  <amodra@gmail.com>
16507
16508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16509         HIWORD/LOWORD.
16510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16512
16513 2013-10-04  Alan Modra  <amodra@gmail.com>
16514
16515         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16516         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16517         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16518         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16519         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16520         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16521         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16522         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16523         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16524         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16525
16526 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16527             Alistair Popple <alistair@ozlabs.au.ibm.com>
16528             Alan Modra <amodra@gmail.com>
16529
16530         [BZ #15723]
16531         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16532         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16533         _dl_hwcap access for little-endian.
16534         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16535         destroy vmx regs when saving unaligned.
16536         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16537         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16538         destroy vmx regs when saving unaligned.
16539
16540 2013-10-04  Alan Modra  <amodra@gmail.com>
16541
16542         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16543         Don't use a union to pack hi/low value.
16544
16545 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16546
16547         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16548         for little-endian.
16549         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16550         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16551         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16552         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16553         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16554
16555 2013-10-04  Alan Modra  <amodra@gmail.com>
16556
16557         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16558         constants to usual value for .cst8 section, and remove redundant
16559         high address load.
16560         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16561         constant for 0x1p52.  Load little-endian words of double from
16562         correct stack offsets.
16563
16564 2013-10-04  Alan Modra  <amodra@gmail.com>
16565
16566         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16567         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16568         words of double from correct stack offsets.
16569         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16570         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16571         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16572         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16573         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16574         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16575         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16576         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16577         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16578         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16579         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16580         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16581         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16582         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16583         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16584         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16585         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16586
16587 2013-10-04  Alan Modra  <amodra@gmail.com>
16588
16589         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16590         64-bit int/double union.
16591         (_FPU_SETCW): Likewise.
16592         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16593         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16594
16595 2013-10-04  Alan Modra  <amodra@gmail.com>
16596
16597         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16598         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16599
16600 2013-10-04  Alan Modra  <amodra@gmail.com>
16601
16602         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16603         use vector int constants.
16604         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16605
16606 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16607
16608         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16609         array with long long.
16610         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16611         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16612         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16613         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16614         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16615         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16616         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16617         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16618         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16619         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16620         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16621         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16622         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16623
16624 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16625
16626         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16627         (__signbit): Likewise.  Correct for little-endian.
16628         (__signbitl): Call __signbit.
16629         (lrint): Correct for little-endian.
16630         (lrintf): Call lrint.
16631
16632 2013-10-04  Alan Modra  <amodra@gmail.com>
16633
16634         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16635         union 32-bit int array member with 64-bit int array.
16636         (t515, tm256): Double rather than long double.
16637         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16638
16639 2013-10-04  Alan Modra  <amodra@gmail.com>
16640
16641         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16642         Delete.
16643         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16644         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16645         version of math_ldbl.h.
16646
16647 2013-10-04  Alan Modra  <amodra@gmail.com>
16648
16649         [BZ #15734], [BZ #15735]
16650         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16651         all uses of ieee875 long double macros and unions.  Simplify test
16652         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16653         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16654         normalize after ldbl_extract_mantissa, and don't add hidden bit
16655         already handled.  Don't treat low word of ieee854 mantissa like
16656         low word of IBM long double and mask off bit when testing for
16657         zero.
16658         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16659         all uses of ieee875 long double macros and unions.  Simplify tests
16660         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16661         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16662         two1022, instead use their values.  Recognise that tests for large
16663         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16664         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16665         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16666         test for 0.0L and nan.  Correct negation.
16667         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16668         ieee875 long double macros and unions.  Correct output for large
16669         magnitude x.  Correct absolute value calculation.
16670         (__erfcl): Likewise.
16671         * math/libm-test.inc: Add tests for errors discovered in IBM long
16672         double versions of fmodl, remainderl, erfl and erfcl.
16673
16674 2013-10-04  Alan Modra  <amodra@gmail.com>
16675
16676         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16677         all uses of ieee854 long double macros and unions.  Simplify tests
16678         for long doubles that are fully specified by the high double.
16679         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16680         Likewise.
16681         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16682         Remove dead code too.
16683         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16684         (__ieee754_ynl): Likewise.
16685         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16686         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16687         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16688         Remove dead code too.
16689         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16690         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16691         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16692         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16693         Simplify.
16694         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16695         Simplify.
16696         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16697         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16698         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16699         Comment on variable precision.
16700         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16701         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16702         Likewise.
16703         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16704         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16705         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16706         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16707         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16708
16709 2013-10-04  Alan Modra  <amodra@gmail.com>
16710
16711         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16712         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16713         all uses of ieee854 long double macros and unions.
16714         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16715         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16716         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16717         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16718         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16719         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16720         Likewise.
16721         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16722         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16723         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16724         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16725         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16726         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16727         Simplify sign and nan test too.
16728         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16729         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16730         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16731         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16732         Likewise.
16733         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16734         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16735         Likewise.
16736         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16737         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16738         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16739         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16740         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16741         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16742
16743 2013-10-04  Alan Modra  <amodra@gmail.com>
16744
16745         * stdio-common/printf_size.c (__printf_size): Don't use
16746         union ieee854_long_double in fpnum union.
16747         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16748         signbit macro to retrieve sign from long double.
16749         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16750         retrieve sign from long double.
16751         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16752         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16753         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16754         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16755         * math/test-misc.c (main): Don't use union ieee854_long_double.
16756
16757 2013-10-04  Alan Modra  <amodra@gmail.com>
16758
16759         [BZ #15680]
16760         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16761         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16762         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16763         calculation.  Remove unnecessary test for denormal exponent.
16764         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16765         Correct handling of denormals.  Avoid undefined shift behaviour.
16766         Correct normalisation of low mantissa when low double is denormal.
16767         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16768         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16769         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16770         Correct normalisation of low mantissa.  Test for overflow of high
16771         mantissa and normalise.
16772         (ldbl_nearbyint): Use more readable constant for two52.
16773         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16774         (__mpn_construct_long_double): Fix test for overflow of high
16775         mantissa and correct normalisation.  Avoid undefined shift.
16776
16777 2013-10-04  Alan Modra  <amodra@gmail.com>
16778
16779         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16780         (union ibm_extended_long_double): Define as an array of ieee754_double.
16781         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16782         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16783         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16784         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16785         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16786         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16787         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16788         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16789         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16790         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16791         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16792
16793 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16794
16795         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16796         page size instead of calling getpagesize.
16797
16798         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16799         (LOCFILE_ALIGN_MASK): Likewise.
16800         (LOCFILE_ALIGN_UP): Likewise.
16801         (LOCFILE_ALIGNED_P): Likewise.
16802         * locale/programs/ld-collate.c (collate_output): Use the new
16803         macros instead of __alignof__ (int32_t).
16804         * locale/weight.h (findidx): Likewise.
16805
16806 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16807
16808         [BZ #431]
16809         * manual/string.texi: Fix strncat and wcsncat.
16810
16811 2013-10-03  Brooks Moses  <bmoses@google.com>
16812
16813         [BZ #15915]
16814         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16815         * Makerules: ...here, and adjust associated comments.
16816
16817 2013-10-02  Will Newton  <will.newton@linaro.org>
16818
16819         * malloc/Makefile: Add tst-pvalloc.
16820         * malloc/tst-pvalloc.c: New file.
16821
16822 2013-10-02  Will Newton  <will.newton@linaro.org>
16823
16824         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16825         improve test coverage.
16826
16827 2013-10-02  Will Newton  <will.newton@linaro.org>
16828
16829         * malloc/Makefile: Add tst-posix_memalign.
16830         * malloc/tst-posix_memalign.c: New file.
16831
16832 2013-10-01  Eric Blake  <eblake@redhat.com>
16833
16834         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16835         Use __THROWNL rather than __THROW on static functions.
16836
16837 2013-09-30  Petr Machata  <pmachata@redhat.com>
16838
16839         * elf/elf.h (R_AARCH64_ABS16): New macro.
16840         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16841         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16842         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16843         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16844         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16845         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16846         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16847         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16848         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16849         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16850         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16851         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16852         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16853         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16854         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16855         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16856         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16857         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16858         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16859         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16860         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16861         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16862         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16863         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16864         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16865         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16866         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16867         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16868         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16869         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16870         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16871         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16872         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16873         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16874         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16875         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16876         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16877         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16878         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16879         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16880         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16881         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16882         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16883         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16884         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16885         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16886         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16887         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16888         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16889         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16890         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16891         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16892         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16893         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16894         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16895         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16896         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16897         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16898         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16899         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16900         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16901         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16902         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16903         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16904         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16905         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16906         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16907         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16908         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16909         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16910         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16911         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16912         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16913         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16914         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16915         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16916         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16917         (R_AARCH64_TLSDESC_LDR): Likewise.
16918         (R_AARCH64_TLSDESC_ADD): Likewise.
16919         (R_AARCH64_TLSDESC_CALL): Likewise.
16920
16921 2013-09-30  Andreas Schwab  <schwab@suse.de>
16922
16923         [BZ #15048]
16924         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16925         the nss database lookup.
16926         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16927         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16928
16929 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16930
16931         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16932
16933 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16934
16935         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16936         ${Bash-specific parameter/pattern/string} parameter expansion.
16937         * sysdeps/unix/make-syscalls.sh: Likewise.
16938
16939 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16940
16941         * sysdeps/sh/stackguard-macros.h: New file.
16942
16943 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16944
16945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16947         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16948         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16949         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16950         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16951
16952 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16953
16954         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16955         Fix thread ID register.
16956
16957 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16958
16959         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16960         [POSIX || UNIX98]: Require rather than permitting all symbols from
16961         <time.h>.
16962         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16963         element of struct sched_param.
16964         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16965         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16966         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16967         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16968         constant.
16969
16970 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16971
16972         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16973         argument calculation.
16974
16975 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16976
16977         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16978         Expect macro.
16979         [POSIX] (pthread_attr_t): Do not require type.
16980         [POSIX] (pthread_cond_t): Likewise.
16981         [POSIX] (pthread_condattr_t): Likewise.
16982         [POSIX] (pthread_key_t): Likewise.
16983         [POSIX] (pthread_mutex_t): Likewise.
16984         [POSIX] (pthread_mutexattr_t): Likewise.
16985         [POSIX] (pthread_once_t): Likewise.
16986         [POSIX] (pthread_t): Likewise.
16987         [POSIX-based standards] (pthread_atfork): Expect function.
16988
16989 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16990             Richard Sandiford  <richard@codesourcery.com>
16991
16992         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16993         (swap_endianness_p): New extern variable.
16994         (set_big_endian): New inline function.
16995         (maybe_swap_uint32): Likewise.
16996         (maybe_swap_uint32_array): Likewise.
16997         (maybe_swap_uint32_obstack): Likewise.
16998         * locale/programs/locfile.c: Include <stdbool.h>.
16999         (swap_endianness_p): New variable.
17000         (add_locale_uint32): Call maybe_swap_uint32.
17001         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17002         (write_locale_data): Call maybe_swap_uint32_array.
17003         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17004         maybe_swap_uint32.
17005         (obstack_int32_grow_fast): Likewise.
17006         (output_weightwc): Call maybe_swap_uint32_obstack.
17007         (collate_output): Likewise.
17008         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17009         (OPT_LITTLE_ENDIAN): Likewise.
17010         (options): Add --little-endian and --big-endian options.
17011         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17012         * locale/programs/locarchive.c: Include "locfile.h".
17013         (GET): New macro.
17014         (SET): Likewise.
17015         (INC): Likewise.
17016         (create_archive): Use the new macros to access fields of
17017         structures directly mapped from or written to locale archives.
17018         (oldlocrecentcmp): Likewise.
17019         (enlarge_archive): Likewise.
17020         (insert_name): Likewise.
17021         (add_alias): Likewise.
17022         (add_locale): Likewise.
17023         (delete_locales_from_archive): Likewise.
17024         (show_archive_content): Likewise.
17025         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17026         locale data.
17027
17028 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17029
17030         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17031         http://www.gnu.org/doc/freemanuals.texi.
17032         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17033
17034 2013-09-24  Will Newton  <will.newton@linaro.org>
17035
17036         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17037         macro.
17038
17039 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17040
17041         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17042         unsigned char.
17043
17044 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17045
17046         * manual/threads.texi (POSIX Threads): Fix a typo.
17047
17048 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17049
17050         [BZ #14547]
17051         * string/tst-strcoll-overflow.c: New test case.
17052         * string/Makefile (xtests): Add tst-strcoll-overflow.
17053         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17054         cache if string sizes may cause integer overflow.
17055
17056         [BZ #14547]
17057         * string/strcoll_l.c (coll_seq): New members rule, idx,
17058         save_idx and back_us.
17059         (get_next_seq_nocache): New function.
17060         (do_compare_nocache): New function.
17061         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17062         when malloc fails.
17063
17064 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17065
17066         [BZ #15754]
17067         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17068         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17069         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17070
17071         [BZ #15754]
17072         * elf/Makefile (tests): Add tst-ptrguard1.
17073         (tests-static): Add tst-ptrguard1-static.
17074         (tst-ptrguard1-ARGS): Define.
17075         (tst-ptrguard1-static-ARGS): Define.
17076         * elf/tst-ptrguard1.c: New file.
17077         * elf/tst-ptrguard1-static.c: New file.
17078         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17079         * sysdeps/i386/stackguard-macros.h: Likewise.
17080         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17081         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17082         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17083         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17084         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17085         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17086
17087 2013-09-23  Hector Marco  <hecmargi@upv.es>
17088             Ismael Ripoll  <iripoll@disca.upv.es>
17089             Carlos O'Donell  <carlos@redhat.com>
17090
17091         [BZ #15754]
17092         * sysdeps/generic/stackguard-macros.h: Define
17093         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17094         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17095         Define __pointer_chk_guard_local.
17096         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17097         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17098
17099 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17100
17101         [BZ #15859]
17102         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17103
17104 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17105
17106         * include/string.h (__ffs): Declare as hidden.
17107         * string/ffs.c (__ffs): Define as hidden.
17108         * sysdeps/i386/ffs.c (__ffs): Likewise.
17109         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17110         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17111         * sysdeps/s390/ffs.c (__ffs): Likewise.
17112         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17113
17114 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17115
17116         * NEWS: Mention malloc probes.
17117
17118         * malloc/arena.c (new_heap): New memory_heap_new probe.
17119         (grow_heap): New memory_heap_more probe.
17120         (shrink_heap): New memory_heap_less probe.
17121         (heap_trim): New memory_heap_free probe.
17122         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17123         (systrim): New memory_sbrk_less probe.
17124         * manual/probes.texi: Document them.
17125
17126         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17127         * manual/probes.texi: Document it.
17128
17129         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17130         (__libc_realloc): Add memory_realloc_retry probe.
17131         (__libc_memalign): Add memory_memalign_retry probe.
17132         (__libc_valloc): Add memory_valloc_retry probe.
17133         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17134         (__libc_calloc): Add memory_calloc_retry probe.
17135         * manual/probes.texi: Document them.
17136
17137         * malloc/arena.c (get_free_list): Add probe
17138         memory_arena_reuse_free_list.
17139         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17140         and memory_arena_reuse.
17141         (arena_get2) [!PER_THREAD]: Likewise.
17142         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17143         memory_arena_reuse_realloc.
17144         * manual/probes.texi: Document them.
17145
17146         * malloc/malloc.c (__libc_free): Add
17147         memory_mallopt_free_dyn_thresholds probe.
17148         (__libc_mallopt): Add multiple memory_mallopt probes.
17149         * manual/probes.texi: Document them.
17150
17151         * malloc/malloc.c: Include stap-probe.h.
17152         (__libc_mallopt): Add memory_mallopt probe.
17153         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17154         * manual/probes.texi: New.
17155         * manual/Makefile (chapters): Add probes.
17156         * manual/threads.texi: Set next node.
17157
17158 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17159
17160         [BZ #15963, #13985]
17161         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17162         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17163         Add `Chinese' to `nan' entry name.
17164
17165 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17166
17167         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17168         (POLYNOMIAL): Likewise.
17169         (TAYLOR_SINCOS): Likewise.
17170         (TAYLOR_SLOW): Likewise.
17171         (__sin): Use TAYLOR_SINCOS.
17172         (__cos): Likewise.
17173         (slow): Use TAYLOR_SLOW.
17174         (sloww): Likewise.
17175         (bsloww): Likewise.
17176         (csloww): Likewise.
17177
17178 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17179
17180         * stdlib/strtod_l.c: Fix buffer overrun.
17181
17182 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17183
17184         * benchtests/Makefile (bench): Add sincos.
17185         * benchtests/bench-sincos.c: New file.
17186
17187         * math/libm-test.inc (cos_test_data): New test inputs.
17188         (sin_test_data): Likewise.
17189
17190         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17191         macro.
17192         (__sin): Use it.
17193         (__cos): Likewise.
17194         (slow1): Likewise.
17195         (slow2): Likewise.
17196         (sloww1): Likewise.
17197         (sloww2): Likewise.
17198         (bsloww1): Likewise.
17199         (bsloww2): Likewise.
17200         (cslow2): Likewise.
17201         (csloww1): Likewise.
17202         (csloww2): Likewise.
17203
17204         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17205         function.
17206         (__sin): Use it.
17207         (__cos): Likewise.
17208
17209         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17210         gotos.
17211         (__cos): Likewise.
17212
17213 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17214
17215         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17216         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17217         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17218         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17219         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17220         * elf/cache.c (print_entry): Handle the new cache flags.
17221
17222 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17223             Aldy Hernandez  <aldyh@redhat.com>
17224
17225         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17226         Change condition to [_SOFT_FLOAT].
17227         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17228         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17229         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17230         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17232         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17233         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17234         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17235         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17236         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17237         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17238         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17239         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17240         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17241         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17242         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17243         declaration.
17244
17245 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17246
17247         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17248         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17249         (__longjmp): Use LOAD_GP to load saved GPRs.
17250         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17251         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17252         (__sigsetjmp): Use SAVE_GP to save GPRs.
17253
17254         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17255         Do not append -msoft-float.
17256         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17257
17258 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17259
17260         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17261
17262 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17263
17264         [BZ #15966]
17265         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17266         (_FPU_GETCW): Use initial "__" on variable and field names but not
17267         on macro parameter name.
17268         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17269         parentheses around reference to macro parameter.
17270
17271 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17272
17273         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17274         prototype.
17275         (ctype_startup): Use uint32_t in cast and sizeof for
17276         ctype->charnames.
17277
17278 2013-09-11  Jia Liu  <proljc@gmail.com>
17279
17280         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17281         __daddr_t_defined.
17282         [__FreeBSD__]: Likewise.
17283
17284 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17285
17286         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17287         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17288         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17289         (strchr): Remove __strchr_sse42 ifunc selection.
17290         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17291         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17292
17293 2013-09-11  Will Newton  <will.newton@linaro.org>
17294
17295         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17296         parameter to RES. Remove hardcoded 1000 value.
17297         * benchtests/bench-skeleton.c (main): Pass RES parameter
17298         to TIMING_INIT and multiply result by 1000.
17299
17300 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17301
17302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17303
17304 2013-09-11  Andreas Schwab  <schwab@suse.de>
17305
17306         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17307         if not defined.
17308         (O_TMPFILE) [__USE_GNU]: Define.
17309         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17310         Define.
17311
17312 2013-09-11  Will Newton  <will.newton@linaro.org>
17313
17314         [BZ #15857]
17315         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17316         does not overflow.
17317
17318 2013-09-11  Will Newton  <will.newton@linaro.org>
17319
17320         [BZ #15856]
17321         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17322         does not overflow.
17323
17324 2013-09-11  Will Newton  <will.newton@linaro.org>
17325
17326         [BZ #15855]
17327         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17328         does not overflow.
17329
17330 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17331
17332         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17333         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17334         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17335         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17336         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17337
17338 2013-09-10  Allan McRae  <allan@archlinux.org>
17339
17340         [BZ #15748]
17341         * manual/arith.texi (Parsing of Floats): Clarify
17342         cross-reference.
17343
17344         [BZ #15849]
17345         * manual/install.texi (Running make install): Mention
17346         --enable-pt-chown.
17347         * INSTALL: Regenerated.
17348
17349 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17350
17351         * csu/init-first.c (_init): Remove the !SHARED condition around
17352         FPU control word initialization.
17353         * elf/dl-support.c (_dl_fpu_control): New variable.
17354         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17355         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17356         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17357         * math/test-fpucw-static.c: New file.
17358         * math/test-fpucw-ieee.c: New file.
17359         * math/test-fpucw-ieee-static.c: New file.
17360         * math/Makefile (tests): Add `test-fpucw-ieee' and
17361         `$(tests-static)'.
17362         (tests-static): New variable.
17363         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17364         dependency to...
17365         [($(build-shared),yes)]
17366         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17367         ... this.
17368         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17369         New dependency.
17370
17371 2013-09-09  Allan McRae  <allan@archlinux.org>
17372
17373         [BZ #15939]
17374         * manual/string.texi (Collation Functions): Fix typo in
17375         strcoll example.
17376         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17377
17378         [BZ #15893]
17379         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17380
17381         [BZ #15892]
17382         * libio/memstream.c (open_memstream): Fix memory leak.
17383         * libio/wmemstream.c (open_wmemstream): Likewise.
17384
17385         [BZ #15895]
17386         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17387
17388 2013-09-09  Will Newton  <will.newton@linaro.org>
17389
17390         * malloc/Makefile: Add tst-realloc to tests.
17391         * malloc/tst-realloc.c: New file.
17392
17393 2013-09-09  Allan McRae  <allan@archlinux.org>
17394
17395         [BZ #15844]
17396         * COPYING: Update from GNU website to fix FSF address.
17397         * COPYING.LIB: Likewise.
17398
17399 2013-09-06  David S. Miller  <davem@davemloft.net>
17400
17401         * po/zh_TW.po: Update Chinese (traditional) translation from
17402         translation project.
17403
17404 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17405             Joseph Myers  <joseph@codesourcery.com>
17406
17407         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17408         "localeinfo.h".
17409         (obstack_chunk_alloc): New macro.
17410         (obstack_chunk_free): Likewise.
17411         (record_offset): New function.
17412         (init_locale_data): Likewise.
17413         (align_locale_data): Likewise.
17414         (add_locale_empty): Likewise.
17415         (add_locale_raw_data): Likewise.
17416         (add_locale_raw_obstack): Likewise.
17417         (add_locale_string): Likewise.
17418         (add_locale_wstring): Likewise.
17419         (add_locale_uint32): Likewise.
17420         (add_locale_uint32_array): Likewise.
17421         (add_locale_char): Likewise.
17422         (start_locale_structure): Likewise.
17423         (end_locale_structure): Likewise.
17424         (start_locale_prelude): Likewise.
17425         (end_locale_prelude): Likewise.
17426         (write_locale_data): Take locale_file structure rather than an
17427         iovec.
17428         * locale/programs/locfile.h: Include "obstack.h".
17429         (struct locale_file): Change to store locale file contents instead
17430         of header.
17431         (init_locale_data): New prototype.
17432         (align_locale_data): Likewise.
17433         (add_locale_empty): Likewise.
17434         (add_locale_raw_data): Likewise.
17435         (add_locale_raw_obstack): Likewise.
17436         (add_locale_string): Likewise.
17437         (add_locale_wstring): Likewise.
17438         (add_locale_uint32): Likewise.
17439         (add_locale_uint32_array): Likewise.
17440         (add_locale_char): Likewise.
17441         (start_locale_structure): Likewise.
17442         (end_locale_structure): Likewise.
17443         (start_locale_prelude): Likewise.
17444         (end_locale_prelude): Likewise.
17445         (write_locale_data): Update prototype.
17446         * locale/programs/3level.h (struct TABLE): Remove result field.
17447         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17448         Use new locale_file interface.
17449         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17450         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17451         * locale/programs/ld-address.c (address_output): Use new
17452         locale_file interface.
17453         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17454         NO_ADD_LOCALE.
17455         (collate_finish): Don't call collseq_table_finalize.
17456         (collate_output): Use new locale_file interface.
17457         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17458         in file.
17459         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17460         (TABLE): Move defines earlier in file.
17461         (ELEMENT): Likewise.
17462         (DEFAULT): Likewise.
17463         (wctrans_table_add): Move macro and inline function earlier in
17464         file.
17465         (struct wctype_table): Move type earlier in file.
17466         (add_locale_wctype_table): New static prototype.
17467         (struct locale_ctype_t): Use logical types instead of struct iovec
17468         pointers for members.
17469         (ctype_output): Use new locale_file interface.
17470         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17471         new locale_file interface.
17472         (allocate_arrays): Update for use of new locale_file interface.
17473         * locale/programs/ld-identification.c (identification_output): Use
17474         new locale_file interface.
17475         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17476         * locale/programs/ld-messages.c (messages_output): Likewise.
17477         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17478         * locale/programs/ld-name.c (name_output): Likewise.
17479         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17480         * locale/programs/ld-paper.c (paper_output): Likewise.
17481         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17482         * locale/programs/ld-time.c (time_output): Likewise.
17483
17484 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17485
17486         * benchtests/Makefile: Add memrchr benchmark.
17487         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17488         benchmark as memrchr.
17489         * benchtests/bench-memrchr-ifunc.c: New file.
17490         * benchtests/bench-memrchr.c: New file.
17491
17492 2013-09-06   Will Newton  <will.newton@linaro.org>
17493
17494         * benchtests/Makefile (string-bench): Add memcpy.
17495
17496 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17497             Cong Wang  <amwang@redhat.com>
17498
17499         [BZ #15850]
17500         * sysdeps/unix/sysv/linux/bits/in.h
17501         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17502         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17503         before __USE_KERNEL_IPV6_DEFS uses.
17504         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17505         IPPROTO_BEETPH.
17506         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17507         sockaddr_in6, or ipv6_mreq.
17508
17509 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17510
17511         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17512         memory access for final bytes in some large inputs.
17513         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17514
17515 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17516
17517         * string/test-memrchr.c: New file.
17518         * string/test-memrchr-ifunc.c: New file.
17519         * string/Makefile: Add new memrchr testcase.
17520
17521 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17522
17523         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17524         fanotify_init returns EPERM.
17525
17526 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17527
17528         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17529         errors.
17530         (top level): Treat second token from macro or constant entries for
17531         allowed headers as allowed.
17532         * include/complex.h: Condition internal declarations on
17533         [!_ISOMAC].
17534         * include/fenv.h: Condition include of <stdbool.h> and internal
17535         declarations on [!_ISOMAC].
17536
17537 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17538
17539         [BZ #15923]
17540         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17541
17542 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17543
17544         * configure.in (--enable-versioning): Remove configure option.
17545         (libc_cv_asm_symver_directive): Remove configure test.
17546         (libc_cv_ld_version_script_option): Likewise.
17547         (VERSIONING): Remove variable and AC_SUBST.
17548         (DO_VERSIONING): Remove AC_DEFINE.
17549         * configure: Regenerated.
17550         * config.h.in (DO_VERSIONING): Remove macro.
17551         * Makerules [$(versioning) = yes]: Change conditionals to
17552         [$(build-shared) = yes].
17553         * config.make.in (versioning): Remove variable.
17554         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17555         [$(build-shared) = yes].
17556         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17557         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17558         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17559         [$(build-shared) = yes].
17560         * extra-lib.mk [$(versioning) = yes]: Likewise.
17561         * hurd/Makefile [$(versioning) = yes]: Likewise.
17562         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17563         [SHARED].
17564         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17565         [SHARED].
17566         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17567         [SHARED && !NO_HIDDEN].
17568         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17569         [SHARED].
17570         [SHARED && DO_VERSIONING]: Likewise..
17571         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17572         [$(build-shared) = yes].
17573         * manual/install.texi (--disable-versioning): Remove
17574         documentation.
17575         * INSTALL: Regenerated.
17576         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17577         to [SHARED].
17578         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17579         [$(build-shared) = yes].
17580         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17581         * sysdeps/i386/i686/multiarch/strstr-c.c
17582         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17583         [SHARED && !NO_HIDDEN].
17584         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17585         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17586         * sysdeps/powerpc/powerpc32/dl-machine.c
17587         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17588         * sysdeps/powerpc/powerpc32/sysdep.h
17589         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17590         to [SHARED && PIC && !NO_HIDDEN].
17591         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17592         conditional to [SHARED].
17593
17594 2013-09-04   Will Newton  <will.newton@linaro.org>
17595
17596         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17597         * benchtests/bench-string.h: Include bench-timing.h instead
17598         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17599         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17600         call to HP_TIMING_DIFF_INIT.
17601         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17602         instead of hp-timing.h macros.
17603         * benchtests/bench-memchr.c: Likewise.
17604         * benchtests/bench-memcmp.c: Likewise.
17605         * benchtests/bench-memcpy.c: Likewise.
17606         * benchtests/bench-memmem.c: Likewise.
17607         * benchtests/bench-memmove.c: Likewise.
17608         * benchtests/bench-memset.c: Likewise.
17609         * benchtests/bench-rawmemchr.c: Likewise.
17610         * benchtests/bench-strcasecmp.c: Likewise.
17611         * benchtests/bench-strcasestr.c: Likewise.
17612         * benchtests/bench-strcat.c: Likewise.
17613         * benchtests/bench-strchr.c: Likewise.
17614         * benchtests/bench-strcmp.c: Likewise.
17615         * benchtests/bench-strcpy.c: Likewise.
17616         * benchtests/bench-strcpy_chk.c: Likewise.
17617         * benchtests/bench-strlen.c: Likewise.
17618         * benchtests/bench-strncasecmp.c: Likewise.
17619         * benchtests/bench-strncat.c: Likewise.
17620         * benchtests/bench-strncmp.c: Likewise.
17621         * benchtests/bench-strncpy.c: Likewise.
17622         * benchtests/bench-strnlen.c: Likewise.
17623         * benchtests/bench-strpbrk.c: Likewise.
17624         * benchtests/bench-strrchr.c: Likewise.
17625         * benchtests/bench-strspn.c: Likewise.
17626         * benchtests/bench-strstr.c: Likewise.
17627
17628 2013-09-04  Will Newton  <will.newton@linaro.org>
17629
17630         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17631
17632 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17633
17634         [BZ #15427]
17635         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17636         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17637         * math/libm-test.inc (lgamma_test_data): Add more tests.
17638         * sysdeps/i386/fpu/libm-test-ulps: Update.
17639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17640
17641 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17642
17643         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17644         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17645         Add ifunc.
17646         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17647         Add strcmp-sse2-unaligned
17648         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17649
17650 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17651
17652         * Versions.def (libc): Add GLIBC_2.19.
17653
17654 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17655
17656         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17657         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17658
17659 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17660
17661         [BZ #14155]
17662         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17663         intermediate calculations in recurrence.
17664         (__ieee754_ynf): Likewise.
17665         * math/libm-test.inc (jn_test_data): Do not allow spurious
17666         underflow exception.  Add more tests.
17667         (yn_test_data): Add more tests.
17668         * sysdeps/i386/fpu/libm-test-ulps: Update.
17669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17670
17671 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17672
17673         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17674
17675 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17676
17677         * csu/init-first.c: Fix then/than typos.
17678         * locale/programs/ld-collate.c: Likewise.
17679         * locale/programs/linereader.h: Likewise.
17680         * manual/charset.texi: Likewise.
17681         * manual/filesys.texi: Likewise.
17682         * manual/stdio.texi: Likewise.
17683         * manual/string.texi: Likewise.
17684         * stdlib/fmtmsg.c: Likewise.
17685         * sysdeps/i386/stpncpy.S: Likewise.
17686         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17687         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17688         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17689         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17690
17691 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17692
17693         * elf/dl-open.c: Fix typos.
17694         * iconvdata/gbbig5.c: Likewise.
17695         * iconvdata/iso-2022-jp.c: Likewise.
17696         * iconv/gconv_int.h: Likewise.
17697         * iconv/loop.c: Likewise.
17698         * nis/rpcsvc/nis.h: Likewise.
17699         * resolv/ns_name.c: Likewise.
17700         * stdio-common/vfscanf.c: Likewise.
17701         * streams/stropts.h: Likewise.
17702         * sunrpc/rpc_thread.c: Likewise.
17703         * sysdeps/i386/strpbrk.S: Likewise.
17704         * sysdeps/ieee754/k_standard.c: Likewise.
17705         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17706         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17707         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17708         * sysdeps/mach/hurd/profil.c: Likewise.
17709         * sysdeps/s390/dl-procinfo.h: Likewise.
17710         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17711         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17712         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17713         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17714         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17715
17716 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17717
17718         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17719         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17720
17721 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17722
17723         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17724         aix specific files.
17725         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17726         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17727         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17728         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17729         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17730         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17731         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17732         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17733
17734 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17735             Roland McGrath  <roland@hack.frob.com>
17736
17737         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17738         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17739
17740 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17741
17742         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17743         __executable_start symbol instead of _start.
17744
17745 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17746
17747         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17748         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17749         Move macros to...
17750         * sysdeps/gnu/ldsodefs.h: ... this new file.
17751
17752         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17753         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17754         instead of ELFOSABI_LINUX.
17755
17756         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17757         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17758         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17759         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17760         Likewise.
17761         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17762         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17763         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17764         Likewise.
17765         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17766         (ibm_extended_long_double): Add ieee_nan member.
17767         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17768         (do_test): New function.
17769
17770         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17771         TEST_TRUNC.
17772         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17773         functions, renamed from truncdfsf_test, trunctfsf_test,
17774         trunctfdf_test.
17775         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17776         functions.
17777         (do_test): Run all these.
17778
17779 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17780
17781         * argp/argp-help.c: Fix typos.
17782         * argp/argp-parse.c: Likewise.
17783         * debug/backtracesyms.c: Likewise.
17784         * elf/elf.h: Likewise.
17785         * malloc/malloc.c: Likewise.
17786         * nis/nis_print.c: Likewise.
17787         * resolv/res_comp.c: Likewise.
17788         * stdlib/stdlib.h: Likewise.
17789         * sunrpc/clnt_tcp.c: Likewise.
17790         * sunrpc/clnt_udp.c: Likewise.
17791         * sunrpc/clnt_unix.c: Likewise.
17792         * sysdeps/unix/bsd/ptsname.c: Likewise.
17793         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17794         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17796         Likewise.
17797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17798         Likewise.
17799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17800         Likewise.
17801         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17802
17803 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17804
17805         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17807
17808 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17809
17810         [BZ #15897]
17811         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17812         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17813         ($(objpfx)bug-dl-leaf): New rule.
17814         ($(objpfx)bug-dl-leaf.so): Likewise.
17815         ($(objpfx)bug-dl-leaf.out): Likewise.
17816         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17817         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17818         * dlfcn/bug-dl-leaf.c: New test.
17819         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17820         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17821         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17822         (dlclose): Likewise.
17823         (dlmopen): Likewise.
17824
17825 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17826
17827         * include/netdb.h [!_ISOMAC]:
17828         Don't include <tls.h>.
17829         (h_errno, __libc_h_errno): Move declaration and macros out of
17830         [_LIBC_REENTRANT].
17831
17832         * include/resolv.h [_RESOLV_H_]:
17833         Don't include <tls.h>.
17834         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17835         * resolv/res_libc.c: Don't include <tls.h>.
17836         (_res): Use __attribute__ ((nocommon)) in place of
17837         __attribute__ ((section (".bss"))).
17838
17839         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17840         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17841
17842         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17843
17844         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17845         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17846
17847         * resolv/res_mkquery.c: Include <sys/time.h>.
17848
17849         * inet/ifreq.c: Moved to ...
17850         * sysdeps/unix/ifreq.c: ... here.
17851         * inet/ifreq.c: New file, true stub version.
17852
17853         * socket/sa_len.c: New file.
17854         * socket/Makefile (aux): Add it.
17855         * sysdeps/unix/sysv/linux/Makefile
17856         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17857         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17858         and #include <socket/sa_len.c>.
17859         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17860         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17861
17862         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17863         * bits/socket.h: ... here.
17864
17865         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17866         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17867         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17868
17869 2013-08-27  Andreas Schwab  <schwab@suse.de>
17870
17871         [BZ #15736]
17872         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17873         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17874         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17875         * string/test-strcasecmp.c (test_main): Run tests in several
17876         locales.
17877         * string/test-strncasecmp.c (test_main): Likewise.
17878
17879         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17880         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17881         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17882         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17883         (__strncasecmp_ssse3) [PIC]: Likewise.
17884
17885 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17886
17887         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17888
17889         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17890         instead of explicitly declaring xdecrypt.
17891         * nis/nss_nis/nis-publickey.c: Likewise.
17892
17893 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17894
17895         [BZ #15890]
17896         * nscd/aicache.c: Include res_hconf.h.
17897         (addhstaiX): Initialize res_hconf.
17898
17899 2013-08-26  Andreas Schwab  <schwab@suse.de>
17900
17901         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17902         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17903
17904 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17905
17906         * nscd/aicache.c (addhstaiX): Fix indentation.
17907
17908 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17909
17910         * configure.ac: Quote $build_pt_chown test.
17911         * configure: Regenerated.
17912
17913 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17914
17915         [BZ #15532]
17916         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17917         * math/s_cexpf.c (__cexpf): Likewise.
17918         * math/s_cexpl.c (__cexpl): Likewise.
17919         * math/libm-test.inc (cexp_test_data): Correct expected return
17920         value for NaN + i0.  Add another test.
17921
17922 2013-08-22  David S. Miller  <davem@davemloft.net>
17923
17924         * po/ca.po: Update Catalan translation from translation project.
17925         * po/uk.po: Add Ukrainian translations from translation project.
17926
17927 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17928
17929         [BZ #15797]
17930         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17931         is infinite, not alongside NaN test.
17932         * math/s_fdimf.c (__fdimf): Likewise.
17933         * math/s_fdiml.c (__fdiml): Likewise.
17934         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17935         errno is unchanged.
17936
17937 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17938
17939         * argp/argp-help.c: Fix typos.
17940         * crypt/speeds.c: Likewise.
17941         * csu/check_fds.c: Likewise.
17942         * elf/dl-load.c: Likewise.
17943         * elf/dl-open.c: Likewise.
17944         * elf/reldep3.c: Likewise.
17945         * elf/reldep.c: Likewise.
17946         * elf/sprof.c: Likewise.
17947         * iconv/iconv_charmap.c: Likewise.
17948         * iconv/skeleton.c: Likewise.
17949         * iconv/strtab.c: Likewise.
17950         * io/lockf64.c: Likewise.
17951         * libio/libioP.h: Likewise.
17952         * resolv/gai_notify.c: Likewise.
17953         * resolv/ns_name.c: Likewise.
17954         * resolv/ns_samedomain.c: Likewise.
17955         * resolv/res_send.c: Likewise.
17956         * stdlib/random.c: Likewise.
17957         * sunrpc/rpc/xdr.h: Likewise.
17958         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17959         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17960         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17961         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17962         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17963         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17964         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17965         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17966         * sysdeps/mach/hurd/check_fds.c: Likewise.
17967         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17968         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17969         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17970         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17971         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17972         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17973         * sysdeps/pthread/aio_notify.c: Likewise.
17974         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17975         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17976         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17977         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17978         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17979
17980 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17981
17982         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17983         version if bit_Slow_SSE4_2 is set.
17984         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17985         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17986
17987 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17988
17989         [BZ #15867]
17990         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17991         trampoline stack frame information.
17992         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17993         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17994         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17995         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17996         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17997         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17998         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17999         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18000         sa_flags value.
18001         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18002         interrupting a syscall and set with option SA_SIGINFO.
18003
18004 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18005
18006         [BZ #15531]
18007         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18008         argument is infinite.
18009         * math/s_cprojf.c (__cprojf): Likewise.
18010         * math/s_cprojl.c (__cprojl): Likewise.
18011         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18012         * math/libm-test.inc (cproj_test_data): Add more tests.
18013
18014         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18015
18016         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18017         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18018         size.  Use __ffs to determine corresponding shift.
18019
18020 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18021             Roland McGrath  <roland@hack.frob.com>
18022
18023         * Makefile (INSTALL): Remove trailing blank lines from output of
18024         makeinfo.
18025
18026 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18027
18028         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18029         Align 32 bit compat elf_greg to 8 bytes.
18030
18031 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18032
18033         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18034
18035 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18036
18037         * string/strcoll_l.c (coll_seq): New structure.
18038         (get_next_seq_cached): New function.
18039         (get_next_seq): New function.
18040         (do_compare): New function.
18041         (STRCOLL): Use GNU style definition.  Simplify implementation
18042         by using get_next_seq, get_next_seq_cached and do_compare.
18043
18044 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18045
18046         [BZ #14699]
18047         CVE-2013-4237
18048         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18049         member.
18050         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18051         member.
18052         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18053         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18054         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18055         conditional.
18056         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18057         GETDENTS_64BIT_ALIGNED.
18058         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18059         * manual/filesys.texi (Reading/Closing Directory): Document
18060         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18061         strongly.
18062         * manual/conf.texi (Limits for Files): Add portability note to
18063         NAME_MAX, PATH_MAX.
18064         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18065
18066 2013-08-13  Andreas Schwab  <schwab@suse.de>
18067
18068         [BZ #15749]
18069         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18070         of fabs.
18071         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18072         LDBL_MAX_EXP >= 16384]: Add tests for it.
18073
18074 2013-08-12  David S. Miller  <davem@davemloft.net>
18075
18076         * version.h (RELEASE): Set to "development".
18077         (VERSION): Set to "2.18.90".
18078         * NEWS: Add 2.19 section.
18079
18080 2013-08-03  David S. Miller  <davem@davemloft.net>
18081
18082         * po/ko.po: Update Korean translation from translation project.
18083
18084 2013-08-01  David S. Miller  <davem@davemloft.net>
18085
18086         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18087         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18088         Bilka.
18089
18090 2013-07-30  David S. Miller  <davem@davemloft.net>
18091
18092         * po/fr.po: Update French translation from translation project.
18093
18094 2013-07-28  David S. Miller  <davem@davemloft.net>
18095
18096         * po/cs.po: Update Czech translation from translation project.
18097
18098         * po/sv.po: Update Swedish translation from translation project.
18099
18100 2013-07-27  David S. Miller  <davem@davemloft.net>
18101
18102         * po/eo.po: Update Esperanto translation from translation project.
18103
18104         * po/vi.po: Update Vietnamese translation from translation project.
18105
18106         * po/de.po: Update German translation from translation project.
18107
18108 2013-07-26  David S. Miller  <davem@davemloft.net>
18109
18110         * po/bg.po: Update Bulgarian translation from translation project.
18111
18112         * po/nl.po: Update Dutch translation from translation project.
18113         * po/pl.po: Update Polish translation from translation project.
18114         * po/ru.po: Update Russian translation from translation project.
18115
18116 2013-07-24  David S. Miller  <davem@davemloft.net>
18117
18118         * po/libc.pot: Update.
18119
18120 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18121
18122         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18123         variable page size.
18124         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18125         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18126         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18127
18128 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18129
18130         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18131
18132 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18133             Andreas Schwab  <schwab@suse.de>
18134             Roland McGrath  <roland@hack.frob.com>
18135             Joseph Myers  <joseph@codesourcery.com>
18136             Carlos O'Donell  <carlos@redhat.com>
18137
18138         [BZ #15755]
18139         * config.h.in: Define HAVE_PT_CHOWN.
18140         * config.make.in (build-pt-chown): New variable.
18141         * configure.in (--enable-pt_chown): New configure option.
18142         * configure: Regenerate.
18143         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18144         build-pt-chown is enabled.
18145         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18146         pt_chown to fix pty ownership.
18147         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18148         CLOSE_ALL_FDS.
18149         * manual/install.texi (Configuring and compiling): Mention
18150         --enable-pt_chown. Add @findex for grantpt.
18151         * INSTALL: Regenerate.
18152
18153 2013-07-20  David S. Miller  <davem@davemloft.net>
18154
18155         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18156         difference between 32-bit and 64-bit.
18157
18158 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18159
18160         [BZ #15711]
18161         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18162         Avoid system header dependency with -ffreestanding.
18163         ($(objpfx)bits/syscall%d): Likewise.
18164
18165 2013-07-13  David S. Miller  <davem@davemloft.net>
18166
18167         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18168         underflows from atanl/atan2l due to bug 15319.
18169         (casinh_test_data): Likewise.
18170
18171 2013-07-07  David S. Miller  <davem@davemloft.net>
18172
18173         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18174
18175 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18176
18177         * sysdeps/i386/fpu/libm-test-ulps: Update.
18178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18179
18180 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18181
18182         * configure.in (--enable-lock-elision): Fix message text.
18183         * INSTALL: Regenerate.
18184         * configure: Regenerate.
18185
18186 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18187
18188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18189
18190 2013-07-03  Andreas Jaeger  <aj@suse.de>
18191
18192         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18193         define.
18194         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18195         (ptrace_peeksiginfo_args): Add.
18196         (__ptrace_peeksiginfo_flags): Add.
18197         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18198         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18199         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18200
18201 2013-07-03  Allan McRae  <allan@archlinux.org>
18202
18203         * sysdeps/i386/fpu/libm-test-ulps: Update.
18204
18205 2013-07-02  David S. Miller  <davem@davemloft.net>
18206
18207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18208
18209 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18210
18211         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18212
18213 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18214
18215         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18217
18218 2013-07-02  Andi Kleen <ak@linux.intel.com>
18219
18220         * config.h.in (ENABLE_LOCK_ELISION): Add.
18221         * configure.in (--enable-lock-elision): Add option.
18222         * manual/install.texi: Document --enable lock elision.
18223         * configure: Regenerate
18224         * INSTALL: Regenerate.
18225
18226 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18227
18228         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18229         SSE4.2 strcasecmp for libc.a.
18230         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18231
18232 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18233
18234         [BZ #13304]
18235         * soft-fp/op-common.h (_FP_FMA): New macro.
18236         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18237         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18238         (_FP_MUL_MEAT_1_imm): ... here.
18239         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18240         (_FP_MUL_MEAT_1_wide): ... here.
18241         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18242         (_FP_MUL_MEAT_1_hard): ... here.
18243         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18244         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18245         (_FP_MUL_MEAT_2_wide): ... here.
18246         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18247         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18248         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18249         (_FP_MUL_MEAT_2_gmp): ... here.
18250         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18251         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18252         (_FP_MUL_MEAT_4_wide): ... here.
18253         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18254         (_FP_MUL_MEAT_4_gmp): ... here.
18255         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18256         (_FP_WFRACBITS_DW_S): Likewise.
18257         (_FP_WFRACXBITS_DW_S): Likewise.
18258         (_FP_HIGHBIT_DW_S): Likewise.
18259         (FP_FMA_S): Likewise.
18260         (_FP_FRAC_HIGH_DW_S): Likewise.
18261         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18262         (_FP_WFRACBITS_DW_D): Likewise.
18263         (_FP_WFRACXBITS_DW_D): Likewise.
18264         (_FP_HIGHBIT_DW_D): Likewise.
18265         (FP_FMA_D): Likewise.
18266         (_FP_FRAC_HIGH_DW_D): Likewise.
18267         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18268         (_FP_WFRACBITS_DW_E): Likewise.
18269         (_FP_WFRACXBITS_DW_E): Likewise.
18270         (_FP_HIGHBIT_DW_E): Likewise.
18271         (FP_FMA_E): Likewise.
18272         (_FP_FRAC_HIGH_DW_E): Likewise.
18273         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18274         (_FP_WFRACBITS_DW_Q): Likewise.
18275         (_FP_WFRACXBITS_DW_Q): Likewise.
18276         (_FP_HIGHBIT_DW_Q): Likewise.
18277         (FP_FMA_Q): Likewise.
18278         (_FP_FRAC_HIGH_DW_Q): Likewise.
18279         * soft-fp/fmasf4.c: New file.
18280         * soft-fp/fmadf4.c: Likewise.
18281         * soft-fp/fmatf4.c: Likewise.
18282
18283 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18284
18285         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18286         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18287         Silvermont.
18288         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18289         macro.
18290         (index_Slow_SSE4_2): Likewise.
18291         (index_Prefer_PMINUB_for_stringop): Likewise.
18292         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18293         bit_Slow_SSE4_2 is set.
18294         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18295         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18296
18297 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18298
18299         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18300         rtld_global._dl_hwcap2.
18301         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18302         POWER8.
18303         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18304         POWER8 feature descriptions defined in _dl_hwcap2.
18305         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18306         string handling for POWER8 feature bits.
18307         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18308         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18309         _dl_powerpc_cap_flags.
18310         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18311         * sysdeps/powerpc/rtld-global-offsets.sym
18312         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18313         _dl_hwcap2 in the rtld_global_ro structure.
18314
18315 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18316
18317         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18318         hardware capabilities in support of AT_HWCAP2.
18319         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18320         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18321         GLRO(dl_hwcap2).
18322         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18323         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18324         explicitly the unknown a_type display mechanism is used.
18325         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18326         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18327         struct member.
18328         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18329         to macro prototype for AT_HWCAP2 support.
18330         * sysdeps/i386/dl-procinfo.h: Likewise.
18331         * sysdeps/s390/dl-procinfo.h: Likewise.
18332         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18333         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18334         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18335         return -1 for unknown a_type display fallback.
18336         * sysdeps/sparc/dl-procinfo.h: Likewise.
18337         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18338         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18339
18340 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18341
18342         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18343         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18344
18345 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18346
18347         [BZ #12492]
18348         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18349         mprotect making __stack_prot writable.
18350
18351 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18352             Joseph Myers  <joseph@codesourcery.com>
18353
18354         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18355         as being properly aligned.
18356
18357 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18358
18359         * dlfcn/modstatic5.c: New file.
18360         * dlfcn/tststatic5.c: New file.
18361         * dlfcn/Makefile (tests): Add tststatic5.
18362         (tests-static): Likewise.
18363         (modules-names): Add modstatic5.
18364         (tststatic5-ENV): New variable.
18365         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18366
18367         [BZ #15022]
18368         * elf/dl-support.c (_dl_main_map): New variable.
18369         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18370         (_dl_nns, _dl_load_adds): Set to 1.
18371         (_dl_initial_searchlist): Refer to _dl_main_map.
18372         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18373         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18374         call to _dl_get_origin.
18375         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18376         around call_map.
18377         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18378         * dlfcn/modstatic3.c: New file.
18379         * dlfcn/tststatic3.c: New file.
18380         * dlfcn/tststatic4.c: New file.
18381         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18382         (tests-static): Likewise.
18383         (modules-names): Add modstatic3.
18384         (tststatic3-ENV, tststatic4-ENV): New variables.
18385         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18386         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18387
18388 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18389
18390         * configure.in (CC): Require GCC version 4.4 or later.
18391         * configure: Regenerated.
18392         * manual/install.texi (Tools for Compilation): Update GCC version
18393         requirement.
18394         * INSTALL: Regenerated.
18395
18396 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18397
18398         [BZ #15674]
18399         * string/test-memcmp.c (check2): New.
18400         (main): Call check2.
18401
18402         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18403
18404 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18405
18406         [BZ #15022]
18407         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18408         over to...
18409         (dl_open_worker) [!SHARED]: ... here.
18410
18411 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18412
18413         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18414
18415 2013-06-25  Richard Henderson  <rth@redhat.com>
18416
18417         * locale/programs/locarchive.c: Include <libc-internal.h>
18418
18419 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18420
18421         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18422         trailing whitespace removed.
18423
18424 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18425
18426         [BZ #10283]
18427         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18428         * locale/programs/locarchive.c: Include libc-mmap.h.
18429         (prepare_address_space): Take two new outputs (the mmap base and len).
18430         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18431         values.
18432         (create_archive): Declare new mmap base and len values for
18433         prepare_address_space, and store the result in ah.
18434         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18435         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18436         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18437         Declare new mmap base and len values for
18438         prepare_address_space, and store the result in new_ah.
18439         (open_archive): Declare new mmap base and len values for
18440         prepare_address_space, and store the result in ah.
18441         (close_archive): If ah->mmap_base is not NULL, use that and
18442         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18443         * sysdeps/generic/libc-mmap.h: New file.
18444
18445 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18446
18447         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18448         (ALIGN_UP): Likewise.
18449         (PTR_ALIGN_DOWN): Likewise.
18450         (PTR_ALIGN_UP): Likewise.
18451
18452 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18453
18454         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18455         entry mapped to PPC_PLATFORM_POWER8.
18456         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18457         POWER8.
18458         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18459         (_dl_string_platform): Add case for exporting platform position for
18460         POWER8.
18461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18462         search path to sysdeps/powerpc/powerpc32/power8 directory.
18463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18464         search path to sysdeps/powerpc/powerpc64/power8 directory.
18465         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18466         power7 directories.
18467         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18468         power7 directories.
18469
18470 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18471
18472         * INSTALL: Regenerate.
18473
18474         * nscd/connections.c (nscd_init): Fix comment.
18475
18476 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18477
18478         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18479
18480         [BZ #15667]
18481         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18482         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18483
18484 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18485
18486         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18487         DL_DST_REQ_STATIC.
18488         (DL_DST_REQ_STATIC): Remove macro.
18489
18490 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18491
18492         [BZ #7006]
18493         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18494         with a shift of 0 bits.
18495
18496 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18497
18498         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18499         $(tststatic-ENV).
18500
18501 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18502
18503         [BZ #15655]
18504         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18505
18506 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18507
18508         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18509         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18510         accepts -fno-tree-loop-distribute-patterns.
18511         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18512         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18513         recursive call.
18514         * string/memset.c (memset): Likewise.
18515         * string/test-memmove.c (simple_memmove): Disable loop transformation
18516         to library calls.
18517         * string/test-memset.c (simple_memset): Likewise.
18518         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18519         * benchtests/bench-memset.c (simple_memset): Likewise.
18520         * configure: Regenerated.
18521
18522 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18523
18524         * math/test-misc.c (main): Ignore fesetround failure when failures
18525         of subsequent rounding tests would be ignored.
18526
18527         [BZ #15654]
18528         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18529         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18530         * math/fegetenv.c (__fegetenv): Return 0.
18531         * math/fegetexcept.c (fegetexcept): Return 0.
18532         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18533         FE_TONEAREST.
18534         * math/feholdexcpt.c (feholdexcept): Return 0.
18535         * math/fesetenv.c (__fesetenv): Return 0.
18536         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18537         argument FE_TONEAREST.
18538         * math/feupdateenv.c (__feupdateenv): Return 0.
18539         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18540
18541 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18542
18543         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18544         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18545         ($(objpfx)rtld-%.os rules): Use them.
18546
18547 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18548
18549         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18550         fields.
18551
18552 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18553
18554         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18555         length of target pattern, then descending length of dependency pattern.
18556         * configure.in (AWK): Require gawk 3.1.2 or newer.
18557         * manual/install.texi (Tools for Compilation): Say that we do.
18558         * configure: Regenerated.
18559
18560         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18561         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18562         * scripts/sysd-rules.awk: ... this new script.
18563         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18564         than a glob-style pattern.
18565
18566 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18567
18568         * math/test-misc.c (main): Do not treat incorrectly rounded
18569         conversions as failure unless ROUNDING_TESTS passes.
18570
18571 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18572
18573         [BZ #15631]
18574         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18575         restore exception state around main square root computation, then
18576         check for inexactness explicitly.
18577
18578         * math/libm-test.inc (fma_test_data): Add another test.
18579
18580 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18581
18582         * manual/threads.texi (Non-POSIX Extensions): New document
18583         node.  Document pthread_getattr_default_np and
18584         pthread_setattr_default_np.
18585
18586         * Versions.def (libpthread): Add GLIBC_2.18.
18587         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18589         Likewise.
18590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18591         Likewise.
18592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18593         Likewise.
18594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18595         Likewise.
18596         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18597         Likewise.
18598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18599         Likewise.
18600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18601         Likewise.
18602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18603         Likewise.
18604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18605         Likewise.
18606
18607 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18608
18609         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18610         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18611
18612 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18613             H.J. Lu  <hjl.tools@gmail.com>
18614
18615         [BZ #15627]
18616         * sysdeps/x86_64/rtld-memset.c: Remove file.
18617         * sysdeps/x86_64/rtld-memset.S: New file.
18618
18619 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18620
18621         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18622         (test_in_one_mode): Take arguments for whether the rounding mode
18623         is supported for each floating-point type.
18624         (do_test): Pass new arguments to test_in_one_mode using
18625         ROUNDING_TESTS.
18626
18627 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18628
18629         * posix/tst-waitid.c (do_test): Distinguish different instances of
18630         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18631         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18632         before entering the kernel for waitpid.
18633
18634 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18635
18636         * NEWS: Fix note on clock function precision.  Text by Roland
18637         McGrath.
18638
18639 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18640
18641         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18642         it into place only when and if the sanity check passes.
18643
18644 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18645
18646         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18647         output for whether conversion result is exact.  Take argument
18648         indicating whether type is IBM long double.
18649         (round_for_all): Change need_exact field to ibm_ld.
18650         * stdlib/tst-strtod-round.c (struct exactness): New type.
18651         (struct test): Change bool ld_ok field to struct exactness exact.
18652         (TEST): Update all definitions for change to field.
18653         (tests): Regenerate array contents.
18654         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18655         field value.  Check for IBM long double here.
18656         (do_test): Update calls to test_in_one_mode.
18657
18658 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18659
18660         [BZ #12515]
18661         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18662         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18663
18664 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18665
18666         [BZ #15605]
18667         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18668         generated by the compiler on loop optimizations.
18669         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18670         general definitions.
18671
18672 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18673
18674         * math/bug-nextafter.c: Include <math-tests.h>.
18675         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18676         the relevant type.
18677         * math/bug-nexttoward.c: Include <math-tests.h>.
18678         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18679         the relevant type.
18680         * math/test-misc.c: Include <math-tests.h>.
18681         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18682         the relevant type.
18683
18684 2013-06-12  Andreas Jaeger  <aj@suse.de>
18685
18686         * po/ia.po: Update Interlingua translation from translation
18687         project.
18688
18689 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18690
18691         * include/fenv.h: Include stdbool.h.
18692         (struct rm_ctx): New structure.
18693         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18694         Define macro.
18695         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18696         (SET_RESTORE_ROUNDF): Likewise.
18697         (SET_RESTORE_ROUNDL): Likewise.
18698         (SET_RESTORE_ROUND_NOEX): Likewise.
18699         (SET_RESTORE_ROUND_NOEXF): Likewise.
18700         (SET_RESTORE_ROUND_NOEXL): Likewise.
18701         (SET_RESTORE_ROUND_53BIT): Likewise.
18702         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18703         (libc_feresetround_noexf_ctx): Likewise.
18704         (libc_feresetround_noexl_ctx): Likewise.
18705         (libc_feholdsetround_53bit_ctx): Likewise.
18706         (libc_feresetround_53bit_ctx): Likewise.
18707         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18708         (libc_feholdexcept_setround_sse_ctx): New function.
18709         (libc_fesetenv_sse_ctx): Likewise.
18710         (libc_feupdateenv_sse_ctx): Likewise.
18711         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18712         (libc_feholdexcept_setround_387_ctx): Likewise.
18713         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18714         (libc_feholdsetround_387_prec_ctx): Likewise.
18715         (libc_feholdsetround_387_ctx): Likewise.
18716         (libc_feholdsetround_387_53bit_ctx): Likewise.
18717         (libc_feholdsetround_sse_ctx): Likewise.
18718         (libc_feresetround_sse_ctx): Likewise.
18719         (libc_feresetround_387_ctx): Likewise.
18720         (libc_feupdateenv_387_ctx): Likewise.
18721         (libc_feholdexcept_setroundf_ctx): Define macro.
18722         (libc_fesetenvf_ctx): Likewise.
18723         (libc_feupdateenvf_ctx): Likewise.
18724         (libc_feholdsetroundf_ctx): Likewise.
18725         (libc_feresetroundf_ctx): Likewise.
18726         (libc_feholdexcept_setround_ctx): Likewise.
18727         (libc_fesetenv_ctx): Likewise.
18728         (libc_feupdateenv_ctx): Likewise.
18729         (libc_feholdsetround_ctx): Likewise.
18730         (libc_feresetround_ctx): Likewise.
18731         (libc_feholdexcept_setroundl_ctx): Likewise.
18732         (libc_feupdateenvl_ctx): Likewise.
18733         (libc_feholdsetroundl_ctx): Likewise.
18734         (libc_feresetroundl_ctx): Likewise.
18735         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18736         (libc_feresetround_53bit_ctx): Likewise.
18737
18738 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18739
18740         * locale/iso-639.def: Convert to UTF-8.
18741
18742 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18743
18744         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18745         (EXCEPTION_TESTS_double): Likewise.
18746         (EXCEPTION_TESTS_long_double): Likewise.
18747         (EXCEPTION_TESTS): Likewise.
18748         * math/libm-test.inc (test_exceptions): Only test exceptions if
18749         EXCEPTION_TESTS (FLOAT).
18750
18751 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18752
18753         * benchtests/Makefile (string-bench): Add strcpy_chk and
18754         stpcpy_chk.
18755         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18756         * benchtests/bench-stpcpy_chk.c: New file.
18757         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18758         * benchtests/bench-strcpy_chk.c: New file.
18759         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18760         code.
18761         (do_test): Likewise.
18762
18763 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18764
18765         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18766         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18767         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18768         with tabs where appropriate.
18769         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18770         dl-procinfo.h.
18771         [PPC_PLATFORM_PPC440]: Likewise.
18772         [PPC_PLATFORM_PPC464]: Likewise.
18773         [PPC_PLATFORM_PPC476]: Likewise.
18774         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18775         ppc464, and ppc476 platform strings merging from ports/
18776         dl-procinfo.h.
18777
18778 2013-06-11  Andreas Schwab  <schwab@suse.de>
18779
18780         [BZ #14991]
18781         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18782         (from_ucs4_idx): Regenerate.
18783         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18784         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18785         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18786         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18787         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18788         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18789         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18790         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18791         from FROM_LOOP and TO_LOOP specific macros.
18792         (BODY): Handle combining characters.
18793         * iconvdata/BIG5HKSCS.irreversible: Update.
18794         * iconvdata/BIG5HKSCS.precomposed: New file.
18795         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18796         characters.
18797         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18798
18799 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18800
18801         * include/sys/time.h: Fix indentation and add copyright header.
18802
18803         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18804         (do_test): Likewise.
18805         * string/test-memchr.c (do_one_test): Likewise.
18806         (do_test): Likewise.
18807         * string/test-memcmp.c (do_one_test): Likewise.
18808         (do_test): Likewise.
18809         * string/test-memcpy.c (do_one_test): Likewise.
18810         (do_test): Likewise.
18811         * string/test-memmem.c (do_one_test): Likewise.
18812         (do_test): Likewise.
18813         (do_random_tests): Likewise.
18814         * string/test-memmove.c (do_one_test): Likewise.
18815         (do_test): Likewise.
18816         * string/test-memset.c (do_one_test): Likewise.
18817         (do_test): Likewise.
18818         * string/test-rawmemchr.c (do_one_test): Likewise.
18819         (do_test): Likewise.
18820         * string/test-strcasecmp.c (do_one_test): Likewise.
18821         (do_test): Likewise.
18822         * string/test-strcasestr.c (do_one_test): Likewise.
18823         (do_test): Likewise.
18824         * string/test-strcat.c (do_one_test): Likewise.
18825         (do_test): Likewise.
18826         * string/test-strchr.c (do_one_test): Likewise.
18827         (do_test): Likewise.
18828         * string/test-strcmp.c (do_one_test): Likewise.
18829         (do_test): Likewise.
18830         * string/test-strcpy.c (do_one_test): Likewise.
18831         (do_test): Likewise.
18832         * string/test-string.h: Likewise.
18833         (test_init): Likewise.
18834         * string/test-strlen.c (do_one_test): Likewise.
18835         (do_test): Likewise.
18836         * string/test-strncasecmp.c (do_one_test): Likewise.
18837         (do_test): Likewise.
18838         * string/test-strncat.c (do_one_test): Likewise.
18839         (do_test): Likewise.
18840         * string/test-strncmp.c (do_one_test): Likewise.
18841         (do_test_limit): Likewise.
18842         (do_test): Likewise.
18843         * string/test-strncpy.c (do_one_test): Likewise.
18844         (do_test): Likewise.
18845         * string/test-strnlen.c (do_one_test): Likewise.
18846         (do_test): Likewise.
18847         * string/test-strpbrk.c (do_one_test): Likewise.
18848         (do_test): Likewise.
18849         * string/test-strrchr.c (do_one_test): Likewise.
18850         (do_test): Likewise.
18851         * string/test-strspn.c (do_one_test): Likewise.
18852         (do_test): Likewise.
18853         * string/test-strstr.c (do_one_test): Likewise.
18854         (do_test): Likewise.
18855
18856         * benchtests/Makefile (string-bench): Add string benchmarks.
18857         * benchtests/bench-bcopy-ifunc.c: New file.
18858         * benchtests/bench-bcopy.c: New file.
18859         * benchtests/bench-bzero-ifunc.c: New file.
18860         * benchtests/bench-bzero.c: New file.
18861         * benchtests/bench-memccpy-ifunc.c: New file.
18862         * benchtests/bench-memccpy.c: New file.
18863         * benchtests/bench-memchr-ifunc.c: New file.
18864         * benchtests/bench-memchr.c: New file.
18865         * benchtests/bench-memcmp-ifunc.c: New file.
18866         * benchtests/bench-memcmp.c: New file.
18867         * benchtests/bench-memmem-ifunc.c: New file.
18868         * benchtests/bench-memmem.c: New file.
18869         * benchtests/bench-memmove-ifunc.c: New file.
18870         * benchtests/bench-memmove.c: New file.
18871         * benchtests/bench-mempcpy-ifunc.c: New file.
18872         * benchtests/bench-mempcpy.c: New file.
18873         * benchtests/bench-memset-ifunc.c: New file.
18874         * benchtests/bench-memset.c: New file.
18875         * benchtests/bench-rawmemchr-ifunc.c: New file.
18876         * benchtests/bench-rawmemchr.c: New file.
18877         * benchtests/bench-stpcpy-ifunc.c: New file.
18878         * benchtests/bench-stpcpy.c: New file.
18879         * benchtests/bench-stpncpy-ifunc.c: New file.
18880         * benchtests/bench-stpncpy.c: New file.
18881         * benchtests/bench-strcasecmp-ifunc.c: New file.
18882         * benchtests/bench-strcasecmp.c: New file.
18883         * benchtests/bench-strcasestr-ifunc.c: New file.
18884         * benchtests/bench-strcasestr.c: New file.
18885         * benchtests/bench-strcat-ifunc.c: New file.
18886         * benchtests/bench-strcat.c: New file.
18887         * benchtests/bench-strchr-ifunc.c: New file.
18888         * benchtests/bench-strchr.c: New file.
18889         * benchtests/bench-strchrnul-ifunc.c: New file.
18890         * benchtests/bench-strchrnul.c: New file.
18891         * benchtests/bench-strcmp-ifunc.c: New file.
18892         * benchtests/bench-strcmp.c: New file.
18893         * benchtests/bench-strcpy-ifunc.c: New file.
18894         * benchtests/bench-strcpy.c: New file.
18895         * benchtests/bench-strcspn-ifunc.c: New file.
18896         * benchtests/bench-strcspn.c: New file.
18897         * benchtests/bench-strlen-ifunc.c: New file.
18898         * benchtests/bench-strlen.c: New file.
18899         * benchtests/bench-strncasecmp-ifunc.c: New file.
18900         * benchtests/bench-strncasecmp.c: New file.
18901         * benchtests/bench-strncat-ifunc.c: New file.
18902         * benchtests/bench-strncat.c: New file.
18903         * benchtests/bench-strncmp-ifunc.c: New file.
18904         * benchtests/bench-strncmp.c: New file.
18905         * benchtests/bench-strncpy-ifunc.c: New file.
18906         * benchtests/bench-strncpy.c: New file.
18907         * benchtests/bench-strnlen-ifunc.c: New file.
18908         * benchtests/bench-strnlen.c: New file.
18909         * benchtests/bench-strpbrk-ifunc.c: New file.
18910         * benchtests/bench-strpbrk.c: New file.
18911         * benchtests/bench-strrchr-ifunc.c: New file.
18912         * benchtests/bench-strrchr.c: New file.
18913         * benchtests/bench-strspn-ifunc.c: New file.
18914         * benchtests/bench-strspn.c: New file.
18915         * benchtests/bench-strstr-ifunc.c: New file.
18916         * benchtests/bench-strstr.c: New file.
18917
18918         * benchtests/Makefile: Disable parallel execution of targets.
18919         (string-bench): Add memcpy.
18920         (benchset): New variable to store a list of benchmark sets.
18921         (bench-func): Renamed from bench.
18922         (bench-set): New target.
18923         (bench): Depend on bench-func and bench-set.
18924         * benchtests/README: Add section on benchmark sets.
18925         * benchtests/bench-memcpy-ifunc.c: New file.
18926         * benchtests/bench-memcpy.c: New file.
18927         * benchtests/bench-string.h: New file.
18928
18929 2013-06-11  Andreas Schwab  <schwab@suse.de>
18930
18931         [BZ #15577]
18932         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18933         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18934         values in the triple.
18935         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18936         terminator in the group key.
18937
18938 2013-06-11  Andreas Jaeger  <aj@suse.de>
18939
18940         * po/zh_TW.po: Update Chinese (traditional) translation from
18941         translation project.
18942
18943 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18944
18945         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18946         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18947         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18948         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18949         (clock_getcpuclockid): Likewise.
18950         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18951         Add weak_alias and libc_hidden_def.
18952         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18953         * rt/clock_gettime.c (clock_gettime): Rename to
18954         __clock_gettime.  Add weak_alias and libc_hidden_def.
18955         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18956         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18957         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18958         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18959         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18960         Likewise.
18961         * rt/clock_settime.c (clock_settime): Rename to
18962         __clock_settime.  Add weak_alias and libc_hidden_def.
18963         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18964
18965 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18966
18967         * mach/err_boot.sub: Remove trailing whitespace.
18968         * mach/err_ipc.sub: Likewise.
18969         * mach/err_mach.sub: Likewise.
18970
18971         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18972         (ROUNDING_TESTS_double): Likewise.
18973         (ROUNDING_TESTS_long_double): Likewise.
18974         (ROUNDING_TESTS): Likewise.
18975         * math/libm-test.inc: Include <math-tests.h>.
18976         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18977         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18978         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18979         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18980
18981 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18982
18983         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18984         of assigning.
18985
18986 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18987
18988         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18989         otherwise empty TRANS lines.
18990         * sysdeps/gnu/errlist.c: Regenerated.
18991
18992         * catgets/gencat.c (error_print): Use (void) in function
18993         definition.
18994         * crypt/crypt_util.c (__init_des): Likewise.
18995         * crypt/speeds.c (Stop): Likewise.
18996         (main): Likewise.
18997         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18998         * inet/ruserpass.c (token): Likewise.
18999         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19000         * intl/localealias.c (extend_alias_table): Likewise.
19001         * intl/plural-exp.c (init_germanic_plural): Likewise.
19002         * libio/fcloseall.c (__fcloseall): Likewise.
19003         * libio/genops.c (_IO_flush_all): Likewise.
19004         (_IO_flush_all_linebuffered): Likewise.
19005         (_IO_cleanup): Likewise.
19006         (_IO_iter_begin): Likewise.
19007         (_IO_iter_end): Likewise.
19008         (_IO_list_lock): Likewise.
19009         (_IO_list_unlock): Likewise.
19010         (_IO_list_resetlock): Likewise.
19011         * libio/getchar.c (getchar): Likewise.
19012         * libio/getchar_u.c (getchar_unlocked): Likewise.
19013         * libio/getwchar.c (getwchar): Likewise.
19014         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19015         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19016         * login/getpt.c (__getpt): Likewise.
19017         * login/tst-utmp.c (main): Likewise.
19018         * malloc/hooks.c (__malloc_check_init): Likewise.
19019         * malloc/malloc.c (__malloc_stats): Likewise.
19020         * malloc/mtrace.c (tr_break): Likewise.
19021         (mtrace): Likewise.
19022         (muntrace): Likewise.
19023         * misc/fstab.c (endfsent): Likewise.
19024         * misc/getclktck.c (__getclktck): Likewise.
19025         * misc/getdtsz.c (__getdtablesize): Likewise.
19026         * misc/gethostid.c (gethostid): Likewise.
19027         * misc/getpagesize.c (__getpagesize): Likewise.
19028         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19029         (__get_nprocs): Likewise.
19030         (__get_phys_pages): Likewise.
19031         (__get_avphys_pages): Likewise.
19032         * misc/getttyent.c (getttyent): Likewise.
19033         (setttyent): Likewise.
19034         (endttyent): Likewise.
19035         * misc/getusershell.c (getusershell): Likewise.
19036         (endusershell): Likewise.
19037         (setusershell): Likewise.
19038         (initshells): Likewise.
19039         * misc/hsearch.c (__hdestroy): Likewise.
19040         * misc/sync.c (sync): Likewise.
19041         * misc/syslog.c (closelog_internal): Likewise.
19042         (closelog): Likewise.
19043         * misc/ttyslot.c (ttyslot): Likewise.
19044         * misc/vhangup.c (vhangup): Likewise.
19045         * posix/fork.c (__fork): Likewise.
19046         * posix/getegid.c (__getegid): Likewise.
19047         * posix/geteuid.c (__geteuid): Likewise.
19048         * posix/getgid.c (__getgid): Likewise.
19049         * posix/getpid.c (__getpid): Likewise.
19050         * posix/getppid.c (__getppid): Likewise.
19051         * posix/getuid.c (__getuid): Likewise.
19052         * posix/pause.c (pause): Likewise.
19053         * posix/setpgrp.c (setpgrp): Likewise.
19054         * posix/setsid.c (__setsid): Likewise.
19055         * posix/test-vfork.c (noop): Likewise.
19056         * resolv/gethnamaddr.c (_endhtent): Likewise.
19057         (_gethtent): Likewise.
19058         (ht_endhostent): Likewise.
19059         (gethostent): Likewise.
19060         (dns_service): Likewise.
19061         * stdlib/drand48.c (drand48): Likewise.
19062         * stdlib/lrand48.c (lrand48): Likewise.
19063         * stdlib/mrand48.c (mrand48): Likewise.
19064         * stdlib/rand.c (rand): Likewise.
19065         * stdlib/random.c (__random): Likewise.
19066         * stdlib/setenv.c (clearenv): Likewise.
19067         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19068         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19069         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19070         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19071         (__get_nprocs): Likewise.
19072         (__get_phys_pages): Likewise.
19073         (__get_avphys_pages): Likewise.
19074         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19075         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19076         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19077         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19078         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19079         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19080         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19081         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19082         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19083         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19084         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19085         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19086         * sysdeps/posix/clock.c (clock): Likewise.
19087         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19088         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19089         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19090         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19091         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19092         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19093         (__get_nprocs_conf): Likewise.
19094         (__get_phys_pages): Likewise.
19095         (__get_avphys_pages): Likewise.
19096         * time/clock.c (clock): Likewise.
19097         * time/tzset.c (__tzname_max): Likewise.
19098
19099 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19100
19101         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19102         (__bswap_32): Do not use "register".
19103         * crypt/crypt.c (_ufc_doit_r): Likewise.
19104         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19105         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19106         * gmon/gmon.c (__monstartup): Likewise.
19107         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19108         * hurd/hurdmalloc.c (more_memory): Likewise.
19109         (malloc): Likewise.
19110         (free): Likewise.
19111         (realloc): Likewise.
19112         (malloc_fork_prepare): Likewise.
19113         (malloc_fork_parent): Likewise.
19114         (malloc_fork_child): Likewise.
19115         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19116         (_svcauth_des): Likewise.
19117         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19118         * inet/inet_net.c (inet_network): Likewise.
19119         * inet/inet_netof.c (inet_netof): Likewise.
19120         * inet/rcmd.c (__validuser2_sa): Likewise.
19121         * io/fts.c (fts_open): Likewise.
19122         (fts_load): Likewise.
19123         (fts_close): Likewise.
19124         (fts_read): Likewise.
19125         (fts_children): Likewise.
19126         (fts_build): Likewise.
19127         (fts_stat): Likewise.
19128         (fts_sort): Likewise.
19129         (fts_alloc): Likewise.
19130         (fts_lfree): Likewise.
19131         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19132         (_IO_file_xsgetn): Likewise.
19133         (_IO_file_xsgetn_mmap): Likewise.
19134         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19135         (_IO_cookie_write): Likewise.
19136         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19137         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19138         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19139         * malloc/obstack.c (_obstack_begin): Likewise.
19140         (_obstack_begin_1): Likewise.
19141         (_obstack_newchunk): Likewise.
19142         (_obstack_allocated_p): Likewise.
19143         (obstack_free): Likewise.
19144         (_obstack_memory_used): Likewise.
19145         * misc/getttyent.c (getttynam): Likewise.
19146         (getttyent): Likewise.
19147         (skip): Likewise.
19148         (value): Likewise.
19149         * misc/getusershell.c (initshells): Likewise.
19150         * misc/syslog.c (__vsyslog_chk): Likewise.
19151         * misc/ttyslot.c (ttyslot): Likewise.
19152         * nis/nis_hash.c (__nis_hash): Likewise.
19153         * posix/fnmatch_loop.c (FCT): Likewise.
19154         * posix/getconf.c (print_all): Likewise.
19155         (main): Likewise.
19156         * posix/getopt.c (exchange): Likewise.
19157         * posix/glob.c (globfree): Likewise.
19158         (prefix_array): Likewise.
19159         (__glob_pattern_type): Likewise.
19160         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19161         (NS_GET32): Likewise.
19162         (NS_PUT16): Likewise.
19163         (NS_PUT32): Likewise.
19164         * resolv/gethnamaddr.c (getanswer): Likewise.
19165         (gethostbyname2): Likewise.
19166         (gethostbyaddr): Likewise.
19167         (_gethtent): Likewise.
19168         (_gethtbyname2): Likewise.
19169         (_gethtbyaddr): Likewise.
19170         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19171         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19172         * resolv/res_init.c (__res_vinit): Likewise.
19173         (net_mask): Likewise.
19174         * resolv/res_mkquery.c (outchar): Likewise.
19175         (PRINT): Likewise.
19176         * stdio-common/printf_fp.c (outchar): Likewise.
19177         (PRINT): Likewise.
19178         * stdio-common/printf_fphex.c (outchar): Likewise.
19179         (PRINT): Likewise.
19180         * stdio-common/printf_size.c (outchar): Likewise.
19181         (PRINT): Likewise.
19182         * stdio-common/test_rdwr.c (main): Likewise.
19183         * stdio-common/tfformat.c (matches): Likewise.
19184         * stdio-common/vfprintf.c (outchar): Likewise.
19185         (printf_unknown): Likewise.
19186         (buffered_vfprintf): Likewise.
19187         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19188         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19189         (ReadFile): Likewise.
19190         * stdlib/qsort.c (SWAP): Likewise.
19191         (_quicksort): Likewise.
19192         * stdlib/setenv.c (__add_to_environ): Likewise.
19193         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19194         * stdlib/strtol_l.c (__strtol_l): Likewise.
19195         * stdlib/tst-strtod.c (main): Likewise.
19196         * stdlib/tst-strtol.c (main): Likewise.
19197         * stdlib/tst-strtoll.c (main): Likewise.
19198         * string/bits/string2.h (__strcmp_cc): Likewise.
19199         (__strcmp_cg): Likewise.
19200         (__strcspn_c1): Likewise.
19201         (__strcspn_c2): Likewise.
19202         (__strcspn_c3): Likewise.
19203         (__strspn_c1): Likewise.
19204         (__strspn_c2): Likewise.
19205         (__strspn_c3): Likewise.
19206         (__strsep_1c): Likewise.
19207         (__strsep_2c): Likewise.
19208         (__strsep_3c): Likewise.
19209         * string/memccpy.c (__memccpy): Likewise.
19210         * string/stpcpy.c (__stpcpy): Likewise.
19211         * string/strcmp.c (strcmp): Likewise.
19212         * string/strrchr.c (strrchr): Likewise.
19213         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19214         Likewise.
19215         * sysdeps/mach/hurd/getcwd.c
19216         (_hurd_canonicalize_directory_name_internal): Likewise.
19217         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19218         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19219         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19220         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19221         Likewise, in both definitions.
19222         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19223         definitions.
19224         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19225         64] (__bswap_64): Likewise.
19226         * time/test_time.c (main): Likewise.
19227         * time/tzfile.c (__tzfile_read): Likewise.
19228         (__tzfile_compute): Likewise.
19229         * time/tzset.c (__tzset_parse_tz): Likewise.
19230         (tzset_internal): Likewise.
19231         (compute_change): Likewise.
19232         * wcsmbs/wcscat.c (__wcscat): Likewise.
19233         * wcsmbs/wcschr.c (wcschr): Likewise.
19234         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19235         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19236         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19237         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19238         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19239         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19240         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19241         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19242         * wcsmbs/wmemset.c (wmemset): Likewise.
19243
19244 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19245
19246         * scripts/config.guess: Update to version 2013-05-16.
19247         * scripts/config.sub: Update to version 2013-04-24.
19248         * scripts/install-sh: Update to version 2011-11-20.07.
19249         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19250         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19251
19252 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19253
19254         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19255         * elf/sln.c: Likewise.
19256         * hurd/hurd/ioctl.h: Likewise.
19257         * hurd/hurdmalloc.c: Likewise.
19258         * hurd/xattr.c: Likewise.
19259         * include/shlib-compat.h: Likewise.
19260         * inet/ruserpass.c: Likewise.
19261         * libio/iofgets_u.c: Likewise.
19262         * libio/iofgetws_u.c: Likewise.
19263         * locale/programs/ld-identification.c: Likewise.
19264         * locale/programs/ld-time.c: Likewise.
19265         * mach/msg-destroy.c: Likewise.
19266         * nss/nss_files/files-netgrp.c: Likewise.
19267         * resolv/res_data.c: Likewise.
19268         * soft-fp/op-1.h: Likewise.
19269         * soft-fp/op-2.h: Likewise.
19270         * soft-fp/op-4.h: Likewise.
19271         * soft-fp/op-common.h: Likewise.
19272         * stdio-common/printf_fphex.c: Likewise.
19273         * stdlib/strtod_l.c: Likewise.
19274         * sunrpc/rpc/clnt.h: Likewise.
19275         * sysdeps/generic/framestate.c: Likewise.
19276         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19277         * sysdeps/i386/bsd-setjmp.S: Likewise.
19278         * sysdeps/i386/__longjmp.S: Likewise.
19279         * sysdeps/i386/setjmp.S: Likewise.
19280         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19281         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19282         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19283         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19284         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19285         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19286         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19287         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19288         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19289         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19290         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19291         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19292         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19293         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19294         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19295         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19296         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19297         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19298         * sysdeps/ieee754/support.c: Likewise.
19299         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19300         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19301         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19302         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19303         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19304         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19305         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19306         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19307         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19308         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19309         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19310         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19311         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19312         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19313         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19314         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19315         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19317
19318 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19319
19320         * posix/transbug.c: Remove executable mode.
19321
19322 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19323
19324         * crypt/speeds.c: Remove trailing whitespace.
19325         * dlfcn/default.c: Likewise.
19326         * elf/ifuncdep2.c: Likewise.
19327         * elf/ifuncmain1.c: Likewise.
19328         * elf/ifuncmain1vis.c: Likewise.
19329         * elf/testobj.h: Likewise.
19330         * elf/tst-stackguard1.c: Likewise.
19331         * gmon/sys/gmon.h: Likewise.
19332         * hurd/hurdmsg.c: Likewise.
19333         * hurd/new-fd.c: Likewise.
19334         * hurd/ports-get.c: Likewise.
19335         * iconvdata/ibm1008_420.c: Likewise.
19336         * inet/tst-getni1.c: Likewise.
19337         * inet/tst-getni2.c: Likewise.
19338         * libio/ioungetc.c: Likewise.
19339         * libio/wfiledoalloc.c: Likewise.
19340         * manual/libm-err-tab.pl: Likewise.
19341         * math/w_dremf.c: Likewise.
19342         * misc/ftruncate.c: Likewise.
19343         * posix/bug-glob2.c: Likewise.
19344         * posix/tst-pcre.c: Likewise.
19345         * posix/wait4.c: Likewise.
19346         * resolv/README: Likewise.
19347         * resolv/res_debug.h: Likewise.
19348         * resolv/tst-inet_ntop.c: Likewise.
19349         * setjmp/bug269-setjmp.c: Likewise.
19350         * soft-fp/extended.h: Likewise.
19351         * soft-fp/op-1.h: Likewise.
19352         * soft-fp/op-2.h: Likewise.
19353         * soft-fp/op-4.h: Likewise.
19354         * soft-fp/op-8.h: Likewise.
19355         * soft-fp/testit.c: Likewise.
19356         * stdio-common/bug16.c: Likewise.
19357         * stdlib/random.c: Likewise.
19358         * sunrpc/rpcsvc/rquota.x: Likewise.
19359         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19360         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19361         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19362         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19363         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19364         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19365         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19366         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19367         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19368         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19369         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19370         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19371         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19372         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19373         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19374         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19375         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19376         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19377         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19378         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19379         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19380         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19381         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19382         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19383         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19384         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19385         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19386         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19387         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19388         * sysdeps/ieee754/s_lib_version.c: Likewise.
19389         * sysdeps/mach/hurd/check_fds.c: Likewise.
19390         * sysdeps/mach/hurd/getsockname.c: Likewise.
19391         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19392         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19393         * sysdeps/powerpc/bits/link.h: Likewise.
19394         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19395         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19396         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19397         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19398         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19399         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19400         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19401         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19402         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19403         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19404         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19405         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19406         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19407         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19408         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19409         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19410         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19411         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19412         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19413         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19414         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19415         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19416         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19417         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19418         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19419         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19420         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19421         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19422         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19423         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19424         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19425         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19426         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19427         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19428         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19429         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19430         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19431         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19432         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19433         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19434         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19435         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19436         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19437         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19438         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19439         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19440         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19441         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19442         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19443         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19444         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19445         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19446         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19447         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19448         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19449         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19450         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19451         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19452         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19453         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19454         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19455         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19456         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19457         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19458         * sysdeps/powerpc/sysdep.h: Likewise.
19459         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19460         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19461         * sysdeps/sh/dl-trampoline.S: Likewise.
19462         * sysdeps/sh/memset.S: Likewise.
19463         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19464         * sysdeps/sh/strlen.S: Likewise.
19465         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19466         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19467         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19468         * sysdeps/sparc/sparc32/rem.S: Likewise.
19469         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19470         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19471         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19472         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19473         * sysdeps/sparc/sparc32/urem.S: Likewise.
19474         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19475         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19476         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19477         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19478         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19479         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19480         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19481         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19482         * sysdeps/unix/bsd/times.c: Likewise.
19483         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19484         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19488         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19489         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19490         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19491         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19492         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19493         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19494         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19495         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19496         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19497         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19498         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19499         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19500         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19501         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19502         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19503         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19504         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19505         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19506         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19507         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19508         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19509         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19510         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19511         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19512         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19513         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19514         * sysdeps/x86_64/strcspn.S: Likewise.
19515
19516 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19517
19518         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19519         generated file.  Regenerate properly from gen-translit.pl.
19520         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19521         locale/C-translit.h.
19522
19523 2013-06-05  Andreas Schwab  <schwab@suse.de>
19524
19525         [BZ #15100]
19526         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19527         week as 6 instead of -1.
19528         * time/tst-strptime.c (day_tests): Add test case.
19529
19530 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19531
19532         * sysdeps/generic/math_private.h
19533         (libc_feholdexcept_setround_53bit): Replace with
19534         libc_feholdsetround_53bit.
19535         (libc_feupdateenv_53bit): Replace with
19536         libc_feresetround_53bit.
19537         (SET_RESTORE_ROUND_53BIT): Adjust.
19538
19539 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19540
19541         * string/test-strchrnul.c: Add copyright header.
19542
19543         * posix/tst-getaddrinfo4.c: Increase test timeout.
19544
19545 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19546
19547         [BZ #15536]
19548         * math/libm-test.inc (MAX_EXP): Remove
19549         (MIN_EXP): Define.
19550         (ulp): Use MIN_EXP - MANT_DIG.
19551         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19552
19553 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19554
19555         * po/be.po: Revert last change.
19556         * po/zh_CN.po: Likewise.
19557         * po/header.pot: Likewise.
19558
19559 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19560
19561         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19562         link-libc-deps to empty as target-specific variable.
19563         * Makerules (link-libc-args): New variable.
19564         (libc-for-link): Likewise.
19565         (link-libc-deps): Likewise.
19566         (lib%.so): Depend on $(link-libc-deps).  Link with
19567         $(link-libc-args).
19568         (build-module): Link with $(link-libc-args).
19569         (build-module-asneeded): Likewise.
19570         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19571         list of objects.
19572         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19573         target-specific variable.
19574         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19575         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19576         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19577         libc.
19578         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19579         libc and ld.so.
19580         ($(objpfx)libpcprofile.so): Likewise.
19581         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19582         libc_nonshared.a.
19583         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19584         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19585         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19586         $(link-libc-deps).
19587         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19588         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19589         * login/Makefile ($(objpfx)libutil.so): Likewise.
19590         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19591         * math/Makefile ($(objpfx)libm.so): Likewise.
19592         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19593         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19594         variable instead of depending directly on libc.
19595         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19596         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19597         $(link-libc-deps).
19598         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19599         libc.
19600         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19601         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19602         ($(objpfx)libanl.so): Likewise.
19603         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19604         ld.so.
19605         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19606         $(link-libc-deps).
19607         * sysdeps/i386/fpu/Makefile: Remove file.
19608         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19609         ($(objpfx)libm.so): Remove dependency on ld.so.
19610
19611 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19612
19613         [BZ # 15553]
19614         * nis/yp_xdr.c (XDRMAXNAME): Define.
19615         (XDRMAXRECORD): Define.
19616         (xdr_domainname): Use XDRMAXNAME.
19617         (xdr_mapname): Likewise.
19618         (xdr_peername): Likewise.
19619         (xdr_keydat): Use XDRMAXRECORD.
19620         (xdr_valdat): Likewise.
19621
19622 2013-05-30  Jeff Law  <law@redhat.com>
19623
19624         [BZ #14256]
19625         * manual/errno.texi (ESTALE): Update to account for more than
19626         just NFS file systems.
19627         * sysdeps/gnu/errlist.c: Regenerated.
19628
19629 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19630
19631         [BZ #15465]
19632         * elf/Makefile (tests): Add tst-null-argv.
19633         (modules-names):  Add tst-null-argv-lib.
19634         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19635         (tst-null-argv-ENV): Set environment for tst-null-argv.
19636         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19637         (RTLD_PROGNAME): New macro.
19638         * elf/tst-null-argv.c: New test case.
19639         * elf/tst-null-argv-lib.c: Library for test case.
19640         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19641         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19642         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19643         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19644         * elf/dl-init.c (call_init): Likewise.
19645         (_dl_init): Likewise.
19646         * elf/dl-load.c (print_search_path): Likewise.
19647         (_dl_map_object): Likewise.
19648         * elf/dl-lookup.c (do_lookup_x): Likewise.
19649         (add_dependency): Likewise.
19650         (_dl_lookup_symbol_x): Likewise.
19651         (_dl_debug_bindings): Likewise.
19652         * elf/dl-open.c (_dl_show_scope): Likewise.
19653         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19654         * elf/dl-version.c (match_symbol): Likewise.
19655         (_dl_check_map_versions): Likewise.
19656         * elf/rtld.c (dl_main): Likewise.
19657         (print_unresolved): Use RTLD_PROGNAME.
19658         (print_missing_version): Likewise.
19659         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19660         (elf_machine_rela): Likewise.
19661         * sysdeps/powerpc/powerpc32/dl-machine.c
19662         (__process_machine_rela): Likewise.
19663         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19664         Likewise.
19665         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19666         Likewise.
19667         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19668         Likewise.
19669         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19670         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19671         Likewise.
19672         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19673         Likewise.
19674         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19675
19676 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19677
19678         * po/be.po: Add descriptive title.
19679         * po/zh_CN.po: Likewise.
19680         * po/header.pot: Likewise.
19681
19682 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19683
19684         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19685         error message.
19686         (enlarge_archive): Likewise.
19687
19688 2013-05-28  Ben North  <ben@redfrontdoor.org>
19689
19690         * manual/arith.texi (frexp): It is the magnitude of the return
19691         value which lies in [0.5, 1), not the return value itself.
19692
19693 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19694
19695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19696
19697 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19698
19699         * stdio-common/bug26.c (main): Correct fscanf template.
19700
19701         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19702         declare _dl_skip_args.
19703
19704         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19705         Don't declare.
19706
19707         * manual/platform.texi: Add missing @end deftypefun.
19708
19709 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19710
19711         [BZ #15529]
19712         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19713         bit of mantissa of 2^16382.
19714         * math/libm-test.inc (hypot_test_data): Add more tests.
19715
19716         * math/libm-test.inc: Add drem and pow10 to list of tested
19717         functions.
19718         (pow10_test): New function.
19719         (drem_test): Likewise.
19720         (drem_test_tonearest): Likewise.
19721         (drem_test_towardzero): Likewise.
19722         (drem_test_downward): Likewise.
19723         (drem_test_upward): Likewise.
19724         (main): Call the new functions.
19725
19726         * math/libm-test.inc (finite_test_data): Remove.
19727         (finite_test): Run tests from isfinite_test_data.
19728         (gamma_test_data): Remove.
19729         (gamma_test): Run tests from lgamma_test_data.
19730         * sysdeps/i386/fpu/libm-test-ulps: Update.
19731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19732
19733 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19734
19735         * manual/platform.texi: Add PowerPC PPR function set documentation.
19736         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19737         implementation.
19738
19739 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19740
19741         * math/libm-test.inc (MAX_EXP): Define.
19742         (ULPDIFF): Define.
19743         (ulp): New function.
19744         (check_float_internal): Use ULPDIFF.
19745         (cpow_test): Disable failing test.
19746         (check_ulp): Test ulp() implemetnation.
19747         (main): Call check_ulp before starting tests.
19748
19749 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19750
19751         * math/gen-libm-test.pl (generate_testfile): Do not handle
19752         START_DATA and END_DATA.
19753         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19754         END_DATA.
19755         (acos_tonearest_test_data): Likewise.
19756         (acos_towardzero_test_data): Likewise.
19757         (acos_downward_test_data): Likewise.
19758         (acos_upward_test_data): Likewise.
19759         (acosh_test_data): Likewise.
19760         (asin_test_data): Likewise.
19761         (asin_tonearest_test_data): Likewise.
19762         (asin_towardzero_test_data): Likewise.
19763         (asin_downward_test_data): Likewise.
19764         (asin_upward_test_data): Likewise.
19765         (asinh_test_data): Likewise.
19766         (atan_test_data): Likewise.
19767         (atanh_test_data): Likewise.
19768         (atan2_test_data): Likewise.
19769         (cabs_test_data): Likewise.
19770         (cacos_test_data): Likewise.
19771         (cacosh_test_data): Likewise.
19772         (carg_test_data): Likewise.
19773         (casin_test_data): Likewise.
19774         (casinh_test_data): Likewise.
19775         (catan_test_data): Likewise.
19776         (catanh_test_data): Likewise.
19777         (cbrt_test_data): Likewise.
19778         (ccos_test_data): Likewise.
19779         (ccosh_test_data): Likewise.
19780         (ceil_test_data): Likewise.
19781         (cexp_test_data): Likewise.
19782         (cimag_test_data): Likewise.
19783         (clog_test_data): Likewise.
19784         (clog10_test_data): Likewise.
19785         (conj_test_data): Likewise.
19786         (copysign_test_data): Likewise.
19787         (cos_test_data): Likewise.
19788         (cos_tonearest_test_data): Likewise.
19789         (cos_towardzero_test_data): Likewise.
19790         (cos_downward_test_data): Likewise.
19791         (cos_upward_test_data): Likewise.
19792         (cosh_test_data): Likewise.
19793         (cosh_tonearest_test_data): Likewise.
19794         (cosh_towardzero_test_data): Likewise.
19795         (cosh_downward_test_data): Likewise.
19796         (cosh_upward_test_data): Likewise.
19797         (cpow_test_data): Likewise.
19798         (cproj_test_data): Likewise.
19799         (creal_test_data): Likewise.
19800         (csin_test_data): Likewise.
19801         (csinh_test_data): Likewise.
19802         (csqrt_test_data): Likewise.
19803         (ctan_test_data): Likewise.
19804         (ctan_tonearest_test_data): Likewise.
19805         (ctan_towardzero_test_data): Likewise.
19806         (ctan_downward_test_data): Likewise.
19807         (ctan_upward_test_data): Likewise.
19808         (ctanh_test_data): Likewise.
19809         (ctanh_tonearest_test_data): Likewise.
19810         (ctanh_towardzero_test_data): Likewise.
19811         (ctanh_downward_test_data): Likewise.
19812         (ctanh_upward_test_data): Likewise.
19813         (erf_test_data): Likewise.
19814         (erfc_test_data): Likewise.
19815         (exp_test_data): Likewise.
19816         (exp_tonearest_test_data): Likewise.
19817         (exp_towardzero_test_data): Likewise.
19818         (exp_downward_test_data): Likewise.
19819         (exp_upward_test_data): Likewise.
19820         (exp10_test_data): Likewise.
19821         (exp2_test_data): Likewise.
19822         (expm1_test_data): Likewise.
19823         (fabs_test_data): Likewise.
19824         (fdim_test_data): Likewise.
19825         (finite_test_data): Likewise.
19826         (floor_test_data): Likewise.
19827         (fma_test_data): Likewise.
19828         (fma_towardzero_test_data): Likewise.
19829         (fma_downward_test_data): Likewise.
19830         (fma_upward_test_data): Likewise.
19831         (fmax_test_data): Likewise.
19832         (fmin_test_data): Likewise.
19833         (fmod_test_data): Likewise.
19834         (fpclassify_test_data): Likewise.
19835         (frexp_test_data): Likewise.
19836         (gamma_test_data): Likewise.
19837         (hypot_test_data): Likewise.
19838         (ilogb_test_data): Likewise.
19839         (isfinite_test_data): Likewise.
19840         (isgreater_test_data): Likewise.
19841         (isgreaterequal_test_data): Likewise.
19842         (isinf_test_data): Likewise.
19843         (isless_test_data): Likewise.
19844         (islessequal_test_data): Likewise.
19845         (islessgreater_test_data): Likewise.
19846         (isnan_test_data): Likewise.
19847         (isnormal_test_data): Likewise.
19848         (issignaling_test_data): Likewise.
19849         (isunordered_test_data): Likewise.
19850         (j0_test_data): Likewise.
19851         (j1_test_data): Likewise.
19852         (jn_test_data): Likewise.
19853         (ldexp_test_data): Likewise.
19854         (lgamma_test_data): Likewise.
19855         (lrint_test_data): Likewise.
19856         (lrint_tonearest_test_data): Likewise.
19857         (lrint_towardzero_test_data): Likewise.
19858         (lrint_downward_test_data): Likewise.
19859         (lrint_upward_test_data): Likewise.
19860         (llrint_test_data): Likewise.
19861         (llrint_tonearest_test_data): Likewise.
19862         (llrint_towardzero_test_data): Likewise.
19863         (llrint_downward_test_data): Likewise.
19864         (llrint_upward_test_data): Likewise.
19865         (log_test_data): Likewise.
19866         (log10_test_data): Likewise.
19867         (log1p_test_data): Likewise.
19868         (log2_test_data): Likewise.
19869         (logb_test_data): Likewise.
19870         (logb_downward_test_data): Likewise.
19871         (lround_test_data): Likewise.
19872         (llround_test_data): Likewise.
19873         (modf_test_data): Likewise.
19874         (nearbyint_test_data): Likewise.
19875         (nextafter_test_data): Likewise.
19876         (nexttoward_test_data): Likewise.
19877         (pow_test_data): Likewise.
19878         (pow_tonearest_test_data): Likewise.
19879         (pow_towardzero_test_data): Likewise.
19880         (pow_downward_test_data): Likewise.
19881         (pow_upward_test_data): Likewise.
19882         (remainder_test_data): Likewise.
19883         (remainder_tonearest_test_data): Likewise.
19884         (remainder_towardzero_test_data): Likewise.
19885         (remainder_downward_test_data): Likewise.
19886         (remainder_upward_test_data): Likewise.
19887         (remquo_test_data): Likewise.
19888         (rint_test_data): Likewise.
19889         (rint_tonearest_test_data): Likewise.
19890         (rint_towardzero_test_data): Likewise.
19891         (rint_downward_test_data): Likewise.
19892         (rint_upward_test_data): Likewise.
19893         (round_test_data): Likewise.
19894         (scalb_test_data): Likewise.
19895         (scalbn_test_data): Likewise.
19896         (scalbln_test_data): Likewise.
19897         (signbit_test_data): Likewise.
19898         (sin_test_data): Likewise.
19899         (sin_tonearest_test_data): Likewise.
19900         (sin_towardzero_test_data): Likewise.
19901         (sin_downward_test_data): Likewise.
19902         (sin_upward_test_data): Likewise.
19903         (sincos_test_data): Likewise.
19904         (sinh_test_data): Likewise.
19905         (sinh_tonearest_test_data): Likewise.
19906         (sinh_towardzero_test_data): Likewise.
19907         (sinh_downward_test_data): Likewise.
19908         (sinh_upward_test_data): Likewise.
19909         (sqrt_test_data): Likewise.
19910         (tan_test_data): Likewise.
19911         (tan_tonearest_test_data): Likewise.
19912         (tan_towardzero_test_data): Likewise.
19913         (tan_downward_test_data): Likewise.
19914         (tan_upward_test_data): Likewise.
19915         (tanh_test_data): Likewise.
19916         (tgamma_test_data): Likewise.
19917         (trunc_test_data): Likewise.
19918         (y0_test_data): Likewise.
19919         (y1_test_data): Likewise.
19920         (yn_test_data): Likewise.
19921         (significand_test_data): Likewise.
19922
19923         * math/gen-libm-test.pl (@functions): Remove variable.
19924         (generate_testfile): Don't handle START and END lines.
19925         * math/libm-test.inc (START): New macro.
19926         (END): Likewise.
19927         (END_COMPLEX): Likewise.
19928         (acos_test): Use END macro without arguments.
19929         (acos_test_tonearest): Likewise.
19930         (acos_test_towardzero): Likewise.
19931         (acos_test_downward): Likewise.
19932         (acos_test_upward): Likewise.
19933         (acosh_test): Likewise.
19934         (asin_test): Likewise.
19935         (asin_test_tonearest): Likewise.
19936         (asin_test_towardzero): Likewise.
19937         (asin_test_downward): Likewise.
19938         (asin_test_upward): Likewise.
19939         (asinh_test): Likewise.
19940         (atan_test): Likewise.
19941         (atanh_test): Likewise.
19942         (atan2_test): Likewise.
19943         (cabs_test): Likewise.
19944         (cacos_test): Use END_COMPLEX macro without arguments.
19945         (cacosh_test): Likewise.
19946         (carg_test): Use END macro without arguments.
19947         (casin_test): Use END_COMPLEX macro without arguments.
19948         (casinh_test): Likewise.
19949         (catan_test): Likewise.
19950         (catanh_test): Likewise.
19951         (cbrt_test): Use END macro without arguments.
19952         (ccos_test): Use END_COMPLEX macro without arguments.
19953         (ccosh_test): Likewise.
19954         (ceil_test): Use END macro without arguments.
19955         (cexp_test): Use END_COMPLEX macro without arguments.
19956         (cimag_test): Use END macro without arguments.
19957         (clog_test): Use END_COMPLEX macro without arguments.
19958         (clog10_test): Likewise.
19959         (conj_test): Likewise.
19960         (copysign_test): Use END macro without arguments.
19961         (cos_test): Likewise.
19962         (cos_test_tonearest): Likewise.
19963         (cos_test_towardzero): Likewise.
19964         (cos_test_downward): Likewise.
19965         (cos_test_upward): Likewise.
19966         (cosh_test): Likewise.
19967         (cosh_test_tonearest): Likewise.
19968         (cosh_test_towardzero): Likewise.
19969         (cosh_test_downward): Likewise.
19970         (cosh_test_upward): Likewise.
19971         (cpow_test): Use END_COMPLEX macro without arguments.
19972         (cproj_test): Likewise.
19973         (creal_test): Use END macro without arguments.
19974         (csin_test): Use END_COMPLEX macro without arguments.
19975         (csinh_test): Likewise.
19976         (csqrt_test): Likewise.
19977         (ctan_test): Likewise.
19978         (ctan_test_tonearest): Likewise.
19979         (ctan_test_towardzero): Likewise.
19980         (ctan_test_downward): Likewise.
19981         (ctan_test_upward): Likewise.
19982         (ctanh_test): Likewise.
19983         (ctanh_test_tonearest): Likewise.
19984         (ctanh_test_towardzero): Likewise.
19985         (ctanh_test_downward): Likewise.
19986         (ctanh_test_upward): Likewise.
19987         (erf_test): Use END macro without arguments.
19988         (erfc_test): Likewise.
19989         (exp_test): Likewise.
19990         (exp_test_tonearest): Likewise.
19991         (exp_test_towardzero): Likewise.
19992         (exp_test_downward): Likewise.
19993         (exp_test_upward): Likewise.
19994         (exp10_test): Likewise.
19995         (exp2_test): Likewise.
19996         (expm1_test): Likewise.
19997         (fabs_test): Likewise.
19998         (fdim_test): Likewise.
19999         (finite_test): Likewise.
20000         (floor_test): Likewise.
20001         (fma_test): Likewise.
20002         (fma_test_towardzero): Likewise.
20003         (fma_test_downward): Likewise.
20004         (fma_test_upward): Likewise.
20005         (fmax_test): Likewise.
20006         (fmin_test): Likewise.
20007         (fmod_test): Likewise.
20008         (fpclassify_test): Likewise.
20009         (frexp_test): Likewise.
20010         (gamma_test): Likewise.
20011         (hypot_test): Likewise.
20012         (ilogb_test): Likewise.
20013         (isfinite_test): Likewise.
20014         (isgreater_test): Likewise.
20015         (isgreaterequal_test): Likewise.
20016         (isinf_test): Likewise.
20017         (isless_test): Likewise.
20018         (islessequal_test): Likewise.
20019         (islessgreater_test): Likewise.
20020         (isnan_test): Likewise.
20021         (isnormal_test): Likewise.
20022         (issignaling_test): Likewise.
20023         (isunordered_test): Likewise.
20024         (j0_test): Likewise.
20025         (j1_test): Likewise.
20026         (jn_test): Likewise.
20027         (ldexp_test): Likewise.
20028         (lgamma_test): Likewise.
20029         (lrint_test): Likewise.
20030         (lrint_test_tonearest): Likewise.
20031         (lrint_test_towardzero): Likewise.
20032         (lrint_test_downward): Likewise.
20033         (lrint_test_upward): Likewise.
20034         (llrint_test): Likewise.
20035         (llrint_test_tonearest): Likewise.
20036         (llrint_test_towardzero): Likewise.
20037         (llrint_test_downward): Likewise.
20038         (llrint_test_upward): Likewise.
20039         (log_test): Likewise.
20040         (log10_test): Likewise.
20041         (log1p_test): Likewise.
20042         (log2_test): Likewise.
20043         (logb_test): Likewise.
20044         (logb_test_downward): Likewise.
20045         (lround_test): Likewise.
20046         (llround_test): Likewise.
20047         (modf_test): Likewise.
20048         (nearbyint_test): Likewise.
20049         (nextafter_test): Likewise.
20050         (nexttoward_test): Likewise.
20051         (pow_test): Likewise.
20052         (pow_test_tonearest): Likewise.
20053         (pow_test_towardzero): Likewise.
20054         (pow_test_downward): Likewise.
20055         (pow_test_upward): Likewise.
20056         (remainder_test): Likewise.
20057         (remainder_test_tonearest): Likewise.
20058         (remainder_test_towardzero): Likewise.
20059         (remainder_test_downward): Likewise.
20060         (remainder_test_upward): Likewise.
20061         (remquo_test): Likewise.
20062         (rint_test): Likewise.
20063         (rint_test_tonearest): Likewise.
20064         (rint_test_towardzero): Likewise.
20065         (rint_test_downward): Likewise.
20066         (rint_test_upward): Likewise.
20067         (round_test): Likewise.
20068         (scalb_test): Likewise.
20069         (scalbn_test): Likewise.
20070         (scalbln_test): Likewise.
20071         (signbit_test): Likewise.
20072         (sin_test): Likewise.
20073         (sin_test_tonearest): Likewise.
20074         (sin_test_towardzero): Likewise.
20075         (sin_test_downward): Likewise.
20076         (sin_test_upward): Likewise.
20077         (sincos_test): Likewise.
20078         (sinh_test): Likewise.
20079         (sinh_test_tonearest): Likewise.
20080         (sinh_test_towardzero): Likewise.
20081         (sinh_test_downward): Likewise.
20082         (sinh_test_upward): Likewise.
20083         (sqrt_test): Likewise.
20084         (tan_test): Likewise.
20085         (tan_test_tonearest): Likewise.
20086         (tan_test_towardzero): Likewise.
20087         (tan_test_downward): Likewise.
20088         (tan_test_upward): Likewise.
20089         (tanh_test): Likewise.
20090         (tgamma_test): Likewise.
20091         (trunc_test): Likewise.
20092         (y0_test): Likewise.
20093         (y1_test): Likewise.
20094         (yn_test): Likewise.
20095         (significand_test): Likewise.
20096
20097 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20098
20099         [BZ #15381]
20100         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20101
20102 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20103
20104         [BZ #14894]
20105         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20106         __ppc_mdoio and __ppc_mdoom.
20107         * manual/platform.texi: Document new functions __ppc_yield,
20108         __ppc_mdoio and __ppc_mdoom.
20109
20110 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20111
20112         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20113         (main): Mention "tls" pseudo-hwcap is legacy.
20114         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20115
20116 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20117
20118         * math/gen-libm-test.pl (parse_args): Output only string of
20119         arguments as text for test name, not full call or descriptions of
20120         tests for extra outputs.
20121         (generate_testfile): Do not pass function name to parse_args.
20122         Generate this_func variable from START.
20123         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20124         field to arg_str.
20125         (struct test_ff_f_data): Likewise.
20126         (test_ff_f_data_nexttoward): Likewise.
20127         (struct test_fi_f_data): Likewise.
20128         (struct test_fl_f_data): Likewise.
20129         (struct test_if_f_data): Likewise.
20130         (struct test_fff_f_data): Likewise.
20131         (struct test_c_f_data): Likewise.
20132         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20133         (struct test_fF_f1_data): Likewise.
20134         (struct test_ffI_f1_data): Likewise.
20135         (struct test_c_c_data): Rename test_name field to arg_str.
20136         (struct test_cc_c_data): Likewise.
20137         (struct test_f_i_data): Likewise.
20138         (struct test_ff_i_data): Likewise.
20139         (struct test_f_l_data): Likewise.
20140         (struct test_f_L_data): Likewise.
20141         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20142         and extra2_name.
20143         (COMMON_TEST_SETUP): New macro.
20144         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20145         (COMMON_TEST_CLEANUP): Likewise.
20146         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20147         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20148         macros.
20149         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20150         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20151         macros.
20152         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20153         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20154         cleanup macros.
20155         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20156         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20157         macros.
20158         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20159         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20160         macros.
20161         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20162         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20163         cleanup macros.
20164         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20165         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20166         cleanup macros.
20167         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20168         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20169         cleanup macros.
20170         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20171         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20172         macros.
20173         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20174         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20175         macros.
20176         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20177         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20178         macros.
20179         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20180         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20181         cleanup macros.
20182         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20183         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20184         cleanup macros.
20185         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20186         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20187         macros.
20188         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20189         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20190         cleanup macros.
20191         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20192         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20193         macros.
20194         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20195         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20196         macros.
20197         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20198         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20199         cleanup macros.
20200         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20201
20202 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20203
20204         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20205         to _sifields.sigfault.
20206         (si_addr_lsb): Define new macro.
20207         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20208         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20209         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20210
20211 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20212
20213         [BZ #15441]
20214         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20215         returns -1.
20216         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20217         null return -1.
20218         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20219         loading the domain.
20220
20221 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20222
20223         * math/gen-libm-test.pl (parse_args): Do not include expected
20224         result in test name.
20225         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
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 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20233
20234         * benchtests/Makefile: Sort function entries.
20235
20236         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20237         tanh, asinh, acosh, atanh.
20238         * benchtests/acos-inputs: New file.
20239         * benchtests/acosh-inputs: New file.
20240         * benchtests/asin-inputs: New file.
20241         * benchtests/asinh-inputs: New file.
20242         * benchtests/atanh-inputs: New file.
20243         * benchtests/cosh-inputs: New file.
20244         * benchtests/log-inputs: New file.
20245         * benchtests/sinh-inputs: New file.
20246         * benchtests/tanh-inputs: New file.
20247
20248 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20249
20250         [BZ #15339]
20251         * posix/tst-getaddrinfo4.c: New test.
20252         * posix/Makefile (tests): Add it.
20253
20254 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20255
20256         [BZ #15339]
20257         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20258         when no services were used.
20259         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20260         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20261
20262 2013-05-21  Andreas Schwab  <schwab@suse.de>
20263
20264         [BZ #15014]
20265         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20266         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20267         successful.
20268         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20269         redundant variable declarations and reallocation of buffer when
20270         parsing as IPv6 address.  Always set NSS status when called from
20271         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20272         buffer too small.  Correct computation of needed size.
20273         * nss/Makefile (tests): Add test-digits-dots.
20274         * nss/test-digits-dots.c: New test.
20275
20276 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20277
20278         * benchtests/Makefile: Remove instructions for adding
20279         benchmark tests.
20280         * benchtests/README: New file to explain how to execute and
20281         enhance the benchmark tests.
20282
20283 2013-05-21  Andreas Schwab  <schwab@suse.de>
20284
20285         [BZ #15493]
20286         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20287         * setjmp/tst-sigsetjmp.c: New test.
20288
20289 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20290
20291         * sysdeps/x86_64/memset.S (memset): New implementation.
20292         (__bzero): Likewise.
20293         (__memset_tail): New function.
20294
20295 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20296
20297         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20298         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20299         __memcpy_sse2_unaligned ifunc selection.
20300         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20301         Add memcpy-sse2-unaligned.S.
20302         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20303         Add: __memcpy_sse2_unaligned.
20304
20305 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20306
20307         [BZ #15490]
20308         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20309         math_force_eval before restoring floating-point envrionment.
20310         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20311         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20312         Likewise.
20313         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20314         <math_private.h>.
20315         (__nearbyintl): Use math_force_eval before restoring
20316         floating-point environment.
20317         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20318
20319         * math/gen-libm-test.pl (special_functions): Remove.
20320         (parse_args): Don't handle TEST_extra.  Handle functions with no
20321         return value.
20322         * math/libm-test.inc (struct test_sincos_data): Replace with
20323         struct test_fFF_11_data.
20324         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20325         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20326         (sincos_test_data): Change element type to struct
20327         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20328         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20329         RUN_TEST_LOOP_sincos.
20330         * math/README.libm-test: Don't mention special handling of
20331         individual functions.
20332         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20333         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20334         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20335         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20336         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20338
20339         * math/gen-libm-test.pl (get_variable): Remove function.
20340         (parse_args): Don't show pointer parameters to call in test
20341         names.  Use "extra output N" in test names for extra outputs
20342         rather than naming variables.
20343
20344 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20345
20346         [BZ #15488]
20347         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20348         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20349         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20350         double tests.
20351         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20352         disable.
20353         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20354         check_long_double.
20355
20356         * math/gen-libm-test.pl (@tests): Remove variable.
20357         ($count): Likewise.
20358         (new_test): Remove function.
20359         (show_exceptions): New function.
20360         (special_functions): Use show_exceptions instead of new_test.
20361         (parse_args): Likewise.
20362         (generate_testfile): Pass only function name in generated call to
20363         print_max_error or print_complex_max_error.
20364         (get_ulps): Do not handle complex tests specially.
20365         (output_test): Rename to ...
20366         (get_all_ulps_for_test): ... this.  Return a string rather than
20367         printing to a file.  Require ulps to be present.
20368         (output_ulps): Generate arrays rather than #defines.
20369         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20370         (struct ulp_data): New type.
20371         (BUILD_COMPLEX_ULP): Remove macro.
20372         (compare_ulp_data): New function.
20373         (find_ulps): Likewise.
20374         (find_test_ulps): Likewise.
20375         (find_function_ulps): Likewise.
20376         (find_complex_function_ulps): Likewise.
20377         (print_max_error): Determine allowed ulps using
20378         find_function_ulps.
20379         (print_complex_max_error): Determine allowed ulps using
20380         find_complex_function_ulps.
20381         (check_float_internal): Determine max ulps using find_test_ulps.
20382         (check_float): Do not take max_ulp parameter.  Update call to
20383         check_float_internal.
20384         (check_complex): Likewise.
20385         (check_int): Do not take max_ulp parameter.
20386         (check_long): Likewise.
20387         (check_bool): Likewise.
20388         (check_longlong): Likewise.
20389         (struct test_f_f_data): Remove max_ulp field.
20390         (struct test_ff_f_data): Likewise.
20391         (struct test_ff_f_data_nexttoward): Likewise.
20392         (struct test_fi_f_data): Likewise.
20393         (struct test_fl_f_data): Likewise.
20394         (struct test_if_f_data): Likewise.
20395         (struct test_fff_f_data): Likewise.
20396         (struct test_c_f_data): Likewise.
20397         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20398         (struct test_fF_f1_data): Likewise.
20399         (struct test_ffI_f1_data): Likewise.
20400         (struct test_c_c_data): Remove max_ulp field.
20401         (struct test_cc_c_data): Likewise.
20402         (struct test_f_i_data): Likewise.
20403         (struct test_ff_i_data): Likewise.
20404         (struct test_f_l_data): Likewise.
20405         (struct test_f_L_data): Likewise.
20406         (struct test_sincos_data): Likewise.
20407         (RUN_TEST_f_f): Do not handle ulps.
20408         (RUN_TEST_LOOP_f_f): Likewise.
20409         (RUN_TEST_2_f): Likewise.
20410         (RUN_TEST_LOOP_2_f): Likewise.
20411         (RUN_TEST_fff_f): Likewise.
20412         (RUN_TEST_LOOP_fff_f): Likewise.
20413         (RUN_TEST_c_f): Likewise.
20414         (RUN_TEST_LOOP_c_f): Likewise.
20415         (RUN_TEST_f_f1): Likewise.
20416         (RUN_TEST_LOOP_f_f1): Likewise.
20417         (RUN_TEST_fF_f1): Likewise.
20418         (RUN_TEST_LOOP_fF_f1): Likewise.
20419         (RUN_TEST_fI_f1): Likewise.
20420         (RUN_TEST_LOOP_fI_f1): Likewise.
20421         (RUN_TEST_ffI_f1): Likewise.
20422         (RUN_TEST_LOOP_ffI_f1): Likewise.
20423         (RUN_TEST_c_c): Likewise.
20424         (RUN_TEST_LOOP_c_c): Likewise.
20425         (RUN_TEST_cc_c): Likewise.
20426         (RUN_TEST_LOOP_cc_c): Likewise.
20427         (RUN_TEST_f_i): Likewise.
20428         (RUN_TEST_LOOP_f_i): Likewise.
20429         (RUN_TEST_f_i_tg): Likewise.
20430         (RUN_TEST_LOOP_f_i_tg): Likewise.
20431         (RUN_TEST_ff_i_tg): Likewise.
20432         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20433         (RUN_TEST_f_b): Likewise.
20434         (RUN_TEST_LOOP_f_b): Likewise.
20435         (RUN_TEST_f_b_tg): Likewise.
20436         (RUN_TEST_LOOP_f_b_tg): Likewise.
20437         (RUN_TEST_f_l): Likewise.
20438         (RUN_TEST_LOOP_f_l): Likewise.
20439         (RUN_TEST_f_L): Likewise.
20440         (RUN_TEST_LOOP_f_L): Likewise.
20441         (RUN_TEST_sincos): Likewise.
20442         (RUN_TEST_LOOP_sincos): Likewise.
20443
20444 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20445
20446         [BZ #15480]
20447         [BZ #15485]
20448         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20449         main case of finite arguments, set rounding mode to FE_TONEAREST
20450         and discard exceptions.
20451         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20452         exceptions.
20453         (remainder_tonearest_test_data): New variable.
20454         (remainder_test_tonearest): New function.
20455         (remainder_towardzero_test_data): New variable.
20456         (remainder_test_towardzero): New function.
20457         (remainder_downward_test_data): New variable.
20458         (remainder_test_downward): New function.
20459         (remainder_upward_test_data): New variable.
20460         (remainder_test_upward): New function.
20461         (main): Call the new test functions.
20462
20463         * math/libm-test.inc (struct test_f_f1_data): Remove field
20464         extra_init.
20465         (struct test_fF_f1_data): Likewise.
20466         (struct test_ffI_f1_data): Likewise.
20467         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20468         based on value of EXTRA_EXPECTED.
20469         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20470         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20471         EXTRA_VAR based on value of EXTRA_EXPECTED.
20472         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20473         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20474         EXTRA_VAR based on value of EXTRA_EXPECTED.
20475         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20476         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20477         EXTRA_VAR based on value of EXTRA_EXPECTED.
20478         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20479         * math/gen-libm-test.pl (parse_args): Don't output initializers
20480         for extra output values.
20481
20482         * math/libm-test.inc (check_int): Expect result to be exactly
20483         equal to expected value and do not handle ulps.
20484         (check_long): Likewise.
20485         (check_longlong): Likewise.
20486
20487         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20488         exceptions.
20489         (cimag_test_data): Likewise.
20490         (conj_test_data): Likewise.
20491         (copysign_test_data): Likewise.
20492         (cproj_test_data): Likewise.
20493         (creal_test_data): Likewise.
20494         (fabs_test_data): Likewise.
20495         (fdim_test_data): Likewise.
20496         (finite_test_data): Likewise.
20497         (floor_test_data): Likewise.
20498         (fmax_test_data): Likewise.
20499         (fmin_test_data): Likewise.
20500         (fmod_test_data): Likewise.
20501         (fpclassify_test_data): Likewise.
20502         (frexp_test_data): Likewise.
20503         (ilogb_test_data): Likewise.
20504         (isfinite_test_data): Likewise.
20505         (isgreater_test_data): Likewise.
20506         (isgreaterequal_test_data): Likewise.
20507         (isinf_test_data): Likewise.
20508         (isless_test_data): Likewise.
20509         (islessequal_test_data): Likewise.
20510         (islessgreater_test_data): Likewise.
20511         (isnan_test_data): Likewise.
20512         (isnormal_test_data): Likewise.
20513         (issignaling_test_data): Likewise.
20514         (isunordered_test_data): Likewise.
20515         (ldexp_test_data): Likewise.
20516         (lrint_test_data): Likewise.
20517         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20518         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20519         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20520         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20521         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20522         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20523         test input.
20524         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20525         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20526         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20527         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20528         that test input.
20529         (lrint_downward_test_data): Test for "inexact" exceptions.
20530         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20531         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20532         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20533         test input.
20534         (lrint_upward_test_data): Test for "inexact" exceptions.
20535         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20536         test input.
20537         (llrint_test_data): Test for "inexact" exceptions.
20538         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20539         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20540         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20541         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20542         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20543         (llrint_downward_test_data): Test for "inexact" exceptions.
20544         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20545         (llrint_upward_test_data): Test for "inexact" exceptions.
20546         (logb_test_data): Likewise.
20547         (logb_downward_test_data): Likewise.
20548         (nextafter_test_data): Likewise.
20549         (nexttoward_test_data): Likewise.
20550         (remainder_test_data): Likewise.
20551         (remquo_test_data): Likewise.
20552         (scalbn_test_data): Likewise.
20553         (scalbln_test_data): Likewise.
20554         (signbit_test_data): Likewise.
20555         (sqrt_test_data): Likewise.
20556         (significand_test_data): Likewise.
20557
20558 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20559
20560         [BZ #15424]
20561         * benchtests/bench-modf.c (struct args): Mark arg0 as
20562         volatile.
20563         * scripts/bench.pl: Mark members of struct args as volatile.
20564
20565 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20566
20567         [BZ # 15497]
20568         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20569         negative infinity on POWER6 or lower.
20570         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20571
20572 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20573
20574         [BZ #15442]
20575         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20576         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20577         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20578         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20579         (_FP_SETQNAN): New macro.
20580         (_FP_SETQNAN_SEMIRAW): Likewise.
20581         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20582         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20583         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20584         (FP_EXTEND): Use _FP_FRAC_SNANP.
20585         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20586         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20587         into account.
20588         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20589         New macro.
20590         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20591         Likewise.
20592
20593 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20594
20595         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20596         with DIVIDE_BY_ZERO_EXCEPTION.
20597         (gamma_test_data): Likewise.
20598         (lgamma_test_data): Likewise.
20599         (log_test_data): Likewise.
20600         (log10_test_data): Likewise.
20601         (log2_test_data): Likewise.
20602         (tgamma_test_data): Likewise.
20603
20604         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20605         (acos_test_tonearest): Likewise.
20606         (acos_test_towardzero): Likewise.
20607         (acos_test_downward): Likewise.
20608         (acos_test_upward): Likewise.
20609         (acosh_test): Likewise.
20610         (asin_test): Likewise.
20611         (asin_test_tonearest): Likewise.
20612         (asin_test_towardzero): Likewise.
20613         (asin_test_downward): Likewise.
20614         (asin_test_upward): Likewise.
20615         (asinh_test): Likewise.
20616         (atan_test): Likewise.
20617         (atanh_test): Likewise.
20618         (atan2_test): Likewise.
20619         (cabs_test): Likewise.
20620         (cacos_test): Likewise.
20621         (cacosh_test): Likewise.
20622         (casin_test): Likewise.
20623         (casinh_test): Likewise.
20624         (catan_test): Likewise.
20625         (catanh_test): Likewise.
20626         (cbrt_test): Likewise.
20627         (ccos_test): Likewise.
20628         (ccosh_test): Likewise.
20629         (cexp_test): Likewise.
20630         (clog_test): Likewise.
20631         (clog10_test): Likewise.
20632         (cos_test): Likewise.
20633         (cos_test_tonearest): Likewise.
20634         (cos_test_towardzero): Likewise.
20635         (cos_test_downward): Likewise.
20636         (cos_test_upward): Likewise.
20637         (cosh_test): Likewise.
20638         (cosh_test_tonearest): Likewise.
20639         (cosh_test_towardzero): Likewise.
20640         (cosh_test_downward): Likewise.
20641         (cosh_test_upward): Likewise.
20642         (cpow_test): Likewise.
20643         (csin_test): Likewise.
20644         (csinh_test): Likewise.
20645         (csqrt_test): Likewise.
20646         (ctan_test): Likewise.
20647         (ctan_test_tonearest): Likewise.
20648         (ctan_test_towardzero): Likewise.
20649         (ctan_test_downward): Likewise.
20650         (ctan_test_upward): Likewise.
20651         (ctanh_test): Likewise.
20652         (ctanh_test_tonearest): Likewise.
20653         (ctanh_test_towardzero): Likewise.
20654         (ctanh_test_downward): Likewise.
20655         (ctanh_test_upward): Likewise.
20656         (erf_test): Likewise.
20657         (erfc_test): Likewise.
20658         (exp_test): Likewise.
20659         (exp_test_tonearest): Likewise.
20660         (exp_test_towardzero): Likewise.
20661         (exp_test_downward): Likewise.
20662         (exp_test_upward): Likewise.
20663         (exp10_test): Likewise.
20664         (exp2_test): Likewise.
20665         (expm1_test): Likewise.
20666         (fmod_test): Likewise.
20667         (gamma_test): Likewise.
20668         (hypot_test): Likewise.
20669         (j0_test): Likewise.
20670         (j1_test): Likewise.
20671         (jn_test): Likewise.
20672         (lgamma_test): Likewise.
20673         (log_test): Likewise.
20674         (log10_test): Likewise.
20675         (log1p_test): Likewise.
20676         (log2_test): Likewise.
20677         (logb_test_downward): Likewise.
20678         (pow_test): Likewise.
20679         (pow_test_tonearest): Likewise.
20680         (pow_test_towardzero): Likewise.
20681         (pow_test_downward): Likewise.
20682         (pow_test_upward): Likewise.
20683         (remainder_test): Likewise.
20684         (remquo_test): Likewise.
20685         (sin_test): Likewise.
20686         (sin_test_tonearest): Likewise.
20687         (sin_test_towardzero): Likewise.
20688         (sin_test_downward): Likewise.
20689         (sin_test_upward): Likewise.
20690         (sincos_test): Likewise.
20691         (sinh_test): Likewise.
20692         (sinh_test_tonearest): Likewise.
20693         (sinh_test_towardzero): Likewise.
20694         (sinh_test_downward): Likewise.
20695         (sinh_test_upward): Likewise.
20696         (sqrt_test): Likewise.
20697         (tan_test): Likewise.
20698         (tan_test_tonearest): Likewise.
20699         (tan_test_towardzero): Likewise.
20700         (tan_test_downward): Likewise.
20701         (tan_test_upward): Likewise.
20702         (tanh_test): Likewise.
20703         (tgamma_test): Likewise.
20704         (y0_test): Likewise.
20705         (y1_test): Likewise.
20706         (yn_test): Likewise.
20707
20708         * math/gen-libm-test.pl (adjust_arg): Remove function.
20709         (special_function): Remove argument $in_func.  Only handle
20710         generating output for tables of tests, not inside functions.
20711         (parse_args): Likewise.
20712         (generate_testfile): Remove variable $in_func.  Update call to
20713         parse_args.
20714         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20715         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20716         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20717         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20718         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20719         (MAX_VALUE_INIT): Rename macro to max_value.
20720         (MIN_VALUE_INIT): Rename macro to min_value.
20721         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20722         (plus_zero): Remove variable.
20723         (minus_zero): Likewise.
20724         (plus_infty): Likewise.
20725         (minus_infty): Likewise.
20726         (qnan_value): Likewise.
20727         (max_value): Likewise.
20728         (min_value): Likewise.
20729         (min_subnorm_value): Likewise.
20730
20731 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20732
20733         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20734         uint64_t or uint32_t usage.
20735         * crypt/sha256-block.c: Likewise.
20736         * crypt/sha256-crypt.c: Likewise.
20737         * crypt/sha256.c: Likewise.
20738         * crypt/sha512-block.c: Likewise.
20739         * crypt/sha512-crypt.c: Likewise.
20740         * crypt/sha512.c: Likewise.
20741         * debug/backtrace-tst.c: Likewise.
20742         * debug/pcprofiledump.c: Likewise.
20743         * elf/cache.c: Likewise.
20744         * elf/dl-cache.c: Likewise.
20745         * elf/dl-misc.c: Likewise.
20746         * elf/dl-profile.c: Likewise.
20747         * elf/dl-support.c: Likewise.
20748         * elf/ldconfig.c: Likewise.
20749         * elf/sprof.c: Likewise.
20750         * iconv/dummy-repertoire.c: Likewise.
20751         * iconv/iconv_charmap.c: Likewise.
20752         * iconv/skeleton.c: Likewise.
20753         * iconvdata/8bit-generic.c: Likewise.
20754         * iconvdata/cp737.h: Likewise.
20755         * iconvdata/cp775.h: Likewise.
20756         * iconvdata/ibm1008.h: Likewise.
20757         * iconvdata/ibm1025.h: Likewise.
20758         * iconvdata/ibm1046.h: Likewise.
20759         * iconvdata/ibm1097.h: Likewise.
20760         * iconvdata/ibm1112.h: Likewise.
20761         * iconvdata/ibm1122.h: Likewise.
20762         * iconvdata/ibm1123.h: Likewise.
20763         * iconvdata/ibm1124.h: Likewise.
20764         * iconvdata/ibm1129.h: Likewise.
20765         * iconvdata/ibm1130.h: Likewise.
20766         * iconvdata/ibm1132.h: Likewise.
20767         * iconvdata/ibm1133.h: Likewise.
20768         * iconvdata/ibm1137.h: Likewise.
20769         * iconvdata/ibm1140.h: Likewise.
20770         * iconvdata/ibm1141.h: Likewise.
20771         * iconvdata/ibm1142.h: Likewise.
20772         * iconvdata/ibm1143.h: Likewise.
20773         * iconvdata/ibm1144.h: Likewise.
20774         * iconvdata/ibm1145.h: Likewise.
20775         * iconvdata/ibm1146.h: Likewise.
20776         * iconvdata/ibm1147.h: Likewise.
20777         * iconvdata/ibm1148.h: Likewise.
20778         * iconvdata/ibm1149.h: Likewise.
20779         * iconvdata/ibm1153.h: Likewise.
20780         * iconvdata/ibm1154.h: Likewise.
20781         * iconvdata/ibm1155.h: Likewise.
20782         * iconvdata/ibm1156.h: Likewise.
20783         * iconvdata/ibm1157.h: Likewise.
20784         * iconvdata/ibm1158.h: Likewise.
20785         * iconvdata/ibm1160.h: Likewise.
20786         * iconvdata/ibm1161.h: Likewise.
20787         * iconvdata/ibm1162.h: Likewise.
20788         * iconvdata/ibm1163.h: Likewise.
20789         * iconvdata/ibm1164.h: Likewise.
20790         * iconvdata/ibm1166.h: Likewise.
20791         * iconvdata/ibm1167.h: Likewise.
20792         * iconvdata/ibm12712.h: Likewise.
20793         * iconvdata/ibm1390.h: Likewise.
20794         * iconvdata/ibm1399.h: Likewise.
20795         * iconvdata/ibm16804.h: Likewise.
20796         * iconvdata/ibm4517.h: Likewise.
20797         * iconvdata/ibm4899.h: Likewise.
20798         * iconvdata/ibm4909.h: Likewise.
20799         * iconvdata/ibm4971.h: Likewise.
20800         * iconvdata/ibm5347.h: Likewise.
20801         * iconvdata/ibm803.h: Likewise.
20802         * iconvdata/ibm856.h: Likewise.
20803         * iconvdata/ibm901.h: Likewise.
20804         * iconvdata/ibm902.h: Likewise.
20805         * iconvdata/ibm9030.h: Likewise.
20806         * iconvdata/ibm9066.h: Likewise.
20807         * iconvdata/ibm921.h: Likewise.
20808         * iconvdata/ibm922.h: Likewise.
20809         * iconvdata/ibm9448.h: Likewise.
20810         * iconvdata/isiri-3342.h: Likewise.
20811         * iconvdata/jis0201.h: Likewise.
20812         * include/link.h: Likewise.
20813         * include/netdb.h: Likewise.
20814         * inet/check_native.c: Likewise.
20815         * inet/check_pf.c: Likewise.
20816         * inet/getipv4sourcefilter.c: Likewise.
20817         * inet/getnameinfo.c: Likewise.
20818         * inet/getsourcefilter.c: Likewise.
20819         * inet/htonl.c: Likewise.
20820         * inet/setipv4sourcefilter.c: Likewise.
20821         * inet/setsourcefilter.c: Likewise.
20822         * inet/test-inet6_opt.c: Likewise.
20823         * inet/tst-network.c: Likewise.
20824         * locale/C-collate.c: Likewise.
20825         * locale/C-ctype.c: Likewise.
20826         * locale/C-time.c: Likewise.
20827         * locale/C-translit.h: Likewise.
20828         * locale/loadarchive.c: Likewise.
20829         * locale/programs/3level.h: Likewise.
20830         * locale/programs/charmap.c: Likewise.
20831         * locale/programs/charmap.h: Likewise.
20832         * locale/programs/ld-address.c: Likewise.
20833         * locale/programs/ld-collate.c: Likewise.
20834         * locale/programs/ld-ctype.c: Likewise.
20835         * locale/programs/ld-identification.c: Likewise.
20836         * locale/programs/ld-measurement.c: Likewise.
20837         * locale/programs/ld-messages.c: Likewise.
20838         * locale/programs/ld-monetary.c: Likewise.
20839         * locale/programs/ld-name.c: Likewise.
20840         * locale/programs/ld-numeric.c: Likewise.
20841         * locale/programs/ld-paper.c: Likewise.
20842         * locale/programs/ld-telephone.c: Likewise.
20843         * locale/programs/ld-time.c: Likewise.
20844         * locale/programs/linereader.c: Likewise.
20845         * locale/programs/locale.c: Likewise.
20846         * locale/programs/locarchive.c: Likewise.
20847         * locale/programs/locfile.h: Likewise.
20848         * locale/programs/repertoire.c: Likewise.
20849         * locale/programs/simple-hash.c: Likewise.
20850         * locale/programs/simple-hash.h: Likewise.
20851         * malloc/memusage.c: Likewise.
20852         * malloc/memusagestat.c: Likewise.
20853         * nis/nis_defaults.c: Likewise.
20854         * nis/nis_hash.c: Likewise.
20855         * nis/nis_print.c: Likewise.
20856         * nis/nis_xdr.c: Likewise.
20857         * nscd/connections.c: Likewise.
20858         * nscd/hstcache.c: Likewise.
20859         * nscd/nscd_gethst_r.c: Likewise.
20860         * nscd/nscd_getserv_r.c: Likewise.
20861         * nscd/nscd_helper.c: Likewise.
20862         * nscd/servicescache.c: Likewise.
20863         * nss/makedb.c: Likewise.
20864         * nss/nss_db/db-XXX.c: Likewise.
20865         * nss/nss_db/db-initgroups.c: Likewise.
20866         * nss/nss_db/db-netgrp.c: Likewise.
20867         * nss/nss_files/files-network.c: Likewise.
20868         * nss/nss_files/files-parse.c: Likewise.
20869         * posix/bug-regex5.c: Likewise.
20870         * posix/fnmatch_loop.c: Likewise.
20871         * posix/regcomp.c: Likewise.
20872         * posix/regexec.c: Likewise.
20873         * posix/tst-rfc3484-2.c: Likewise.
20874         * posix/tst-rfc3484-3.c: Likewise.
20875         * posix/tst-rfc3484.c: Likewise.
20876         * resolv/nss_dns/dns-canon.c: Likewise.
20877         * resolv/nss_dns/dns-network.c: Likewise.
20878         * resolv/res_init.c: Likewise.
20879         * resolv/res_mkquery.c: Likewise.
20880         * resolv/tst-aton.c: Likewise.
20881         * stdlib/cxa_atexit.c: Likewise.
20882         * stdlib/cxa_finalize.c: Likewise.
20883         * stdlib/gen-fpioconst.c: Likewise.
20884         * stdlib/strtol_l.c: Likewise.
20885         * string/tst-endian.c: Likewise.
20886         * sunrpc/auth_des.c: Likewise.
20887         * sunrpc/clnt_udp.c: Likewise.
20888         * sunrpc/rtime.c: Likewise.
20889         * sunrpc/svcauth_des.c: Likewise.
20890         * sunrpc/xdr.c: Likewise.
20891         * sunrpc/xdr_intXX_t.c: Likewise.
20892         * sunrpc/xdr_rec.c: Likewise.
20893         * sysdeps/generic/ldconfig.h: Likewise.
20894         * sysdeps/generic/ldsodefs.h: Likewise.
20895         * sysdeps/generic/memusage.h: Likewise.
20896         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20897         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20898         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20899         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20900         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20901         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20902         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20903         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20904         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20905         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20906         * sysdeps/posix/getaddrinfo.c: Likewise.
20907         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20908         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20909         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20910         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20911         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20912         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20913         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20914         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20915         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20916         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20917         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20918         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20919         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20920         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20921         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20922         * sysdeps/x86_64/dl-tls.h: Likewise.
20923         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20924         * time/alt_digit.c: Likewise.
20925         * time/era.c: Likewise.
20926         * wcsmbs/tst-c16c32-1.c: Likewise.
20927
20928 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20929
20930         * math/libm-test.inc (struct test_sincos_data): New type.
20931         (RUN_TEST_LOOP_sincos): New macro.
20932         (sincos_test_data): New variable.
20933         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20934
20935 2013-05-16  Richard Henderson  <rth@redhat.com>
20936
20937         * math/atest-exp2.c (LIMB64): New macro.
20938         (CONSTSZ): New macro.
20939         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20940         (hexdig): Move ...
20941         (print_mpn_fp): ... to function scope.
20942         (read_mpn_hex): Remove.
20943         (get_log2): Remove.
20944         (exp2_mpn): Use mp_log2.
20945         (main): Use mp_exp1.
20946
20947 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20948
20949         * math/libm-test.inc: Remove comment about not testing "inexact"
20950         exceptions.
20951         (INEXACT_EXCEPTION): New macro.
20952         (NO_INEXACT_EXCEPTION): Likewise.
20953         (INVALID_EXCEPTION_OK): Update value.
20954         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20955         (OVERFLOW_EXCEPTION_OK): Likewise.
20956         (UNDERFLOW_EXCEPTION_OK): Likewise.
20957         (IGNORE_ZERO_INF_SIGN): Likewise.
20958         (ERRNO_UNCHANGED): Likewise.
20959         (ERRNO_EDOM): Likewise.
20960         (ERRNO_ERANGE): Likewise.
20961         (test_exceptions): Handle testing "inexact" exceptions.
20962         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20963         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20964         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20965         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20966         INEXACT_EXCEPTION.
20967         (rint_towardzero_test_data): Likewise.
20968         (rint_downward_test_data): Likewise.
20969         (rint_upward_test_data): Likewise.
20970
20971         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20972         with OVERFLOW_EXCEPTION.
20973         (exp10_test_data): Likewise.
20974         (exp2_test_data): Likewise.
20975         (expm1_test_data): Likewise.
20976         (lgamma_test_data): Likewise.
20977         (pow_test_data): Likewise.
20978         (tgamma_test_data): Likewise.
20979         (yn_test_data): Remove duplicate test of overflow.
20980
20981         * math/libm-test.inc (struct test_cc_c_data): New type.
20982         (RUN_TEST_LOOP_cc_c): New macro.
20983         (cpow_test_data): New variable.
20984         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20985
20986         * math/libm-test.inc (struct test_f_L_data): New type.
20987         (RUN_TEST_LOOP_f_L): New macro.
20988         (llrint_test_data): New variable.
20989         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20990         (llrint_tonearest_test_data): New variable.
20991         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20992         (llrint_towardzero_test_data): New variable.
20993         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20994         (llrint_downward_test_data): New variable.
20995         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20996         (llrint_upward_test_data): New variable.
20997         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20998         (llround_test_data): New variable.
20999         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21000
21001 2013-05-13  Peter Collingbourne  <pcc@google.com>
21002
21003         * math/atest-exp2.c (get_log2): Remove const attribute.
21004
21005 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21006
21007         * math/libm-test.inc (struct test_f_l_data): New type.
21008         (RUN_TEST_LOOP_f_l): New macro.
21009         (lrint_test_data): New variable.
21010         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21011         (lrint_tonearest_test_data): New variable.
21012         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21013         (lrint_towardzero_test_data): New variable.
21014         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21015         (lrint_downward_test_data): New variable.
21016         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21017         (lrint_upward_test_data): New variable.
21018         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21019         (lround_test_data): New variable.
21020         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21021
21022 2013-05-15  Peter Collingbourne  <pcc@google.com>
21023
21024         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21025         (EXTRACT_WORDS64) Use where appropriate.
21026         (INSERT_WORDS64) Likewise.
21027
21028         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21029         constraints with x constraints.
21030         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21031
21032         * malloc/obstack.c (_obstack_compat): Add initializer.
21033
21034 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21035
21036         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21037         si_trapno and add si_addr_lsb to _sifields.sigfault.
21038         (si_trapno): Remove macro.
21039         (si_addr_lsb): Define new macro.
21040         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21041
21042 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21043
21044         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21045         instead of TEST_f_l.
21046         (llrint_test_tonearest): Likewise.
21047         (llrint_test_towardzero): Likewise.
21048         (llrint_test_downward): Likewise.
21049         (llrint_test_upward): Likewise.
21050         (llround_test): Likewise.
21051
21052         * math/libm-test.inc (struct test_f_i_data): Add comment.
21053         (RUN_TEST_LOOP_f_b): New macro.
21054         (RUN_TEST_LOOP_f_b_tg): Likewise.
21055         (finite_test_data): New variable.
21056         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21057         (isfinite_test_data): New variable.
21058         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21059         (isinf_test_data): New variable.
21060         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21061         (isnan_test_data): New variable.
21062         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21063         (isnormal_test_data): New variable.
21064         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21065         (issignaling_test_data): New variable.
21066         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21067         (signbit_test_data): New variable.
21068         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21069
21070         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21071         with INVALID_EXCEPTION.
21072         (acosh_test_data): Likewise.
21073         (asin_test_data): Likewise.
21074         (atanh_test_data): Likewise.
21075         (fmod_test_data): Likewise.
21076         (log_test_data): Likewise.
21077         (log10_test_data): Likewise.
21078         (log2_test_data): Likewise.
21079         (pow_test_data): Likewise.
21080         (sqrt_test_data): Likewise.
21081         (y0_test_data): Likewise.
21082         (y1_test_data): Likewise.
21083         (yn_test_data): Likewise.
21084
21085         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21086         function contents.
21087
21088         * math/libm-test.inc (struct test_ff_i_data): New type.
21089         (RUN_TEST_LOOP_ff_i_tg): New macro.
21090         (isgreater_test_data): New variable.
21091         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21092         (isgreaterequal_test_data): New variable.
21093         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21094         (isless_test_data): New variable.
21095         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21096         (islessequal_test_data): New variable.
21097         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21098         (islessgreater_test_data): New variable.
21099         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21100         (isunordered_test_data): New variable.
21101         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21102
21103 2013-05-14  David S. Miller  <davem@davemloft.net>
21104
21105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21106
21107 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21108
21109         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21110
21111         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21112         extra_test to int.
21113         (struct test_f_i_data): Change type of max_ulp to int.
21114
21115         * math/libm-test.inc (test_ffI_f1_data): New type.
21116         (RUN_TEST_LOOP_ffI_f1): New macro.
21117         (remquo_test_data): New variable.
21118         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21119
21120         * setjmp/tst-setjmp-fp.c: New file.
21121         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21122         (link-libm): New variable.
21123         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21124
21125         * math/libm-test.inc (struct test_f_i_data): New type.
21126         (RUN_TEST_LOOP_f_i): New macro.
21127         (RUN_TEST_LOOP_f_i_tg): Likewise.
21128         (fpclassify_test_data): New variable.
21129         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21130         (ilogb_test_data): New variable.
21131         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21132
21133         * math/libm-test.inc (scalbln_test): Correct function name in END
21134         call.
21135
21136         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21137         (RUN_TEST_LOOP_fI_f1): New macro.
21138         (frexp_test_data): New variable.
21139         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21140
21141         * math/libm-test.inc (struct test_fF_f1_data): New type.
21142         (RUN_TEST_LOOP_fF_f1): New macro.
21143         (modf_test_data): New variable.
21144         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21145
21146         * math/libm-test.inc (struct test_f_f1_data): New type.
21147         (RUN_TEST_LOOP_f_f1): New macro.
21148         (gamma_test_data): New variable.
21149         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21150         (lgamma_test_data): New variable.
21151         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21152
21153 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21154
21155         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21156         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21157         (main): Comment "tls" pseudo-hwcap.
21158
21159 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21160
21161         * math/libm-test.inc (struct test_fl_f_data): New type.
21162         (RUN_TEST_LOOP_fl_f): New variable.
21163         (scalbln_test_data): New variable.
21164         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21165
21166         * math/libm-test.inc (struct test_fi_f_data): New type.
21167         (RUN_TEST_LOOP_fi_f): New macro.
21168         (ldexp_test_data): New variable.
21169         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21170         (scalbn_test_data): New variable.
21171         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21172
21173         * math/libm-test.inc (struct test_c_f_data): New type.
21174         (RUN_TEST_LOOP_c_f): New macro.
21175         (cabs_test_data): New variable.
21176         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21177         (carg_test_data): New variable.
21178         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21179         (cimag_test_data): New variable.
21180         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21181         (creal_test_data): New variable.
21182         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21183
21184         * math/libm-test.inc (struct test_if_f_data): New type.
21185         (RUN_TEST_LOOP_if_f): New macro.
21186         (jn_test_data): New variable.
21187         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21188         (yn_test_data): New variable.
21189         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21190
21191         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21192
21193 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21194
21195         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21196         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21197
21198 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21199
21200         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21201         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21202         (bench-deps): Add bench-timing.h.
21203         * benchtests-bench-skeleton.c: Include bench-timing.h.
21204         (main): Use TIMING_* macros instead of clock_gettime.
21205         * benchtests/bench-timing.h: New file.
21206
21207         [BZ #14582]
21208         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21209         Renamed from _LIB_VERSION.
21210         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21211
21212 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21213
21214         * math/libm-test.inc (struct test_fff_f_data): New type.
21215         (RUN_TEST_LOOP_fff_f): New macro.
21216         (fma_test_data): New variable.
21217         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21218         (fma_towardzero_test_data): New variable.
21219         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21220         (fma_downward_test_data): New variable.
21221         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21222         (fma_upward_test_data): New variable.
21223         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21224
21225         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21226         (struct test_c_c_data): New type.
21227         (RUN_TEST_LOOP_c_c): New macro.
21228         (cacos_test_data): New variable.
21229         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21230         (cacosh_test_data): New variable.
21231         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21232         (casin_test_data): New variable.
21233         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21234         (casinh_test_data): New variable.
21235         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21236         (catan_test_data): New variable.
21237         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21238         (catanh_test_data): New variable.
21239         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21240         (ccos_test_data): New variable.
21241         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21242         (ccosh_test_data): New variable.
21243         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21244         (cexp_test_data): New variable.
21245         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21246         (clog_test_data): New variable.
21247         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21248         (clog10_test_data): New variable.
21249         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21250         (conj_test_data): New variable.
21251         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21252         (cproj_test_data): New variable.
21253         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21254         (csin_test_data): New variable.
21255         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21256         (csinh_test_data): New variable.
21257         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21258         (csqrt_test_data): New variable.
21259         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21260         (ctan_test_data): New variable.
21261         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21262         (ctan_tonearest_test_data): New variable.
21263         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21264         (ctan_towardzero_test_data): New variable.
21265         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21266         (ctan_downward_test_data): New variable.
21267         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21268         (ctan_upward_test_data): New variable.
21269         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21270         (ctanh_test_data): New variable.
21271         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21272         (ctanh_tonearest_test_data): New variable.
21273         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21274         (ctanh_towardzero_test_data): New variable.
21275         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21276         (ctanh_downward_test_data): New variable.
21277         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21278         (ctanh_upward_test_data): New variable.
21279         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21280         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21281         of BUILD_COMPLEX.
21282
21283         * math/libm-test.inc (struct test_ff_f_data): New type.
21284         (struct test_ff_f_data_nexttoward): Likewise.
21285         (RUN_TEST_LOOP_2_f): New macro.
21286         (RUN_TEST_LOOP_ff_f): Likewise.
21287         (atan2_test_data): New variable.
21288         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21289         (copysign_test_data): New variable.
21290         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21291         (fdim_test_data): New variable.
21292         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21293         (fmax_test_data): New variable.
21294         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21295         (fmin_test_data): New variable.
21296         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21297         (fmod_test_data): New variable.
21298         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21299         (hypot_test_data): New variable.
21300         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21301         (nextafter_test_data): New variable.
21302         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21303         (nexttoward_test_data): New variable.
21304         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21305         (pow_test_data): New variable.
21306         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21307         (pow_tonearest_test_data): New variable.
21308         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21309         (pow_towardzero_test_data): New variable.
21310         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21311         (pow_downward_test_data): New variable.
21312         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21313         (pow_upward_test_data): New variable.
21314         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21315         (remainder_test_data): New variable.
21316         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21317         (scalb_test_data): New variable.
21318         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21319         * sysdeps/i386/fpu/libm-test-ulps: Update.
21320
21321 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21322
21323         * math/libm-test.inc (fma_test): Use max_value instead of local
21324         variable fltmax.
21325         (nextafter_test): Likewise.
21326
21327         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21328         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21329         (acos_downward_test_data): New variable.
21330         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21331         (acos_upward_test_data): New variable.
21332         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21333         (acosh_test_data): New variable.
21334         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21335         (asin_test_data): New variable.
21336         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21337         (asin_tonearest_test_data): New variable.
21338         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21339         (asin_towardzero_test_data): New variable.
21340         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21341         (asin_downward_test_data): New variable.
21342         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21343         (asin_upward_test_data): New variable.
21344         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21345         (asinh_test_data): New variable.
21346         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21347         (atan_test_data): New variable.
21348         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21349         (atanh_test_data): New variable.
21350         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21351         (cbrt_test_data): New variable.
21352         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21353         (ceil_test_data): New variable.
21354         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21355         (cos_test_data): New variable.
21356         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21357         (cos_tonearest_test_data): New variable.
21358         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21359         (cos_towardzero_test_data): New variable.
21360         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21361         (cos_downward_test_data): New variable.
21362         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21363         (cos_upward_test_data): New variable.
21364         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21365         (cosh_test_data): New variable.
21366         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21367         (cosh_tonearest_test_data): New variable.
21368         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21369         (cosh_towardzero_test_data): New variable.
21370         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21371         (cosh_downward_test_data): New variable.
21372         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21373         (cosh_upward_test_data): New variable.
21374         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21375         (erf_test_data): New variable.
21376         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21377         (erfc_test_data): New variable.
21378         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21379         (exp_test_data): New variable.
21380         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21381         (exp_tonearest_test_data): New variable.
21382         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21383         (exp_towardzero_test_data): New variable.
21384         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21385         (exp_downward_test_data): New variable.
21386         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21387         (exp_upward_test_data): New variable.
21388         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21389         (exp10_test_data): New variable.
21390         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21391         (exp2_test_data): New variable.
21392         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21393         (expm1_test_data): New variable.
21394         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21395         (fabs_test_data): New variable.
21396         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21397         (floor_test_data): New variable.
21398         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21399         (j0_test_data): New variable.
21400         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21401         (j1_test_data): New variable.
21402         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21403         (log_test_data): New variable.
21404         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21405         (log10_test_data): New variable.
21406         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21407         (log1p_test_data): New variable.
21408         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21409         (log2_test_data): New variable.
21410         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21411         (logb_test_data): New variable.
21412         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21413         (logb_downward_test_data): New variable.
21414         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21415         (nearbyint_test_data): New variable.
21416         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21417         (rint_test_data): New variable.
21418         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21419         (rint_tonearest_test_data): New variable.
21420         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21421         (rint_towardzero_test_data): New variable.
21422         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21423         (rint_downward_test_data): New variable.
21424         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21425         (rint_upward_test_data): New variable.
21426         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21427         (round_test_data): New variable.
21428         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21429         (sin_test_data): New variable.
21430         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21431         (sin_tonearest_test_data): New variable.
21432         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21433         (sin_towardzero_test_data): New variable.
21434         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21435         (sin_downward_test_data): New variable.
21436         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21437         (sin_upward_test_data): New variable.
21438         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21439         (sinh_test_data): New variable.
21440         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21441         (sinh_tonearest_test_data): New variable.
21442         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21443         (sinh_towardzero_test_data): New variable.
21444         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21445         (sinh_downward_test_data): New variable.
21446         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21447         (sinh_upward_test_data): New variable.
21448         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21449         (sqrt_test_data): New variable.
21450         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21451         (tan_test_data): New variable.
21452         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21453         (tan_tonearest_test_data): New variable.
21454         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21455         (tan_towardzero_test_data): New variable.
21456         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21457         (tan_downward_test_data): New variable.
21458         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21459         (tan_upward_test_data): New variable.
21460         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21461         (tanh_test_data): New variable.
21462         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21463         (tgamma_test_data): New variable.
21464         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21465         (trunc_test_data): New variable.
21466         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21467         (y0_test_data): New variable.
21468         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21469         (y1_test_data): New variable.
21470         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21471         (significand_test_data): New variable.
21472         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21473
21474 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21475
21476         [BZ #12387]
21477         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21478
21479 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21480
21481         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21482
21483 2013-05-10  Andreas Jaeger  <aj@suse.de>
21484
21485         [BZ #15448]
21486         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21487         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21488
21489 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21490
21491         * math/gen-libm-test.pl (adjust_arg): New function.
21492         (special_functions): Handle generating output in both functions
21493         and arrays.
21494         (parse_args): Likewise.
21495         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21496         $in_func argument to parse_args.
21497         * math/libm-test.inc (struct test_f_f_data): New type.
21498         (IF_ROUND_INIT_): New macro.
21499         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21500         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21501         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21502         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21503         (ROUND_RESTORE_): Likewise.
21504         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21505         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21506         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21507         (ROUND_RESTORE_FE_UPWARD): Likewise.
21508         (RUN_TEST_LOOP_f_f): New macro.
21509         (acos_test_data): New variable.
21510         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21511         (acos_tonearest_test_data): New variable.
21512         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21513
21514 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21515
21516         * benchtests/bench-skeleton.c (startup): Fix coding style.
21517
21518 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21519
21520         [BZ #6809]
21521         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21522         negative infinity argument.
21523         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21524         negative infinity argument.
21525         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21526         negative infinity argument.
21527         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21528         domain errors.
21529
21530 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21531
21532         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21533         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21534         * iconv/iconv_prog.c (main): Likewise.
21535         * locale/programs/charmap-dir.c (charmap_readdir)
21536         (fopen_uncompressed): Likewise.
21537         * locale/programs/locfile.c (siblings_uncached)
21538         (write_locale_data): Use lstat64 instead of lstat.
21539         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21540         stat.
21541
21542 2013-05-10  Andreas Jaeger  <aj@suse.de>
21543
21544         [BZ #15395]
21545         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21546         localization.
21547         Include <locale.h>.
21548
21549 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21550
21551         * elf/dl-close.c (_dl_close_worker): Add comments.
21552
21553 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21554
21555         [BZ #15359]
21556         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21557         high part of pi/2.
21558         (__ieee754_rem_pio2l): Update comments.
21559
21560         [BZ #15429]
21561         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21562         high part of pi/2.
21563         (__ieee754_rem_pio2l): Update comments.
21564
21565         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21566         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21567
21568         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21569         M_PI_4l.
21570
21571         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21572         (M_PI_34_LOG10El): Likewise.
21573         (M_PI2_LOG10El): Likewise.
21574         (M_PI4_LOG10El): Likewise.
21575         (M_PI_LOG10El): Likewise.
21576
21577 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21578
21579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21580
21581 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21582
21583         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21584         (MINUS_ZERO_INIT): Likewise.
21585         (PLUS_INFTY_INIT): Likewise.
21586         (MINUS_INFTY_INIT): Likewise.
21587         (QNAN_VALUE_INIT): Likewise.
21588         (MAX_VALUE_INIT): Likewise.
21589         (MIN_VALUE_INIT): Likewise.
21590         (MIN_SUBNORM_VALUE_INIT): Likewise.
21591         (plus_zero): Initialize with PLUS_ZERO_INIT.
21592         (minus_zero): Initialize with MINUS_ZERO_INIT.
21593         (plus_infty): Initialize with PLUS_INFTY_INIT.
21594         (minus_infty): Initialize with MINUS_INFTY_INIT.
21595         (qnan_value): Initialize with QNAN_VALUE_INIT.
21596         (max_value): Initialize with MAX_VALUE_INIT.
21597         (min_value): Initialize with MIN_VALUE_INIT.
21598         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21599
21600         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21601         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21602         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21603         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21604
21605         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21606         (RUN_TEST_2_f): Likewise.
21607         (RUN_TEST_ff_f): Likewise.
21608         (RUN_TEST_fi_f): Likewise.
21609         (RUN_TEST_fl_f): Likewise.
21610         (RUN_TEST_fff_f): Likewise.
21611         (RUN_TEST_c_f): Likewise.
21612         (RUN_TEST_f_f1): Likewise.
21613         (RUN_TEST_fF_f1): Likewise.
21614         (RUN_TEST_fI_f1): Likewise.
21615         (RUN_TEST_ffI_f1): Likewise.
21616         (RUN_TEST_c_c): Likewise.
21617         (RUN_TEST_cc_c): Likewise.
21618         (RUN_TEST_f_i): Likewise.
21619         (RUN_TEST_f_i_tg): Likewise.
21620         (RUN_TEST_ff_i_tg): Likewise.
21621         (RUN_TEST_f_b): Likewise.
21622         (RUN_TEST_f_b_tg): Likewise.
21623         (RUN_TEST_f_l): Likewise.
21624         (RUN_TEST_f_L): Likewise.
21625         (RUN_TEST_sincos): Likewise.
21626         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21627         whether to show exceptions.  Do not include ");\n" in return
21628         value.
21629         (special_functions): Output call to RUN_TEST_sincos instead of
21630         check_float calls.  Update calls to new_test.
21631         (parse_args): Output call to single RUN_TEST_* macro instead of
21632         check_* calls and other assignments.  Update calls to new_test.
21633
21634         [BZ #2546]
21635         [BZ #2560]
21636         [BZ #5159]
21637         [BZ #15426]
21638         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21639         input to result for tgamma overflow.
21640         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21641         (gamma_coeff): New variable.
21642         (NCOEFF): New macro.
21643         (gamma_positive): New function.
21644         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21645         underflow here.  Use gamma_positive instead of exp (lgamma) for
21646         other arguments.
21647         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21648         (gamma_coeff): New variable.
21649         (NCOEFF): New macro.
21650         (gammaf_positive): New function.
21651         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21652         underflow here.  Use gamma_positive instead of exp (lgamma) for
21653         other arguments.
21654         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21655         (gamma_coeff): New variable.
21656         (NCOEFF): New macro.
21657         (gammal_positive): New function.
21658         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21659         underflow here.  Use gamma_positive instead of exp (lgamma) for
21660         other arguments.
21661         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21662         (gamma_coeff): New variable.
21663         (NCOEFF): New macro.
21664         (gammal_positive): New function.
21665         (__ieee754_gammal_r): Handle positive infinity, overflow and
21666         underflow here.  Handle NaN the same as positive infinity.  Remove
21667         check x < 0xffffffff for negative integers.  Use gamma_positive
21668         instead of exp (lgamma) for other arguments.
21669         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21670         (gamma_coeff): New variable.
21671         (NCOEFF): New macro.
21672         (gammal_positive): New function.
21673         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21674         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21675         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21676         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21677         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21678         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21679         * sysdeps/generic/math_private.h (__gamma_productf): New
21680         prototype.
21681         (__gamma_product): Likewise.
21682         (__gamma_productl): Likewise.
21683         * math/Makefile (libm-calls): Add gamma_product.
21684         * math/libm-test.inc (tgamma_test): Add more tests.
21685         * sysdeps/i386/fpu/libm-test-ulps: Update.
21686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21687
21688 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21689
21690         * benchtests/bench-skeleton.c (main): Preheat CPU.
21691
21692 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21693
21694         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21695
21696 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21697
21698         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21699         and _dl_skip_args_internal.
21700
21701 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21702
21703         * manual/message.texi (Message Translation): Talk about users.
21704         Message to key mapping impacts design.
21705
21706 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21707
21708         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21709
21710         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21711
21712         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21713         * sysdeps/wordsize-64/glob64.c: ... here.
21714
21715         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21716         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21717         New macros.
21718
21719         * debug/getlogin_r_chk.c: Moved to ...
21720         * login/getlogin_r_chk.c: ... here.
21721         * debug/Makefile (routines): Move getlogin_r_chk to ...
21722         * login/Makefile (routines): ... here.
21723         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21724         * login/Versions (libc: GLIBC_2.4): ... here.
21725
21726         * io/poll.c (__poll): Renamed from poll.
21727         Add libc_hidden_def.
21728         (poll): Define as weak alias.
21729
21730         * debug/ptsname_r_chk.c: Moved to ...
21731         * login/ptsname_r_chk.c: ... here.
21732         * debug/Makefile (routines): Move ptsname_r_chk to ...
21733         * login/Makefile (routines): ... here.
21734         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21735         * login/Versions (libc: GLIBC_2.4): ... here.
21736
21737         * posix/getlogin.c: Moved to ...
21738         * login/getlogin.c: ... here.
21739         * posix/getlogin_r.c: Moved to ...
21740         * login/getlogin_r.c: ... here.
21741         * posix/getlogin_r.c: Moved to ...
21742         * login/getlogin_r.c: ... here.
21743         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21744         * login/Makefile (routines): ... here.
21745         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21746         * login/Versions (libc: GLIBC_2.0): ... here.
21747
21748         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21749         (setrlimit): Define as weak alias.
21750
21751         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21752         Call __ names for open, ftruncate, and close.
21753         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21754         (truncate): Define as weak alias.
21755
21756 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21757
21758         * math/gen-libm-test.pl (parse_args): Initialize x before each
21759         test of frexp, modf and remquo.
21760
21761         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21762         test signgam value.
21763
21764 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21765
21766         [BZ #15418]
21767         [BZ #15419]
21768         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21769         internal tests.
21770         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21771
21772 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21773
21774         * elf/dl-writev.h: New file.
21775         * elf/dl-misc.c: Include it.
21776         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21777         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21778
21779 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21780
21781         * math/libm-test.inc (noXFails): Remove variable.
21782         (noXPasses): Likewise.
21783         (BUILD_COMPLEX_INT): Remove macro.
21784         (print_screen): Remove xfail argument.
21785         (print_screen_max_error): Likewise.
21786         (update_stats): Likewise.
21787         (print_max_error): Likewise.  Update calls to other affected
21788         functions.
21789         (print_complex_max_error): Likewise.
21790         (test_single_exception): Update calls to print_screen.
21791         (test_single_errno): Likewise.
21792         (check_float_internal): Remove xfail argument.  Update calls to
21793         other affected functions.
21794         (check_float): Likewise.
21795         (check_complex): Likewise.
21796         (check_int): Likewise.
21797         (check_long): Likewise.
21798         (check_bool): Likewise.
21799         (check_longlong): Likewise.
21800         (main): Don't print noXFails and noXPasses.
21801         * math/gen-libm-test.pl (top level): Don't mention expected
21802         failure handling in comment.
21803         (new_test): Don't handle expected failures.
21804         (parse_args): Don't mention expected failure handling in comment.
21805         (generate_testfile): Don't handle expected failures.
21806         (parse_ulps): Likewise.
21807         (print_ulps_file): Likewise.
21808         (get_failure): Remove function.
21809         (output_test): Don't handle expected failures.
21810         * make/README.libm-test: Don't mention expected failure handling.
21811
21812         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21813         (minus_zero): Likewise.
21814         (plus_infty): Likewise.
21815         (minus_infty): Likewise.
21816         (qnan_value): Likewise.
21817         (max_value): Likewise.
21818         (min_value): Likewise.
21819         (min_subnorm_value): Likewise.
21820         (initialize): Do not initialize those variables dynamically.
21821
21822 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21823
21824         * io/open.c (__open_2): Moved to ...
21825         * io/open_2.c: ... this new file.
21826         * io/open64.c (__open64_2): Moved to ...
21827         * io/open64_2.c: ... this new file.
21828         * io/openat.c (__openat_2): Moved to ...
21829         * io/openat_2.c: ... this new file.
21830         * io/openat64.c (__openat64_2): Moved to ...
21831         * io/openat64_2.c: ... this new file.
21832         * io/Makefile (routines): Add them.
21833         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21834         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21835         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21836         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21837         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21838         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21839         (__openat64): Add hidden_ver.
21840         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21841         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21842
21843         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21844         Separately conditionalize setting of GLRO(dl_sysinfo) so
21845         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21846         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21847
21848 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21849
21850         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21851         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21852         definition.
21853         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21854         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21855         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21856         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21857         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21858
21859 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21860
21861         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21862         test signgam value.
21863
21864         * math/libm-test.inc (hypot_test): Do not use
21865         IGNORE_ZERO_INF_SIGN.
21866
21867 2013-05-03  Andreas Jaeger  <aj@suse.de>
21868
21869         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21870         Linux 3.9.
21871         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21872         (PF_MAX): Adjust for VSOCK change.
21873
21874 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21875
21876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21877
21878 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21879
21880         [BZ #15264]
21881         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21882         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21883         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21884
21885 2013-05-02  David S. Miller  <davem@davemloft.net>
21886
21887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21888
21889 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21890
21891         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21892
21893 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21894
21895         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21896
21897 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21898
21899         [BZ #14952]
21900         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21901         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21902         Use __attribute__ ((__gnu_inline__)).
21903         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21904         Don't use __attribute__ ((__gnu_inline__)).
21905
21906 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21907
21908         [BZ #15423]
21909         * math/s_catan.c (__catan): Handle small real or imaginary part of
21910         input specially to avoid spurious underflow.
21911         * math/s_catanf.c (__catanf): Likewise.
21912         * math/s_catanh.c (__catanh): Likewise.
21913         * math/s_catanhf.c (__catanhf): Likewise.
21914         * math/s_catanhl.c (__catanhl): Likewise.
21915         * math/s_catanl.c (__catanl): Likewise.
21916         * math/libm-test.inc (catan_test): Add more tests.
21917         (catanh_test): Likewise.
21918         * sysdeps/i386/fpu/libm-test-ulps: Update.
21919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21920
21921 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21922
21923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21924
21925 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21926
21927         [BZ #15416]
21928         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21929         accurately for denominator in atan2.
21930         * math/s_catanf.c (__catanf): Likewise.
21931         * math/s_catanh.c (__catanh): Likewise.
21932         * math/s_catanhf.c (__catanhf): Likewise.
21933         * math/s_catanhl.c (__catanhl): Likewise.
21934         * math/s_catanl.c (__catanl): Likewise.
21935         * math/libm-test.inc (catan_test): Add more tests.
21936         (catanh_test): Likewise.
21937         * sysdeps/i386/fpu/libm-test-ulps: Update.
21938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21939
21940 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21941
21942         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21943
21944         * benchtests/Makefile (bench): Remove slow benchmarks.
21945         * benchtests/atan-inputs: Add slow benchmark inputs.
21946         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21947         (BENCH_FUNC): Accept variant offset.
21948         (VARIANT): Define.
21949         * benchtests/bench-skeleton.c (main): Run benchmark for each
21950         variant.
21951         * benchtests/cos-inputs: Add slow benchmark inputs.
21952         * benchtests/exp-inputs: Likewise.
21953         * benchtests/pow-inputs: Likewise.
21954         * benchtests/sin-inputs: Likewise.
21955         * benchtests/slowatan-inputs: Remove.
21956         * benchtests/slowatan.c: Remove.
21957         * benchtests/slowcos-inputs: Remove.
21958         * benchtests/slowcos.c: Remove.
21959         * benchtests/slowexp-inputs: Remove.
21960         * benchtests/slowexp.c: Remove.
21961         * benchtests/slowpow-inputs: Remove.
21962         * benchtests/slowpow.c: Remove.
21963         * benchtests/slowsin-inputs: Remove.
21964         * benchtests/slowsin.c: Remove.
21965         * benchtests/slowtan-inputs: Remove.
21966         * benchtests/slowtan.c: Remove.
21967         * benchtests/tan-inputs: Add slow benchmark inputs.
21968         * scripts/bench.pl: Parse comments and directives.
21969
21970         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21971         in CPPFLAGS.
21972         ($(objpfx)bench-%.c): Remove *-ITER.
21973         * benchtests/bench-modf.c: Remove definition of ITER.
21974         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21975         (main): Loop for DURATION seconds instead of fixed number of
21976         iterations.
21977         * scripts/bench.pl: Don't expect iterations in parameters.
21978
21979 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21980
21981         * io/fchdir.c (__fchdir): Renamed from fchdir.
21982         (fchdir): Define as weak alias.
21983
21984 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21985
21986         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21987         (ERRNO_EDOM): Likewise.
21988         (ERRNO_ERANGE): Likewise.
21989         (noErrnoTests): New variable.
21990         (init_max_error): Set errno to 0.
21991         (test_single_errno): New function.
21992         (test_errno): Likewise.
21993         (check_float_internal): Call test_errno.  Set errno to 0.
21994         (check_complex): Refer to errno tests in comment.
21995         (check_int): Call test_errno.  Set errno to 0.
21996         (check_long): Likewise.
21997         (check_bool): Likewise.
21998         (check_longlong): Likewise.
21999         (cos_test): Use ERRNO_* flags for errno tests instead of
22000         check_int.
22001         (expm1_test): Likewise.
22002         (fmod_test): Likewise.
22003         (ilogb_test): Likewise.
22004         (lgamma_test): Likewise.
22005         (pow_test): Likewise.
22006         (remainder_test): Likewise.
22007         (sin_test): Likewise.
22008         (tan_test): Likewise.
22009         (yn_test): Likewise.
22010         (initialize): Set errno to 0.
22011         (main): Print number of errno tests.
22012         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22013
22014 2013-04-29  Andreas Jaeger  <aj@suse.de>
22015
22016         [BZ #15084]
22017         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22018         and RES_USEVC.
22019
22020         [BZ #15085]
22021         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22022         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22023         unimplemented.
22024
22025         [BZ #15380]
22026         * stdlib/random.c (__initstate): Return NULL if
22027         __initstate fails.
22028
22029         [BZ #15086]
22030         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22031         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22032         RES_SNGLKUPREOP.
22033
22034 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22035
22036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22037
22038 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22039
22040         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22041         of individual tests.
22042         (casin_test): Likewise.
22043         (casinh_test): Likewise.
22044
22045 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22046
22047         [BZ #15409]
22048         * math/s_catan.c (__catan): Handle arguments with large real or
22049         imaginary part separately without squaring.
22050         * math/s_catanf.c (__catanf): Likewise.
22051         * math/s_catanh.c (__catanh): Likewise.
22052         * math/s_catanhf.c (__catanhf): Likewise.
22053         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22054         and redefine.
22055         (__catanhl): Handle arguments with large real or imaginary part
22056         separately without squaring.
22057         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22058         and redefine.
22059         (__catanl): Handle arguments with large real or imaginary part
22060         separately without squaring.
22061         * math/libm-test.inc (catan_test): Add more tests.
22062         (catanh_test): Likewise.
22063         * sysdeps/i386/fpu/libm-test-ulps: Update.
22064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22065
22066 2013-04-27  Andreas Jaeger  <aj@suse.de>
22067
22068         [BZ #15007]
22069         * stdlib/stdlib.h: Update guards for qecvt.
22070         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22071         <stdlib.h>.
22072
22073 2013-04-27  Allan McRae  <allan@archlinux.org>
22074
22075         * sysdeps/i386/fpu/libm-test-ulps: Update.
22076
22077 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22078
22079         [BZ #15406]
22080         * math/s_catan.c: Include <float.h>.
22081         (__catan): Ensure underflow exception occurs for underflowed
22082         result.
22083         * math/s_catanf.c: Include <float.h>.
22084         (__catanf): Ensure underflow exception occurs for underflowed
22085         result.
22086         * math/s_catanh.c: Include <float.h>.
22087         (__catanh): Ensure underflow exception occurs for underflowed
22088         result.
22089         * math/s_catanhf.c: Include <float.h>.
22090         (__catanhf): Ensure underflow exception occurs for underflowed
22091         result.
22092         * math/s_catanhl.c: Include <float.h>.
22093         (__catanhl): Ensure underflow exception occurs for underflowed
22094         result.
22095         * math/s_catanl.c: Include <float.h>.
22096         (__catanl): Ensure underflow exception occurs for underflowed
22097         result.
22098         * math/libm-test.inc (catan_test): Add more tests.
22099         (catanh_test): Likewise.
22100
22101         [BZ #15405]
22102         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22103         underflowed result.
22104         * math/s_ccoshf.c (__ccoshf): Likewise.
22105         * math/s_ccoshl.c (__ccoshl): Likewise.
22106         * math/s_csin.c (__csin): Likewise.
22107         * math/s_csinf.c (__csinf): Likewise.
22108         * math/s_csinh.c (__csinh): Likewise.
22109         * math/s_csinhf.c (__csinhf): Likewise.
22110         * math/s_csinhl.c (__csinhl): Likewise.
22111         * math/s_csinl.c (__csinl): Likewise.
22112         * math/libm-test.inc (ccos_test): Add more tests.
22113         (ccosh_test): Likewise.
22114         (csin_test): Likewise.
22115         (csinh_test): Likewise.
22116
22117 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22118
22119         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22120         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22121         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22122         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22123         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22124         powerpc/power5+/fpu folders.
22125         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22126
22127
22128 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22129
22130         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22131
22132 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22133
22134         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22135         additions to variable.
22136         [$(config-machine) = x86_64] (modules-names): Likewise.
22137         ($(objpfx)tst-audit3): Remove dependency.
22138         ($(objpfx)tst-audit3.out): Likewise.
22139         ($(objpfx)tst-audit4): Likewise.
22140         ($(objpfx)tst-audit4.out): Likewise.
22141         ($(objpfx)tst-audit5): Likewise.
22142         ($(objpfx)tst-audit5.out): Likewise.
22143         ($(objpfx)tst-audit6): Likewise.
22144         ($(objpfx)tst-audit6.out): Likewise.
22145         ($(objpfx)tst-audit7): Likewise.
22146         ($(objpfx)tst-audit7.out): Likewise.
22147         (tst-audit3-ENV): Remove variable.
22148         (tst-audit4-ENV): Likewise.
22149         (tst-audit5-ENV): Likewise.
22150         (tst-audit6-ENV): Likewise.
22151         (tst-audit7-ENV): Likewise.
22152         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22153         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22154         addition to variable.
22155         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22156         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22157         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22158         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22159         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22160         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22161         tst-audit3, tst-audit4 and tst-audit5.
22162         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22163         tst-audit6 and tst-audit7.
22164         [$(subdir) = elf] (modules-names): Add audit modules for those
22165         tests.
22166         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22167         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22168         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22169         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22170         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22171         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22172         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22173         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22174         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22175         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22176         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22177         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22178         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22179         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22180         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22181         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22182         Likewise.
22183         [$(subdir) = elf && $(config-cflags-avx) = yes]
22184         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22185         [$(subdir) = elf && $(config-cflags-avx) = yes]
22186         (CFLAGS-tst-auditmod4a.c): Likewise.
22187         [$(subdir) = elf && $(config-cflags-avx) = yes]
22188         (CFLAGS-tst-auditmod4b.c): Likewise.
22189         [$(subdir) = elf && $(config-cflags-avx) = yes]
22190         (CFLAGS-tst-auditmod6b.c): Likewise.
22191         [$(subdir) = elf && $(config-cflags-avx) = yes]
22192         (CFLAGS-tst-auditmod6c.c): Likewise.
22193         [$(subdir) = elf && $(config-cflags-avx) = yes]
22194         (CFLAGS-tst-auditmod7b.c): Likewise.
22195         * elf/tst-audit3.c: Move to ...
22196         * sysdeps/x86_64/tst-audit3.c: ... here.
22197         * elf/tst-audit4.c: Move to ...
22198         * sysdeps/x86_64/tst-audit4.c: ... here.
22199         * elf/tst-audit5.c: Move to ...
22200         * sysdeps/x86_64/tst-audit5.c: ... here.
22201         * elf/tst-audit6.c: Move to ...
22202         * sysdeps/x86_64/tst-audit6.c: ... here.
22203         * elf/tst-audit7.c: Move to ...
22204         * sysdeps/x86_64/tst-audit7.c: ... here.
22205         * elf/tst-auditmod3a.c: Move to ...
22206         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22207         * elf/tst-auditmod3b.c: Move to ...
22208         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22209         * elf/tst-auditmod4a.c: Move to ...
22210         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22211         * elf/tst-auditmod4b.c: Move to ...
22212         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22213         * elf/tst-auditmod5a.c: Move to ...
22214         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22215         * elf/tst-auditmod5b.c: Move to ...
22216         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22217         * elf/tst-auditmod6a.c: Move to ...
22218         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22219         * elf/tst-auditmod6b.c: Move to ...
22220         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22221         * elf/tst-auditmod6c.c: Move to ...
22222         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22223         * elf/tst-auditmod7a.c: Move to ...
22224         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22225         * elf/tst-auditmod7b.c: Move to ...
22226         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22227
22228 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22229
22230         [BZ #15366]
22231         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22232         define unconditionally.
22233         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22234         define unconditionally.
22235         (INT8_C, INT16_C, etc.): Likewise.
22236
22237 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22238
22239         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22240         __ehdr_start with hidden visibility.
22241
22242         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22243
22244 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22245
22246         * math/libm-test.inc (cos_test): Use accurate hex constants.
22247         (sincost_test): Likewise.
22248
22249 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22250
22251         * math/libm-test.inc (catan_test): Add more tests.
22252         (catanh_test): Likewise.
22253
22254         * math/s_catanf.c (__catanf): Use suffixed floating-point
22255         constants.
22256         * math/s_catanhf.c (__catanhf): Likewise.
22257         * math/s_catanhl.c (__catanhl): Likewise.
22258         * math/s_catanl.c (__catanl): Likewise.
22259
22260         [BZ #15394]
22261         * math/s_catan.c (__catan): Calculate imaginary part of result
22262         with log1p not log unless computing log of number close to 0.
22263         * math/s_catanf.c (__catanf): Likewise.
22264         * math/s_catanl.c (__catanl): Likewise.
22265         * math/s_catanh.c (__catanh): Calculate real part of result with
22266         log1p not log unless computing log of number close to 0.
22267         * math/s_catanhf.c (__catanhf): Likewise.
22268         * math/s_catanhl.c (__catanhl): Likewise.
22269         * math/libm-test.inc (catan_test): Add more tests.
22270         (catanh_test): Likewise.
22271         * sysdeps/i386/fpu/libm-test-ulps: Update.
22272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22273
22274 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22275
22276         * benchtests/Makefile: Mention files in which fast and slow
22277         paths of math functions are implemented.
22278
22279 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22280
22281         * sysdeps/posix/timespec_get.c: New file.
22282
22283 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22284
22285         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22286         POWER.
22287         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22288         for POWER.
22289         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22290         powerpc/power5/fpu folders.
22291         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22292         * benchtests/Makefile: Add modf testcase.
22293         * benchtests/bench-modf.c: New file: Benchmark test for mo
22294
22295 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22296
22297         [BZ #14888]
22298         * time/Makefile (tests): Add tst-strptime-whitespace.
22299         * time/strptime_l.c (get_number): Use ISSPACE.
22300         (__strptime_internal): Likewise.
22301         * time/tst-strptime-whitespace.c: New test case.
22302
22303 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22304
22305         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22306         member.
22307         (_nss_files_init): Set it here.
22308
22309 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22310
22311         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22312         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22313         unsigned.
22314
22315 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22316
22317         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22318
22319 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22320
22321         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22322         size just once.
22323
22324 2013-04-21  David S. Miller  <davem@davemloft.net>
22325
22326         * po/ru.po: Update Russion translation from translation project.
22327
22328 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22329
22330         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22331         and setfsgid.
22332
22333 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22334
22335         * configure.in: Remove i386 configure warning. Remove i386 case.
22336         * configure: Regenerate.
22337         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22338         Add example to error message.
22339         * sysdeps/i386/configure: Regenerate.
22340
22341 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22342
22343         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22344         slowtan.
22345         * benchtests/cos-inputs: New file.
22346         * benchtests/slowcos-inputs: New file.
22347         * benchtests/slowcos.c: New file.
22348         * benchtests/slowtan-inputs: New file.
22349         * benchtests/slowtan.c: New file.
22350         * benchtests/tan-inputs: New file.
22351
22352 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22353
22354         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22355         considered kosher.
22356
22357 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22358
22359         * benchtests/Makefile: Include cppflags-iterator.mk to add
22360         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22361
22362         * Makefile.in (bench-clean): New target.
22363         * benchtests/Makefile (bench-clean): Likewise.
22364
22365 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22366
22367         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22368
22369 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22370
22371         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22372
22373 2013-04-15  Andreas Schwab  <schwab@suse.de>
22374
22375         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22376         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22377         * nscd/pwdcache.c (cache_addpw): Likewise.
22378         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22379         more than recsize.
22380
22381 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22382
22383         * benchtests/Makefile (bench): Write all output to
22384         bench-out.tmp together.
22385
22386 2013-04-15  Andreas Schwab  <schwab@suse.de>
22387
22388         * nscd/nscd.c (main): Don't fork again after closing files.
22389
22390 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22391
22392         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22393
22394         * benchtests/Rules (bench-deps): Collect dependencies into a
22395         single variable.  Add Makefile to dependencies.
22396         ($(objpfx)bench-%.c): Depend on bench-deps.
22397
22398 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22399             Xavier Roche  <roche+kml2@exalead.com>
22400
22401         [BZ #15361]
22402         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22403         just that it's a file descriptor.
22404         * manual/llio.texi (Synchronizing AIO Operations): Update description
22405         for EBADF error from aio_fsync.
22406
22407 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22408
22409         * Rules (bench): Move target definition...
22410         * benchtests/Makefile: ... here.
22411
22412 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22413
22414         * math/libm-test.inc (cos_test): Fix PI/2 test.
22415         (sincos_test): Likewise.
22416         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22417         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22418
22419 2013-04-11  Andreas Schwab  <schwab@suse.de>
22420
22421         [BZ #13988]
22422         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22423         accept exponent character only when digits were seen.
22424         * stdio-common/Makefile (tests): Add bug26.
22425         * stdio-common/bug26.c: New file.
22426
22427         [BZ #14293]
22428         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22429         non-freeable.
22430
22431 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22432
22433         * Makeconfig (rtld-prefix): Define built linker prefix.
22434         * Rules (run-bench): Use it.
22435         * math/Makefile (run-regen-ulps): Likewise.
22436
22437         * Rules (bench): Remove eval.
22438
22439 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22440             Roland McGrath  <roland@hack.frob.com>
22441             Ondrej Bilka  <neleai@seznam.cz>
22442
22443         [BZ #15346]
22444         * time/getdate.c: Include ctype.h and alloca.h.
22445         (__getdate_r): Trim leading and trailing spaces of input.
22446         * time/tst-getdate.c (tests): Add tests with leading and
22447         trailing spaces.
22448
22449 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22450
22451         [BZ #14280]
22452         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22453         when computing value.
22454
22455 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22456
22457         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22458         Use testrun.sh to run libm tests.
22459
22460         [BZ #15309]
22461         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22462
22463 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22464
22465         [BZ #15264]
22466         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22467
22468 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22469
22470         * Makefile.in (regen-ulps): New target.
22471         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22472         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22473         [ifneq (no,$(PERL)] (regen-ulps): New target.
22474         [ifeq (no,$(PERL)] (regen-ulps): New target.
22475         * math/libm-test.inc (ulps_file_name): Define.
22476         (output_dir): New variable.
22477         (options): Add "output-dir" option.
22478         (parse_opt): Handle 'o' case.
22479         (main): If output_dir is non-NULL use it as a prefix
22480         otherwise use "".
22481         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22482
22483 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22484
22485         [BZ #10060, #10062]
22486         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22487         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22488         fail configure if __sync_val_compare_and_swap is not inlined.
22489         * sysdeps/i386/configure: Regenerate.
22490         * configure.in: Build for i686 when configured for i386.
22491         * configure: Regenerate.
22492         * README: Remove i386 reference.
22493
22494 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22495
22496         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22497         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22498
22499 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22500
22501         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22502         (lmsnanval): New variables.
22503         (F): Add conversion tests.
22504         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22505         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22506
22507         * stdio-common/tstdiomisc.c (F): Properly collect individual
22508         tests' results.
22509
22510         [BZ #14686, #15336]
22511         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22512         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22513         Instead, use input NaN values or generate a qNaN by arithmetic
22514         operation.  Also fix bugs to comply with the standard.
22515         * math/libm-test.inc (remainder_test): Add more tests.
22516
22517         [BZ #15335, #15342]
22518         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22519         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22520         input NaN values or generate a qNaN by arithmetic operation.
22521
22522         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22523         unreachable code.
22524
22525         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22526         definitions.
22527
22528 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22529
22530         [BZ #14478]
22531         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22532         underflowed result.
22533         * math/s_cexpf.c (__cexpf): Likewise.
22534         * math/s_cexpl.c (__cexpl): Likewise.
22535         * math/libm-test.inc (cexp_test): Add more tests.
22536
22537 2013-04-03  Andreas Schwab  <schwab@suse.de>
22538
22539         [BZ #15330]
22540         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22541         order arrays from heap if bigger than alloca cutoff.
22542
22543 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22544
22545         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22546         (SNAN_TESTS_double): Refer to GCC PR56831.
22547         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22548         GCC PR56828.
22549
22550 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22551
22552         * Rules (bench): Move bench.out after the run is complete.
22553
22554         * Rules (bench): Echo currently running benchmark.
22555
22556         * benchtests/Makefile (bench): Add atan and slowatan.
22557         * benchtests/atan-inputs: New file.
22558         * benchtests/slowatan-inputs: New file.
22559         * benchtests/slowatan.c: New file.
22560
22561         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22562         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22563         its value.
22564
22565         [BZ #15305]
22566         * sysdeps/unix/sysv/linux/kernel-features.h
22567         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22568         __ASSUME_XFS_RESTRICTED_CHOWN.
22569         * sysdeps/unix/sysv/linux/pathconf.c
22570         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22571         Save and restore errno.
22572
22573 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22574
22575         [BZ #15327]
22576         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22577         arguments using __kernel_casinh.
22578         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22579         arguments using __kernel_casinhf.
22580         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22581         arguments using __kernel_casinhl.
22582         * math/libm-test.inc (cacosh_test): Add more tests.
22583         * sysdeps/i386/fpu/libm-test-ulps: Update.
22584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22585
22586 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22587
22588         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22589         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22590
22591         * bench/Makefile (bench): Add sin and slowsin.
22592         * benchtests/sin-inputs: New file.
22593         * benchtests/slowsin-inputs: New file.
22594         * benchtests/slowsin.c: New file.
22595
22596         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22597         (bench): Add slowexp and slowpow.
22598         (exp-ITER): Increase iterations.
22599         (pow-ITER): Likewise.
22600         * benchtests/exp-inputs: Change input.
22601         * benchtests/pow-inputs: Likewise.
22602         * benchtests/slowexp-inputs: New file.
22603         * benchtests/slowexp.c: New file.
22604         * benchtests/slowpow-inputs: New file.
22605         * benchtests/slowpow.c: New file.
22606
22607 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22608
22609         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22610         instructions.
22611         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22612         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22613         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22614         * benchtests/Makefile: Add rint benchtest.
22615         * benchtests/rint-inputs: Input for rint benchtest.
22616
22617 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22618
22619         * Versions.def (libm): Add GLIBC_2.18.
22620         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22621         hidden libm prototypes.
22622         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22623         * math/Makefile (libm-calls): Add s_issignaling.
22624         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22625         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22626         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22627         declaration.
22628         * math/math.h [__USE_GNU] (issignaling): New macro.
22629         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22630         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22631         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22632         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22633         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22634         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22635         * manual/arith.texi (issignaling): New section.
22636         * manual/libm-err-tab.pl (@all_functions): Update comment.
22637         * math/gen-libm-test.pl (parse_args): Apply special handling for
22638         issignaling.
22639         * math/libm-test.inc (print_float, issignaling_test): New
22640         functions.
22641         (check_float_internal): Add issignaling checks.
22642         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22643         default definition.
22644         * sysdeps/powerpc/math-tests.h: New file.
22645         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22646         tests.
22647         * math/test-snan.c (TEST_FUNC): Likewise.
22648
22649 2013-03-30  David S. Miller  <davem@davemloft.net>
22650
22651         * po/de.po: Update from translation team.
22652
22653 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22654
22655         [BZ #10357]
22656         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22657         imaginary part less than 1.0 and real part less than 0.5
22658         specially.
22659         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22660         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22661         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22662         (cacos_test): Add more tests.
22663         (casin_test): Likewise.
22664         (casinh_test): Likewise.
22665         * sysdeps/i386/fpu/libm-test-ulps: Update.
22666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22667
22668 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22669
22670         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22671         ONE with its value.
22672
22673         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22674         (__pow_mp): Replace ONE and MONE with their values.
22675         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22676         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22677         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22678         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22679         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22680         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22681
22682         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22683
22684         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22685         (__pow_mp): Replace ZERO and MZERO with their values.
22686         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22687         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22688         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22689         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22690         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22691         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22692         (__sqr): Likewise.
22693
22694         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22695
22696         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22697
22698 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22699
22700         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22701         Declare with __attribute__ ((weak)).
22702         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22703         Call __call_tls_dtors only if it's not NULL.
22704
22705 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22706
22707         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22708         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22709         magic __ehdr_start linker symbol if it's defined.
22710         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22711         them up here if it was already done.
22712
22713         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22714         (_dl_aux_init): Use const in cast when setting it.
22715         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22716         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22717         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22718
22719         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22720         Declare them here.
22721         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22722         * csu/libc-tls.c: Nor here.
22723         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22724
22725         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22726         (__libc_message): Never call vsyslog.
22727
22728 2013-03-28  Alan Modra  <amodra@gmail.com>
22729
22730         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22731         Define as empty.
22732         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22733         Likewise.
22734
22735 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22736
22737         [BZ #15214]
22738         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22739         underflow.
22740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22741
22742 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22743
22744         [BZ #15304]
22745         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22746         Don't add gid passed as argument.
22747
22748         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22749
22750 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22751
22752         [BZ #15307]
22753         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22754         imaginary part between 1.0 and 1.5 and real part less than 0.5
22755         specially.
22756         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22757         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22758         * math/libm-test.inc (cacos_test): Add more tests.
22759         (casin_test): Likewise.
22760         (casinh_test): Likewise.
22761         * sysdeps/i386/fpu/libm-test-ulps: Update.
22762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22763
22764 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22765
22766         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22767         constants.
22768         (norm): Likewise.
22769         (denorm): Likewise.
22770         (__dbl_mp): Likewise.
22771         (add_magnitudes): Likewise.
22772         (sub_magnitudes): Likewise.
22773         (__add): Likewise.
22774         (__sub): Likewise.
22775         (__mul): Likewise.
22776         (__sqr): Likewise.
22777         (__inv): Likewise.
22778         (__dvd): Likewise.
22779
22780         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22781         commented code.
22782         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22783         (__dubcos): Likewise.
22784         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22785         (__ieee754_acos): Likewise.
22786         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22787         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22788         (__exp1): Likewise.
22789         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22790         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22791         (log1): Likewise.
22792         (my_log2): Likewise.
22793         (checkint): Likewise.
22794         * sysdeps/ieee754/dbl-64/e_remainder.c
22795         (__ieee754_remainder): Likewise.
22796         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22797         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22798         (bsloww): Likewise.
22799         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22800
22801         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22802         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22803         MANTISSA_STORE_T to store computations on mantissa.  Use
22804         macros for rounding and division.
22805         (denorm): Likewise.
22806         (__dbl_mp): Likewise.
22807         (add_magnitudes): Likewise.
22808         (sub_magnitudes): Likewise.
22809         (__mul): Likewise.
22810         (__sqr): Likewise.
22811         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22812         powers of two in terms of TWOPOW macro.
22813         (mp_no): Make type of mantissa as MANTISSA_T.
22814         [!RADIXI]: Define RADIXI.
22815         [!TWO52]: Define TWO52.
22816         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22817
22818 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22819
22820         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22821         llroundl symbol when building for PPC32.
22822
22823 2013-03-24  Mark H Weaver  <mhw@netris.org>
22824
22825         * manual/arith.texi (Normalization Functions): Fix prototypes for
22826         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22827
22828 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22829
22830         [BZ #13889]
22831         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22832         high value to check if expl overflow.
22833         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22834         to check for underflow and overflow.
22835         * math/libm-test.inc: Add exp test.
22836
22837 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22838
22839         [BZ #11120]
22840         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22841         with NOT_IN_libc.
22842
22843 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22844
22845         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22846         symbol.
22847
22848 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22849
22850         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22851         wrap blocks consisting of several statements.
22852
22853         * sysdeps/generic/math-tests.h: New file.
22854         * sysdeps/i386/fpu/math-tests.h: Likewise.
22855         * math/test-snan.c: Include it.
22856         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22857
22858 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22859
22860         [BZ #15285]
22861         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22862         (__ieee754_j0l): Do not improve calculations using cos of twice
22863         input for inputs above LDBL_MAX / 2.0L.
22864         (__ieee754_y0l): Likewise.
22865         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22866         (__ieee754_j1l): Do not improve calculations using cos of twice
22867         input for inputs above LDBL_MAX / 2.0L.
22868         (__ieee754_y1l): Likewise.
22869         * math/libm-test.inc (j0_test): Add another test.
22870         (j1_test): Likewise.
22871         (y0_test): Likewise.
22872         (y1_test): Likewise.
22873         * sysdeps/i386/fpu/libm-test-ulps: Update.
22874
22875 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22876
22877         * Rules ($(objpfx)bench-%.c): Include code from a C source
22878         file.
22879
22880 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22881
22882         [BZ #15287]
22883         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22884         imaginary part 1.0 and real part less than 0.5 specially.
22885         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22886         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22887         * math/libm-test.inc (cacos_test): Add more tests.
22888         (casin_test): Likewise.
22889         (casinh_test): Likewise.
22890         * sysdeps/i386/fpu/libm-test-ulps: Update.
22891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22892
22893 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22894
22895         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22896         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22897
22898 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22899
22900         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22901         * config.make.in (config-cflags-sse4): Remove variable.
22902         (config-cflags-avx): Likewise.
22903         (config-cflags-sse2avx): Likewise.
22904         (config-cflags-novzeroupper): Likewise.
22905         (config-asflags-i686): Likewise.
22906         (have-mfma4): Likewise.
22907         (have-as-vis3): Likewise.
22908         (MIG): Likewise.
22909         * configure.in (MIG): Do not AC_SUBST.
22910         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22911         (libc_cv_cc_sse4): Do not AC_SUBST.
22912         (libc_cv_cc_avx): Likewise.
22913         (libc_cv_cc_sse2avx): Likewise.
22914         (libc_cv_cc_novzeroupper): Likewise.
22915         (libc_cv_cc_fma4): Likewise.
22916         (libc_cv_as_i686): Likewise.
22917         (libc_cv_sparc_as_vis3): Likewise.
22918         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22919         LIBC_CONFIG_VAR.
22920         (config-asflags-i686): Likewise.
22921         (config-cflags-avx): Likewise.
22922         (config-cflags-sse2avx): Likewise.
22923         (have-mfma4): Likewise.
22924         (config-cflags-novzeroupper): Likewise.
22925         * sysdeps/mach/configure.in (MIG): Likewise.
22926         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22927         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22928         LIBC_CONFIG_VAR.
22929         (config-cflags-avx): Likewise.
22930         (config-cflags-sse2avx): Likewise.
22931         (have-mfma4): Likewise.
22932         (config-cflags-novzeroupper): Likewise.
22933         * configure: Regenerated.
22934         * sysdeps/i386/configure: Likewise.
22935         * sysdeps/mach/configure: Likewise.
22936         * sysdeps/sparc/configure: Likewise.
22937         * sysdeps/x86_64/configure: Likewise.
22938
22939 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22940
22941         [BZ #14812]
22942         * locale/programs/localedef.c (options): Put N_ translation marker
22943         on argument names, not just descriptions.
22944
22945 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22946
22947         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22948
22949 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22950
22951         [BZ #14176]
22952         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22953
22954 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22955
22956         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22957         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22958         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22959         [!BEFORE_ABORT] (before_abort): New function.
22960         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22961         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22962         (writev_for_fatal): New function.
22963         (WRITEV_FOR_FATAL): New macro; call that.
22964         (backtrace_and_maps): New function.
22965         (BEFORE_ABORT): New macro; call that.
22966         (struct str_list): Type removed.
22967         (__libc_message, __libc_fatal): Functions removed.
22968         Include <sysdeps/posix/libc_fatal.c> instead.
22969
22970 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22971
22972         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22973         constants.
22974         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22975         double constants.
22976
22977 2013-03-19  Andreas Schwab  <schwab@suse.de>
22978
22979         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22980         * sysdeps/gnu/configure: Regenerate.
22981
22982         * configure.in: Substitute libc_cv_rtlddir.
22983         * configure: Regenerate.
22984         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22985         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22986         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22987         * elf/Makefile (install-others, CFLAGS-interp.c)
22988         (ldso_install, common-ldd-rewrite): Likewise.
22989         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22990         $(inst_slibdir)/$(rtld-installed-name).
22991         * scripts/rellns-sh: Add -p option.
22992         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22993         for source.
22994
22995 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22996
22997         * manual/nptl.texi: Renamed to ...
22998         * manual/threads.texi: ... this.
22999         * manual/Makefile (chapters): Update.
23000
23001 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23002
23003         [BZ #14812]
23004         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23005         on argument names, not just descriptions.
23006         * malloc/memusagestat.c (options): Likewise.
23007         * nss/getent.c (options): Likewise.
23008
23009 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23010
23011         [BZ #14812]
23012         * iconv/iconv_prog.c (options): Put N_ translation marker
23013         on argument names, not just descriptions.
23014         * iconv/iconvconfig.c (options): Likewise.
23015
23016 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23017
23018         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23019         implementation which is faster on all x86_64 architectures.
23020         Tested on AMD, Intel Nehalem, SNB, IVB.
23021         * sysdeps/x86_64/strnlen.S: Likewise.
23022
23023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23024         Remove all multiarch strlen and strnlen versions.
23025         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23026         Remove strlen and strnlen related parts.
23027
23028         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23029         Inline strlen part.
23030         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23031
23032         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23033         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23034         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23035         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23036         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23037         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23038
23039 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23040
23041         * manual/memory.texi (Malloc Tunable Parameters):
23042         Sort parameters alphabetically. Add comments for missing entries.
23043
23044 2013-03-17  David S. Miller  <davem@davemloft.net>
23045
23046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23047
23048 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23049
23050         [BZ #15283]
23051         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23052         for arguments at most half maximum finite value.
23053         * math/libm-test.inc (j0_test): Add more tests.
23054         (j1_test): Likewise.
23055         (y0_test): Likewise.
23056         (y1_test): Likewise.
23057         * sysdeps/i386/fpu/libm-test-ulps: Update.
23058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23059
23060         [BZ #14155]
23061         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23062         1 / x and functions P and Q for arguments above 0x1p256L.
23063         (__ieee754_y0l): Likewise.
23064         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23065         (__ieee754_y1l): Likewise.
23066         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23067         (j1_test): Likewise.
23068         (y0_test): Likewise.
23069         (y1_test): Likewise.
23070
23071 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23072
23073         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23074         variable.
23075
23076 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23077
23078         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23079         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23080         zero since it's initialized to EXEC_PAGESIZE.
23081
23082         * sysdeps/unix/sysv/linux/ldsodefs.h
23083         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23084         * sysdeps/generic/ldsodefs.h: ... here.
23085
23086 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23087
23088         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23089
23090         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23091         math/test-snan.c.
23092         * math/test-snan.c: Renamed from
23093         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23094         * math/Makefile (tests): Add test-snan.
23095         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23096         test-powerpc-snan.
23097
23098         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23099         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23100         functions.
23101         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23102         __builtin_nan family of functions.
23103         * math/libm-test.inc (initialize): Initialize qnan_value with
23104         __builtin_nan family of functions.
23105         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23106         Remove variables.
23107         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23108         Remove functions.
23109         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23110         storage class.  Initialize qNaN_var and sNaN_var with
23111         __builtin_nan and __builtin_nans families of functions,
23112         respectively.
23113
23114         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23115         (sqrt_test): Remove duplicate test with qNaN input.
23116         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23117         (round_test, signbit_test, significand_test): Note missing +/-Inf
23118         as well as qNaN tests.
23119
23120         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23121         qNaN_var.  Fix a few strings, too.
23122         * math/libm-test.inc (nan_value): Rename to qnan_value.
23123         * math/gen-libm-test.pl (%beautify): Adjust to that.
23124         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23125         * math/test-misc.c (main): Likewise.
23126         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23127         to __qnan_bytes, and __qnan_union, respectively.
23128         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23129         Likewise.
23130         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23131         and lqnanval, respectively.
23132         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23133         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23134         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23135         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23136
23137         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23138         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23139         doubles.
23140
23141         * math/test-misc.c (main): Fix copy'n'pastos.
23142         * misc/tst-efgcvt.c (special): Likewise.
23143
23144         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23145         Remove declarations.
23146
23147 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23148
23149         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23150         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23151         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23152         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23153
23154 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23155
23156         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23157         macro to return vdso values correctly in IFUNC implementations.
23158         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23159         Optimization by using IFUNC.
23160
23161 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23162             Richard Henderson  <rth@redhat.com>
23163             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23164
23165         * Makefile.in (bench): New target.
23166         * NEWS: Mention the benchmark framework.
23167         * Rules (bench): Likewise.
23168         (binaries-bench): Generate binaries for functions to
23169         benchmark.
23170         * benchtests/Makefile: New makefile for benchmark tests.
23171         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23172         programs.
23173         * benchtests/exp-inputs: New input file for EXP function.
23174         * benchtests/pow-inputs: New input file for POW function.
23175         * scripts/bench.pl: New script to generate source files for
23176         benchmark programs.
23177
23178 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23179
23180         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23181         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23182         computations on mantissa.  Use macros for rounding and
23183         division.
23184         (denorm): Likewise.
23185         (__dbl_mp): Likewise.
23186         (add_magnitudes): Likewise.
23187         (sub_magnitudes): Likewise.
23188         (__mul): Likewise.
23189         (__sqr): Likewise.
23190         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23191         powers of two in terms of TWOPOW macro.
23192         (mp_no): Make type of mantissa as MANTISSA_T.
23193         [!RADIXI]: Define RADIXI.
23194         [!TWO52]: Define TWO52.
23195         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23196
23197         * manual/nptl.texi (cindex): Modify threads to pthreads.
23198
23199 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23200
23201         * sysdeps/x86_64/preconfigure: Regenerated.
23202
23203 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23204
23205         [BZ #14155]
23206         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23207         0x1p28 and above.
23208         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23209         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23210         0x1p28 and above.
23211         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23212         * math/libm-test.inc (j0_test): Do not allow one spurious
23213         underflow exception.
23214         (y1_test): Likewise.
23215
23216 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23217
23218         * manual/Makefile (chapters): Add nptl.
23219         * manual/debug.texi (Debugging Support): Add link to Threads
23220         chapter.
23221         * manual/nptl.texi: New file.
23222
23223         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23224
23225 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23226
23227         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23228         for non-NULL pointer before the memory validity test. Pointed
23229         out by Holger Brunck <holger.brunck@keymile.com>.
23230
23231 2013-03-13  Andreas Schwab  <schwab@suse.de>
23232
23233         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23234         instead of .os.
23235
23236 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23237
23238         * timezone/zic.c: Update from tzcode 2013b.
23239
23240 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23241
23242         * manual/install.texi (Configuring and compiling):
23243         Mention i686 and i586.
23244         * INSTALL: Regenerate.
23245
23246 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23247
23248         * sysdeps/init_array/elf-init.c: New file.
23249         * csu/elf-init.c
23250         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23251         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23252
23253         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23254         __gmon_start__ as global, but as static with a .preinit_array pointer.
23255         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23256         * sysdeps/init_array/crti.S: New file, empty except for comments.
23257         * sysdeps/init_array/crtn.S: Likewise.
23258
23259 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23260
23261         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23262         definining bcopy.
23263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23264         Remove Prefer_SSE_for_memop.
23265         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23266         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23267         HAS_PREFER_SSE_FOR_MEMOP.
23268         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23269         memset-x86-64.
23270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23271         Remove bzero, memset ifunc support.
23272         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23273         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23274         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23275         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23276
23277 2013-03-11  Andreas Schwab  <schwab@suse.de>
23278
23279         [BZ #15234]
23280         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23281         by SHLIB_COMPAT.
23282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23283         (GLIBC_2.16): Remove pthread_atfork.
23284
23285 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23286
23287         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23288         (ptestcases.h): Likewise.
23289
23290 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23291
23292         * Makeconfig ($(common-objpfx)config.status): Depend on
23293         sysdeps/*/preconfigure{,.in} too.
23294
23295 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23296
23297         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23298         (__free_hook): Use void * instead of __malloc_ptr_t.
23299         (__malloc_hook): Likewise.
23300         (__realloc_hook): Likewise.
23301         (__memalign_hook): Likewise.
23302         (__after_morecore_hook): Likewise.
23303         * malloc/arena.c (save_malloc_hook): Likewise.
23304         (save_free_hook): Likewise.
23305         * malloc/hooks.c (malloc_hook_ini): Likewise.
23306         (realloc_hook_ini): Likewise.
23307         (memalign_hook_ini): Likewise.
23308         * malloc/malloc.c (malloc_hook_ini): Likewise.
23309         (realloc_hook_ini): Likewise.
23310         (memalign_hook_ini): Likewise.
23311         (__free_hook): Likewise.
23312         (__malloc_hook): Likewise.
23313         (__realloc_hook): Likewise.
23314         (__memalign_hook): Likewise.
23315         (__libc_malloc): Likewise.
23316         (__libc_free): Likewise.
23317         (__libc_realloc): Likewise.
23318         (__libc_memalign): Likewise.
23319         (__libc_valloc): Likewise.
23320         (__libc_pvalloc): Likewise.
23321         (__libc_calloc): Likewise.
23322         (__posix_memalign): Likewise.
23323         * malloc/morecore.c (__sbrk): Likewise.
23324         (__default_morecore): Likewise.
23325
23326         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23327
23328         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23329         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23330         __malloc_ptrdiff_t.
23331
23332         * malloc/malloc.h (__malloc_size_t): Remove macro.
23333         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23334         __malloc_size_t.
23335         (old_memalign_hook): Likewise.
23336         (old_realloc_hook): Likewise.
23337         (struct hdr): Likewise.
23338         (flood): Likewise.
23339         (mallochook): Likewise.
23340         (memalignhook): Likewise.
23341         (reallochook): Likewise.
23342         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23343         (tr_old_realloc_hook): Likewise.
23344         (tr_old_memalign_hook): Likewise.
23345         (tr_mallochook): Likewise.
23346         (tr_reallochook): Likewise.
23347         (tr_memalignhook): Likewise.
23348
23349 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23350
23351         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23352         default_ldbl_pack and using as default implementation.
23353         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23354         implementation.
23355         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23356         redundant definition.
23357         (ldbl_insert_mantissa): Likewise.
23358         (ldbl_canonicalize): Likewise.
23359         (ldbl_nearbyint): Likewise.
23360         (ldbl_pack): Rename to ldbl_pack_ppc.
23361         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23362         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23363         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23364
23365 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23366
23367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23368         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23369         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23370         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23371         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23372         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23373         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23374         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23375
23376 2013-03-07  Andreas Jaeger  <aj@suse.de>
23377
23378         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23379         bits/mman-linux.h.
23380
23381 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23382
23383         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23384         Include mpa.h and declare __MPEXP.
23385         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23386         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23387         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23388         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23389         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23390         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23391         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23392
23393         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23394         (__slowpow): Use long double EXPL and LOGL functions to
23395         compute POW.
23396         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23397         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23398         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23399         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23400         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23401         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23402
23403         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23404         intermediate variable to calculate exponent.
23405         (__sqr): Likewise.
23406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23407         Likewise.
23408         (__sqr): Likewise.
23409
23410         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23411         [!NO__SQR]: Define __sqr.
23412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23413         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23414         sysdeps/ieee754/dbl-64/mpa.c.
23415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23416
23417         [BZ #12723]
23418         * posix/Makefile (tests): Add tst-pathconf.
23419         * posix/tst-pathconf.c: New test case.
23420         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23421         _PC_PIPE_BUF.
23422         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23423
23424 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23425
23426         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23427
23428 2013-03-06  Andreas Jaeger  <aj@suse.de>
23429
23430         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23431         definition via __MAP_ANONYMOUS.
23432
23433         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23434         it's not part of Linux headers.
23435
23436         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23437         (MAP_HUGE_MASK): Define.
23438
23439         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23440         Define.
23441         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23442         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23443         Define.
23444         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23445         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23446         Define.
23447         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23448         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23449         Define.
23450         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23451
23452         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23453         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23454         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23455         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23456         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23457         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23458
23459         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23460         Handle f2fs.
23461
23462         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23463         Handle f2fs and efivarfs.
23464
23465         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23466         f2fs.
23467
23468         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23469         (EFIVARFS_MAGIC): Add.
23470         (F2FS_LINK_MAX): Add.
23471
23472 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23473
23474         * stdio-common/vfprintf.c: Replace __builtin_expect with
23475         __glibc_unlikely.
23476
23477 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23478
23479         [BZ #13550]
23480         * sysdeps/generic/bp-sym.h: Remove file.
23481         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23482         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23483         <bp-sym.h> and <bp-asm.h>.
23484         (__longjmp): Don't use BP_SYM.
23485         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23486         and <bp-asm.h>.
23487         (memcpy): Don't use BP_SYM.
23488         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23489         <bp-sym.h> and <bp-asm.h>.
23490         (memcpy): Don't use BP_SYM.
23491         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23492         <bp-asm.h>.
23493         (memcpy): Don't use BP_SYM.
23494         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23495         <bp-asm.h>.
23496         (memset): Don't use BP_SYM.
23497         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23498         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23499         (__bzero): Don't use BP_SYM.
23500         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23501         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23502         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23503         <bp-sym.h> and <bp-asm.h>.
23504         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23505         pointers.
23506         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23507         <bp-sym.h> and <bp-asm.h>.
23508         (memcpy): Don't use BP_SYM.
23509         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23510         <bp-sym.h> and <bp-asm.h>.
23511         (memset): Don't use BP_SYM.
23512         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23513         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23514         (__bzero): Don't use BP_SYM.
23515         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23516         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23517         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23518         <bp-sym.h> and <bp-asm.h>.
23519         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23520         pointers.
23521         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23522         <bp-sym.h> and <bp-asm.h>.
23523         (memcpy): Don't use BP_SYM.
23524         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23525         <bp-sym.h> and <bp-asm.h>.
23526         (memset): Don't use BP_SYM.
23527         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23528         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23529         (__bzero): Don't use BP_SYM.
23530         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23531         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23532         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23533         <bp-sym.h> and <bp-asm.h>.
23534         (__memchr): Don't use BP_SYM.
23535         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23536         <bp-sym.h> and <bp-asm.h>.
23537         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23538         pointers.
23539         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23540         <bp-sym.h> and <bp-asm.h>.
23541         (memcpy): Don't use BP_SYM.
23542         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23543         <bp-sym.h> and <bp-asm.h>.
23544         (__mempcpy): Don't use BP_SYM.
23545         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23546         <bp-sym.h> and <bp-asm.h>.
23547         (__memrchr): Don't use BP_SYM.
23548         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23549         <bp-sym.h> and <bp-asm.h>.
23550         (memset): Don't use BP_SYM.
23551         (__bzero): Likewise.
23552         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23553         <bp-sym.h> and <bp-asm.h>.
23554         (__rawmemchr): Don't use BP_SYM.
23555         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23556         <bp-sym.h> and <bp-asm.h>.
23557         (__STRCMP): Don't use BP_SYM.
23558         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23559         <bp-sym.h> and <bp-asm.h>.
23560         (strchr): Don't use BP_SYM.
23561         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23562         <bp-sym.h> and <bp-asm.h>.
23563         (__strchrnul): Don't use BP_SYM.
23564         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23565         <bp-sym.h> and <bp-asm.h>.
23566         (strlen): Don't use BP_SYM.
23567         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23568         <bp-sym.h> and <bp-asm.h>.
23569         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23570         pointers.
23571         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23572         <bp-sym.h> and <bp-asm.h>.
23573         (__strnlen): Don't use BP_SYM.
23574         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23575         <bp-sym.h> and <bp-asm.h>.
23576         (__GI__setjmp): Don't use BP_SYM.
23577         (_setjmp): Likewise.
23578         (__sigsetjmp): Likewise.
23579         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23580         (L(start_addresses)): Don't use BP_SYM.
23581         (_start): Likewise.
23582         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23583         <bp-asm.h>.
23584         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23585         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23586         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23587         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23588         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23589         <bp-asm.h>.
23590         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23591         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23592         about bounded pointers.
23593         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23594         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23595         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23596         <bp-asm.h>.
23597         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23598         about bounded pointers.  Remove GKM FIXME comments.
23599         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23600         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23601         <bp-asm.h>.
23602         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23603         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23604         Remove GKM FIXME comments.
23605         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23606         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23607         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23608         <bp-asm.h>.
23609         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23610         about bounded pointers.  Remove GKM FIXME comment.
23611         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23612         and <bp-asm.h>.
23613         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23614         pointers.
23615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23616         <bp-sym.h> and <bp-asm.h>.
23617         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23619         <bp-sym.h> and <bp-asm.h>.
23620         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23621         comment.
23622
23623 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23624
23625         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23626         call free(NULL).
23627
23628 2013-03-05  David S. Miller  <davem@davemloft.net>
23629
23630         * po/es.po: Update from translation team.
23631
23632 2013-03-05  Andreas Jaeger  <aj@suse.de>
23633
23634         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23635         <bits/mman-linux.h>.
23636         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23637         is fine.
23638         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23639         <bits/mman-linux.h> to end of file.
23640         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23641         is fine.
23642         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23643         <bits/mman-linux.h> to end of file.
23644         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23645         is fine.
23646         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23647         <bits/mman-linux.h> to end of file.
23648
23649         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23650         (MCL_CURRENT, MCL_FUTURE): Define here.
23651
23652 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23653
23654         [BZ #15232]
23655         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23656         attribute_hidden.
23657         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23658
23659 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23660
23661         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23662         fourth parameter needed for rt_sigprocmask syscall.
23663         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23664         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23665         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23666         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23667         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23668         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23669
23670 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23671
23672         [BZ #13550]
23673         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23674         comment about bounded pointers.
23675         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23676         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23677
23678 2013-03-04  Andreas Jaeger  <aj@suse.de>
23679
23680         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23681         common definitions.
23682
23683         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23684         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23685         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23686         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23687         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23688         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23689
23690 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23691
23692         [BZ #15055]
23693         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23694         __ieee754_sqrl instead of __sqrl.
23695
23696 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23697
23698         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23699         * sysdeps/powerpc/fpu_control.h: ... here.
23700         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23701         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23702         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23703         * sysdeps/powerpc/bits/mathinline.h: ... here.
23704
23705 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23706
23707         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23708         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23709         to just [NEED_DL_SYSINFO_DSO].
23710         * elf/dl-support.c: Likewise.
23711         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23712         * elf/rtld.c (dl_main): Likewise.
23713         * elf/setup-vdso.h (setup_vdso): Likewise.
23714         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23715         * sysdeps/unix/sysv/linux/dl-sysdep.c
23716         (_dl_discover_osversion): Likewise.
23717
23718 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23719
23720         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23721         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23722
23723 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23724
23725         * NEWS: Mention libm performance improvements and non-x86 PI
23726         futex support.
23727
23728         * csu/libc-start.c (__pthread_initialize_minimal): Change
23729         function arguments.
23730         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23731
23732 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23733
23734         [BZ #13550]
23735         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23736         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23737         <bp-sym.h> and <bp-asm.h>.
23738         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23739         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23740         and <bp-asm.h>.
23741         (memcpy): Don't use BP_SYM.
23742         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23743         <bp-asm.h>.
23744         (__mpn_add_n): Don't use BP_SYM.
23745         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23746         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23747         and <bp-asm.h>.
23748         (__mpn_addmul_1): Don't use BP_SYM.
23749         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23750         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23751         <bp-sym.h>.
23752         (_setjmp): Don't use BP_SYM.
23753         (__novmx_setjmp): Likewise.
23754         (__GI__setjmp): Likewise.
23755         (__vmx_setjmp): Likewise.
23756         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23757         <bp-sym.h>.
23758         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23759         (__bzero): Don't use BP_SYM.
23760         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23761         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23762         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23763         <bp-sym.h> and <bp-asm.h>.
23764         (memcpy): Don't use BP_SYM.
23765         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23766         <bp-sym.h> and <bp-asm.h>.
23767         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23768         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23769         <bp-sym.h> and <bp-asm.h>.
23770         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23771         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23772         <bp-asm.h>.
23773         (__mpn_lshift): Don't use BP_SYM.
23774         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23775         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23776         <bp-asm.h>.
23777         (memset): Don't use BP_SYM.
23778         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23779         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23780         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23781         <bp-asm.h>.
23782         (__mpn_mul_1): Don't use BP_SYM.
23783         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23784         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23785         <bp-sym.h> and <bp-asm.h>.
23786         (memcmp): Don't use BP_SYM.
23787         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23788         <bp-sym.h> and <bp-asm.h>.
23789         (memcpy): Don't use BP_SYM.
23790         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23791         <bp-sym.h> and <bp-asm.h>.
23792         (memset): Don't use BP_SYM.
23793         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23794         <bp-sym.h> and <bp-asm.h>.
23795         (strncmp): Don't use BP_SYM.
23796         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23797         <bp-sym.h> and <bp-asm.h>.
23798         (memcpy): Don't use BP_SYM.
23799         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23800         <bp-sym.h> and <bp-asm.h>.
23801         (memset): Don't use BP_SYM.
23802         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23803         <bp-sym.h> and <bp-asm.h>.
23804         (__memchr): Don't use BP_SYM.
23805         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23806         <bp-sym.h> and <bp-asm.h>.
23807         (memcmp): Don't use BP_SYM.
23808         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23809         <bp-sym.h> and <bp-asm.h>.
23810         (memcpy): Don't use BP_SYM.
23811         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23812         <bp-sym.h> and <bp-asm.h>.
23813         (__mempcpy): Don't use BP_SYM.
23814         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23815         <bp-sym.h> and <bp-asm.h>.
23816         (__memrchr): Don't use BP_SYM.
23817         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23818         <bp-sym.h> and <bp-asm.h>.
23819         (memset): Don't use BP_SYM.
23820         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23821         <bp-sym.h> and <bp-asm.h>.
23822         (__rawmemchr): Don't use BP_SYM.
23823         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23824         <bp-sym.h> and <bp-asm.h>.
23825         (__STRCMP): Don't use BP_SYM.
23826         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23827         <bp-sym.h> and <bp-asm.h>.
23828         (strchr): Don't use BP_SYM.
23829         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23830         <bp-sym.h> and <bp-asm.h>.
23831         (__strchrnul): Don't use BP_SYM.
23832         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23833         <bp-sym.h> and <bp-asm.h>.
23834         (strlen): Don't use BP_SYM.
23835         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23836         <bp-sym.h> and <bp-asm.h>.
23837         (strncmp): Don't use BP_SYM.
23838         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23839         <bp-sym.h> and <bp-asm.h>.
23840         (__strnlen): Don't use BP_SYM.
23841         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23842         <bp-asm.h>.
23843         (__mpn_rshift): Don't use BP_SYM.
23844         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23845         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23846         <bp-sym.h> and <bp-asm.h>.
23847         (__sigsetjmp): Don't use BP_SYM.
23848         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23849         (L(start_addresses)): Don't use BP_SYM.
23850         (_start): Likewise.
23851         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23852         <bp-asm.h>.
23853         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23854         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23855         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23856         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23857         <bp-asm.h>.
23858         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23859         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23860         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23861         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23862         <bp-asm.h>.
23863         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23864         comments.
23865         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23866         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23867         <bp-asm.h>.
23868         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23869         FIXME comments.
23870         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23871         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23872         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23873         <bp-asm.h>.
23874         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23875         comment.
23876         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23877         and <bp-asm.h>.
23878         (strncmp): Don't use BP_SYM,
23879         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23880         <bp-asm.h>.
23881         (__mpn_sub_n): Don't use BP_SYM.
23882         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23883         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23884         and <bp-asm.h>.
23885         (__mpn_submul_1): Don't use BP_SYM.
23886         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23888         <bp-sym.h> and <bp-asm.h>.
23889         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23891         <bp-sym.h> and <bp-asm.h>.
23892         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23893         comment.
23894
23895 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23896
23897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23898         Use ZK to minimize writes to Z.
23899         (sub_magnitudes): Simplify code a bit.
23900         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23901         Use ZK to minimize writes to Z.
23902         (sub_magnitudes): Simplify code a bit.
23903
23904 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23905
23906         * csu/gmon-start.c: Add special exception to license text.
23907
23908 2013-02-27  Richard Henderson  <rth@redhat.com>
23909
23910         * scripts/config.guess: Update from config.git.
23911         * scripts/config.sub: Likewise.
23912
23913 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23914
23915         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23916
23917         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23918
23919         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23920
23921         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23922
23923         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23924
23925 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23926
23927         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23928         [$(build-shared = yes].
23929
23930 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23931
23932         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23933         (__mul): Reduce iterations for calculating mantissa.
23934
23935         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23936         MPTWO.
23937         (__mpranred): Likewise.
23938
23939         [BZ #15160]
23940         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23941         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23942
23943 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23944
23945         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23946         Define __attribute__.
23947
23948 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23949
23950         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23951         unused.
23952         * posix/regex_internal.h (__attribute): Remove.
23953         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23954         (re_string_context_at): Likewise.
23955         (bitset_not): Use __attribute__ and mark function as possibly
23956         unused.
23957         (bitset_merge): Likewise.
23958         (bitset_mask): Likewise.
23959         (re_string_char_size_at): Likewise.
23960         (re_string_wchar_at): Likewise.
23961         (re_string_elem_size_at): Likewise.
23962
23963 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23964
23965         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23966         code.
23967         (cc32): Likewise.
23968
23969         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23970         (__acr): Likewise.
23971         (__cpy): Likewise.
23972         (norm): Likewise.
23973         (denorm): Likewise.
23974         (__dbl_mp): Likewise.
23975         (add_magnitudes): Likewise.
23976         (sub_magnitudes): Likewise.
23977         (__mul): Likewise.
23978         (__inv): Likewise.
23979
23980         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23981         style.
23982
23983         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23984         style.
23985
23986         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23987         code.
23988
23989         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23990         up changes with default code.
23991         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23992         Likewise.
23993
23994 2013-02-24  Allan McRae  <allan@archlinux.org>
23995
23996         * manual/socket.texi (The Internet Namespace): Order menu items
23997         to match that in the file.
23998
23999         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24000         node listing of the info page menu.
24001
24002 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24003
24004         [BZ #13550]
24005         * sysdeps/i386/bp-asm.h: Remove file.
24006         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24007         (PARMS): Do not use macros from bp-asm.h.
24008         (S1): Likewise.
24009         (S2): Likewise.
24010         (SIZE): Likewise.
24011         (__mpn_add_n): Do not use BP_SYM
24012         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24013         "bp-asm.h".
24014         (PARMS): Do not use macros from bp-asm.h.
24015         (S1): Likewise.
24016         (SIZE): Likewise.
24017         (__mpn_addmul_1): Do not use BP_SYM
24018         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24019         "bp-asm.h".
24020         (PARMS): Do not use macros from bp-asm.h.
24021         (SIGMSK): Likewise.
24022         (_setjmp): Likewise.  Do not use BP_SYM.
24023         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24024         "bp-asm.h".
24025         (PARMS): Do not use macros from bp-asm.h.
24026         (SIGMSK): Likewise.
24027         (setjmp): Likewise.  Do not use BP_SYM.
24028         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24029         "bp-asm.h".
24030         (PARMS): Do not use macros from bp-asm.h.
24031         (__frexp): Do not use BP_SYM.
24032         (frexp): Likewise.
24033         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24034         "bp-asm.h".
24035         (PARMS): Do not use macros from bp-asm.h.
24036         (__frexpf): Do not use BP_SYM.
24037         (frexpf): Likewise.
24038         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24039         "bp-asm.h".
24040         (PARMS): Do not use macros from bp-asm.h.
24041         (__frexpl): Do not use BP_SYM.
24042         (frexpl): Likewise.
24043         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24044         "bp-asm.h".
24045         (PARMS): Do not use macros from bp-asm.h.
24046         (__remquo): Do not use BP_SYM.
24047         (remquo): Likewise.
24048         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24049         "bp-asm.h".
24050         (PARMS): Do not use macros from bp-asm.h.
24051         (__remquof): Do not use BP_SYM.
24052         (remquof): Likewise.
24053         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24054         "bp-asm.h".
24055         (PARMS): Do not use macros from bp-asm.h.
24056         (__remquol): Do not use BP_SYM.
24057         (remquol): Likewise.
24058         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24059         "bp-asm.h".
24060         (PARMS): Do not use macros from bp-asm.h.
24061         (DEST): Likewise.
24062         (SRC): Likewise.
24063         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24064         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24065         "bp-asm.h".
24066         (PARMS): Do not use macros from bp-asm.h.
24067         (strlen): Do not use BP_SYM.
24068         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24069         "bp-asm.h".
24070         (PARMS): Do not use macros from bp-asm.h.
24071         (S1): Likewise.
24072         (S2): Likewise.
24073         (SIZE): Likewise.
24074         (__mpn_add_n): Do not use BP_SYM.
24075         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24076         "bp-asm.h".
24077         (PARMS): Do not use macros from bp-asm.h.
24078         (S1): Likewise.
24079         (SIZE): Likewise.
24080         (__mpn_addmul_1): Do not use BP_SYM.
24081         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24082         weak_alias.
24083         (bzero): Likewise.
24084         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24085         "bp-asm.h".
24086         (PARMS): Do not use macros from bp-asm.h.
24087         (S): Likewise.
24088         (SIZE): Likewise.
24089         (__mpn_lshift): Do not use BP_SYM.
24090         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24091         "bp-asm.h".
24092         (PARMS): Do not use macros from bp-asm.h.
24093         (DEST): Likewise.
24094         (SRC): Likewise.
24095         (LEN): Likewise.
24096         (memcpy): Likewise.  Do not use BP_SYM.
24097         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24098         libc_hidden_def and weak_alias.
24099         (mempcpy): Do not use BP_SYM in weak_alias.
24100         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24101         "bp-asm.h".
24102         (PARMS): Do not use macros from bp-asm.h.
24103         (DEST): Likewise.
24104         (LEN): Likewise.
24105         [!BZERO_P] (CHR): Likewise.
24106         (memset): Likewise.  Do not use BP_SYM.
24107         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24108         "bp-asm.h".
24109         (PARMS): Do not use macros from bp-asm.h.
24110         (S1): Likewise.
24111         (SIZE): Likewise.
24112         (__mpn_mul_1): Do not use BP_SYM.
24113         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24114         "bp-asm.h".
24115         (PARMS): Do not use macros from bp-asm.h.
24116         (S): Likewise.
24117         (SIZE): Likewise.
24118         (__mpn_rshift): Do not use BP_SYM.
24119         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24120         "bp-asm.h".
24121         (PARMS): Do not use macros from bp-asm.h.
24122         (STR): Likewise.
24123         (CHR): Likewise.
24124         (strchr): Likewise.  Do not use BP_SYM.
24125         (index): Do not use BP_SYM in weak_alias.
24126         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24127         "bp-asm.h".
24128         (PARMS): Do not use macros from bp-asm.h.
24129         (DEST): Likewise.
24130         (SRC): Likewise.
24131         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24132         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24133         "bp-asm.h".
24134         (PARMS): Do not use macros from bp-asm.h.
24135         (strlen): Do not use BP_SYM.
24136         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24137         "bp-asm.h".
24138         (PARMS): Do not use macros from bp-asm.h.
24139         (S1): Likewise.
24140         (S2): Likewise.
24141         (SIZE): Likewise.
24142         (__mpn_sub_n): Do not use BP_SYM.
24143         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24144         "bp-asm.h".
24145         (PARMS): Do not use macros from bp-asm.h.
24146         (S1): Likewise.
24147         (SIZE): Likewise.
24148         (__mpn_submul_1): Do not use BP_SYM.
24149         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24150         "bp-asm.h".
24151         (PARMS): Do not use macros from bp-asm.h.
24152         (S1): Likewise.
24153         (S2): Likewise.
24154         (SIZE): Likewise.
24155         (__mpn_add_n): Do not use BP_SYM.
24156         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24157         weak_alias.
24158         (bzero): Likewise.
24159         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24160         "bp-asm.h".
24161         (PARMS): Do not use macros from bp-asm.h.
24162         (BLK2): Likewise.
24163         (LEN): Likewise.
24164         (memcmp): Do not use BP_SYM.
24165         (bcmp): Do not use BP_SYM in weak_alias.
24166         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24167         "bp-asm.h".
24168         (PARMS): Do not use macros from bp-asm.h.
24169         (DEST): Likewise.
24170         (SRC): Likewise.
24171         (LEN): Likewise.
24172         (memcpy): Likewise.  Do not use BP_SYM.
24173         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24174         "bp-asm.h".
24175         (PARMS): Do not use macros from bp-asm.h.
24176         (DEST): Likewise.
24177         (SRC): Likewise.
24178         (LEN): Likewise.
24179         (memmove): Likewise.  Do not use BP_SYM.
24180         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24181         "bp-asm.h".
24182         (PARMS): Do not use macros from bp-asm.h.
24183         (DEST): Likewise.
24184         (SRC): Likewise.
24185         (LEN): Likewise.
24186         (__mempcpy): Likewise.  Do not use BP_SYM.
24187         (mempcpy): Do not use BP_SYM in weak_alias.
24188         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24189         "bp-asm.h".
24190         (PARMS): Do not use macros from bp-asm.h.
24191         (DEST): Likewise.
24192         (LEN): Likewise.
24193         [!BZERO_P] (CHR): Likewise.
24194         (memset): Likewise.  Do not use BP_SYM.
24195         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24196         "bp-asm.h".
24197         (PARMS): Do not use macros from bp-asm.h.
24198         (STR2): Likewise.
24199         (strcmp): Do not use BP_SYM.
24200         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24201         "bp-asm.h".
24202         (PARMS): Do not use macros from bp-asm.h.
24203         (STR): Likewise.
24204         (DELIM): Likewise.
24205         [USE_AS_STRTOK_R] (SAVE): Likewise.
24206         (FUNCTION): Likewise.  Do not use BP_SYM.
24207         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24208         aliases.
24209         (strtok_r): Likewise.
24210         (__GI___strtok_r): Likewise.
24211         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24212         (PARMS): Do not use macros from bp-asm.h.
24213         (S): Likewise.
24214         (SIZE): Likewise.
24215         (__mpn_lshift): Do not use BP_SYM.
24216         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24217         (PARMS): Do not use macros from bp-asm.h.
24218         (STR): Likewise.
24219         (CHR): Likewise.
24220         (__memchr): Do not use BP_SYM.
24221         (memchr): Do not use BP_SYM in weak_alias.
24222         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24223         (PARMS): Do not use macros from bp-asm.h.
24224         (BLK2): Likewise.
24225         (LEN): Likewise.
24226         (memcmp): Do not use BP_SYM.
24227         (bcmp): Do not use BP_SYM in weak_alias.
24228         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24229         (PARMS): Do not use macros from bp-asm.h.
24230         (S1): Likewise.
24231         (SIZE): Likewise.
24232         (__mpn_mul_1): Do not use BP_SYM.
24233         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24234         "bp-asm.h".
24235         (PARMS): Do not use macros from bp-asm.h.
24236         (STR): Likewise.
24237         (CHR): Likewise.
24238         (__rawmemchr): Do not use BP_SYM.
24239         (rawmemchr): Do not use BP_SYM in weak_alias.
24240         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24241         (PARMS): Do not use macros from bp-asm.h.
24242         (S): Likewise.
24243         (SIZE): Likewise.
24244         (__mpn_rshift): Do not use BP_SYM.
24245         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24246         (PARMS): Do not use macros from bp-asm.h.
24247         (SIGMSK): Likewise.
24248         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24249         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24250         (_start): Do not use BP_SYM.
24251         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24252         (PARMS): Do not use macros from bp-asm.h.
24253         (DEST): Likewise.
24254         (SRC): Likewise.
24255         (__stpcpy): Likewise.  Do not use BP_SYM.
24256         (stpcpy): Do not use BP_SYM in weak_alias.
24257         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24258         "bp-asm.h".
24259         (PARMS): Do not use macros from bp-asm.h.
24260         (DEST): Likewise.
24261         (SRC): Likewise.
24262         (LEN): Likewise.
24263         (__stpncpy): Likewise.  Do not use BP_SYM.
24264         (stpncpy): Do not use BP_SYM in weak_alias.
24265         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24266         (PARMS): Do not use macros from bp-asm.h.
24267         (STR): Likewise.
24268         (CHR): Likewise.
24269         (strchr): Likewise.  Do not use BP_SYM.
24270         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24271         "bp-asm.h".
24272         (PARMS): Do not use macros from bp-asm.h.
24273         (STR): Likewise.
24274         (CHR): Likewise.
24275         (__strchrnul): Likewise.  Do not use BP_SYM.
24276         (strchrnul): Do not use BP_SYM in weak_alias.
24277         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24278         "bp-asm.h".
24279         (PARMS): Do not use macros from bp-asm.h.
24280         (STOP): Likewise.
24281         (strcspn): Do not use BP_SYM.
24282         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24283         "bp-asm.h".
24284         (PARMS): Do not use macros from bp-asm.h.
24285         (STR): Likewise.
24286         (STOP): Likewise.
24287         (strpbrk): Likewise.  Do not use BP_SYM.
24288         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24289         "bp-asm.h".
24290         (PARMS): Do not use macros from bp-asm.h.
24291         (STR): Likewise.
24292         (CHR): Likewise.
24293         (strrchr): Likewise.  Do not use BP_SYM.
24294         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24295         (PARMS): Do not use macros from bp-asm.h.
24296         (SKIP): Likewise.
24297         (strspn): Do not use BP_SYM.
24298         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24299         (PARMS): Do not use macros from bp-asm.h.
24300         (STR): Likewise.
24301         (DELIM): Likewise.
24302         (SAVE): Likewise.
24303         (FUNCTION): Likewise.  Do not use BP_SYM.
24304         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24305         aliases.
24306         (strtok_r): Likewise.
24307         (__GI___strtok_r): Likewise.
24308         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24309         (PARMS): Do not use macros from bp-asm.h.
24310         (S1): Likewise.
24311         (S2): Likewise.
24312         (SIZE): Likewise.
24313         (__mpn_sub_n): Do not use BP_SYM.
24314         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24315         "bp-asm.h".
24316         (PARMS): Do not use macros from bp-asm.h.
24317         (S1): Likewise.
24318         (SIZE): Likewise.
24319         (__mpn_submul_1): Do not use BP_SYM.
24320         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24321         <bp-sym.h>.
24322         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24323         and <bp-asm.h>.
24324         (PARMS): Do not use macros from bp-asm.h.
24325         (FLAGS): Likewise.
24326         (PTID): Likewise.
24327         (TLS): Likewise.
24328         (CTID): Likewise.
24329         (__clone): Do not use BP_SYM.
24330         (clone): Do not use BP_SYM in weak_alias.
24331         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24332         and <bp-asm.h>.
24333         (PARMS): Do not use macros from bp-asm.h.
24334         (LEN): Likewise.
24335         (__mmap64): Do not use BP_SYM.
24336         (mmap64): Do not use BP_SYM in weak_alias.
24337         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24338         <bp-sym.h> and <bp-asm.h>.
24339         (PARMS): Do not use macros from bp-asm.h.
24340         (__posix_fadvise64_l64): Do not use BP_SYM.
24341         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24342         (PARMS): Do not use macros from bp-asm.h.
24343         (NSOPS): Likewise.
24344         (semtimedop): Do not use BP_SYM.
24345         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24346         and <bp-asm.h>.
24347
24348 2013-02-21  Allan McRae  <allan@archlinux.org>
24349
24350         * manual/message.texi (Charset conversion in gettext):
24351         Move @end statement to beginning of line.
24352
24353 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24354
24355         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24356         static.
24357         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24358         Likewise.
24359
24360         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24361         (denorm): Likewise.
24362         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24363         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24364
24365 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24366
24367         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24368         tail-call to the resolved function if pltexit isn't needed.
24369
24370 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24371
24372         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24373         or Y being zero as being unlikely.
24374         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24375         Likewise.
24376
24377 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24378
24379         * manual/nss.texi (System Databases and Name Service Switch):
24380         Remove frobnicate @pxref.
24381
24382 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24383
24384         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24385         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24386
24387 2013-02-20  Petr Machata  <pmachata@redhat.com>
24388
24389         * elf/elf.h (R_ARM_TARGET1): New macro.
24390         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24391         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24392         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24393         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24394         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24395         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24396         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24397         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24398         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24399         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24400         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24401         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24402         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24403         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24404         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24405         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24406         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24407         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24408         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24409         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24410         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24411         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24412         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24413         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24414         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24415         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24416         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24417         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24418         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24419         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24420         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24421         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24422         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24423         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24424         (R_ARM_THM_GOT_BREL12): Likewise.
24425         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24426         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24427         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24428         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24429         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24430         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24431         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24432         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24433         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24434
24435 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24436
24437         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24438         __attribute_used__ to __attribute__ ((unused)).
24439
24440 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24441
24442         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24443         powerpc mpa.c.
24444         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24445         comment formatting.
24446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24447
24448 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24449
24450         [BZ #13550]
24451         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24452         Remove macro.
24453         (ENTER): Remove both macro definitions.
24454         (LEAVE): Likewise.
24455         (CHECK_BOUNDS_LOW): Likewise.
24456         (CHECK_BOUNDS_HIGH): Likewise.
24457         (CHECK_BOUNDS_BOTH): Likewise.
24458         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24459         (RETURN_BOUNDED_POINTER): Likewise.
24460         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24461         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24462         (POP_ERRNO_LOCATION_RETURN): Likewise.
24463         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24464         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24465         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24466         macros.
24467         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24468         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24469         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24470         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24471         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24472         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24473         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24474         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24475         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24476         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24477         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24478         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24479         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24480         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24481         removed macros.
24482         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24483         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24484         macros.
24485         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24486         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24487         * sysdeps/i386/i586/memset.S (memset): Likewise.
24488         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24489         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24490         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24491         macros.
24492         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24493         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24494         Change uses of L(2) to L(out).
24495         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24496         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24497         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24498         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24499         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24500         removed macros.
24501         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24502         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24503         macros.
24504         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24505         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24506         (RETURN): Do not use macro LEAVE.
24507         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24508         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24509         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24510         * sysdeps/i386/i686/memset.S (memset): Likewise.
24511         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24512         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24513         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24514         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24515         Likewise.
24516         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24517         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24518         L(1_2) and L(1_3) into L(1).
24519         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24520         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24521         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24522         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24523         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24524         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24525         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24526         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24527         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24528         macros.
24529         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24530         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24531         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24532         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24533         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24534         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24535         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24536         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24537         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24538         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24539         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24540         * sysdeps/i386/strspn.S (strspn): Likewise.
24541         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24542         conditional code.
24543         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24544         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24545         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24546         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24547         L(1_3) into L(1_1).
24548         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24549         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24550         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24551         macros.
24552         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24553
24554 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24555
24556         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24557         macro.
24558
24559 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24560
24561         * math/atest-exp.c (exp_mpn): Remove ROUND.
24562         * math/atest-exp2.c (exp_mpn): Likewise.
24563         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24564
24565         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24566         * stdlib/tst-tls-atexit-lib.c: Likewise.
24567         * stdlib/tst-tls-atexit.c: Likewise.
24568
24569 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24570
24571         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24572         and __attribute_alloc_size__.
24573
24574 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24575
24576         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24577         __attribute_alloc_size__.
24578         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24579         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24580
24581 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24582
24583         * include/programs/xmalloc.h: New file.
24584         * catgets/gencat.c: Include it.
24585         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24586         * elf/pldd.c: Likewise.
24587         * iconv/iconv_charmap.c: Likewise.
24588         * iconv/iconvconfig.c: Likewise.
24589         * iconv/strtab.c: Likewise.
24590         * locale/programs/locale.c: Likewise.
24591         * locale/programs/localedef.h: Likewise.
24592         * locale/programs/simple-hash.c: Likewise.
24593         * nscd/nscd.h: Likewise.
24594         * nss/makedb.c: Likewise.
24595         * sysdeps/generic/ldconfig.h: Likewise.
24596
24597 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24598
24599         * Versions.def: Add GLIBC_2.18.
24600         * include/link.h (struct link_map): New member l_tls_dtor_count.
24601         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24602         (__call_tls_dtors): Likewise.
24603         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24604         __cxa_thread_atexit_impl.
24605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24606         Likewise.
24607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24608         Likewise.
24609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24610         Likewise.
24611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24612         Likewise.
24613         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24615         Likewise.
24616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24617         Likewise.
24618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24620         Likewise.
24621         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24622         (tests): Add test case tst-tls-atexit.
24623         (modules-names): Add shared library for tst-tls-atexit.
24624         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24625         (GLIBC_PRIVATE): Add __call_tls_dtors.
24626         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24627         for libstdc++.
24628         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24629         * stdlib/tst-tls-atexit.c: New test case.
24630         * stdlib/tst-tls-atexit-lib.c: New test case.
24631
24632         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24633
24634         * elf/Versions (ld): Add _dl_find_dso_for_object.
24635         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24636         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24637         (dl_open_worker): Use _dl_find_dso_for_object.
24638         * elf/dl-sym.c (do_sym): Likewise.
24639         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24640
24641 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24642
24643         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24644         Syntactic changes only.
24645         (_dl_runtime_profile): Do a tail-call to the resolved function.
24646
24647 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24648
24649         [BZ #13550]
24650         * sysdeps/x86_64/bp-asm.h: Remove file.
24651         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24652         <bp-sym.h> and <bp-asm.h>.
24653         (__clone): Do not use BP_SYM.
24654         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24655         <bp-sym.h> and <bp-asm.h>.
24656         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24657         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24658         "bp-asm.h".
24659         (_setjmp): Do not use BP_SYM.
24660         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24661         "bp-asm.h".
24662         (setjmp): Do not use BP_SYM.
24663         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24664         libc_hidden_def.
24665         (mempcpy): Do not use BP_SYM in weak_alias.
24666         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24667         "bp-asm.h".
24668         (strchr): Do not use BP_SYM.
24669         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24670         "bp-asm.h".
24671         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24672         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24673         (_start): Do not use BP_SYM.
24674         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24675         "bp-asm.h".
24676         (strcat): Do not use BP_SYM.
24677         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24678         "bp-asm.h".
24679         (STRCMP): Do not use BP_SYM.
24680         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24681         "bp-asm.h".
24682         (STRCPY): Do not use BP_SYM.
24683         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24684         "bp-asm.h".
24685         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24686         "bp-asm.h".
24687         (FUNCTION): Do not use BP_SYM.
24688         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24689         weak_alias.
24690         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24691
24692 2013-02-17  Andreas Jaeger  <aj@suse.de>
24693
24694         * time/Versions: Sort entries.
24695         * string/Versions: Likewise.
24696         * resolv/Versions: Likewise.
24697         * posix/Versions: Likewise.
24698         * iconv/Versions: Likewise.
24699         * elf/Versions: Likewise.
24700         * wcsmbs/Versions: Likewise.
24701
24702 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24703
24704         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24705         loop termination condition.
24706
24707         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24708         variable to calculate EZ.
24709         (__sqr): Likewise.
24710
24711         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24712         the lower precision input.
24713
24714 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24715
24716         [BZ #13550]
24717         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24718         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24719         (run-via-rtld-prefix): Do not handle %-bp tests.
24720         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24721         (all-object-suffixes): Remove .ob.
24722         (bppfx): Remove variable.
24723         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24724         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24725         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24726         [$(build-bounded) = yes] (libtype.ob): Likewise.
24727         * Makerules (elide-routines.ob): Remove variable.
24728         (do-tests-clean): Do not handle *-bp.out.
24729         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24730         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24731         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24732         (tests): Do not include $(tests-bp.out).
24733         (xtests): Do not include $(xtests-bp.out).
24734         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24735         [$(build-bounded) = yes] ($(addprefix
24736         $(objpfx),$(binaries-bounded))): Remove rule.
24737         ($(objpfx)%-bp.out): Remove rule.
24738         * config.make.in (build-bounded): Remove variable.
24739         * crypt/Makefile [$(build-bounded) = yes]
24740         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24741         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24742         append to variable.
24743         [$(build-bounded) = yes] (install-lib): Likewise.
24744         [$(build-bounded) = yes] (generated): Likewise.
24745         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24746         Remove rule.
24747         * intl/Makefile [$(build-bounded) = yes]
24748         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24749         * math/Makefile [$(build-bounded) = yes]
24750         ($(tests:%=$(objpfx)%-bp): Likewise.
24751         * misc/Makefile [$(build-bounded) = yes]
24752         ($(objpfx)tst-tsearch-bp): Likewise.
24753         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24754         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24755         Remove dependency.
24756         * string/Makefile (o-objects.ob): Remove variable.
24757         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24758         (CFLAGS-.ob): Remove variable.
24759         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24760         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24761         both definitions of variable.
24762         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24763         (ASFLAGS-.ob): Remove variable.
24764
24765 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24766
24767         [BZ #13550]
24768         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24769         Remove __BOUNDED_POINTERS__ from condition.
24770         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24771         * string/bits/string2.h [!__NO_STRING_INLINES &&
24772         !__BOUNDED_POINTERS__]: Likewise.
24773         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24774         Likewise.
24775         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24776         Remove conditional code.
24777         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24778         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24779         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24780         condition.
24781
24782         [BZ #13550]
24783         * csu/libc-start.c: Do not include <bp-sym.h>.
24784         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24785         * elf/dl-open.c: Do not include <bp-sym.h>.
24786         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24787         * math/fegetenv.c: Do not include <bp-sym.h>.
24788         (fegetenv): Do not use BP_SYM in versioned symbols.
24789         * nptl/sysdeps/pthread/bits/libc-lockP.h
24790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24791         <bp-sym.h>.
24792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24793         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24795         (__pthread_mutex_destroy): Likewise.
24796         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24797         (__pthread_mutex_lock): Likewise.
24798         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24799         (__pthread_mutex_trylock): Likewise.
24800         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24801         (__pthread_mutex_unlock): Likewise.
24802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24803         (__pthread_mutexattr_init): Likewise.
24804         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24805         (__pthread_mutexattr_destroy): Likewise.
24806         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24807         (__pthread_mutexattr_settype): Likewise.
24808         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24809         (__pthread_rwlock_init): Likewise.
24810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24811         (__pthread_rwlock_destroy): Likewise.
24812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24813         (__pthread_rwlock_rdlock): Likewise.
24814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24815         (__pthread_rwlock_tryrdlock): Likewise.
24816         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24817         (__pthread_rwlock_wrlock): Likewise.
24818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24819         (__pthread_rwlock_trywrlock): Likewise.
24820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24821         (__pthread_rwlock_unlock): Likewise.
24822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24823         (__pthread_key_create): Likewise.
24824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24825         (__pthread_setspecific): Likewise.
24826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24827         (__pthread_getspecific): Likewise.
24828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24829         Likewise.
24830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24831         (_pthread_cleanup_push_defer): Likewise.
24832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24833         (_pthread_cleanup_pop_restore): Likewise.
24834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24835         (pthread_setcancelstate): Likewise.
24836         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24837         <bp-sym.h>.
24838         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24839         (memchr): Do not use BP_SYM in weak_alias.
24840         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24841         (fegetenv): Do not use BP_SYM in versioned symbols.
24842         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24843         (fesetenv): Do not use BP_SYM in versioned symbols.
24844         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24845         (feupdateenv): Do not use BP_SYM in versioned symbols.
24846         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24847         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24848         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24849         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24850         (open64): Do not use BP_SYM in weak_alias.
24851         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24852         (fegetenv): Do not use BP_SYM in versioned symbols.
24853         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24854         (fesetenv): Do not use BP_SYM in versioned symbols.
24855         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24856         (feupdateenv): Do not use BP_SYM in versioned symbols.
24857         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24858         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24859         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24860         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24861         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24862         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24863         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24864         <bp-sym.h>.
24865         (__libc_start_main): Do not use BP_SYM.
24866
24867 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24868
24869         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24870         redundant return line.
24871         (norm): Likewise.
24872         (denorm): Likewise.
24873         (dbl_mp): Likewise.
24874         (sub_magnitudes): Likewise.
24875         (__add): Likewise.
24876         (__sub): Likewise.
24877         (__mul): Likewise.
24878         (__inv): Likewise.
24879         (__dvd): Likewise.
24880         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24881         (norm): Likewise.
24882         (denorm): Likewise.
24883         (dbl_mp): Likewise.
24884         (sub_magnitudes): Likewise.
24885         (__add): Likewise.
24886         (__sub): Likewise.
24887         (__mul): Likewise.
24888         (__inv): Likewise.
24889         (__dvd): Likewise.
24890
24891         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24892         instead of __mul.
24893         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24894         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24895         (cc32): Likewise.
24896
24897         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24898         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24899         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24900         of __mul for squares.
24901         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24902         function
24903         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24904         Likewise.
24905         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24906         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24907
24908 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24909
24910         [BZ #13550]
24911         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24912         code.
24913         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24914         prototype or function definition.  Rename ubp_* variables and
24915         parameters.  Remove argv definitions conditional on
24916         [__BOUNDED_POINTERS__].
24917         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24918         * elf/dl-runtime.c (_dl_fixup): Likewise.
24919         * include/set-hooks.h (RUN_HOOK): Likewise.
24920         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24921         definition.
24922         * string/strcpy.c (strcpy): Do not use __unbounded.
24923         * sysdeps/generic/frame.h (struct layout): Likewise.
24924         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24925         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24926         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24927         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24928         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24929         (__backtrace): Likewise.
24930         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24931         use __ptrvalue.
24932         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24933         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24934         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24935         Likewise.
24936         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24937         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24938         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24939         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24940         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24941         Do not use __unbounded.
24942         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24943         Rename __unboundedrlimits parameter to rlimits in prototype.
24944         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24945         Do not use __unbounded.
24946         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24947         not use __ptrvalue.
24948         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24949         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24950         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24951         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24952         __ptrvalue or __unbounded.
24953         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24954         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24955         use __unbounded.
24956         (__new_msgctl): Do not use __ptrvalue.
24957         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24958         __unbounded.
24959         (__libc_msgrcv): Do not use __ptrvalue.
24960         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24961         startup_info): Do not use __unbounded.
24962         (__libc_start_main): Likewise.  Rename ubp_* variables and
24963         parameters.  Remove argv definitions conditional on
24964         [__BOUNDED_POINTERS__].
24965         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24966         __ptrvalue.
24967         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24968         use __unbounded.
24969         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24970         or __ptrvalue.
24971         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24972         use __unbounded.
24973         (__new_shmctl): Do not use __ptrvalue.
24974         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24975         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24976         Likewise.
24977         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24978         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24979         (__libc_sigaction): Likewise.
24980         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24981         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24982         Likewise.
24983         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24984
24985 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24986
24987         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24988
24989         * string/mempcpy.c: Implement by calling memcpy.
24990
24991 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24992
24993         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24994
24995         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24996         evaluation.
24997
24998         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24999         values in the mantissa.
25000
25001         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25002         minimize writes to Z.
25003         (sub_magnitudes): Simplify code a bit.
25004
25005 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25006
25007         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25008         from the message.  The linker prefixes all warnings with that already.
25009
25010 2013-02-12  Andreas Schwab  <schwab@suse.de>
25011
25012         [BZ #15078]
25013         * posix/regexec.c (extend_buffers): Add parameter min_len.
25014         (check_matching): Pass minimum needed length.
25015         (clean_state_log_if_needed): Likewise.
25016         (get_subexp): Likewise.
25017         * posix/Makefile (tests): Add bug-regex34.
25018         (bug-regex34-ENV): Define.
25019         * posix/bug-regex34.c: New file.
25020
25021         [BZ #11561]
25022         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25023         elements compare against the byte sequence of it, not its name.
25024         * posix/Makefile (tests): Add bug-regex35.
25025         (bug-regex35-ENV): Define.
25026         * posix/bug-regex35.c: New file.
25027
25028 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25029
25030         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25031         comment.
25032         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25033         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25034         (CHECK_EOL): Add undef.
25035
25036 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25037
25038         * bits/stdlib-bsearch.h: New file.
25039         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25040         * stdlib/stdlib.h: Likewise.
25041
25042 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25043
25044         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25045         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25046         declaration.
25047         * manual/search.texi (Array Search Function): Add missing const in
25048         lfind prototype.
25049         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25050         declaration to use rlim_t.
25051         (Basic Scheduling Functions): Remove erroneous const from
25052         sched_getparam prototype.  Remove erroneous * from
25053         sched_get_priority_max and sched_get_priority_min prototypes.
25054         (Resource Usage): Fix summary @comment on vtimes to refer to
25055         sys/vtimes.h rather than vtimes.h.
25056         Add missing *s in vtimes prototype.
25057         (Limits on Resources): Fix ulimit prototype to return long int.
25058         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25059         prototypes to use long int rather than double.
25060         (BSD Random): Fix initstate and setstate to use char *, not void *.
25061         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25062         prototype to make second argument 'struct aiocb64 *const[]'.
25063         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25064         (Status of AIO Operations): Remove erroneous const in aio_return and
25065         aio_return64 prototypes.
25066         (Synchronizing I/O): Fix sync prototype to return void.
25067         * manual/startup.texi (Suboptions): Remove an erroneous const in
25068         getsubopt prototype.
25069         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25070         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25071         use size_t rather than int.
25072         (Scanning All Users): Likewise for getpwent_r.
25073         (Setting Groups): Add missing const to setgroups prototype.
25074         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25075         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25076         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25077         'const void *' rather than 'const char *'.
25078         (Host Address Functions): Likewise for inet_ntop.
25079         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25080         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25081         ssize_t for return value.
25082         (Sending Data): Likewise for send, sendto, sendmsg.
25083         (Socket Option Functions): Add a missing const in setsockopt prototype.
25084         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25085         use wchar_t for the argument.
25086         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25087         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25088         take no arguments.
25089         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25090         double/float/long double for second argument.
25091         Fix return types of significand, significandf, significandl.
25092         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25093         argument in fchmod prototype.
25094         (File Owner): Use uid_t and gid_t in fchown prototype.
25095         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25096         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25097         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25098         use 'const struct dirent **' as argument types to CMP function pointer
25099         argument.
25100         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25101         (File Times): Fix summary magic @comment for struct utimbuf and utime
25102         to refer to utime.h, not time.h.
25103         * manual/string.texi (Argz Functions): Add missing const in
25104         argz_extract and argz_next prototypes.
25105         (Finding Tokens in a String): Likewise for basename.
25106         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25107         (Copying and Concatenation): Fix typo in wmemmove prototype.
25108         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25109         (Signal Stack): Remove erroneous const in sigstack prototype.
25110         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25111         prototype.
25112         (Simple Calendar Time): Likewise for stime.
25113         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25114         prototype.
25115         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25116         say sys/sysctl.h instead.
25117         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25118         and vsyslog prototypes.
25119
25120 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25121
25122         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25123         Remove.
25124
25125 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25126
25127         * misc/sys/mman.h: Fix typo in mremap comment.
25128
25129 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25130
25131         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25132         the '\0' terminator.
25133
25134 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25135
25136         [BZ #13550]
25137         * debug/segfault.c: Don't include <bp-checks.h>.
25138         * sysdeps/generic/bp-checks.h: Remove file.
25139         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25140         (__GETDENTS): Don't use CHECK_N.
25141         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25142         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25143         (__getgroups): Don't use CHECK_N.
25144         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25145         (setgroups): Don't use CHECK_N.
25146         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25147         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25148         (__libc_msgrcv): Don't use CHECK_N.
25149         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25150         (__libc_msgsnd): Don't use CHECK_N.
25151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25152         <bp-checks.h>.
25153         (__libc_pread): Don't use CHECK_N.
25154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25155         include <bp-checks.h>.
25156         (__libc_pread64): Don't use CHECK_N.
25157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25158         include <bp-checks.h>.
25159         (__libc_pwrite): Don't use CHECK_N.
25160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25161         include <bp-checks.h>.
25162         (__libc_pwrite64): Don't use CHECK_N.
25163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25164         <bp-checks.h>.
25165         (__libc_pread): Don't use CHECK_N.
25166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25167         include <bp-checks.h>.
25168         (__libc_pread64): Don't use CHECK_N.
25169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25170         include <bp-checks.h>.
25171         (__libc_pwrite): Don't use CHECK_N.
25172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25173         include <bp-checks.h>.
25174         (__libc_pwrite64): Don't use CHECK_N.
25175         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25176         (do_pread): Don't use CHECK_N.
25177         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25178         (do_pread64): Don't use CHECK_N.
25179         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25180         (do_pwrite): Don't use CHECK_N.
25181         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25182         (do_pwrite64): Don't use CHECK_N.
25183         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25184         (__libc_readv): Don't use CHECK_N.
25185         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25186         (semop): Don't use CHECK_N.
25187         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25188         <bp-checks.h>.
25189         (semtimedop): Don't use CHECK_N.
25190         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25191         (__libc_pread): Don't use CHECK_N.
25192         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25193         <bp-checks.h>.
25194         (__libc_pread64): Don't use CHECK_N.
25195         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25196         <bp-checks.h>.
25197         (__libc_pwrite): Don't use CHECK_N.
25198         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25199         <bp-checks.h>.
25200         (__libc_pwrite64): Don't use CHECK_N.
25201         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25202         <bp-checks.h>.
25203         (__libc_msgrcv): Don't use CHECK_N.
25204         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25205         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25206         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25207         (__libc_writev): Don't use CHECK_N.
25208
25209 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25210
25211         * string/strcpy.c: Removed unused variable.
25212
25213         * Makeconfig (+sysdep-includes): Define with := rather than =.
25214         Use an existing include/ subdir of each sysdeps dir before it.
25215
25216 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25217
25218         * nscd/connection.c (register_traced_file): Comment function.
25219         [HAVE_INOTIFY] (union __inev): Define.
25220         [HAVE_INOTIFY] (inotify_check_files): New function.
25221         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25222         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25223         clear_db_cache.
25224         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25225
25226 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25227
25228         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25229         loaded if not already and that a failure is permanent.
25230
25231 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25232
25233         [BZ #15006]
25234         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25235         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25236
25237 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25238
25239         [BZ #13550]
25240         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25241         (CHECK_1_NULL_OK): Likewise.
25242         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25243         (__fxstat): Do not use CHECK_1.
25244         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25245         <bp-checks.h>.
25246         (___fxstat64): Do not use CHECK_1.
25247         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25248         <bp-checks.h>.
25249         (__fxstatat): Do not use CHECK_1.
25250         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25251         <bp-checks.h>.
25252         (__fxstatat64): Do not use CHECK_1.
25253         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25254         <bp-checks.h>.
25255         (__fxstat): Do not use CHECK_1.
25256         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25257         <bp-checks.h>.
25258         (__fxstatat): Do not use CHECK_1.
25259         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25260         <bp-checks.h>.
25261         (__getresgid): Do not use CHECK_1.
25262         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25263         <bp-checks.h>.
25264         (__getresuid): Do not use CHECK_1.
25265         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25266         <bp-checks.h>.
25267         (__lxstat): Do not use CHECK_1.
25268         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25269         <bp-checks.h>.
25270         (__old_msgctl): Do not use CHECK_1.
25271         (__new_msgctl): Likewise.
25272         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25273         <bp-checks.h>.
25274         (__new_setrlimit): Do not use CHECK_1.
25275         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25276         <bp-checks.h>.
25277         (__old_shmctl): Do not use CHECK_1.
25278         (__new_shmctl): Likewise.
25279         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25280         <bp-checks.h>.
25281         (__xstat): Do not use CHECK_1.
25282         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25283         (__lxstat): Do not use CHECK_1.
25284         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25285         <bp-checks.h>.
25286         (___lxstat64): Do not use CHECK_1.
25287         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25288         (__old_msgctl): Do not use CHECK_1.
25289         (__new_msgctl): Likewise.
25290         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25291         <bp-checks.h>.
25292         (__gettimeofday): Do not use CHECK_1.
25293         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25294         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25295         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25296         <bp-checks.h>.
25297         (__gettimeofday): Do not use CHECK_1.
25298         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25299         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25300         (__new_shmctl): Do not use CHECK_1.
25301         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25302         <bp-checks.h>.
25303         (do_sigtimedwait): Do not use CHECK_1.
25304         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25305         <bp-checks.h>.
25306         (do_sigwaitinfo): Do not use CHECK_1.
25307         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25308         <bp-checks.h>.
25309         (msgctl): Do not use CHECK_1.
25310         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25311         <bp-checks.h>.
25312         (shmctl): Do not use CHECK_1.
25313         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25314         (ustat): Do not use CHECK_1.
25315         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25316         <bp-checks.h>.
25317         (__fxstat): Do not use CHECK_1.
25318         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25319         <bp-checks.h>.
25320         (__fxstatat): Do not use CHECK_1.
25321         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25322         <bp-checks.h>.
25323         (__lxstat): Do not use CHECK_1.
25324         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25325         <bp-checks.h>.
25326         (__xstat): Do not use CHECK_1.
25327         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25328         (__xstat): Do not use CHECK_1.
25329         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25330         (___xstat64): Do not use CHECK_1.
25331
25332         [BZ #13550]
25333         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25334         definitions.
25335         (CHECK_BOUNDS_HIGH): Likewise.
25336         * string/strcpy.c: Do not include <bp-checks.h>.
25337         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25338
25339 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25340
25341         * nscd/nscd-client.h (__nscd_drop_map_ref):
25342         Add __attribute__ ((unused)).
25343         * nis/nss-nisplus.h (niserr2nss): Likewise.
25344
25345         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25346         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25347
25348         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25349         Remove inline keyword.
25350         * include/rounding-mode.h (round_away): Likewise.
25351         * libio/wfileops.c (adjust_wide_data): Likewise.
25352         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25353         (__m128i_strloadu_tolower): Likewise.
25354         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25355         (__m128i_strloadu_tolower): Likewise.
25356         * time/mktime.c (ydhms_diff): Likewise.
25357         * locale/elem-hash.h (elem_hash): Likewise.
25358         * locale/setlocale.c (setdata): Likewise.
25359         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25360         (re_string_wchar_at): Likewise.
25361         (bitset_not, bitset_merge, bitset_mask): Likewise.
25362         [!(__GNUC__ > 3)] (inline): Remove macro.
25363         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25364         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25365         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25366         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25367         * string/memcmp.c (memcmp_bytes): Likewise.
25368         * locale/programs/locarchive.c (compute_hashval): Likewise.
25369         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25370         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25371         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25372         * nss/getent.c (print_rpc, print_protocols): Likewise.
25373         (print_passwd, print_group, print_aliases): Likewise.
25374         * nis/nss-nisplus.h (niserr2nss): Likewise.
25375         * nscd/connections.c (restart_p): Likewise.
25376         Change return type to bool.
25377
25378 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25379
25380         * Makeconfig (all-Depend-files): Add existing
25381         $(sorted-subdirs:=/Depend) files.
25382         (all-subdirs): Remove nss.
25383         * sysdeps/unix/inet/Subdirs: Add it here instead.
25384         * hesiod/Depend: New file.
25385
25386         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25387         instead of calling alloca.
25388
25389         * io/lseek.c (__lseek): Rename to __libc_lseek.
25390         Define __lseek as an alias.
25391
25392         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25393
25394 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25395
25396         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25397         else clause and remove check for non-standard endianness.
25398
25399 2013-02-04  David S. Miller  <davem@davemloft.net>
25400
25401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25402
25403 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25404
25405         [BZ #13550]
25406         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25407         (__ubp_memchr): Remove prototype.
25408         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25409         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25410         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25411         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25412         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25413         Remove alias.
25414         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25415         (__ubp_memchr): Likewise.
25416         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25417         (__ubp_memchr): Likewise.
25418         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25419         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25420         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25421         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25422         CHECK_STRING.
25423         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25424         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25425         (__getcwd): Do not use CHECK_STRING.
25426         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25427         <bp-checks.h>.
25428         (__real_chown): Do not use CHECK_STRING.
25429         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25430         <bp-checks.h>.
25431         (fchownat): Do not use CHECK_STRING.
25432         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25433         CHECK_STRING.
25434         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25435         <bp-checks.h>.
25436         (__lchown): Do not use CHECK_STRING.
25437         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25438         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25439         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25440         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25442         include <bp-checks.h>.
25443         (truncate64): Do not use CHECK_STRING.
25444         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25445         <bp-checks.h>.
25446         (__real_chown): Do not use CHECK_STRING.
25447         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25448         <bp-checks.h>.
25449         (__lchown): Do not use CHECK_STRING.
25450         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25451         <bp-checks.h>.
25452         (__chown): Do not use CHECK_STRING.
25453         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25454         <bp-checks.h>.
25455         (truncate64): Do not use CHECK_STRING.
25456         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25457         Likewise.
25458         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25459         (__xmknod): Do not use CHECK_STRING.
25460         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25461         <bp-checks.h>.
25462         (__xmknodat): Do not use CHECK_STRING.
25463         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25464         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25465
25466 2013-02-04  Andreas Schwab  <schwab@suse.de>
25467
25468         [BZ #14142]
25469         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25470         * include/netdb.h: Likewise for h_errno.
25471         * elf/tst-stackguard1.c: Include <tls.h>.
25472
25473 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25474
25475         * elf/link.h (struct link_map): Extend the l_addr comment.
25476         * include/link.h (struct link_map): Likewise.
25477
25478 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25479
25480         [BZ #13550]
25481         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25482         (BOUNDED_1): Remove macro.
25483         * debug/backtrace.c: Don't include <bp-checks.h>.
25484         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25485         (__backtrace): Likewise.
25486         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25487         <bp-checks.h>.
25488         (__backtrace): Don't use BOUNDED_1.
25489         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25490         <bp-checks.h>.
25491         (__backtrace): Don't use BOUNDED_1.
25492         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25493         (__backtrace): Don't use BOUNDED_1.
25494         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25495         (shmat): Don't use BOUNDED_N.
25496
25497 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25498
25499         [BZ #13550]
25500         * sysdeps/generic/bp-start.h: Remove file.
25501         * csu/libc-start.c: Don't include <bp-start.h>.
25502         (LIBC_START_MAIN): Set up __environ directly instead of using
25503         INIT_ARGV_and_ENVIRON.
25504         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25505         <bp-start.h>.
25506
25507         [BZ #13550]
25508         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25509         definitions.
25510         (CHECK_FCNTL): Likewise.
25511         (CHECK_N_PAGES): Likewise.
25512
25513         [BZ #13550]
25514         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25515         definitions.
25516         (CHECK_SIGSET_NULL_OK): Likewise.
25517         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25518         <bp-checks.h>.
25519         (sigpending): Don't use CHECK_SIGSET.
25520         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25521         <bp-checks.h>.
25522         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25523         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25524         <bp-checks.h>.
25525         (do_sigsuspend): Don't use CHECK_SIGSET.
25526         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25527         use CHECK_SIGSET.
25528         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25529         (do_sigwait): Don't use CHECK_SIGSET.
25530         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25531         use CHECK_SIGSET.
25532         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25533         include <bp-checks.h>.
25534         (sigpending): Don't use CHECK_SIGSET.
25535         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25536         include <bp-checks.h>.
25537         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25538         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25539         <bp-checks.h>.
25540         (sigpending): Don't use CHECK_SIGSET.
25541         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25542         <bp-checks.h>.
25543         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25544
25545         [BZ #13550]
25546         * sysdeps/generic/bp-semctl.h: Remove file.
25547         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25548         <bp-checks.h> and <bp-semctl.h>.
25549         (__old_semctl): Don't use CHECK_SEMCTL.
25550         (__new_semctl): Likewise.
25551         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25552         and <bp-semctl.h>.
25553         (__old_semctl): Don't use CHECK_SEMCTL.
25554         (__new_semctl): Likewise.
25555         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25556         <bp-checks.h> and <bp-semctl.h>.
25557         (__old_semctl): Don't use CHECK_SEMCTL.
25558         (__new_semctl): Likewise.
25559         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25560         <bp-checks.h> and <bp-semctl.h>.
25561         (semctl): Don't use CHECK_SEMCTL.
25562
25563         [BZ #13550]
25564         * Makerules (elide-bp-thunks): Remove variable.
25565         (elide-routines.oS): Don't use $(elide-bp-thunks).
25566         (elide-routines.os): Likewise.
25567         (elide-routines.o): Likewise.
25568         (elide-routines.op): Likewise.
25569         (elide-routines.og): Likewise.
25570         (objects): Don't use $(bp-thunks).
25571         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25572         include.
25573         (common-generated): Do not add s-proto-bp.d.
25574         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25575         (int): Likewise.
25576         (typ): Likewise.
25577         Do not generate makefile rules for bounded-pointer thunks.
25578         * sysdeps/generic/bp-thunks.h: Remove file.
25579         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25580         * sysdeps/unix/s-proto-bp.S: Likewise.
25581
25582         [BZ #15062]
25583         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25584         parts of result separately when argument is not close to line from
25585         -i to i and one part of argument is small.
25586         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25587         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25588         * math/libm-test.inc (cacos_test): Add more tests.
25589         (casin_test): Likewise.
25590         (casinh_test): Likewise.
25591         * sysdeps/i386/fpu/libm-test-ulps: Update.
25592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25593
25594 2013-01-31  David S. Miller  <davem@davemloft.net>
25595
25596         * po/de.po: Update from translation team.
25597
25598 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25599
25600         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25601
25602 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25603
25604         * configure.in (_AC_PROG_CC_C89): New definition.
25605         * configure: Regenerate.
25606
25607         * configure.in (AC_PROG_CPP): New definition.
25608         * configure: Regenerate.
25609
25610 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25611
25612         * debug/tst-backtrace.h: New file.
25613         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25614         (ret): Remove variable.
25615         (x): Likewise.
25616         (FAIL): Remove macro.
25617         (NO_INLINE): Likewise.
25618         (fn1): Use match function instead of strstr.
25619         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25620         (ret): Remove variable.
25621         (x): Likewise.
25622         (FAIL): Remove macro.
25623         (NO_INLINE): Likewise.
25624         (fn): Use match function instead of strstr.
25625         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25626         (ret): Remove variable.
25627         (x): Likewise.
25628         (FAIL): Remove macro.
25629         (NO_INLINE): Likewise.
25630         (handle_signal): Use match function instead of strstr.
25631         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25632         (ret): Remove variable.
25633         (x): Likewise.
25634         (FAIL): Remove macro.
25635         (NO_INLINE): Likewise.
25636         (handle_signal): Use match function instead of strstr.
25637
25638 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25639
25640         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25641
25642 2013-01-23  David S. Miller  <davem@davemloft.net>
25643
25644         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25645         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25646         argument of CAS if possible.
25647         * sysdeps/sparc/sparc64/bits/atomic.h
25648         (__arch_compare_and_exchange_val_32_acq): Likewise.
25649         (__arch_compare_and_exchange_val_64_acq): Likewise.
25650
25651 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25652
25653         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25654         * sysdeps/posix/ulimit.c: ... this.
25655         Include <limits.h>.
25656         * sysdeps/unix/bsd/ulimit.c: Remove file.
25657
25658 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25659
25660         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25661         (LDFLAGS-tst-array5): Likewise.
25662
25663 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25664
25665         [BZ #15036]
25666         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25667         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25668         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25669         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25670
25671 2013-01-21  David S. Miller  <davem@davemloft.net>
25672
25673         * sysdeps/sparc/backtrace.c: New file.
25674         * sysdeps/sparc/sparc32/backtrace.h: New file.
25675         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25676         * sysdeps/sparc/sparc64/backtrace.h: New file.
25677         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25678         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25679         -funwind-tables.
25680
25681 2013-01-21  Andreas Schwab  <schwab@suse.de>
25682
25683         [BZ #15020]
25684         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25685         closed its stdout.
25686
25687 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25688
25689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25690         "mpa2.h".
25691         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25692
25693 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25694             Mark Mitchell  <mark@codesourcery.com>
25695             Tom de Vries  <tom@codesourcery.com>
25696             Paul Pluzhnikov  <ppluzhnikov@google.com>
25697
25698         * debug/tst-backtrace2.c: New file.
25699         * debug/tst-backtrace3.c: Likewise.
25700         * debug/tst-backtrace4.c: Likewise.
25701         * debug/tst-backtrace5.c: Likewise.
25702         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25703         (CFLAGS-tst-backtrace3.c): Likewise.
25704         (CFLAGS-tst-backtrace4.c): Likewise.
25705         (CFLAGS-tst-backtrace5.c): Likewise.
25706         (LDFLAGS-tst-backtrace2): Likewise.
25707         (LDFLAGS-tst-backtrace3): Likewise.
25708         (LDFLAGS-tst-backtrace4): Likewise.
25709         (LDFLAGS-tst-backtrace5): Likewise.
25710         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25711         tst-backtrace4 and tst-backtrace5.
25712
25713 2013-01-18  Anton Blanchard  <anton@samba.org>
25714             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25715
25716         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25717         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25718         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25719         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25721         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25722         "+r" and remove output regs list as redundant.  Add explicit inline
25723         asm to specify register of return val to work around compiler codegen
25724         bug.  Remove (int) cast on return value.  Add return type parameter to
25725         use in macro so that this macro does not truncate return value for
25726         64-bit values.
25727         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25728         pass to INTERNAL_VSYSCALL_NCS.
25729         (INLINE_VSYSCALL): Add 'long int' as return type to
25730         INTERNAL_VSYSCALL_NCS macro invocation.
25731         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25732         INTERNAL_VSYSCALL_NCS macro invocation.
25733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25734
25735 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25736
25737         [BZ #14496]
25738         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25739         Fix application of SIMD FP exception mask.
25740
25741         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25742         mp_no from a power of two.
25743         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25744         __mpexp_twomm1.  Use __pow_mp.
25745
25746         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25747         multiplication.
25748
25749 2013-01-17  David S. Miller  <davem@davemloft.net>
25750
25751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25752
25753 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25754
25755         [BZ #15023]
25756         * include/complex.h: Condition contents on [!_COMPLEX_H].
25757         (__kernel_casinhf): New prototype.
25758         (__kernel_casinh): Likewise.
25759         (__kernel_casinhl): Likewise.
25760         * math/Makefile (libm_calls): Add k_casinh.
25761         * math/k_casinh.c: New file.
25762         * math/k_casinhf.c: Likewise.
25763         * math/k_casinhl.c: Likewise.
25764         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25765         finite nonzero arguments.
25766         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25767         finite nonzero arguments.
25768         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25769         finite nonzero arguments.
25770         * math/s_casinh.c: Do not include <float.h>.
25771         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25772         * math/s_casinhf.c: Do not include <float.h>.
25773         (__casinhf): Move code for finite nonzero arguments to
25774         k_casinhf.c.
25775         * math/s_casinhl.c: Do not include <float.h>.
25776         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25777         redefine.
25778         (__casinhl): Move code for finite nonzero arguments to
25779         k_casinhl.c.
25780         * math/libm-test.inc (cacos_test): Add more tests.
25781         * sysdeps/i386/fpu/libm-test-ulps: Update.
25782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25783
25784 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25785
25786         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25787         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25788         [!HAVE_MREMAP]: Remove [defined linux] case.
25789         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25790
25791 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25792
25793         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25794
25795 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25796
25797         * elf/elf.h (R_386_SIZE32): New relocation.
25798         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25799         R_386_SIZE32.
25800         (elf_machine_rela): Likewise.
25801         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25802         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25803
25804 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25805
25806         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25807         (FP_FAST_FMA): Do not define.
25808         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25809         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25810         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25811         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25812         !_SOFT_FLOAT]: Likewise.
25813         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25814         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25815         value.
25816         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25817         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25818         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25819         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25820         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25821         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25822         file.
25823
25824 2013-01-16  Andreas Schwab  <schwab@suse.de>
25825
25826         [BZ #14327]
25827         * include/stdlib.h (__mktemp): Add declaration.
25828         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25829         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25830
25831 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25832
25833         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25834         definitions.
25835         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25836         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25837         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25838         definitions here.
25839         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25840         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25841         definitions.
25842         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25843         and ONE.
25844         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25845         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25846         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25847         definitions.
25848         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25849         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25850         definitions.
25851         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25852
25853         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25854
25855 2013-01-15  David S. Miller  <davem@davemloft.net>
25856
25857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25858         trunc{,f} to libm-sysdep_routes.
25859         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25861         file.
25862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25864         file.
25865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25866         file.
25867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25869         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25870         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25871         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25872         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25873         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25874         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25875
25876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25877         nearbyint{,f} to libm-sysdep_routes.
25878         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25880         New file.
25881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25882         file.
25883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25884         New file.
25885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25886         file.
25887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25889         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25890         file.
25891         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25892         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25893         file.
25894         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25895         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25896         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25897
25898         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25899         libc_feholdexcept and libc_fesetenv.
25900
25901 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25902
25903         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25904
25905 2013-01-14  David S. Miller  <davem@davemloft.net>
25906
25907         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25908         (SPARC_ASM_VIS2_IFUNC): Likewise.
25909         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25911         use of 'siam' instruction.
25912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25913         Likewise.
25914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25915         Likewise.
25916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25917         Likewise.
25918         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25919         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25920         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25921         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25923         file.
25924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25925         file.
25926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25927         file.
25928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25929         file.
25930         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25931         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25932         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25933         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25935         new VIS2 routines.
25936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25939         Likewise.
25940         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25941         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25942         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25943         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25945         routines to libm-sysdep_routines.
25946         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25947
25948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25949         fdim/fdimf to libm-sysdep_routines.
25950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25951         file.
25952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25954         file.
25955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25958         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25959         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25960         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25961         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25962
25963 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25964
25965         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25966         to optimize copies.
25967
25968         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25969         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25970         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25971
25972         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25973         local variable MPTWO.
25974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25975         Likewise.
25976
25977 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25978
25979         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25980         GLOB_NOESCAPE.
25981
25982 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25983
25984         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25985
25986 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25987
25988         * manual/pattern.texi (glob_t): Document gl_flags.
25989         (glob64_t): Likewise.
25990
25991 2013-01-11  David S. Miller  <davem@davemloft.net>
25992
25993         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25994         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25995         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25996         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25997         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25998         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25999         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26000         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26001         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26002         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26003         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26004         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26005         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26006
26007         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26008         sparc V9 rather than using V8 code.
26009         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26010         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26011
26012         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26013         Move to...
26014         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26015         Here.
26016
26017 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26018
26019         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26020         not in the main loop.
26021         * configure: Regenerated.
26022
26023 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26024
26025         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26026         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26027         to just #else.
26028         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26029         [!__GLIBC_HAVE_LONG_LONG] case.
26030         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26031         condition to just #else.
26032         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26033         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26034         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26035         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26036         unconditional.
26037         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26038         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26039         #elif condition to just #else.
26040         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26041         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26042         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26043         #elif condition to just #else.
26044
26045 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26046
26047         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26048         (EF_MIPS_ARCH_64): Fix value.
26049         (EF_MIPS_ARCH_32R2): New.
26050         (EF_MIPS_ARCH_64R2): New.
26051
26052 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26053
26054         * Makeconfig (+link-pie-before-libc): New.
26055         (+link-pie-after-libc): Likewise.
26056         (+link-pie-tests): Likewise.
26057         (+link-pie): Rewritten.
26058         (link-before-libc): Remove $(config-LDFLAGS).
26059         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26060         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26061         (config-LDFLAGS): Renamed to ...
26062         (rtld-LDFLAGS): This.
26063         (rtld-tests-LDFLAGS): New macro.
26064         (link-libc-rpath-link): Likewise.
26065         (link-libc-tests-rpath-link): Likewise.
26066         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26067         (link-libc): Prepand $(link-libc-rpath-link).
26068         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26069         (test-program-prefix): New macro.
26070         (test-via-rtld-prefix): Likewise.
26071         (test-program-cmd): Likewise.
26072         (host-test-program-cmd): Likewise.
26073         * Makefile ($(common-objpfx)testrun.sh): Replace
26074         $(run-program-prefix) with $(test-program-prefix).
26075         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26076         $(rtld-LDFLAGS).
26077         ($(common-objpfx)shlib.lds): Likewise.
26078         (build-module-helper): Likewise.
26079         ($(common-objpfx)format.lds): Likewise.
26080         * Rules (binaries-pie-tests): New.
26081         (binaries-pie-notests): Likewise.
26082         (binaries-pie): Rewritten.
26083         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26084         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26085         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26086         (make-test-out): Replace $(host-built-program-cmd) with
26087         $(host-test-program-cmd).
26088         * config.make.in (build-hardcoded-path-in-tests): New variable.
26089         * configure.in (--enable-hardcoded-path-in-tests): New configure
26090         option.
26091         (hardcoded_path_in_tests): New AC_SUBST.
26092         * configure: Regenerated.
26093         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26094         $(built-program-cmd) with $(test-program-cmd).
26095         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26096         (test_program_cmd): This.
26097         * elf/Makefile ($(objpfx)order.out): Run test with
26098         $(test-program-prefix).
26099         ($(objpfx)order2.out): Likewise.
26100         ($(objpfx)tst-initorder.out): Likewise.
26101         ($(objpfx)tst-initorder2.out): Likewise.
26102         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26103         $(test-program-cmd).
26104         ($(objpfx)tst-array1-static.out): Likewise.
26105         ($(objpfx)tst-array2.out): Likewise.
26106         ($(objpfx)tst-array3.out): Likewise.
26107         ($(objpfx)tst-array4.out): Likewise.
26108         ($(objpfx)tst-array5.out): Likewise.
26109         ($(objpfx)tst-array5-static.out): Likewise.
26110         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26111         $(test-program-cmd).
26112         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26113         $(run-program-prefix) with $(test-program-prefix).
26114         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26115         (test_program_prefix): This.
26116         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26117         $(run-program-prefix) with $(test-program-prefix).
26118         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26119         (test_program_prefix): This.
26120         * iconvdata/tst-tables.sh: Likewise.
26121         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26122         $(run-program-prefix) with $(test-program-prefix).
26123         ($(objpfx)tst-translit.out): Likewise.
26124         ($(objpfx)tst-gettext2.out): Likewise.
26125         ($(objpfx)tst-gettext4.out): Likewise.
26126         ($(objpfx)tst-gettext6.out): Likewise.
26127         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26128         (test_program_prefix): This.
26129         * intl/tst-gettext2.sh: Likewise.
26130         * intl/tst-gettext4.sh  Likewise.
26131         * intl/tst-gettext6.sh: Likewise.
26132         * intl/tst-translit.sh: Likewise.
26133         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26134         with $(test-program-cmd).
26135         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26136         $(run-program-prefix) with $(test-program-prefix).
26137         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26138         (test_program_prefix): This.
26139         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26140         $(run-program-prefix) with $(test-program-prefix).
26141         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26142         (test_program_prefix): This.
26143         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26144         * posix/Makefile ($(objpfx)globtest.out): Replace
26145         $(run-via-rtld-prefix) and $(test-wrapper) with
26146         $(test-program-prefix) and $(test-via-rtld-prefix).
26147         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26148         $(test-program-prefix).
26149         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26150         $(host-test-program-cmd).
26151         (tst-spawn-ARGS): Likewise.
26152         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26153         $(test-program-prefix).
26154         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26155         (test_via_rtld_prefix): This.
26156         (test_wrapper): Renamed to ...
26157         (test_program_prefix): This.
26158         (run_program_prefix): Replaced by test_program_prefix.
26159         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26160         (test_program_prefix): This.
26161         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26162         with $(host-test-program-cmd).
26163         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26164         $(run-program-prefix) with $(test-program-prefix).
26165         ($(objpfx)tst-printf.out): Likewise.
26166         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26167         $(test-program-cmd).
26168         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26169         (test_program_prefix): This.
26170         * stdio-common/tst-unbputc.sh: Likewise.
26171         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26172         $(run-program-prefix) with $(test-program-prefix).
26173         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26174         (test_program_prefix): This.
26175         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26176         $(built-program-cmd) with $(test-program-cmd).
26177
26178 2013-01-11  Andreas Jaeger  <aj@suse.de>
26179
26180         [BZ #15003]
26181         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26182         value. Sync with Linux 3.7.
26183
26184 2013-01-10  David S. Miller  <davem@davemloft.net>
26185
26186         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26187         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26188         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26189
26190 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26191
26192         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26193         never set.
26194         * configure: Regenerated.
26195
26196 2013-01-10  David S. Miller  <davem@davemloft.net>
26197
26198         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26199         sparc V9 rather than using V8 code.
26200         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26201         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26202
26203 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26204
26205         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26206         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26207         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26208         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26209         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26210         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26211         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26212         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26213         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26214         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26215         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26216         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26217         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26218         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26219         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26220         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26221         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26222         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26223         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26224         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26225         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26226         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26227         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26228         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26229         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26230         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26231         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26232
26233 2013-01-10  David S. Miller  <davem@davemloft.net>
26234
26235         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26236
26237 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26238
26239         * posix/Makefile (tests-static): New variable.
26240         (tests): Add $(tests-static).
26241         (tst-exec-static-ARGS): New variable.
26242         (tst-spawn-static-ARGS): Likewise.
26243         * posix/tst-exec-static.c: New file.
26244         * posix/tst-spawn-static.c: Likewise.
26245         * posix/tst-exec.c: Support run directly.
26246         * posix/tst-spawn.c: Likewise.
26247
26248 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26249
26250         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26251         long.
26252         * math/bits/mathcalls.h (llrint): Likewise.
26253         (llround): Likewise.
26254         * stdlib/stdlib.h (struct drand48_data): Likewise.
26255         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26256         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26257         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26258         Likewise.
26259         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26260         Likewise.
26261         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26262         (elf_greg_t): Likewise.
26263         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26264         (__jmp_buf): Likewise.
26265         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26266         definitions.
26267         (llrint): Likewise, for all definitions.
26268         (llrintl): Likewise.
26269
26270         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26271         Remove [__GNUC__] condition.
26272         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26273         condition to just [__USE_ISOC99].
26274         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26275
26276 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26277
26278         [BZ #14200]
26279         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26280         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26281         defined.
26282         (_POSIX_V6_ILP32_OFF32): Likewise.
26283         (_XBS5_ILP32_OFF32): Likewise.
26284         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26285         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26286
26287 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26288
26289         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26290
26291         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26292         doubles __mpexp_twomm1.  Adjust usage.
26293         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26294         Remove.
26295
26296 2013-01-10  Andreas Schwab  <schwab@suse.de>
26297
26298         [BZ #14964]
26299         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26300         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26301
26302 2013-01-09  David S. Miller  <davem@davemloft.net>
26303
26304         [BZ #15003]
26305         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26306         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26307         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26308         (TCP_FASTOPEN): Define.
26309         (tcp_repair_opt): New structure.
26310         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26311         enum values.
26312         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26313         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26314         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26315         (tcp_cookie_transactions): New structure.
26316
26317 2013-01-09  Anton Blanchard  <anton@samba.org>
26318
26319         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26320         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26321         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26322         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26323
26324 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26325
26326         * include/features.h (__USE_ANSI): Remove.
26327
26328 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26329
26330         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26331
26332         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26333
26334 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26335
26336         * sysdeps/s390/fpu/libm-test-ulps: Update.
26337
26338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26339
26340         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26341         (__acr): Likewise.
26342         (__cpy): Likewise.
26343         (norm): Likewise.
26344         (denorm): Likewise.
26345         (__mp_dbl): Likewise.
26346         (__dbl_mp): Likewise.
26347         (add_magnitudes): Likewise.
26348         (sub_magnitudes): Likewise.
26349         (__add): Likewise.
26350         (__sub): Likewise.
26351         (__mul): Likewise.
26352         (__inv): Likewise.
26353         (__dvd): Likewise.
26354         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26355         (__acr): Likewise.
26356         (__cpy): Likewise.
26357         (norm): Likewise.
26358         (denorm): Likewise.
26359         (__mp_dbl): Likewise.
26360         (__dbl_mp): Likewise.
26361         (add_magnitudes): Likewise.
26362         (sub_magnitudes): Likewise.
26363         (__add): Likewise.
26364         (__sub): Likewise.
26365         (__mul): Likewise.
26366         (__inv): Likewise.
26367         (__dvd): Likewise.
26368         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26369         (__acr): Likewise.
26370         (__cpy): Likewise.
26371         (norm): Likewise.
26372         (denorm): Likewise.
26373         (__mp_dbl): Likewise.
26374         (__dbl_mp): Likewise.
26375         (add_magnitudes): Likewise.
26376         (sub_magnitudes): Likewise.
26377         (__add): Likewise.
26378         (__sub): Likewise.
26379         (__mul): Likewise.
26380         (__inv): Likewise.
26381         (__dvd): Likewise.
26382
26383 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26384
26385         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26386         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26387         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26388         2 && __USE_EXTERN_INLINES]: Likewise.
26389
26390 2013-01-08  Andreas Jaeger  <aj@suse.de>
26391
26392         [BZ# 14985]
26393         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26394         Remove.
26395         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26396         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26397
26398 2013-01-07  Anton Blanchard  <anton@samba.org>
26399
26400         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26401         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26402         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26403         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26404         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26405         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26406         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26407         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26409         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26410         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26411         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26412         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26413         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26414         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26415         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26416         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26417         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26418         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26419         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26420         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26421         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26422         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26423         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26424         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26425         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26426         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26427         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26428         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26429         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26430         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26431         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26432         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26433         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26434         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26435         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26436         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26437         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26438         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26439         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26440         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26441         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26442         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26443
26444 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26445
26446         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26447         (__MALLOC_PMT): Likewise.
26448         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26449         [__GNUC__], only on [_LIBC].
26450         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26451         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26452         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26453         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26454         forward declaration.
26455         (realloc_hook_ini): Likewise.
26456         (memalign_hook_ini): Likewise.
26457         (__libc_memalign): Do not use __MALLOC_PMT in variable
26458         declaration.
26459         (__libc_valloc): Likewise.
26460         (__libc_pvalloc): Likewise.
26461         (__libc_calloc): Likewise.
26462         (__posix_memalign): Likewise.
26463
26464         [BZ #14996]
26465         * math/s_casinh.c: Include <float.h>.
26466         (__casinh): Do not do computation with squaring and square root
26467         for large arguments.
26468         * math/s_casinhf.c: Include <float.h>.
26469         (__casinhf): Do not do computation with squaring and square root
26470         for large arguments.
26471         * math/s_casinhl.c: Include <float.h>.
26472         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26473         (__casinhl): Do not do computation with squaring and square root
26474         for large arguments.
26475         * math/libm-test.inc (casin_test): Add more tests.
26476         (casinh_test): Likewise.
26477         * sysdeps/i386/fpu/libm-test-ulps: Update.
26478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26479
26480 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26481
26482         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26483         (__x86_64_raw_data_cache_size): Likewise.
26484         (__x86_64_data_cache_size_half): Likewise.
26485         (__x86_64_raw_data_cache_size_half): Likewise.
26486         (__x86_64_shared_cache_size): Likewise.
26487         (__x86_64_raw_shared_cache_size): Likewise.
26488         (__x86_64_shared_cache_size_half): Likewise.
26489         (__x86_64_raw_shared_cache_size_half): Likewise.
26490         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26491         to ...
26492         (__x86_data_cache_size): This.
26493         (__x86_64_raw_data_cache_size): Renamed to ...
26494         (__x86_raw_data_cache_size): This.
26495         (__x86_64_data_cache_size_half): Renamed to ...
26496         (__x86_data_cache_size_half): This.
26497         (__x86_64_raw_data_cache_size_half): Renamed to ...
26498         (__x86_raw_data_cache_size_half): This.
26499         (__x86_64_shared_cache_size): Renamed to ...
26500         (__x86_shared_cache_size): This.
26501         (__x86_64_raw_shared_cache_size): Renamed to ...
26502         (__x86_raw_shared_cache_size): This.
26503         (__x86_64_shared_cache_size_half): Renamed to ...
26504         (__x86_shared_cache_size_half): This.
26505         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26506         (__x86_raw_shared_cache_size_half): This.
26507         * sysdeps/x86_64/memcpy.S: Updated.
26508         * sysdeps/x86_64/memset.S: Likewise.
26509         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26510         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26511         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26512
26513 2013-01-04  David S. Miller  <davem@davemloft.net>
26514
26515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26516
26517 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26518
26519         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26520         1 to avoid redefinition warning.
26521         (__USE_GNU): Don't define.
26522         (init_signaling_nan): Protoize.
26523
26524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26525
26526 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26527
26528         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26529         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26530         (__cpymn): Likewise.
26531         (norm): Remove commented code.
26532         (denorm): Likewise.
26533         (__mp_dbl): Likewise.
26534         (__inv): Likewise.
26535         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26536         (__cpymn): Likewise.
26537         (norm): Remove commented code.
26538         (denorm): Likewise.
26539         (__mp_dbl): Likewise.
26540         (__inv): Likewise.
26541
26542         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26543         mp_no value for 1.0 and 2.0.
26544         (norm): Use RADIXI instead of radixi.d.
26545         (denorm): Likewise.
26546         (__mul): Use 0.0 instead of zero.d.
26547         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26548         mp_no value for 1.0 and 2.0.
26549         (norm): Use RADIXI instead of radixi.d.
26550         (denorm): Likewise.
26551         (__mul): Use 0.0 instead of zero.d.
26552
26553 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26554
26555         [BZ #14994]
26556         * math/s_casinh.c (__casinh): Reduce finite argument to first
26557         quadrant then set signs of results at the end.
26558         * math/s_casinhf.c (__casinhf): Likewise.
26559         * math/s_casinhl.c (__casinhl): Likewise.
26560         * math/libm-test.inc (casin_test): Add more tests.
26561         (casinh_test): Likewise.
26562         * sysdeps/i386/fpu/libm-test-ulps: Update.
26563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26564
26565 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26566
26567         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26568
26569         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26570
26571         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26572         declarations.
26573         (denorm): Likewise.
26574         (__mp_dbl): Likewise.
26575         (__inv): Likewise.
26576
26577         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26578         and adjust the header comment.
26579
26580         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26581         variable name from declaration.
26582
26583 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26584
26585         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26586         Initialize COMMON_CPUID_INDEX_7 element.
26587         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26588         (CPUID_RTM): Likewise.
26589         (HAS_RTM): Likewise.
26590         (COMMON_CPUID_INDEX_7): New enum.
26591
26592 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26593
26594         [BZ #14981]
26595         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26596         size is zero, record memory as freed.
26597
26598 2013-01-03  Andreas Jaeger  <aj@suse.de>
26599
26600         * po/ia.po: Add new Interlingua translation.
26601
26602 2012-01-03  Allan McRae  <allan@archlinux.org>
26603
26604         * locale/programs/localedef.c: Fix description of '--posix' flag.
26605
26606 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26607
26608         * NEWS: Update dates in second copyright notice.
26609         * README: Update copyright dates in example.
26610         * manual/libc.texinfo: Update copyright dates.
26611         * scripts/test-installation.pl: Update copyright date in --version
26612         output.
26613
26614         * hurd/ctty-input.c: Fix copyright notice formatting.
26615         * hurd/ctty-output.c: Likewise.
26616         * hurd/dtable.c: Likewise.
26617         * hurd/hurd-raise.c: Likewise.
26618         * hurd/hurdprio.c: Likewise.
26619         * hurd/msgportdemux.c: Likewise.
26620         * misc/sys/file.h: Likewise.
26621         * misc/sys/ioctl.h: Likewise.
26622         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26623         * sysdeps/mach/hurd/chdir.c: Likewise.
26624         * sysdeps/mach/hurd/fchdir.c: Likewise.
26625         * sysdeps/mach/hurd/rename.c: Likewise.
26626         * sysdeps/mach/hurd/rmdir.c: Likewise.
26627         * sysdeps/mach/hurd/seekdir.c: Likewise.
26628         * sysdeps/mach/hurd/setsid.c: Likewise.
26629         * sysdeps/posix/wait3.c: Likewise.
26630
26631         * All files with FSF copyright notices: Update copyright dates
26632         using scripts/update-copyrights.
26633         * intl/plural.c: Regenerated.
26634         * locale/programs/charmap-kw.h: Likewise.
26635         * locale/programs/locfile-kw.h: Likewise.
26636
26637 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26638
26639         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26640         four values.
26641
26642         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26643         calculation loop and add branch prediction.
26644
26645         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26646         check access beyond bounds of m1np.
26647
26648         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26649         MPTWO.
26650         (__inv): Remove local variable MPTWO to use the global
26651         constant.
26652         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26653         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26654         variable MPTWO.
26655         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26656         MP3HALFS static const.
26657
26658 2013-01-01  David S. Miller  <davem@davemloft.net>
26659
26660         * po/ca.po: Update from translation team.
26661
26662 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26663
26664         * scripts/update-copyrights: New file.
26665         * Makeconfig: Reformat copyright notice.
26666         * ctype/ctype.h: Likewise.
26667         * debug/swprintf_chk.c: Likewise.
26668         * elf/dl-cache.c: Likewise.
26669         * elf/dl-debug.c: Likewise.
26670         * elf/dl-object.c: Likewise.
26671         * grp/initgroups.c: Likewise.
26672         * hurd/Makefile: Likewise.
26673         * hurd/hurd/signal.h: Likewise.
26674         * hurd/hurdfault.c: Likewise.
26675         * hurd/hurdioctl.c: Likewise.
26676         * hurd/hurdlookup.c: Likewise.
26677         * hurd/intr-msg.c: Likewise.
26678         * iconv/gconv_open.c: Likewise.
26679         * libio/swprintf.c: Likewise.
26680         * locale/lc-ctype.c: Likewise.
26681         * locale/nl_langinfo.c: Likewise.
26682         * mach/Machrules: Likewise.
26683         * mach/Makefile: Likewise.
26684         * malloc/obstack.h: Likewise.
26685         * manual/Makefile: Likewise.
26686         * manual/tsort.awk: Likewise.
26687         * misc/bits/stab.def: Likewise.
26688         * nis/nis_print_group_entry.c: Likewise.
26689         * nis/nis_table.c: Likewise.
26690         * nis/nss_compat/compat-pwd.c: Likewise.
26691         * nis/nss_compat/compat-spwd.c: Likewise.
26692         * po/Makefile: Likewise.
26693         * posix/fnmatch.c: Likewise.
26694         * posix/regex.h: Likewise.
26695         * resolv/Makefile: Likewise.
26696         * resolv/nss_dns/dns-network.c: Likewise.
26697         * resolv/res_hconf.c: Likewise.
26698         * scripts/gen-sorted.awk: Likewise.
26699         * soft-fp/soft-fp.h: Likewise.
26700         * stdio-common/printf.h: Likewise.
26701         * stdlib/monetary.h: Likewise.
26702         * stdlib/random.c: Likewise.
26703         * stdlib/random_r.c: Likewise.
26704         * sysdeps/generic/Makefile: Likewise.
26705         * sysdeps/gnu/Makefile: Likewise.
26706         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26707         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26708         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26709         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26710         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26711         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26712         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26713         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26714         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26715         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26716         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26717         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26718         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26719         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26720         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26721         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26722         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26723         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26724         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26725         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26726         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26727         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26728         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26729         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26730         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26731         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26732         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26733         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26734         * sysdeps/mach/hurd/errnos.awk: Likewise.
26735         * sysdeps/mach/hurd/fork.c: Likewise.
26736         * sysdeps/mach/hurd/getcwd.c: Likewise.
26737         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26738         * sysdeps/mach/hurd/mmap.c: Likewise.
26739         * sysdeps/mach/hurd/utimes.c: Likewise.
26740         * sysdeps/mach/hurd/xmknod.c: Likewise.
26741         * sysdeps/posix/profil.c: Likewise.
26742         * sysdeps/posix/readdir_r.c: Likewise.
26743         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26744         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26745         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26746         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26747         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26748         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26749         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26750         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26751         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26752         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26753         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26754         * sysdeps/pthread/lio_listio.c: Likewise.
26755         * sysdeps/sparc/dl-procinfo.h: Likewise.
26756         * sysdeps/unix/i386/sysdep.S: Likewise.
26757         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26758         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26759         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26760         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26762         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26763         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26764         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26765         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26766         * sysdeps/wordsize-32/divdi3.c: Likewise.
26767         * time/sys/time.h: Likewise.
26768         * wcsmbs/Makefile: Likewise.
26769
26770 2013-01-01  David S. Miller  <davem@davemloft.net>
26771
26772         * po/fr.po: Update from translation team.
26773
26774         * catgets/gencat.c: Update copyright year.
26775         * csu/version.c: Likewise.
26776         * debug/catchsegv.sh: Likewise.
26777         * debug/pcprofiledump.c: Likewise.
26778         * debug/xtrace.sh: Likewise.
26779         * elf/ldconfig.c: Likewise.
26780         * elf/ldd.bash.in: Likewise.
26781         * elf/pldd.c: Likewise.
26782         * elf/sotruss.ksh: Likewise.
26783         * elf/sprof.c: Likewise.
26784         * iconv/iconv_prog.c: Likewise.
26785         * iconv/iconvconfig.c: Likewise.
26786         * locale/programs/locale.c: Likewise.
26787         * locale/programs/localedef.c: Likewise.
26788         * login/programs/pt_chown.c: Likewise.
26789         * malloc/memusage.sh: Likewise.
26790         * malloc/memusagestat.c: Likewise.
26791         * malloc/mtrace.pl: Likewise.
26792         * nscd/nscd.c: Likewise.
26793         * nss/getent.c: Likewise.
26794         * nss/makedb.c: Likewise.
26795         * posix/getconf.c: Likewise.
26796
26797 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26798
26799         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26800         numbers.
26801
26802 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26803
26804         * math/bits/mathcalls.h (modf): Use __nonnull.
26805
26806 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26807
26808         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26809         (split): Use macro CN instead of the bare value.
26810         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26811         could be used.
26812         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26813         instead of the bare value.
26814         (power1): Likewise.
26815
26816 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26817
26818         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26819         __ATAN_TWOM.
26820         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26821
26822         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26823         their values.
26824         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26825         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26826         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26827         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26828
26829 2012-12-28  Andreas Jaeger  <aj@suse.de>
26830
26831         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26832         values are from Linux 3.7.
26833
26834         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26835         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26836
26837 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26838
26839         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26840         TRUE case.
26841
26842         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26843         (norm): Likewise.
26844         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26845         variables with preprocessor constants.
26846         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26847         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26848         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26849
26850 2012-12-27  Bruno Haible  <bruno@clisp.org>
26851
26852         [BZ #14317]
26853         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26854         only if needed.
26855
26856 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26857
26858         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26859         and use variable directly.
26860         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26861
26862         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26863         MPONE.
26864         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26865         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26866         variable MPONE.
26867         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26868         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26869         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26870         include directive.  Remove local variable MPONE.
26871         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26872         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26873         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26874
26875 2012-12-25  David S. Miller  <davem@davemloft.net>
26876
26877         * version.h (RELEASE): Set to "development".
26878         (VERSION): Set to "2.17.90".
26879         * NEWS: Add 2.18 section.
26880
26881 2012-12-21  David S. Miller  <davem@davemloft.net>
26882
26883         * po/hr.po: Update from translation team.
26884
26885 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26886
26887         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26888
26889 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26890
26891         * NEWS:  Mention new memcpy for MIPS.
26892
26893 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26894
26895         * manual/contrib.texi (Contributors): Spelling correction.
26896
26897 2012-12-15  David S. Miller  <davem@davemloft.net>
26898
26899         * po/ru.po: Update from translation team.
26900
26901 2012-12-13  David S. Miller  <davem@davemloft.net>
26902
26903         * NEWS: Mention IFUNC testsuite enhancements.
26904
26905         * po/pl.po: Update from translation team.
26906         * po/bg.po: Likewise.
26907
26908         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26909         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26910
26911 2012-12-11  David S. Miller  <davem@davemloft.net>
26912
26913         * po/sv.po: Update from translation team.
26914
26915         * po/vi.po: Update from translation team.
26916
26917         * po/cs.po: Update from translation team.
26918
26919         * po/de.po: Update from translation team.
26920         * po/eo.po: Likewise.
26921         * po/nl.po: Likewise.
26922
26923 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26924
26925         [BZ #14246]
26926         * manual/argp.texi (Argp Helper Functions): Move node to follow
26927         Argp Parsing State.
26928
26929         [BZ #14872]
26930         * manual/conf.texi (Limits on File System Capacity): Mention if
26931         terminating null is included in the max size.
26932
26933 2012-12-10  Andreas Jaeger  <aj@suse.de>
26934
26935         * po/cs.po: Update from translation team.
26936
26937 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26938
26939         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26940         void pointer and cast to uintptr_t.
26941         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26942         path.
26943         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26944         * sysdeps/s390/s390-64/memset.S: Likewise.
26945
26946 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26947
26948         [BZ #14833]
26949         * menual/message.texi (Message Translation): Fix typos.
26950         (Helper programs for gettext): Likewise.
26951
26952 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26953
26954         [BZ #14898]
26955         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26956         Change to -1.
26957
26958 2012-12-07  David S. Miller  <davem@davemloft.net>
26959
26960         * po/libc.pot: Update.
26961
26962 2012-12-07  Richard Henderson  <rth@redhat.com>
26963
26964         [BZ #10114]
26965         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26966         normal/normal case to before the switch.
26967         (_FP_DIV): Likewise.
26968
26969 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26970             Mike Frysinger  <vapier@gentoo.org>
26971
26972         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26973         check for __NR_fadvise64_64.
26974
26975 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26976
26977         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26978         0, not just to plain "0" as a statement.
26979         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26980         with cw.
26981
26982 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26983
26984         * NEWS: Use sourceware.org in Bugzilla URL.
26985
26986 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26987
26988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26989         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26990
26991         * stdio-common/tst-put-error.c (do_test): Add newline to the
26992         padded test to ensure flush.
26993
26994 2012-12-05  Jeff Law  <law@redhat.com>
26995
26996         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26997
26998 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26999
27000         * README: Don't refer to ports add-on as distributed separately.
27001         Mention AArch64 in list of systems supported in the ports add-on.
27002
27003         * LICENSES: Add more non-FSF copyright and license notices.
27004
27005         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27006         ((unused)).
27007
27008         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27009
27010         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27011         10000 as width of padded output.
27012
27013 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27014
27015         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27016
27017         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27018         variable LX with __attribute__ ((unused)).
27019         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27020         Likewise.
27021         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27022         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27023         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27024         with __attribute__ ((unused)).
27025
27026 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27027
27028         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27029
27030 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27031
27032         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27033         (CFLAGS-nldbl-acos.c): New variable.
27034         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27035         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27036         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27037         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27038         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27039         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27040         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27041         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27042         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27043         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27044         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27045         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27046         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27047         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27048         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27049         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27050         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27051         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27052         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27053         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27054         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27055         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27056         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27057         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27058         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27059         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27060         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27061         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27062         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27063         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27064         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27065         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27066         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27067         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27068         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27069         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27070         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27071         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27072         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27073         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27074         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27075         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27076         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27077         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27078         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27079         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27080         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27081         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27082         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27083         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27084         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27085         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27086         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27087         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27088         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27089         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27090         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27091         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27092         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27093         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27094         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27095         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27096         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27097         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27098         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27099         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27100         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27101         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27102         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27103         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27104         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27105         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27106         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27107         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27108         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27109         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27110         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27111         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27112         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27113         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27114         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27115         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27116         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27117         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27118         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27119         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27120         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27121         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27122         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27123         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27124         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27125         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27126         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27127         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27128         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27129         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27130         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27131
27132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27133         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27134
27135         [BZ #14914]
27136         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27137         whole low double instead of just low 47 bits when splitting values
27138         into two parts.
27139
27140 2012-12-03  Allan McRae  <allan@archlinux.org>
27141
27142         * manual/stdio.texi (Predefined Printf Handlers): Remove
27143         @hsep and @vsep usage.
27144
27145 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27146
27147         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27148         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27149
27150 2012-12-03  Jeff Law  <law@redhat.com>
27151
27152         * time/sys/time.h (settimeofday): Do not mark TV argument
27153         as __nonnull.
27154
27155 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27156
27157         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27158         when currently writing and seek to current position when not.
27159         * libio/Makefile (tests): Remove bug-fclose1.
27160         * libio/bug-fclose1.c: Delete.
27161
27162 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27163
27164         * manual/arith.texi (feenableexcept): Fix typo.
27165         (fedisableexcept): Likewise.
27166
27167 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27168
27169         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27170         second, differently-typed declaration, rather than a cast.
27171
27172 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27173
27174         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27175         * include/rpc/svc.h: ... here.
27176
27177 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27178
27179         [BZ #13013]
27180         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27181         depending n and resplen2 to catch cases where answer
27182         equals answerp2.
27183
27184 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27185
27186         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27187         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27188
27189 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27190
27191         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27192
27193 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27194
27195         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27196
27197 2012-11-28  Jeff Law  <law@redhat.com>
27198
27199         [BZ #13761]
27200         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27201         dataset_temporary.  Track alloca usage into alloca_used.
27202         If dataset is large allocate and release it via malloc/free.
27203
27204 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27205
27206         [BZ #14197]
27207         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27208
27209 2012-11-28  David S. Miller  <davem@davemloft.net>
27210
27211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27212
27213 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27214
27215         [BZ #14803]
27216         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27217         of pi/2 rounded to nearest to 64 bits.
27218         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27219         nearest to 64 bits.
27220         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27221         bits.
27222
27223 2012-11-28  Jeff Law <law@redhat.com>
27224             Martin Osvald <mosvald@redhat.com>
27225
27226         [BZ #14889]
27227         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27228         * sunrpc/svc.c: Include time.h.
27229         (__svc_accept_failed): New function.
27230         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27231         any reason other than EINTR, call __svc_accept_failed.
27232         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27233         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27234
27235 2012-11-28  Andreas Schwab  <schwab@suse.de>
27236
27237         * scripts/abilist.awk: Also handle indirect functions in .opd
27238         section.
27239
27240 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27241
27242         [BZ #13881]
27243         * sysdeps/x86/fpu/powl_helper.c: New file.
27244         * sysdeps/x86/fpu/Makefile: Likewise.
27245         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27246         (p3): New object.
27247         (__ieee754_powl): Use __powl_helper for finite arguments except
27248         integer exponents below 8.
27249         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27250         (p3): New object.
27251         (__ieee754_powl): Use __powl_helper for finite arguments except
27252         integer exponents below 8.
27253         * math/libm-test.inc (pow_test): Add more tests and enable some
27254         previously disabled tests.
27255         * sysdeps/i386/fpu/libm-test-ulps: Update.
27256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27257
27258 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27259             Carlos O'Donell  <carlos_odonell@mentor.com>
27260
27261         * nss/makedb.c (is_prime): Assert that input is odd and greater
27262         than 4.  Note that fact in a comment too.
27263         (next_prime): Add 4 to input.
27264
27265 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27266
27267         [BZ #11741]
27268         * libio/Makefile (tests): Add test case tst-fwrite-error.
27269         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27270         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27271         * libio/tst-fwrite-error.c: New test case.
27272
27273 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27274
27275         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27276         before casting to void *.
27277         * include/libc-internal.h (__pointer_type): New macro.
27278         (__integer_if_pointer_type_sub): Likewise.
27279         (__integer_if_pointer_type): Likewise.
27280         (cast_to_integer): Likewise.
27281         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27282         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27283         before casting to atomic64_t.
27284         (atomic_exchange_acq): Likewise.
27285         (__arch_exchange_and_add_body): Likewise.
27286         (__arch_add_body): Likewise.
27287         (atomic_add_negative): Likewise.
27288         (atomic_add_zero): Likewise.
27289
27290 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27291
27292         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27293         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27294         (add_fdes): Likewise.
27295         (linear_search_fdes): Likewise.
27296         (binary_search_unencoded_fdes): Likewise.
27297
27298 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27299
27300         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27301
27302 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27303
27304         * configure.in: Autodetect C++ header directories.
27305         * configure: Regenerated.
27306
27307 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27308
27309         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27310
27311 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27312
27313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27314
27315 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27316
27317         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27318         LDBL_MANT_DIG == 106]: Disable some tests.
27319         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27320         Likewise.
27321         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27322         Likewise.
27323
27324         [BZ #14871]
27325         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27326         input for small inputs.  Return +/- pi/2 for large inputs.
27327         * math/libm-test.inc (atan_test): Add more tests.
27328
27329         * sysdeps/generic/unwind-dw2-fde-glibc.c
27330         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27331         __attribute__ ((unused)).
27332
27333         [BZ #14645]
27334         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27335         x * y if x and y are nonzero and z is zero.
27336
27337         [BZ #14811]
27338         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27339         nonzero exponents with absolute value below 0x1p-117 to +/-
27340         0x1p-117.
27341
27342         [BZ #14869]
27343         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27344         up arguments below 2**-450, not just those below 2**-500.
27345         * math/libm-test.inc (hypot_test): Add another test.
27346
27347         [BZ #14868]
27348         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27349         Return a+b for ratio over 2**120, not 2**60.
27350         * math/libm-test.inc (hypot_test): Add another test.
27351
27352         * math/libm-test.inc (clog_test): Use
27353         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27354         (clog10_test): Likewise.
27355
27356         [BZ #6778]
27357         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27358
27359 2012-11-22  Andreas Schwab  <schwab@suse.de>
27360
27361         * sysdeps/i386/fpu/libm-test-ulps: Update.
27362
27363 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27364
27365         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27366         printf output with newline.
27367
27368 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27369
27370         [BZ #14865]
27371         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27372         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27373         -z nodlopen, -z initfirst and -z execstack support.
27374         * configure: Regenerated.
27375
27376         * elf/elf.h (DF_1_NODIRECT): New macro.
27377         (DF_1_IGNMULDEF): Likewise.
27378         (DF_1_NOKSYMS): Likewise.
27379         (DF_1_NOHDR): Likewise.
27380         (DF_1_EDITED): Likewise.
27381         (DF_1_NORELOC): Likewise.
27382         (DF_1_SYMINTPOSE): Likewise.
27383         (DF_1_GLOBAUDIT): Likewise.
27384         (DF_1_SINGLETON): Likewise.
27385         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27386         DT_1_SUPPORTED_MASK bits.
27387         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27388
27389 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27390
27391         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27392
27393 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27394
27395         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27396         macro.
27397
27398         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27399         (sendmmsg): Move declarations...
27400         * socket/sys/socket.h: ... here.
27401         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27402         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27403         include it from...
27404         * socket/recvmmsg.c: ... this new file.
27405         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27406         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27407         definition of __sendmmsg hidden.
27408         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27409         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27410         Move ENOSYS stub into and include it from...
27411         * socket/sendmmsg.c: ... this new file.
27412         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27413         (sysdep_routines): Move recvmmsg and sendmmsg...
27414         * socket/Makefile (routines): ... here.
27415         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27416         (GLIBC_PRIVATE): Add __sendmmsg.
27417         * include/sys/socket.h (__sendmmsg): Add declarations.
27418         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27419         sendmmsg.
27420
27421 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27422
27423         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27424         variable I1 with __attribute__ ((unused)).
27425         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27426
27427 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27428
27429         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27430         DUMMY variables with __attribute__ ((unused)).
27431
27432         * bits/byteswap.h: Include <bits/types.h>.
27433         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27434
27435 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27436
27437         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27438         string_t.  Do not manually set errno.
27439         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27440         length with __strnlen.  Make sure to both set errno and return it on
27441         failure.
27442
27443 2012-11-19  David S. Miller  <davem@davemloft.net>
27444
27445         With help from Joseph Myers.
27446         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27447         very large arguments properly.
27448         * math/libm-test.inc (atan_test): New tests.
27449         (atan2_test): New tests.
27450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27452
27453 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27454
27455         [BZ #14856]
27456         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27457         Define to 3.
27458
27459         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27460         [POSIX] (EADDRNOTAVAIL): Likewise.
27461         [POSIX] (EAFNOSUPPORT): Likewise.
27462         [POSIX] (EALREADY): Likewise.
27463         [POSIX] (ECONNABORTED): Likewise.
27464         [POSIX] (ECONNREFUSED): Likewise.
27465         [POSIX] (ECONNRESET): Likewise.
27466         [POSIX] (EDESTADDRREQ): Likewise.
27467         [POSIX] (EDQUOT): Likewise.
27468         [POSIX] (EHOSTUNREACH): Likewise.
27469         [POSIX] (EIDRM): Likewise.
27470         [POSIX] (EISCONN): Likewise.
27471         [POSIX] (ELOOP): Likewise.
27472         [POSIX] (EMULTIHOP): Likewise.
27473         [POSIX] (ENETDOWN): Likewise.
27474         [POSIX] (ENETUNREACH): Likewise.
27475         [POSIX] (ENOBUFS): Likewise.
27476         [POSIX] (ENODATA): Likewise.
27477         [POSIX] (ENOLINK): Likewise.
27478         [POSIX] (ENOMSG): Likewise.
27479         [POSIX] (ENOPROTOOPT): Likewise.
27480         [POSIX] (ENOSR): Likewise.
27481         [POSIX] (ENOSTR): Likewise.
27482         [POSIX] (ENOTCONN): Likewise.
27483         [POSIX] (ENOTSOCK): Likewise.
27484         [POSIX] (EOPNOTSUPP): Likewise.
27485         [POSIX] (EOVERFLOW): Likewise.
27486         [POSIX] (EPROTO): Likewise.
27487         [POSIX] (EPROTONOSUPPORT): Likewise.
27488         [POSIX] (EPROTOTYPE): Likewise.
27489         [POSIX] (ESTALE): Likewise.
27490         [POSIX] (ETIME): Likewise.
27491         [POSIX] (ETXTBSY): Likewise.
27492         [POSIX] (EWOULDBLOCK): Likewise.
27493         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27494         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27495         [POSIX] (SEEK_CUR): Likewise.
27496         [POSIX] (SEEK_END): Likewise.
27497         [POSIX || UNIX98] (mode_t): Do not require.
27498         [POSIX] (off_t): Likewise.
27499         [POSIX] (pid_t): Likewise.
27500         [POSIX] (sys/stat.h): Do not allow header.
27501         [POSIX] (unistd.h): Likewise.
27502         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27503         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27504         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27505         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27506         require.
27507         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27508         sigevent): Specify elements.
27509         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27510         entry.
27511         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27512         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27513
27514         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27515         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27516         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27517         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27518         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27519         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27520         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27521         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27522         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27523         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27524         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27525         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27526         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27527         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27528         Likewise.
27529         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27530         Likewise.
27531         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27532         Likewise.
27533         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27534         Likewise.
27535         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27536         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27537         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27538         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27539         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27540         Specify lower bound on value.
27541         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27542         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27543         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27544         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27545         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27546         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27547         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27548         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27549         value.
27550         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27551         as optional.
27552         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27553         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27554         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27555         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27556         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27557         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27558         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27559         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27560         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27561         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27562         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27563         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27564         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27565         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27566         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27567         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27568         entry.
27569         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27570         optional.
27571         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27572         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27573         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27574         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27575         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27576         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27577         Likewise.
27578         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27579         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27580         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27581         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27582         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27583         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27584         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27585         as optional.
27586         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27587         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27588         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27589         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27590         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27591         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27592         specify as optional.
27593         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27594         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27595         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27596         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27597         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27598         [XPG3] (NL_LANGMAX): Likewise.
27599         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27600         [POSIX || XPG3] (NL_NMAX): Likewise.
27601         [POSIX || XPG3] (NL_SETMAX): Likewise.
27602         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27603         [XPG3] (NZERO): Likewise.
27604         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27605         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27606         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27607         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27608         (REG_ERANGE): Expect.
27609         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27610         optional-constant.
27611         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27612         Use (void) in prototype.
27613         [POSIX] (*_t): Allow.
27614         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27615         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27616         (WRDE_BADVAL): Expect.
27617
27618         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27619         expect.
27620         [XPG3 || XPG4] (O_RSYNC): Likewise.
27621         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27622         Likewise.
27623         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27624         [XPG3 || XPG4] (sigqueue): Likewise.
27625         [XPG3 || XPG4] (sigtimedwait): Likewise.
27626         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27627         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27628         [XPG3 || XPG4] (vsnprintf): Likewise.
27629         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27630         Likewise.
27631         [XPG3 || XPG4] (blksize_t): Likewise.
27632         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27633         Likewise.
27634         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27635         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27636         [XPG3 || XPG4] (struct itimerspec): Likewise.
27637         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27638         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27639         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27640         [XPG3 || XPG4] (clockid_t): Likewise.
27641         [XPG3 || XPG4] (timer_t): Likewise.
27642         [XPG3 || XPG4] (clock_getres): Likewise.
27643         [XPG3 || XPG4] (clock_gettime): Likewise.
27644         [XPG3 || XPG4] (clock_settime): Likewise.
27645         [XPG3 || XPG4] (nanosleep): Likewise.
27646         [XPG3 || XPG4] (timer_create): Likewise.
27647         [XPG3 || XPG4] (timer_delete): Likewise.
27648         [XPG3 || XPG4] (timer_gettime): Likewise.
27649         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27650         [XPG3 || XPG4] (timer_settime): Likewise.
27651         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27652         [XPG3 || XPG4] (getlogin_r): Likewise.
27653         [XPG3 || XPG4] (pread): Likewise.
27654         [XPG3 || XPG4] (pthread_atfork): Likewise.
27655         [XPG3 || XPG4] (pwrite): Likewise.
27656
27657         [BZ #14835]
27658         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27659         <bits/siginfo.h>.
27660
27661 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27662
27663         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27664         finalizing MALLSTREAM.
27665
27666         * sysdeps/mach/hurd/syncfs.c: New file.
27667
27668 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27669
27670         [BZ #14719]
27671         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27672         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27673         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27674         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27675         (_nss_dns_gethostbyname4_r): Likewise.
27676         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27677         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27678
27679 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27680
27681         [BZ #13763]
27682         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27683
27684 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27685
27686         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27687         * elf/cache.c (print_entry): Print ",AArch64" for
27688         FLAG_AARCH64_LIB64
27689
27690         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27691         * elf/cache.c (print_entry): Print ",hard-float" for
27692         FLAG_ARM_LIBHF.
27693
27694 2012-11-18  David S. Miller  <davem@davemloft.net>
27695
27696         With help from Joseph Myers.
27697         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27698         cutoff to 2**-13.
27699         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27700         cutoff to 2**-25.
27701         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27702         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27703         small.
27704         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27705         * math/libm-test.inc (y0_test): New tests.
27706         (y1_test): New tests.
27707         * sysdeps/i386/fpu/libm-test-ulps: Update.
27708         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27709         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27710
27711 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27712
27713         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27714         64-bit targets.
27715         * configure: Regenerated.
27716
27717 2012-11-17  David S. Miller  <davem@davemloft.net>
27718
27719         [BZ #14811]
27720         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27721         nonzero exponents with absolute value below 0x1p-128 to +/-
27722         0x1p-128.
27723
27724 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27725
27726         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27727
27728         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27729
27730         * posix/getconf-speclist.c: New file.
27731         * posix/posix-envs.def: Likewise.
27732         * posix/confstr.c (START_ENV_GROUP): New macro.
27733         (END_ENV_GROUP): Likewise.
27734         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27735         (KNOWN_PRESENT_ENV_STRING): Likewise.
27736         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27737         (UNKNOWN_ENVIRONMENT): Likewise.
27738         (confstr): Include posix-envs.def instead of handling
27739         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27740         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27741         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27742         (END_ENV_GROUP): Likewise.
27743         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27744         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27745         (UNKNOWN_ENVIRONMENT): Likewise.
27746         (__sysconf): Include posix-envs.def instead of handling associated
27747         cases directly here.
27748         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27749         preprocessing getconf-speclist.c rather than running getconf or
27750         generating empty file.
27751
27752 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27753
27754         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27755
27756 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27757
27758         [BZ #14672]
27759         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27760
27761 2012-11-16  David S. Miller  <davem@davemloft.net>
27762
27763         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27764         smaller than LDBL_EPSILON/2.0L, just return xm1.
27765
27766 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27767
27768         * elf/tst-array1.c (init): Set constructor priority to 1000.
27769         (fini): Set destructor priority to 1000.
27770         * elf/tst-array2dep.c: Likewise.
27771
27772 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27773
27774         [BZ #11741]
27775         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27776         (_IO_new_file_xsputn): Also return EOF if none of the input
27777         data was written when overflow failed.
27778         * libio/iopadn.c (_IO_padn): Likewise.
27779         * libio/iowpadn.c (_IO_wpadn): Likewise.
27780         * stdio-common/tst-put-error.c: Add copyright notice.
27781         (do_test): Add case for printing padded string.
27782         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27783         _IO_padn returned error.
27784         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27785         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27786         return EOF.
27787
27788 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27789
27790         * libio/libioP.h: Add comment note that the references to C++
27791         bits are now obsolete.
27792
27793 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27794
27795         * math/libm-test.inc (check_complex): Use asprintf.
27796
27797 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27798
27799         * debug/pcprofiledump.c (print_version): Update copyright year.
27800         * malloc/memusagestat.c (print_version): Likewise.
27801
27802 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27803
27804         [BZ #14831]
27805         * elf/Makefile (tests): Add tst-audit8.
27806         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27807         ($(objpfx)tst-audit8.out): New target.
27808         (tst-audit8-ENV): New variable.
27809         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27810         audit if l_reloc_result is NULL.
27811         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27812         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27813         * elf/tst-audit8.c: New file.
27814
27815 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27816
27817         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27818         * misc/Makefile (CFLAGS-select.c): Define.
27819         * posix/Makefile (CFLAGS-pause.c): Define.
27820
27821 2012-11-13  David S. Miller  <davem@davemloft.net>
27822
27823         * crypt/Makefile: Move test targets after toplevel Rules
27824         inclusion.  Grab any necessary sysdep routines when linking.
27825         * crypt/md5.c (md5_process_block): Remove define, we will always
27826         name it __md5_process_block.
27827         (md5_finish_ctx): Update md5_process_block call.
27828         (md5_stream): Likewise.
27829         (md5_process_bytes): Likewise.
27830         (md5_process_block): Rename to __md5_process_block and move to ...
27831         * crypt/md5-block.c: ... here.
27832         * crypt/sha256.c (sha256_process_block): Move to ...
27833         * crypt/sha256-block.c: ... here.
27834         * crypt/sha512.c (sha512_process_block): Move to ...
27835         * crypt/sha512-block.c: ... here.
27836         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27837         path.
27838         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27839         * sysdeps/sparc/sparc64/multiarch/Makefile
27840         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27841         crypt subdir.
27842         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27843         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27844         multiarch changes.
27845         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27846         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27847         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27848         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27849         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27850         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27851         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27852         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27853         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27854         file.
27855         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27856         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27857         file.
27858         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27859
27860 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27861
27862         * timezone/tzselect.ksh: Update from tzcode git revision
27863         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27864         * timezone/zdump.c: Likewise.
27865         * timezone/zic.c: Likewise.
27866         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27867         in TZVERSION setting, not $(PKGVERSION).
27868         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27869         REPORT_BUGS_TO settings.
27870
27871         [BZ #14838]
27872         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27873         macro.
27874
27875 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27876
27877         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27878         detection to immediately after _FP_ROUND().
27879         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27880         bits are 0.
27881
27882 2012-11-11  David S. Miller  <davem@davemloft.net>
27883
27884         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27885         inttypes.h
27886         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27887         __close rather than their public counterparts.
27888
27889 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27890
27891         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27892         file.
27893         [UNIX98] (sem_timedwait): Do not expect.
27894         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27895         [XPG4 || UNIX98] (sockatmark): Do not expect.
27896         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27897         (clock_getcpuclockid): Do not expect.
27898         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27899         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27900         Do not expect.
27901         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27902         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27903         [UNIX98] (vwscanf): Likewise.
27904         [UNIX98] (vswscanf): Likewise.
27905
27906 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27907
27908         * timezone/version.h: Remove file.
27909         * timezone/README: Do not refer to version.h.
27910         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27911         $(objpfx)version.h.
27912         ($(objpfx)zdump.o): Likewise.
27913         ($(objpfx)version.h): New target.
27914
27915         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27916         2012i.
27917         * timezone/README: Don't mention modification to tzselect.ksh.
27918         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27919         work on unmodified tzselect.ksh.  Substitute version numbers in
27920         tzselect.ksh.
27921
27922         * Makefile (format-me): Remove.
27923         (INSTALL): Adjust indentation.  Use commands directly instead of
27924         using $(format-me).
27925
27926         * aclocal.m4 (ACX_PKGVERSION): New macro.
27927         (ACX_BUGURL): Likewise.
27928         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27929         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27930         (REPORT_BUGS_TO): Likewise.
27931         * configure: Regenerated.
27932         * config.h.in (PKGVERSION): New macro.
27933         (REPORT_BUGS_TO): Likewise.
27934         * config.make.in (PKGVERSION): New variable.
27935         (PKGVERSION_TEXI): Likewise.
27936         (REPORT_BUGS_TO): Likewise.
27937         (REPORT_BUGS_TEXI): Likewise.
27938         * Makefile (format-me): Use -I$(common-objpfx)manual.
27939         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27940         ($(common-objpfx)manual/%): New target.
27941         (manual/%): Remove target.
27942         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27943         (print_version): Use PKGVERSION.
27944         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27945         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27946         and REPORT_BUGS_TO.
27947         ($(objpfx)xtrace): Likewise.
27948         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27949         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27950         (print_version): Use PKGVERSION.
27951         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27952         (do_version): Use PKGVERSION.
27953         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27954         REPORT_BUGS_TO.
27955         (common-ldd-rewrite): Likewise.
27956         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27957         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27958         (print_version): Use PKGVERSION.
27959         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27960         * elf/pldd.c (argp_program_bug_address): Remove variable.
27961         (more_help): New function.
27962         (argp): Use more_help.
27963         (print_version): Use PKGVERSION.
27964         * elf/sln.c (main): Use PKGVERSION.
27965         (usage): Use REPORT_BUGS_TO.
27966         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27967         (top level): Use PKGVERSION.
27968         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27969         (print_version): Use PKGVERSION.
27970         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27971         (print_version): Use PKGVERSION.
27972         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27973         (print_version): Use PKGVERSION.
27974         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27975         (print_version): Use PKGVERSION.
27976         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27977         (print_version): Use PKGVERSION.
27978         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27979         (print_version): Use PKGVERSION.
27980         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27981         and BUGURL.
27982         ($(objpfx)memusage): Likewise.
27983         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27984         (do_version): Use PKGVERSION.
27985         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27986         (print_version): Use PKGVERSION.
27987         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27988         ($PKGVERSION): New variable.
27989         ($REPORT_BUGS_TO): Likewise.
27990         (usage): Use $REPORT_BUGS_TO.
27991         (top level): Use $PKGVERSION.
27992         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27993         ($(objpfx)pkgvers.texi): New rule.
27994         ($(objpfx)stamp-pkgvers): Likewise.
27995         * manual/install.texi: Include pkgvers.texi.
27996         (--with-pkgversion): Document new configure option.
27997         (--with-bugurl): Likewise.
27998         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27999         than necessarily for this particular distribution.  Use
28000         REPORT_BUGS_TO for where to report bugs.
28001         * INSTALL: Regenerated.
28002         * manual/libc.texinfo: Include pkgvers.texi.
28003         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28004         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28005         (print_version): Use PKGVERSION.
28006         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28007         (print_version): Use PKGVERSION.
28008         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28009         (print_version): Use PKGVERSION.
28010         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28011         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28012         macro.
28013         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28014         (print_version): Use PKGVERSION.
28015         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28016         (print_version): Use PKGVERSION.
28017         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28018         and PKGVERSION.
28019
28020         * timezone/checktab.awk: Update from tzcode 2012i.
28021         * timezone/ialloc.c: Likewise.
28022         * timezone/private.h: Likewise.
28023         * timezone/scheck.c: Likewise.
28024         * timezone/tzfile.h: Likewise.
28025         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28026         (TZVERSION): Hardcode tzcode version number.
28027         * timezone/zdump.c: Update from tzcode 2012i.
28028         * timezone/zic.c: Likewise.
28029         * timezone/version.h: New file.
28030         * timezone/README: Describe version.h.  Update upstream location.
28031
28032         [BZ #14824]
28033         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28034         (mktemp): Enable declaration.
28035         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28036         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28037         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28038         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28039         Likewise.
28040         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28041         Likewise.
28042         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28043         Likewise.
28044         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28045         Likewise.
28046         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28047         Likewise.
28048         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28049         Likewise.
28050
28051         [BZ #14821]
28052         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28053         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28054         for copies of such integer values.
28055         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28056         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28057
28058 2012-11-09  Andreas Jaeger  <aj@suse.de>
28059
28060         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28061         definitions and declarations that are provided by
28062         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28063
28064 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28065
28066         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28067         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28068         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28069         definition.
28070
28071 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28072
28073         * elf/elf.h: Update comment before AArch64 relocations.
28074
28075 2012-11-07  David S. Miller  <davem@davemloft.net>
28076
28077         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28078         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28079         (__start_context): Declare.
28080         (__makecontext_ret): Delete.
28081         (__makecontext): Hook up __start_context instead of
28082         __makecontext_ret.
28083         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28084         (sysdep_routines): Add __start_context when in stdlib.
28085
28086 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28087
28088         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28089         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28090         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28091         hardcoded "nm".
28092         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28093         (READELF): New variable.  Use it instead of hardcoded "readelf".
28094
28095 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28096
28097         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28098         * sysdeps/x86/Makefile: Here.
28099         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28100         * sysdeps/x86/tst-xmmymm.sh: This.
28101
28102 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28103
28104         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28105         expectations.
28106         [UNIX98] (pthread_barrier_t): Do not expect.
28107         [UNIX98] (pthread_barrierattr_t): Likewise.
28108         [UNIX98] (pthread_spinlock_t): Likewise.
28109         [UNIX98] (pthread_barrier_destroy): Likewise.
28110         [UNIX98] (pthread_barrier_init): Likewise.
28111         [UNIX98] (pthread_barrier_wait): Likewise.
28112         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28113         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28114         [UNIX98] (pthread_barrierattr_init): Likewise.
28115         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28116         [UNIX98] (pthread_getcpuclockid): Likewise.
28117         [UNIX98] (pthread_mutex_timedlock): Likewise.
28118         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28119         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28120         [UNIX98] (pthread_sigmask): Likewise.
28121         [UNIX98] (pthread_spin_destroy): Likewise.
28122         [UNIX98] (pthread_spin_init): Likewise.
28123         [UNIX98] (pthread_spin_lock): Likewise.
28124         [UNIX98] (pthread_spin_trylock): Likewise.
28125         [UNIX98] (pthread_spin_unlock): Likewise.
28126         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28127         Do not expect.
28128         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28129         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28130         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28131         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28132         [XPG3 || XPG4] (pthread_key_t): Likewise.
28133         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28134         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28135         [XPG3 || XPG4] (pthread_once_t): Likewise.
28136         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28137         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28138         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28139         [XPG3 || XPG4] (pthread_t): Likewise.
28140
28141         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28142         not expect.
28143         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28144
28145         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28146         Change function return type to int.
28147
28148         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28149         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28150         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28151         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28152         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28153         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28154         [!POSIX] (posix_madvise): Likewise.
28155         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28156         && !UNIX98].
28157         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28158         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28159         (mode_t): Likewise.
28160         (posix_mem_offset): Likewise.
28161         (posix_typed_mem_get_info): Likewise.
28162         (posix_typed_mem_open): Likewise.
28163
28164         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28165         Change condition to [XOPEN2K8].
28166
28167         * conform/conformtest.pl: Preprocess allow-header data with -x c
28168         instead of from stdin.
28169         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28170         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28171         [C99-based standards] (cerfc): Likewise.
28172         [C99-based standards] (cexp2): Likewise.
28173         [C99-based standards] (cexpm1): Likewise.
28174         [C99-based standards] (clog10): Likewise.
28175         [C99-based standards] (clog1p): Likewise.
28176         [C99-based standards] (clog2): Likewise.
28177         [C99-based standards] (clgamma): Likewise.
28178         [C99-based standards] (ctgamma): Likewise.
28179         [C99-based standards] (cerff): Likewise.
28180         [C99-based standards] (cerfcf): Likewise.
28181         [C99-based standards] (cexp2f): Likewise.
28182         [C99-based standards] (cexpm1f): Likewise.
28183         [C99-based standards] (clog10f): Likewise.
28184         [C99-based standards] (clog1pf): Likewise.
28185         [C99-based standards] (clog2f): Likewise.
28186         [C99-based standards] (clgammaf): Likewise.
28187         [C99-based standards] (ctgammaf): Likewise.
28188         [C99-based standards] (cerfl): Likewise.
28189         [C99-based standards] (cerfcl): Likewise.
28190         [C99-based standards] (cexp2l): Likewise.
28191         [C99-based standards] (cexpm1l): Likewise.
28192         [C99-based standards] (clog10l): Likewise.
28193         [C99-based standards] (clog1pl): Likewise.
28194         [C99-based standards] (clog2l): Likewise.
28195         [C99-based standards] (clgammal): Likewise.
28196         [C99-based standards] (ctgammal): Likewise.
28197         * conform/data/inttypes.h-data [C99-based standards]: Include
28198         stdint.h-data.  Remove all expectations for stdint.h contents.
28199         [C99-based standards] (PRI*): Do not allow.
28200         [C99-based standards] (SCN*): Likewise.
28201         [C99-based standards] (*_t): Likewise.
28202         [C99-based-standards] (PRId8): Expect macro.
28203         [C99-based-standards] (PRIi8): Likewise.
28204         [C99-based-standards] (PRIo8): Likewise.
28205         [C99-based-standards] (PRIu8): Likewise.
28206         [C99-based-standards] (PRIx8): Likewise.
28207         [C99-based-standards] (PRIX8): Likewise.
28208         [C99-based-standards] (SCNd8): Likewise.
28209         [C99-based-standards] (SCNi8): Likewise.
28210         [C99-based-standards] (SCNo8): Likewise.
28211         [C99-based-standards] (SCNu8): Likewise.
28212         [C99-based-standards] (SCNx8): Likewise.
28213         [C99-based-standards] (PRIdLEAST8): Likewise.
28214         [C99-based-standards] (PRIiLEAST8): Likewise.
28215         [C99-based-standards] (PRIoLEAST8): Likewise.
28216         [C99-based-standards] (PRIuLEAST8): Likewise.
28217         [C99-based-standards] (PRIxLEAST8): Likewise.
28218         [C99-based-standards] (PRIXLEAST8): Likewise.
28219         [C99-based-standards] (SCNdLEAST8): Likewise.
28220         [C99-based-standards] (SCNiLEAST8): Likewise.
28221         [C99-based-standards] (SCNoLEAST8): Likewise.
28222         [C99-based-standards] (SCNuLEAST8): Likewise.
28223         [C99-based-standards] (SCNxLEAST8): Likewise.
28224         [C99-based-standards] (PRIdFAST8): Likewise.
28225         [C99-based-standards] (PRIiFAST8): Likewise.
28226         [C99-based-standards] (PRIoFAST8): Likewise.
28227         [C99-based-standards] (PRIuFAST8): Likewise.
28228         [C99-based-standards] (PRIxFAST8): Likewise.
28229         [C99-based-standards] (PRIXFAST8): Likewise.
28230         [C99-based-standards] (SCNdFAST8): Likewise.
28231         [C99-based-standards] (SCNiFAST8): Likewise.
28232         [C99-based-standards] (SCNoFAST8): Likewise.
28233         [C99-based-standards] (SCNuFAST8): Likewise.
28234         [C99-based-standards] (SCNxFAST8): Likewise.
28235         [C99-based-standards] (PRId16): Likewise.
28236         [C99-based-standards] (PRIi16): Likewise.
28237         [C99-based-standards] (PRIo16): Likewise.
28238         [C99-based-standards] (PRIu16): Likewise.
28239         [C99-based-standards] (PRIx16): Likewise.
28240         [C99-based-standards] (PRIX16): Likewise.
28241         [C99-based-standards] (SCNd16): Likewise.
28242         [C99-based-standards] (SCNi16): Likewise.
28243         [C99-based-standards] (SCNo16): Likewise.
28244         [C99-based-standards] (SCNu16): Likewise.
28245         [C99-based-standards] (SCNx16): Likewise.
28246         [C99-based-standards] (PRIdLEAST16): Likewise.
28247         [C99-based-standards] (PRIiLEAST16): Likewise.
28248         [C99-based-standards] (PRIoLEAST16): Likewise.
28249         [C99-based-standards] (PRIuLEAST16): Likewise.
28250         [C99-based-standards] (PRIxLEAST16): Likewise.
28251         [C99-based-standards] (PRIXLEAST16): Likewise.
28252         [C99-based-standards] (SCNdLEAST16): Likewise.
28253         [C99-based-standards] (SCNiLEAST16): Likewise.
28254         [C99-based-standards] (SCNoLEAST16): Likewise.
28255         [C99-based-standards] (SCNuLEAST16): Likewise.
28256         [C99-based-standards] (SCNxLEAST16): Likewise.
28257         [C99-based-standards] (PRIdFAST16): Likewise.
28258         [C99-based-standards] (PRIiFAST16): Likewise.
28259         [C99-based-standards] (PRIoFAST16): Likewise.
28260         [C99-based-standards] (PRIuFAST16): Likewise.
28261         [C99-based-standards] (PRIxFAST16): Likewise.
28262         [C99-based-standards] (PRIXFAST16): Likewise.
28263         [C99-based-standards] (SCNdFAST16): Likewise.
28264         [C99-based-standards] (SCNiFAST16): Likewise.
28265         [C99-based-standards] (SCNoFAST16): Likewise.
28266         [C99-based-standards] (SCNuFAST16): Likewise.
28267         [C99-based-standards] (SCNxFAST16): Likewise.
28268         [C99-based-standards] (PRId32): Likewise.
28269         [C99-based-standards] (PRIi32): Likewise.
28270         [C99-based-standards] (PRIo32): Likewise.
28271         [C99-based-standards] (PRIu32): Likewise.
28272         [C99-based-standards] (PRIx32): Likewise.
28273         [C99-based-standards] (PRIX32): Likewise.
28274         [C99-based-standards] (SCNd32): Likewise.
28275         [C99-based-standards] (SCNi32): Likewise.
28276         [C99-based-standards] (SCNo32): Likewise.
28277         [C99-based-standards] (SCNu32): Likewise.
28278         [C99-based-standards] (SCNx32): Likewise.
28279         [C99-based-standards] (PRIdLEAST32): Likewise.
28280         [C99-based-standards] (PRIiLEAST32): Likewise.
28281         [C99-based-standards] (PRIoLEAST32): Likewise.
28282         [C99-based-standards] (PRIuLEAST32): Likewise.
28283         [C99-based-standards] (PRIxLEAST32): Likewise.
28284         [C99-based-standards] (PRIXLEAST32): Likewise.
28285         [C99-based-standards] (SCNdLEAST32): Likewise.
28286         [C99-based-standards] (SCNiLEAST32): Likewise.
28287         [C99-based-standards] (SCNoLEAST32): Likewise.
28288         [C99-based-standards] (SCNuLEAST32): Likewise.
28289         [C99-based-standards] (SCNxLEAST32): Likewise.
28290         [C99-based-standards] (PRIdFAST32): Likewise.
28291         [C99-based-standards] (PRIiFAST32): Likewise.
28292         [C99-based-standards] (PRIoFAST32): Likewise.
28293         [C99-based-standards] (PRIuFAST32): Likewise.
28294         [C99-based-standards] (PRIxFAST32): Likewise.
28295         [C99-based-standards] (PRIXFAST32): Likewise.
28296         [C99-based-standards] (SCNdFAST32): Likewise.
28297         [C99-based-standards] (SCNiFAST32): Likewise.
28298         [C99-based-standards] (SCNoFAST32): Likewise.
28299         [C99-based-standards] (SCNuFAST32): Likewise.
28300         [C99-based-standards] (SCNxFAST32): Likewise.
28301         [C99-based-standards] (PRId64): Likewise.
28302         [C99-based-standards] (PRIi64): Likewise.
28303         [C99-based-standards] (PRIo64): Likewise.
28304         [C99-based-standards] (PRIu64): Likewise.
28305         [C99-based-standards] (PRIx64): Likewise.
28306         [C99-based-standards] (PRIX64): Likewise.
28307         [C99-based-standards] (SCNd64): Likewise.
28308         [C99-based-standards] (SCNi64): Likewise.
28309         [C99-based-standards] (SCNo64): Likewise.
28310         [C99-based-standards] (SCNu64): Likewise.
28311         [C99-based-standards] (SCNx64): Likewise.
28312         [C99-based-standards] (PRIdLEAST64): Likewise.
28313         [C99-based-standards] (PRIiLEAST64): Likewise.
28314         [C99-based-standards] (PRIoLEAST64): Likewise.
28315         [C99-based-standards] (PRIuLEAST64): Likewise.
28316         [C99-based-standards] (PRIxLEAST64): Likewise.
28317         [C99-based-standards] (PRIXLEAST64): Likewise.
28318         [C99-based-standards] (SCNdLEAST64): Likewise.
28319         [C99-based-standards] (SCNiLEAST64): Likewise.
28320         [C99-based-standards] (SCNoLEAST64): Likewise.
28321         [C99-based-standards] (SCNuLEAST64): Likewise.
28322         [C99-based-standards] (SCNxLEAST64): Likewise.
28323         [C99-based-standards] (PRIdFAST64): Likewise.
28324         [C99-based-standards] (PRIiFAST64): Likewise.
28325         [C99-based-standards] (PRIoFAST64): Likewise.
28326         [C99-based-standards] (PRIuFAST64): Likewise.
28327         [C99-based-standards] (PRIxFAST64): Likewise.
28328         [C99-based-standards] (PRIXFAST64): Likewise.
28329         [C99-based-standards] (SCNdFAST64): Likewise.
28330         [C99-based-standards] (SCNiFAST64): Likewise.
28331         [C99-based-standards] (SCNoFAST64): Likewise.
28332         [C99-based-standards] (SCNuFAST64): Likewise.
28333         [C99-based-standards] (SCNxFAST64): Likewise.
28334         [C99-based-standards] (PRIdMAX): Likewise.
28335         [C99-based-standards] (PRIiMAX): Likewise.
28336         [C99-based-standards] (PRIoMAX): Likewise.
28337         [C99-based-standards] (PRIuMAX): Likewise.
28338         [C99-based-standards] (PRIxMAX): Likewise.
28339         [C99-based-standards] (PRIXMAX): Likewise.
28340         [C99-based-standards] (SCNdMAX): Likewise.
28341         [C99-based-standards] (SCNiMAX): Likewise.
28342         [C99-based-standards] (SCNoMAX): Likewise.
28343         [C99-based-standards] (SCNuMAX): Likewise.
28344         [C99-based-standards] (SCNxMAX): Likewise.
28345         [C99-based-standards] (PRIdPTR): Likewise.
28346         [C99-based-standards] (PRIiPTR): Likewise.
28347         [C99-based-standards] (PRIoPTR): Likewise.
28348         [C99-based-standards] (PRIuPTR): Likewise.
28349         [C99-based-standards] (PRIxPTR): Likewise.
28350         [C99-based-standards] (PRIXPTR): Likewise.
28351         [C99-based-standards] (SCNdPTR): Likewise.
28352         [C99-based-standards] (SCNiPTR): Likewise.
28353         [C99-based-standards] (SCNoPTR): Likewise.
28354         [C99-based-standards] (SCNuPTR): Likewise.
28355         [C99-based-standards] (SCNxPTR): Likewise.
28356         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28357         allow.
28358         * conform/data/stdint.h-data: Update comments to clarify
28359         requirements.
28360         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28361         type.
28362         [C99-based standards] (INT8_MAX): Likewise.
28363         [C99-based standards] (INT16_MIN): Likewise.
28364         [C99-based standards] (INT16_MAX): Likewise.
28365         [C99-based standards] (INT32_MIN): Likewise.
28366         [C99-based standards] (INT32_MAX): Likewise.
28367         [C99-based standards] (INT64_MIN): Likewise.
28368         [C99-based standards] (INT64_MAX): Likewise.
28369         [C99-based standards] (UINT8_MAX): Likewise.
28370         [C99-based standards] (UINT16_MAX): Likewise.
28371         [C99-based standards] (UINT32_MAX): Likewise.
28372         [C99-based standards] (UINT64_MAX): Likewise.
28373         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28374         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28375         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28376         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28377         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28378         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28379         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28380         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28381         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28382         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28383         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28384         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28385         [C99-based standards] (INT_FAST8_MIN): Likewise.
28386         [C99-based standards] (INT_FAST8_MAX): Likewise.
28387         [C99-based standards] (INT_FAST16_MIN): Likewise.
28388         [C99-based standards] (INT_FAST16_MAX): Likewise.
28389         [C99-based standards] (INT_FAST32_MIN): Likewise.
28390         [C99-based standards] (INT_FAST32_MAX): Likewise.
28391         [C99-based standards] (INT_FAST64_MIN): Likewise.
28392         [C99-based standards] (INT_FAST64_MAX): Likewise.
28393         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28394         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28395         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28396         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28397         [C99-based standards] (INTPTR_MIN): Likewise.
28398         [C99-based standards] (INTPTR_MAX): Likewise.
28399         [C99-based standards] (UINTPTR_MAX): Likewise.
28400         [C99-based standards] (INTMAX_MIN): Likewise.
28401         [C99-based standards] (INTMAX_MAX): Likewise.
28402         [C99-based standards] (UINTMAX_MAX): Likewise.
28403         [C99-based standards] (PTRDIFF_MIN): Likewise.
28404         [C99-based standards] (PTRDIFF_MAX): Likewise.
28405         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28406         [C99-based standards] (SIZE_MAX): Likewise.
28407         [C99-based standards] (WCHAR_MAX): Likewise.
28408         [C99-based standards] (WINT_MAX): Likewise.
28409         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28410         constraint on value.
28411         [C99-based standards] (WCHAR_MIN): Likewise.
28412         [C99-based standards] (WINT_MIN): Likewise.
28413         [C99-based standards] (*_t): Allow.
28414         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28415         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28416         Include math.h-data and complex.h-data.  Remove all expectations
28417         of math.h and complex.h contents.
28418         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28419         at end of line.
28420         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28421         (struct tm): Expect tag.
28422         [C99-based-standards] (wcstof): Expect function.
28423         [C99-based-standards] (wcstold): Likewise.
28424         [C99-based-standards] (wcstoll): Likewise.
28425         [C99-based-standards] (wcstoull): Likewise.
28426         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28427         macro-int-constant.  Specify type.
28428         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28429         constraint on value.
28430         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28431         Specify type.
28432         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28433         Specify value.
28434         [ISO C standards]: Do not allow headers.
28435         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28436         wcs[abcdefghijklmnopqrstuvwxyz]*.
28437         [ISO C standards] (*_t): Do not allow.
28438         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28439         Expect function.
28440         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28441         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28442         Specify type.
28443         [ISO C standards]: Do not allow headers.
28444         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28445         is[abcdefghijklmnopqrstuvwxyz]*.
28446         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28447         to[abcdefghijklmnopqrstuvwxyz]*.
28448         [ISO C standards] (*_t): Do not allow.
28449         * conform/data/stdalign.h-data: New file.
28450         * conform/data/stdbool.h-data: Likewise.
28451         * conform/data/stdnoreturn.h-data: Likewise.
28452
28453 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28454
28455         [BZ #14815]
28456         * manual/filesys.texi (Directory Entries): Typo fix.
28457         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28458
28459 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28460
28461         * elf/elf.h (EM_AARCH64): New macro.
28462         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28463         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28464         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28465         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28466         (R_AARCH64_TLSDESC): Likewise.
28467         (NT_ARM_TLS): Likewise.
28468         (NT_ARM_HW_BREAK): Likewise.
28469         (NT_ARM_HW_WATCH): Likewise.
28470
28471 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28472
28473         [BZ #14811]
28474         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28475         (__ieee754_powl): Saturate nonzero exponents with absolute value
28476         below 0x1p-79 to +/- 0x1p-79.
28477         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28478         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28479         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28480         nonzero exponents with absolute value below 0x1p-32 to +/-
28481         0x1p-32.
28482         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28483         (__ieee754_powl): Saturate nonzero exponents with absolute value
28484         below 0x1p-79 to +/- 0x1p-79.
28485         * math/libm-test.inc (pow_test): Add more tests.
28486
28487 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28488
28489         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28490         _dl_s390_cap_flags with kernel. Increase string length.
28491         (_dl_s390_platforms): Add z196 and zEC12.
28492
28493 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28494
28495         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28496         Change XOPEN21K to XOPEN2K.
28497
28498 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28499
28500         * string/memmove.c: Use memcpy when possible.
28501
28502 2012-11-06  Andreas Jaeger  <aj@suse.de>
28503
28504         * po/eo.po: Update from translation team.
28505
28506 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28507
28508         [BZ #14793]
28509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28510         exponent and small x and y exponents, scale x or y up.  Increase
28511         by 2 the exponent used in scaling up.
28512         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28513         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28514         * math/libm-test.inc (fma_test): Add more tests.
28515         (fma_test_towardzero): Likewise.
28516         (fma_test_downward): Likewise.
28517         (fma_test_upward): Likewise.
28518
28519 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28520
28521         [BZ #14805]
28522         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28523         fenv_t *.
28524
28525         [BZ #14801]
28526         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28527         namespace for names of struct fields.
28528         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28529         fenv_t fields.
28530         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28531         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28532
28533 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28534
28535         [BZ #3665]
28536         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28537
28538 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28539
28540         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28541         PTR_DEMANGLE.
28542
28543         [BZ #5246]
28544         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28545         PTR_DEMANGLE.
28546
28547 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28548
28549         [BZ #14797]
28550         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28551         definitely overflow as x * y not x * y + z.
28552         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28553         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28554         * math/libm-test.inc (fma_test): Add more tests.
28555         (fma_test_towardzero): Likewise.
28556         (fma_test_downward): Likewise.
28557         (fma_test_upward): Likewise.
28558
28559 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28560
28561         [BZ #157]
28562
28563         * include/stub-tag.h: Remove file.
28564         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28565         '#include' of it.
28566         * manual/maint.texi (Porting): Don't reference it.
28567         * Makerules ($(objpfx)stubs): Likewise.
28568         * dirent/closedir.c: Don't include <stub-tag.h>.
28569         * dirent/dirfd.c: Likewise.
28570         * dirent/fdopendir.c: Likewise.
28571         * dirent/getdents.c: Likewise.
28572         * dirent/getdents64.c: Likewise.
28573         * dirent/opendir.c: Likewise.
28574         * dirent/readdir.c: Likewise.
28575         * dirent/readdir64.c: Likewise.
28576         * dirent/readdir64_r.c: Likewise.
28577         * dirent/readdir_r.c: Likewise.
28578         * dirent/rewinddir.c: Likewise.
28579         * dirent/seekdir.c: Likewise.
28580         * dirent/telldir.c: Likewise.
28581         * gmon/profil.c: Likewise.
28582         * grp/setgroups.c: Likewise.
28583         * inet/if_index.c: Likewise.
28584         * io/access.c: Likewise.
28585         * io/chdir.c: Likewise.
28586         * io/chmod.c: Likewise.
28587         * io/chown.c: Likewise.
28588         * io/close.c: Likewise.
28589         * io/dup.c: Likewise.
28590         * io/dup2.c: Likewise.
28591         * io/dup3.c: Likewise.
28592         * io/euidaccess.c: Likewise.
28593         * io/faccessat.c: Likewise.
28594         * io/fchdir.c: Likewise.
28595         * io/fchmod.c: Likewise.
28596         * io/fchmodat.c: Likewise.
28597         * io/fchown.c: Likewise.
28598         * io/fchownat.c: Likewise.
28599         * io/fcntl.c: Likewise.
28600         * io/flock.c: Likewise.
28601         * io/fstatfs.c: Likewise.
28602         * io/fstatfs64.c: Likewise.
28603         * io/fstatvfs.c: Likewise.
28604         * io/fstatvfs64.c: Likewise.
28605         * io/futimens.c: Likewise.
28606         * io/fxstat.c: Likewise.
28607         * io/fxstat64.c: Likewise.
28608         * io/fxstatat.c: Likewise.
28609         * io/fxstatat64.c: Likewise.
28610         * io/getcwd.c: Likewise.
28611         * io/isatty.c: Likewise.
28612         * io/lchmod.c: Likewise.
28613         * io/lchown.c: Likewise.
28614         * io/link.c: Likewise.
28615         * io/linkat.c: Likewise.
28616         * io/lseek.c: Likewise.
28617         * io/lseek64.c: Likewise.
28618         * io/lxstat64.c: Likewise.
28619         * io/mkdir.c: Likewise.
28620         * io/mkdirat.c: Likewise.
28621         * io/mkfifo.c: Likewise.
28622         * io/mkfifoat.c: Likewise.
28623         * io/open.c: Likewise.
28624         * io/open64.c: Likewise.
28625         * io/openat.c: Likewise.
28626         * io/openat64.c: Likewise.
28627         * io/pipe.c: Likewise.
28628         * io/pipe2.c: Likewise.
28629         * io/poll.c: Likewise.
28630         * io/posix_fadvise.c: Likewise.
28631         * io/posix_fadvise64.c: Likewise.
28632         * io/posix_fallocate.c: Likewise.
28633         * io/posix_fallocate64.c: Likewise.
28634         * io/read.c: Likewise.
28635         * io/readlink.c: Likewise.
28636         * io/readlinkat.c: Likewise.
28637         * io/rmdir.c: Likewise.
28638         * io/sendfile.c: Likewise.
28639         * io/sendfile64.c: Likewise.
28640         * io/statfs.c: Likewise.
28641         * io/statfs64.c: Likewise.
28642         * io/statvfs.c: Likewise.
28643         * io/statvfs64.c: Likewise.
28644         * io/symlink.c: Likewise.
28645         * io/symlinkat.c: Likewise.
28646         * io/ttyname.c: Likewise.
28647         * io/ttyname_r.c: Likewise.
28648         * io/umask.c: Likewise.
28649         * io/unlink.c: Likewise.
28650         * io/unlinkat.c: Likewise.
28651         * io/utime.c: Likewise.
28652         * io/utimensat.c: Likewise.
28653         * io/write.c: Likewise.
28654         * io/xmknod.c: Likewise.
28655         * io/xmknodat.c: Likewise.
28656         * io/xstat.c: Likewise.
28657         * io/xstat64.c: Likewise.
28658         * login/getpt.c: Likewise.
28659         * login/grantpt.c: Likewise.
28660         * login/unlockpt.c: Likewise.
28661         * math/e_acoshl.c: Likewise.
28662         * math/e_acosl.c: Likewise.
28663         * math/e_asinl.c: Likewise.
28664         * math/e_atan2l.c: Likewise.
28665         * math/e_atanhl.c: Likewise.
28666         * math/e_coshl.c: Likewise.
28667         * math/e_expl.c: Likewise.
28668         * math/e_fmodl.c: Likewise.
28669         * math/e_gammal_r.c: Likewise.
28670         * math/e_hypotl.c: Likewise.
28671         * math/e_j0l.c: Likewise.
28672         * math/e_j1l.c: Likewise.
28673         * math/e_jnl.c: Likewise.
28674         * math/e_lgammal_r.c: Likewise.
28675         * math/e_log10l.c: Likewise.
28676         * math/e_log2l.c: Likewise.
28677         * math/e_logl.c: Likewise.
28678         * math/e_powl.c: Likewise.
28679         * math/e_rem_pio2l.c: Likewise.
28680         * math/e_sinhl.c: Likewise.
28681         * math/e_sqrtl.c: Likewise.
28682         * math/fclrexcpt.c: Likewise.
28683         * math/fedisblxcpt.c: Likewise.
28684         * math/feenablxcpt.c: Likewise.
28685         * math/fegetenv.c: Likewise.
28686         * math/fegetexcept.c: Likewise.
28687         * math/fegetround.c: Likewise.
28688         * math/feholdexcpt.c: Likewise.
28689         * math/fesetenv.c: Likewise.
28690         * math/fesetround.c: Likewise.
28691         * math/feupdateenv.c: Likewise.
28692         * math/fgetexcptflg.c: Likewise.
28693         * math/fraiseexcpt.c: Likewise.
28694         * math/fsetexcptflg.c: Likewise.
28695         * math/ftestexcept.c: Likewise.
28696         * math/k_cosl.c: Likewise.
28697         * math/k_rem_pio2l.c: Likewise.
28698         * math/k_sinl.c: Likewise.
28699         * math/k_tanl.c: Likewise.
28700         * math/s_asinhl.c: Likewise.
28701         * math/s_atanl.c: Likewise.
28702         * math/s_cbrtl.c: Likewise.
28703         * math/s_erfl.c: Likewise.
28704         * math/s_expm1l.c: Likewise.
28705         * math/s_log1pl.c: Likewise.
28706         * math/s_tanhl.c: Likewise.
28707         * misc/acct.c: Likewise.
28708         * misc/brk.c: Likewise.
28709         * misc/chflags.c: Likewise.
28710         * misc/chroot.c: Likewise.
28711         * misc/fchflags.c: Likewise.
28712         * misc/fgetxattr.c: Likewise.
28713         * misc/flistxattr.c: Likewise.
28714         * misc/fremovexattr.c: Likewise.
28715         * misc/fsetxattr.c: Likewise.
28716         * misc/fsync.c: Likewise.
28717         * misc/ftruncate.c: Likewise.
28718         * misc/futimes.c: Likewise.
28719         * misc/futimesat.c: Likewise.
28720         * misc/getdomain.c: Likewise.
28721         * misc/getdtsz.c: Likewise.
28722         * misc/gethostid.c: Likewise.
28723         * misc/gethostname.c: Likewise.
28724         * misc/getloadavg.c: Likewise.
28725         * misc/getpagesize.c: Likewise.
28726         * misc/getsysstats.c: Likewise.
28727         * misc/getxattr.c: Likewise.
28728         * misc/gtty.c: Likewise.
28729         * misc/ioctl.c: Likewise.
28730         * misc/lgetxattr.c: Likewise.
28731         * misc/listxattr.c: Likewise.
28732         * misc/llistxattr.c: Likewise.
28733         * misc/lremovexattr.c: Likewise.
28734         * misc/lsetxattr.c: Likewise.
28735         * misc/lutimes.c: Likewise.
28736         * misc/madvise.c: Likewise.
28737         * misc/mincore.c: Likewise.
28738         * misc/mlock.c: Likewise.
28739         * misc/mlockall.c: Likewise.
28740         * misc/mmap.c: Likewise.
28741         * misc/mprotect.c: Likewise.
28742         * misc/msync.c: Likewise.
28743         * misc/munlock.c: Likewise.
28744         * misc/munlockall.c: Likewise.
28745         * misc/munmap.c: Likewise.
28746         * misc/preadv.c: Likewise.
28747         * misc/preadv64.c: Likewise.
28748         * misc/ptrace.c: Likewise.
28749         * misc/pwritev.c: Likewise.
28750         * misc/pwritev64.c: Likewise.
28751         * misc/readv.c: Likewise.
28752         * misc/reboot.c: Likewise.
28753         * misc/remap_file_pages.c: Likewise.
28754         * misc/removexattr.c: Likewise.
28755         * misc/revoke.c: Likewise.
28756         * misc/select.c: Likewise.
28757         * misc/setdomain.c: Likewise.
28758         * misc/setegid.c: Likewise.
28759         * misc/seteuid.c: Likewise.
28760         * misc/sethostid.c: Likewise.
28761         * misc/sethostname.c: Likewise.
28762         * misc/setregid.c: Likewise.
28763         * misc/setreuid.c: Likewise.
28764         * misc/setxattr.c: Likewise.
28765         * misc/sstk.c: Likewise.
28766         * misc/stty.c: Likewise.
28767         * misc/swapoff.c: Likewise.
28768         * misc/swapon.c: Likewise.
28769         * misc/sync.c: Likewise.
28770         * misc/syncfs.c: Likewise.
28771         * misc/syscall.c: Likewise.
28772         * misc/truncate.c: Likewise.
28773         * misc/ualarm.c: Likewise.
28774         * misc/usleep.c: Likewise.
28775         * misc/ustat.c: Likewise.
28776         * misc/utimes.c: Likewise.
28777         * misc/vhangup.c: Likewise.
28778         * misc/writev.c: Likewise.
28779         * posix/_exit.c: Likewise.
28780         * posix/alarm.c: Likewise.
28781         * posix/execve.c: Likewise.
28782         * posix/fexecve.c: Likewise.
28783         * posix/fork.c: Likewise.
28784         * posix/fpathconf.c: Likewise.
28785         * posix/getaddrinfo.c: Likewise.
28786         * posix/getegid.c: Likewise.
28787         * posix/geteuid.c: Likewise.
28788         * posix/getgid.c: Likewise.
28789         * posix/getgroups.c: Likewise.
28790         * posix/getlogin.c: Likewise.
28791         * posix/getlogin_r.c: Likewise.
28792         * posix/getpgid.c: Likewise.
28793         * posix/getpid.c: Likewise.
28794         * posix/getppid.c: Likewise.
28795         * posix/getresgid.c: Likewise.
28796         * posix/getresuid.c: Likewise.
28797         * posix/getsid.c: Likewise.
28798         * posix/getuid.c: Likewise.
28799         * posix/glob64.c: Likewise.
28800         * posix/nanosleep.c: Likewise.
28801         * posix/pathconf.c: Likewise.
28802         * posix/pause.c: Likewise.
28803         * posix/posix_madvise.c: Likewise.
28804         * posix/pread.c: Likewise.
28805         * posix/pread64.c: Likewise.
28806         * posix/pwrite.c: Likewise.
28807         * posix/pwrite64.c: Likewise.
28808         * posix/sched_getaffinity.c: Likewise.
28809         * posix/sched_getp.c: Likewise.
28810         * posix/sched_gets.c: Likewise.
28811         * posix/sched_primax.c: Likewise.
28812         * posix/sched_primin.c: Likewise.
28813         * posix/sched_rr_gi.c: Likewise.
28814         * posix/sched_setaffinity.c: Likewise.
28815         * posix/sched_setp.c: Likewise.
28816         * posix/sched_sets.c: Likewise.
28817         * posix/sched_yield.c: Likewise.
28818         * posix/setgid.c: Likewise.
28819         * posix/setlogin.c: Likewise.
28820         * posix/setpgid.c: Likewise.
28821         * posix/setresgid.c: Likewise.
28822         * posix/setresuid.c: Likewise.
28823         * posix/setsid.c: Likewise.
28824         * posix/setuid.c: Likewise.
28825         * posix/sleep.c: Likewise.
28826         * posix/spawni.c: Likewise.
28827         * posix/sysconf.c: Likewise.
28828         * posix/times.c: Likewise.
28829         * posix/wait.c: Likewise.
28830         * posix/wait3.c: Likewise.
28831         * posix/wait4.c: Likewise.
28832         * posix/waitpid.c: Likewise.
28833         * resolv/gai_sigqueue.c: Likewise.
28834         * resource/getpriority.c: Likewise.
28835         * resource/getrlimit.c: Likewise.
28836         * resource/getrusage.c: Likewise.
28837         * resource/nice.c: Likewise.
28838         * resource/setpriority.c: Likewise.
28839         * resource/setrlimit.c: Likewise.
28840         * resource/ulimit.c: Likewise.
28841         * rt/aio_cancel.c: Likewise.
28842         * rt/aio_fsync.c: Likewise.
28843         * rt/aio_read.c: Likewise.
28844         * rt/aio_sigqueue.c: Likewise.
28845         * rt/aio_suspend.c: Likewise.
28846         * rt/aio_write.c: Likewise.
28847         * rt/clock_getres.c: Likewise.
28848         * rt/clock_gettime.c: Likewise.
28849         * rt/clock_nanosleep.c: Likewise.
28850         * rt/clock_settime.c: Likewise.
28851         * rt/lio_listio.c: Likewise.
28852         * rt/mq_close.c: Likewise.
28853         * rt/mq_getattr.c: Likewise.
28854         * rt/mq_notify.c: Likewise.
28855         * rt/mq_open.c: Likewise.
28856         * rt/mq_receive.c: Likewise.
28857         * rt/mq_send.c: Likewise.
28858         * rt/mq_setattr.c: Likewise.
28859         * rt/mq_timedreceive.c: Likewise.
28860         * rt/mq_timedsend.c: Likewise.
28861         * rt/mq_unlink.c: Likewise.
28862         * rt/shm_open.c: Likewise.
28863         * rt/shm_unlink.c: Likewise.
28864         * rt/timer_create.c: Likewise.
28865         * rt/timer_delete.c: Likewise.
28866         * rt/timer_getoverr.c: Likewise.
28867         * rt/timer_gettime.c: Likewise.
28868         * rt/timer_settime.c: Likewise.
28869         * setjmp/__longjmp.c: Likewise.
28870         * setjmp/setjmp.c: Likewise.
28871         * signal/kill.c: Likewise.
28872         * signal/killpg.c: Likewise.
28873         * signal/raise.c: Likewise.
28874         * signal/sigaction.c: Likewise.
28875         * signal/sigaltstack.c: Likewise.
28876         * signal/sigblock.c: Likewise.
28877         * signal/sigignore.c: Likewise.
28878         * signal/sigintr.c: Likewise.
28879         * signal/signal.c: Likewise.
28880         * signal/sigpause.c: Likewise.
28881         * signal/sigpending.c: Likewise.
28882         * signal/sigqueue.c: Likewise.
28883         * signal/sigreturn.c: Likewise.
28884         * signal/sigset.c: Likewise.
28885         * signal/sigsetmask.c: Likewise.
28886         * signal/sigstack.c: Likewise.
28887         * signal/sigsuspend.c: Likewise.
28888         * signal/sigtimedwait.c: Likewise.
28889         * signal/sigvec.c: Likewise.
28890         * signal/sigwait.c: Likewise.
28891         * signal/sigwaitinfo.c: Likewise.
28892         * signal/sysv_signal.c: Likewise.
28893         * socket/accept.c: Likewise.
28894         * socket/accept4.c: Likewise.
28895         * socket/bind.c: Likewise.
28896         * socket/connect.c: Likewise.
28897         * socket/getpeername.c: Likewise.
28898         * socket/getsockname.c: Likewise.
28899         * socket/getsockopt.c: Likewise.
28900         * socket/isfdtype.c: Likewise.
28901         * socket/listen.c: Likewise.
28902         * socket/recv.c: Likewise.
28903         * socket/recvfrom.c: Likewise.
28904         * socket/recvmsg.c: Likewise.
28905         * socket/send.c: Likewise.
28906         * socket/sendmsg.c: Likewise.
28907         * socket/sendto.c: Likewise.
28908         * socket/setsockopt.c: Likewise.
28909         * socket/shutdown.c: Likewise.
28910         * socket/sockatmark.c: Likewise.
28911         * socket/socket.c: Likewise.
28912         * socket/socketpair.c: Likewise.
28913         * stdio-common/ctermid.c: Likewise.
28914         * stdio-common/cuserid.c: Likewise.
28915         * stdio-common/remove.c: Likewise.
28916         * stdio-common/rename.c: Likewise.
28917         * stdio-common/renameat.c: Likewise.
28918         * stdio-common/tempname.c: Likewise.
28919         * stdlib/getcontext.c: Likewise.
28920         * stdlib/makecontext.c: Likewise.
28921         * stdlib/setcontext.c: Likewise.
28922         * stdlib/swapcontext.c: Likewise.
28923         * stdlib/system.c: Likewise.
28924         * streams/fattach.c: Likewise.
28925         * streams/fdetach.c: Likewise.
28926         * streams/getmsg.c: Likewise.
28927         * streams/getpmsg.c: Likewise.
28928         * streams/putmsg.c: Likewise.
28929         * streams/putpmsg.c: Likewise.
28930         * sysdeps/unix/bsd/getpt.c: Likewise.
28931         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28932         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28933         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28935         Likewise.
28936         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28937         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28938         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28939         * sysvipc/msgctl.c: Likewise.
28940         * sysvipc/msgget.c: Likewise.
28941         * sysvipc/msgrcv.c: Likewise.
28942         * sysvipc/msgsnd.c: Likewise.
28943         * sysvipc/semctl.c: Likewise.
28944         * sysvipc/semget.c: Likewise.
28945         * sysvipc/semop.c: Likewise.
28946         * sysvipc/semtimedop.c: Likewise.
28947         * sysvipc/shmat.c: Likewise.
28948         * sysvipc/shmctl.c: Likewise.
28949         * sysvipc/shmdt.c: Likewise.
28950         * sysvipc/shmget.c: Likewise.
28951         * termios/tcdrain.c: Likewise.
28952         * termios/tcflow.c: Likewise.
28953         * termios/tcflush.c: Likewise.
28954         * termios/tcgetattr.c: Likewise.
28955         * termios/tcgetpgrp.c: Likewise.
28956         * termios/tcsendbrk.c: Likewise.
28957         * termios/tcsetattr.c: Likewise.
28958         * termios/tcsetpgrp.c: Likewise.
28959         * time/adjtime.c: Likewise.
28960         * time/clock.c: Likewise.
28961         * time/getitimer.c: Likewise.
28962         * time/gettimeofday.c: Likewise.
28963         * time/setitimer.c: Likewise.
28964         * time/settimeofday.c: Likewise.
28965         * time/stime.c: Likewise.
28966         * time/time.c: Likewise.
28967
28968 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28969
28970         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28971         /usr/old/bin.
28972
28973         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28974         instead of spaces.
28975         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28976
28977 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28978
28979         [BZ #14796]
28980         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28981         FE_TONEAREST before applying Dekker multiplication and Knuth
28982         addition.  Clear inexact exceptions and check for exact zero
28983         results afterwards.
28984         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28985         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28986         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28987         * math/libm-test.inc (fma_test): Add more tests.
28988         (fma_test_towardzero): Likewise.
28989         (fma_test_downward): Likewise.
28990         (fma_test_upward): Likewise.
28991         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28992         function.
28993         (libc_fesetround): New macro.
28994         (libc_fesetroundf): Likewise.
28995         (libc_fesetroundl): Likewise.
28996         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28997         function.
28998         (libc_fesetround_387): Likewise.
28999         (libc_fesetroundf): New macro.
29000         (libc_fesetround): Likewise.
29001         (libc_fesetroundl): Likewise.
29002         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29003         function.
29004         (libc_fesetroundf): New macro.
29005         (libc_fesetround): Likewise.
29006         (libc_fesetroundl): Likewise.
29007         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29008         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29009         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29010         libm_hidden_ver.
29011         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29012         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29013         libm_hidden_def.
29014         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29015         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29016         libm_hidden_ver.
29017         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29018         libm_hidden_def.
29019
29020         [BZ #3439]
29021         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29022         integer constant usable in #if and use that to give value to enum
29023         constant.
29024         (FE_DIVBYZERO): Likewise.
29025         (FE_UNDERFLOW): Likewise.
29026         (FE_OVERFLOW): Likewise.
29027         (FE_INVALID): Likewise.
29028         (FE_INVALID_SNAN): Likewise.
29029         (FE_INVALID_ISI): Likewise.
29030         (FE_INVALID_IDI): Likewise.
29031         (FE_INVALID_ZDZ): Likewise.
29032         (FE_INVALID_IMZ): Likewise.
29033         (FE_INVALID_COMPARE): Likewise.
29034         (FE_INVALID_SOFTWARE): Likewise.
29035         (FE_INVALID_SQRT): Likewise.
29036         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29037         (FE_TONEAREST): Likewise.
29038         (FE_TOWARDZERO): Likewise.
29039         (FE_UPWARD): Likewise.
29040         (FE_DOWNWARD): Likewise.
29041         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29042         (FE_DIVBYZERO): Likewise.
29043         (FE_OVERFLOW): Likewise.
29044         (FE_UNDERFLOW): Likewise.
29045         (FE_INEXACT): Likewise.
29046         (FE_TONEAREST): Likewise.
29047         (FE_DOWNWARD): Likewise.
29048         (FE_UPWARD): Likewise.
29049         (FE_TOWARDZERO): Likewise.
29050         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29051         (FE_UNDERFLOW): Likewise.
29052         (FE_OVERFLOW): Likewise.
29053         (FE_DIVBYZERO): Likewise.
29054         (FE_INVALID): Likewise.
29055         (FE_TONEAREST): Likewise.
29056         (FE_TOWARDZERO): Likewise.
29057         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29058         (FE_OVERFLOW): Likewise.
29059         (FE_UNDERFLOW): Likewise.
29060         (FE_DIVBYZERO): Likewise.
29061         (FE_INEXACT): Likewise.
29062         (FE_TONEAREST): Likewise.
29063         (FE_TOWARDZERO): Likewise.
29064         (FE_UPWARD): Likewise.
29065         (FE_DOWNWARD): Likewise.
29066         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29067         (FE_DIVBYZERO): Likewise.
29068         (FE_OVERFLOW): Likewise.
29069         (FE_UNDERFLOW): Likewise.
29070         (FE_INEXACT): Likewise.
29071         (FE_TONEAREST): Likewise.
29072         (FE_DOWNWARD): Likewise.
29073         (FE_UPWARD): Likewise.
29074         (FE_TOWARDZERO): Likewise.
29075
29076 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29077
29078         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29079
29080 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29081
29082         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29083         commands.  Quote $PWD.
29084         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29085         -x" by "export".
29086         (remove_newlines): Remove.
29087
29088 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29089
29090         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29091         * stdlib/stdlib.h (atof): Moved to ...
29092         * include/bits/stdlib-float.h: Here.  New file.
29093         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29094         * stdlib/bits/stdlib-float.h: New file.
29095         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29096         -mno-sse -mno-mmx.
29097         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29098         <xmmintrin.h>.
29099
29100 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29101
29102         * conform/conformtest.pl (@headers): Add fenv.h.
29103         * conform/data/fenv.h-data: New file.
29104         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29105         include of <math/fenv.h>.
29106
29107         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29108         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29109         && !UNIX98].  Enables tests for XOPEN2K8.
29110         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29111         POSIX2008]: Likewise.
29112
29113         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29114         (struct rusage): Do not expect type or its members.
29115
29116         [BZ #3439]
29117         * math/math.h (FP_NAN): Define macro to integer constant usable in
29118         #if and use that to give value to enum constant.
29119         (FP_INFINITE): Likewise.
29120         (FP_ZERO): Likewise.
29121         (FP_SUBNORMAL): Likewise.
29122         (FP_NORMAL): Likewise.
29123
29124 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29125
29126         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29127         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29128         arguments.
29129
29130 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29131
29132         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29133         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29134         autoconf-time if not.
29135         * configure.in: Remove AC_PREREQ.
29136
29137 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29138
29139         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29140         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29141         of the internal implementation.
29142
29143 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29144
29145         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29146         except include of <misc/sys/syslog.h>.
29147
29148 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29149
29150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29151         function returns with a NULL context exit with zero.
29152
29153 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29154
29155         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29156
29157 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29158
29159         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29160         (run_program_cmd): This.
29161         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29162         (tst_langinfo): New variable.  Use it.
29163
29164 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29165
29166         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29167         floating point opcodes.
29168
29169 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29170
29171         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29172         variable.
29173
29174         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29175
29176         * sysdeps/mach/hurd/powerpc: Remove directory.
29177         * sysdeps/mach/powerpc: Likewise.
29178
29179 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29180
29181         * scripts/check-local-headers.sh: Ignore c++ headers.
29182
29183 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29184
29185         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29186         __libc_cleanup_region_start argument.
29187
29188 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29189
29190         [BZ #14784]
29191         [BZ #14785]
29192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29193         x * y using scaling, not as x * y + z.
29194         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29195         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29196         * math/libm-test.inc (fma_test): Add more tests.
29197         (fma_test_towardzero): Likewise.
29198         (fma_test_downward): Likewise.
29199         (fma_test_upward): Likewise.
29200
29201 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29202
29203         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29204
29205 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29206
29207         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29208         New variable.
29209
29210 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29211
29212         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29213
29214 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29215
29216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29217         Fix sort order.
29218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29219         Likewise.
29220
29221 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29222
29223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29224         Fix the order of the list for glibc 2.17.
29225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29226         Likewise.
29227
29228 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29229
29230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29231
29232 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29233
29234         [BZ #14610]
29235         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29236         for low part of x being zero before using __atanl (y).
29237         * math/libm-test.inc (atan2_test): Add another test.
29238
29239         * manual/install.texi (Configuring and compiling): Document
29240         general use of test-wrapper and test-wrapper-env.
29241         * INSTALL: Regenerated.
29242
29243         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29244         (__fma): Do not extract and scale down low bits on after-rounding
29245         systems when result rounded to normal precision would have normal
29246         exponent.
29247         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29248         (__fmal): Do not extract and scale down low bits on after-rounding
29249         systems when result rounded to normal precision would have normal
29250         exponent.
29251         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29252         (__fmal): Do not extract and scale down low bits on after-rounding
29253         systems when result rounded to normal precision would have normal
29254         exponent.
29255         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29256         macro.
29257         (fma_test): Add more tests.
29258         (fma_test_towardzero): Likewise.
29259         (fma_test_downward): Likewise.
29260         (fma_test_upward): Likewise.
29261
29262 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29263
29264         * sysdeps/i386/tininess.h: Renamed to ...
29265         * sysdeps/x86/tininess.h: This.
29266         * sysdeps/x86_64/tininess.h: Removed.
29267
29268 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29269
29270         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29271         input.  Use $(build-program-cmd).
29272         ($(objpfx)tst-array1-static.out): Likewise.
29273         ($(objpfx)tst-array2.out): Likewise.
29274         ($(objpfx)tst-array3.out): Likewise.
29275         ($(objpfx)tst-array4.out): Likewise.
29276         ($(objpfx)tst-array5.out): Likewise.
29277         ($(objpfx)tst-array5-static.out): Likewise.
29278
29279 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29280
29281         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29282         if defined.
29283
29284         * nss/nsswitch.h (nss_interface_function): Provide new
29285         macro for use with NSS functions.
29286         * grp/initgroups.c: Use new macro.
29287         * nss/getXXbyYY.c: Likewise.
29288         * nss/getXXbyYY_r.c: Likewise.
29289         * nss/getXXent.c: Likewise.
29290         * nss/getXXent_r.c: Likewise.
29291         * sysdeps/posix/getaddrinfo.c: Likewise.
29292
29293 2012-10-30  Andreas Jaeger  <aj@suse.de>
29294
29295         * po/ru.po: Update Russion translation from translation project.
29296
29297 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29298
29299         [BZ #14152]
29300         [BZ #14783]
29301         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29302         result and shift together with sticky bit instead of replicating
29303         round-to-nearest rounding.
29304         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29305         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29306         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29307         missing underflow exceptions.
29308         (fma_test_towardzero): Add more tests.
29309         (fma_test_downward): Likewise.
29310         (fma_test_upward): Likewise.
29311
29312         [BZ #14047]
29313         * sysdeps/generic/tininess.h: New file.
29314         * sysdeps/i386/tininess.h: Likewise.
29315         * sysdeps/sh/tininess.h: Likewise.
29316         * sysdeps/x86_64/tininess.h: Likewise.
29317         * stdlib/tst-strtod-underflow.c: Likewise.
29318         * stdlib/tst-tininess.c: Likewise.
29319         * stdlib/strtod_l.c: Include <tininess.h>.
29320         (round_and_return): Do not set errno for exact underflow cases.
29321         Force an underflow exception when setting errno for underflow.
29322         Determine underflow based on rounding to normal precision if
29323         TININESS_AFTER_ROUNDING.
29324         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29325         ERANGE for exact underflow cases.
29326         * stdlib/Makefile (tests): Add tst-tininess and
29327         tst-strtod-underflow.
29328         ($(objpfx)tst-tininess): Use $(link-libm).
29329         ($(objpfx)tst-strtod-underflow): Likewise.
29330
29331 2012-10-30  Andreas Jaeger  <aj@suse.de>
29332
29333         [BZ#14767]
29334         * elf/Makefile (tests): Remove conditional for have-initfini-array
29335         since this is now always required and the variable does not exist
29336         anymore.
29337         (tests-static): Likewise.
29338         (modules-names): Likewise.
29339
29340         * po/eo.po: Add Esperanto translation from translation project.
29341
29342         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29343         merged with constructor/destructor.
29344         (init_array): Likewise.
29345         * elf/tst-array2dep.c (fini_array): Likewise.
29346         (init_array): Likewise.
29347
29348 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29349
29350         * manual/message.texi: Delete @cartouche tags.
29351
29352 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29353
29354         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29355         EOPNOTSUPP.
29356         * sysdeps/mach/hurd/fsync.c: Likewise.
29357
29358         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29359         [_POSIX_REALTIME_SIGNALS]: Change condition to
29360         [_POSIX_REALTIME_SIGNALS > 0].
29361
29362 2012-10-27  Andreas Jaeger  <aj@suse.de>
29363
29364         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29365         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29366         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29367         [__WORDSIZE != 64]: Likewise.
29368
29369 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29370
29371         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29372         *  iconvdata/tst-tables.sh: Likewise.
29373
29374 2012-10-25  David S. Miller  <davem@davemloft.net>
29375
29376         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29377         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29378         of strtoull.
29379
29380         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29381         ifunc-impl-list.c
29382         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29383         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29384         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29385         file.
29386
29387 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29388
29389         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29390         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29391         __getdirentries.
29392
29393 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29394             Jim Blandy  <jimb@codesourcery.com>
29395
29396         * scripts/cross-test-ssh.sh: New file.
29397         * manual/install.texi (Configuring and compiling): Document use of
29398         cross-test-ssh.sh.
29399         * INSTALL: Regenerated.
29400
29401 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29402
29403         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29404         EOPNOTSUPP.
29405
29406 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29407
29408         * Makeconfig (run-program-prefix): Fix comment.
29409
29410 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29411             Jim Blandy  <jimb@codesourcery.com>
29412
29413         * Makeconfig (test-wrapper): New variable,
29414         (test-wrapper-env): Likewise.
29415         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29416         (run-built-tests): Define to yes.
29417         (run-program-prefix): Use $(test-wrapper).
29418         (built-program-cmd): Likewise.
29419         * Rules (make-test-out): Use $(test-wrapper-env) and
29420         $(host-built-program-cmd).
29421         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29422         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29423         tst-pathopt.sh.
29424         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29425         $(test-wrapper-env) to tst-rtld-load-self.sh.
29426         ($(objpfx)order2.out): Use $(test-wrapper).
29427         ($(objpfx)tst-initorder.out): Likewise.
29428         ($(objpfx)tst-initorder2.out): Likewise.
29429         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29430         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29431         (test_wrapper_env): New variable.  Use it to run ld.so.
29432         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29433         Use it to run ld.so.
29434         (test_wrapper_env): Likewise.
29435         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29436         $(test-wrapper) to run-iconv-test.sh.
29437         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29438         (ICONV): Use $test_wrapper.
29439         * posix/Makefile ($(objpfx)globtest.out): Pass
29440         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29441         globtest.sh, not $(run-program-prefix).
29442         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29443         (test_wrapper): Likewise.
29444         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29445         set together with run_via_rtld_prefix.
29446         (run_program_prefix): Define in terms of test_wrapper and
29447         run_via_rtld_prefix.
29448
29449 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29450
29451         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29452         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29453         Targets removed.
29454
29455         [BZ #14743]
29456         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29457         Declare __clock_getres, __clock_gettime, __clock_settime,
29458         __clock_nanosleep, and __clock_getcpuclockid.
29459         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29460         Remove librt_hidden_def (clock_gettime).
29461         * sysdeps/unix/clock_gettime.c: Likewise.
29462         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29463         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29464         * rt/clock_getres.c: Define __clock_getres as an alias.
29465         * sysdeps/posix/clock_getres.c: Likewise.
29466         * rt/clock_settime.c: Define __clock_settime as an alias.
29467         * sysdeps/unix/clock_settime.c: Likewise.
29468         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29469         * sysdeps/unix/clock_nanosleep.c: Likewise.
29470         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29471         * rt/clock-compat.c: New file.
29472         * rt/Makefile (librt-routines): Add clock-compat and move
29473         $(clock-routines) to ...
29474         (routines): ... here, new variable.
29475         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29476         Don't add get_clockfreq here.
29477         * rt/Versions (libc: GLIBC_2.17): New version set.
29478         Add clock_* symbols here.
29479         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29480         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29481         (GLIBC_2.17): Add clock_* symbols.
29482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29484         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29486         Likewise.
29487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29488         Likewise.
29489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29493         * NEWS: Mention the move.
29494
29495         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29496         Use __open, __read, __close rather than their public counterparts.
29497         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29498         (__get_clockfreq_via_cpuinfo): Likewise.
29499         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29500         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29501
29502         * config.h.in (HAVE_IFUNC): New #undef.
29503         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29504         was successful.
29505         * configure: Regenerated.
29506
29507 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29508
29509         * configure.in: Move READELF check to start of file.
29510         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29511         libc_cv_asm_gnu_indirect_function in the process.
29512         * configure: Regenerated.
29513
29514 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29515
29516         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29517         send the output to /dev/null.
29518         (libc_cv_cc_with_libunwind): Likewise.
29519         (libc_cv_as_noexecstack): Likewise.
29520         * configure: Regenerate.
29521
29522 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29523
29524         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29525
29526         * posix/globtest.sh (TMPDIR): Do not set.
29527         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29528         (testout): Likewise.
29529
29530 2012-10-24  Andreas Jaeger  <aj@suse.de>
29531
29532         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29533         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29534         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29535         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29536         posix_fadvise64, posix_fallocate64.
29537
29538         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29539         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29540         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29541         Likewise.
29542         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29543         Likewise.
29544         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29545
29546         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29547         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29548         <bits/fcntl-linux.h>.
29549         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29550
29551         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29552         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29553         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29554         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29555         [__WORDSIZE != 64]: Likewise.
29556
29557 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29558
29559         * Makeconfig (run-built-tests): New variable.
29560         * Rules [$(cross-compiling) = yes]: Change condition to
29561         [$(run-built-tests) = no].
29562         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29563         to [$(run-built-tests) = yes].
29564         * elf/Makefile [$(cross-compiling) = no]: Likewise
29565         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29566         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29567         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29568         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29569         * io/Makefile [$(cross-compiling) = no]: Likewise.
29570         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29571         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29572         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29573         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29574         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29575         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29576         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29577         * string/Makefile [$(cross-compiling) = no]: Likewise.
29578
29579         * posix/Makefile ($(objpfx)globtest.out): Pass
29580         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29581         $(rtld-installed-name).
29582         * posix/globtest.sh (elf_objpfx): Remove variable.
29583         (rtld_installed_name): Likewise.
29584         (library_path): Likewise.
29585         (run_program_prefix): New variable.  Use for running globtest
29586         binary.
29587
29588 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29589             Joseph Myers  <joseph@codesourcery.com>
29590
29591         * Makeconfig (host-built-program-cmd): New variable.
29592         * elf/Makefile (tst-stackguard1-ARGS): Use
29593         $(host-built-program-cmd).
29594         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29595         (tst-spawn-ARGS): Likewise.
29596         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29597
29598 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29599             Jim Blandy  <jimb@codesourcery.com>
29600
29601         * Makeconfig (run-via-rtld-prefix): New variable.
29602         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29603         (built-program-cmd): Likewise.
29604
29605 2012-10-22  Andreas Jaeger  <aj@suse.de>
29606
29607         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29608         __O_RSYNC if it exists, otherwise to O_SYNC.
29609
29610 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29611             Joseph Myers  <joseph@codesourcery.com>
29612
29613         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29614         /dev/null.
29615         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29616         from /dev/null
29617         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29618         /dev/null.
29619
29620 2012-10-22  Andreas Jaeger  <aj@suse.de>
29621
29622         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29623         Define always.
29624         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29625
29626         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29627         bits/fcntl-linux.h.
29628
29629         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29630         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29631
29632         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29633         to __O_LARGEFILE.
29634         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29635         to __O_LARGEFILE.
29636
29637 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29638             Joseph Myers  <joseph@codesourcery.com>
29639
29640         * config.make.in (NM): New variable.
29641
29642 2012-10-21  Andreas Jaeger  <aj@suse.de>
29643
29644         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29645         definitions and declarations that are provided by
29646         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29647
29648 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29649
29650         [BZ #14683]
29651         * elf/Makefile (tests-static): Add tst-leaks1-static.
29652         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29653         ($(objpfx)tst-leaks1-static): New rule.
29654         ($(objpfx)tst-leaks1-static-mem): Likewise.
29655         (tst-leaks1-static-ENV): New macro.
29656         * elf/dl-open.c (dl_open_worker): Check the main application
29657         only if SHARED is defined.
29658         * elf/tst-leaks1-static.c: New file.
29659
29660 2012-10-20  Andreas Jaeger  <aj@suse.de>
29661
29662         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29663         generic values for Linux.
29664         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29665         and declarations that are provided by <bits/fcntl-linux.h> and
29666         include <bits/fcntl-linux.h>.
29667         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29668         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29669
29670 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29671
29672         * io/fcntl.h: Move include of <bits/types.h> to the top and
29673         include it unconditionally.
29674
29675 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29676
29677         * wcsmbs/Makefile (tests-ifunc): New variable.
29678         (tests): Add $(tests-ifunc).
29679         * wcsmbs/test-wcschr-ifunc.c: New file.
29680         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29681         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29682         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29683         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29684         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29685
29686         * string/Makefile (tests-ifunc): New variable.
29687         (tests): Add $(tests-ifunc).
29688         * string/test-memccpy.c (TEST_NAME): New macro.
29689         * string/test-memchr.c (TEST_NAME): Likewise.
29690         * string/test-memcmp.c (TEST_NAME): Likewise.
29691         * string/test-memcpy.c (TEST_NAME): Likewise.
29692         * string/test-memmem.c (TEST_NAME): Likewise.
29693         * string/test-memmove.c (TEST_NAME): Likewise.
29694         * string/test-memset.c (TEST_NAME): Likewise.
29695         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29696         * string/test-stpcpy.c (TEST_NAME): Likewise.
29697         * string/test-stpncpy.c (TEST_NAME): Likewise.
29698         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29699         * string/test-strcasestr.c (TEST_NAME): Likewise.
29700         * string/test-strcat.c (TEST_NAME): Likewise.
29701         * string/test-strchr.c (TEST_NAME): Likewise.
29702         * string/test-strcmp.c(TEST_NAME): Likewise.
29703         * string/test-strcpy.c (TEST_NAME): Likewise.
29704         * string/test-strcspn.c (TEST_NAME): Likewise.
29705         * string/test-strlen.c (TEST_NAME): Likewise.
29706         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29707         * string/test-strncmp.c (TEST_NAME): Likewise.
29708         * string/test-strncpy.c (TEST_NAME): Likewise.
29709         * string/test-strnlen.c (TEST_NAME): Likewise.
29710         * string/test-strpbrk.c (TEST_NAME): Likewise.
29711         * string/test-strrchr.c (TEST_NAME): Likewise.
29712         * string/test-strspn.c (TEST_NAME): Likewise.
29713         * string/test-strstr.c (TEST_NAME): Likewise.
29714         * string/test-bcopy-ifunc.c: New file.
29715         * string/test-bzero-ifunc.c: Likewise.
29716         * string/test-memccpy-ifunc.c: Likewise.
29717         * string/test-memchr-ifunc.c: Likewise.
29718         * string/test-memcmp-ifunc.c: Likewise.
29719         * string/test-memcpy-ifunc.c: Likewise.
29720         * string/test-memmem-ifunc.c: Likewise.
29721         * string/test-memmove-ifunc.c: Likewise.
29722         * string/test-mempcpy-ifunc.c: Likewise.
29723         * string/test-memset-ifunc.c: Likewise.
29724         * string/test-rawmemchr-ifunc.c: Likewise.
29725         * string/test-stpcpy-ifunc.c: Likewise.
29726         * string/test-stpncpy-ifunc.c: Likewise.
29727         * string/test-strcasecmp-ifunc.c: Likewise.
29728         * string/test-strcasestr-ifunc.c: Likewise.
29729         * string/test-strcat-ifunc.c: Likewise.
29730         * string/test-strchr-ifunc.c: Likewise.
29731         * string/test-strchrnul-ifunc.c: Likewise.
29732         * string/test-strcmp-ifunc.c: Likewise.
29733         * string/test-strcpy-ifunc.c: Likewise.
29734         * string/test-strcspn-ifunc.c: Likewise.
29735         * string/test-strlen-ifunc.c: Likewise.
29736         * string/test-strncasecmp-ifunc.c: Likewise.
29737         * string/test-strncat-ifunc.c: Likewise.
29738         * string/test-strncmp-ifunc.c: Likewise.
29739         * string/test-strncpy-ifunc.c: Likewise.
29740         * string/test-strnlen-ifunc.c: Likewise.
29741         * string/test-strpbrk-ifunc.c: Likewise.
29742         * string/test-strrchr-ifunc.c: Likewise.
29743         * string/test-strspn-ifunc.c: Likewise.
29744         * string/test-strstr-ifunc.c: Likewise.
29745
29746         * debug/Makefile (tests-ifunc): New variable.
29747         (tests): Add $(tests-ifunc).
29748         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29749         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29750         * debug/test-stpcpy_chk-ifunc.c: New file.
29751         * debug/test-strcpy_chk-ifunc.c: Likewise.
29752
29753 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29754
29755         [BZ #13601]
29756         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29757         header is not read in.
29758
29759 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29760
29761         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29762         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29763         directly.  Pass built executable to script as
29764         $(built-program-cmd).
29765         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29766         $testprogram without using LD_LIBRARY_PATH and $ldso.
29767
29768         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29769         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29770         $(rtld-installed-name).
29771         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29772         (rtld_installed_name): Likewise.
29773         (library_path): Likewise.
29774         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29775         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29776         $(run-program-prefix) to tst-tables.sh.
29777         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29778         it to run tst-table-from and tst-table-to.
29779         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29780         Pass it to tst-table.sh.
29781         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29782         $(run-program-prefix) to tst-gettext.sh.
29783         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29784         tst-translit.sh.
29785         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29786         tst-gettext2.sh.
29787         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29788         to run tst-gettext.
29789         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29790         to run tst-gettext2.
29791         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29792         to run tst-translit.
29793         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29794         $(run-program-prefix) to tst-mtrace.sh.
29795         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29796         to run tst-mtrace.
29797         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29798         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29799         $(rtld-installed-name).
29800         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29801         (rtld_installed_name): Likewise.
29802         (run_program_prefix): New variable.  Use it to run wordexp-test.
29803
29804         * Makeconfig (ARCH): Remove all definitions.
29805         (machine): Likewise.
29806         [ARCH]: Remove conditional code.
29807         [!objdir]: Give error.
29808         [!objdir] (objpfx): Remove.
29809         [!objdir] (common-objpfx): Likewise.
29810         [!objdir] (common-objdir): Likewise.
29811         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29812         AC_CONFIG_FILES call.
29813         * configure: Regenerated.
29814
29815         [BZ #13888]
29816         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29817         or TMPDIR.
29818         (testout): Likewise.
29819
29820         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29821         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29822         $(rtld-installed-name).
29823         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29824         (rtld_installed_name): Likwise.
29825         (runit): Remove function.
29826         (run_getconf): New variable,  Use it for running getconf binary.
29827
29828 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29829
29830         [BZ #14716]
29831         * string/test-memmem.c (check_result): New function.
29832         (do_one_test): Use it.
29833         (check1): New function.
29834         (test_main): Use it.
29835
29836 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29837
29838         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29839
29840 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29841
29842         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29843         (_G_LSEEK64): Likewise.
29844         (_G_MMAP64): Likewise.
29845         (_G_FSTAT64): Likewise.
29846         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29847         (_G_LSEEK64): Likewise.
29848         (_G_MMAP64): Likewise.
29849         (_G_FSTAT64): Likewise.
29850         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29851         unconditional.  Call __mmap64 directly.
29852         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29853         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29854         __lseek64 directly.
29855         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29856         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29857         __mmap64 directly.
29858         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29859         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29860         __lseek64 directly.
29861         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29862         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29863         __lseek64 directly.
29864         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29865         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29866         __lseek64 directly.
29867         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29868         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29869         __fxstat64 directly.
29870         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29871         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29872         unconditional.
29873         (freopen64) [!_G_OPEN64]: Remove conditional code.
29874         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29875         unconditional.
29876         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29877         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29878         unconditional.
29879         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29880         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29881         unconditional.
29882         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29883         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29884         unconditional.
29885         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29886         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29887         unconditional.
29888         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29889         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29890         unconditional.
29891         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29892         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29893         unconditional.
29894         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29895
29896 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29897
29898         [BZ #12140]
29899         * manual/memory.texi (Malloc Tunable Parameters): Add note
29900         about free list pointers overwriting some perturb bytes.
29901         Wording suggested by Roland McGrath.
29902
29903 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29904
29905         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29906         (lgamma_test): Likewise.
29907         (tgamma_test): Likewise.
29908
29909 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29910
29911         [BZ #14700]
29912         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29913         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29914
29915 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29916
29917         * NEWS: Mention BZ #14716.
29918         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29919         when removing AVAILABLE1_USES_J macro.
29920
29921 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29922
29923         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29924         (__bswap_64): __uint64_t for unsigned 64-bit int.
29925
29926 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29927
29928         * include/string.h (memmem): Declare libc hidden alias.
29929         * string/memmem.c (memmem): Define libc hidden alias.
29930         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29931         __read, __close instead of open, read, close.
29932
29933 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29934
29935         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29936         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29937         global and hidden.
29938         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29939         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29940         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29941         Likewise.
29942         (__rawmemchr_sse2): Likewise.
29943         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29944         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29945         (__strchr_sse2): Likewise.
29946         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29947         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29948         (__strcasecmp_sse2): Likewise.
29949         (__strncasecmp_sse2): Likewise.
29950         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29951         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29952         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29953         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29954         (__strrchr_sse2): Likewise.
29955         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29956         ifunc-impl-list.c.
29957         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29958         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29959         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29960         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29961         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29962         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29963         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29964         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29965         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29966         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29967         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29968         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29969         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29970         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29971         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29972         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29973         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29974         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29975         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29976         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29977         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29978         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29979         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29980         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29981         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29982         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29983         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29984         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29985         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29986         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29987
29988         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29989         global and hidden.
29990         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29991         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29992         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29993         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29994         Likewise.
29995         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29996         Likewise.
29997         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29998         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29999         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30000         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30001         ifunc-impl-list.c.
30002         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30003         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30004         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30005         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30006         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30007         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30008         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30009         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30010         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30011         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30012         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30013         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30014         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30015         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30016         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30017         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30018         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30019         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30020         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30021         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30022         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30023         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30024         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30025         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30026         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30027         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30028         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30029         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30030         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30031         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30032         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30033         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30034         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30035         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30036         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30037         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30038         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30039         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30040         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30041         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30042         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30043
30044         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30045         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30046         * include/ifunc-impl-list.h: New file.
30047         * misc/ifunc-impl-list.c: Likewise.
30048         * misc/Makefile (routines): Add ifunc-impl-list.
30049         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30050         * string/test-string.h: Include <ifunc-impl-list.h>.
30051         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30052         TEST_NAME]: New variables.
30053         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30054         are defined.
30055         (test_init): Call __libc_ifunc_impl_list to initialize
30056         func_list if TEST_IFUNC and TEST_NAME are defined.
30057
30058         * string/Makefile (strop-tests): Add bcopy and bzero.
30059         * string/test-bcopy.c: New file.
30060         * string/test-bzero.c: Likewise.
30061         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30062         defined.
30063         * string/test-memset.c: Support bzero test if TEST_BZERO is
30064         defined.
30065         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30066         __libc_memmove.
30067         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30068         __libc_memset.
30069         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30070         of memset.
30071
30072 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30073
30074         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30075         * configure: Regenerated.
30076
30077         * Makeconfig (+link-static-before-libc): Don't include
30078         $(link-static-libc).
30079
30080         * libio/libio.h (_IO_pos_t): Remove.
30081
30082 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30083
30084         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30085         McGrath.
30086
30087 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30088
30089         * crypt/crypt-entry.c: Include fips-private.h.
30090         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30091         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30092         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30093         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30094
30095 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30096
30097         * crypt/crypt-private.h: Include stdbool.h.
30098         (_ufc_setup_salt_r): Return bool.
30099         * crypt/crypt-entry.c: Include errno.h.
30100         (__crypt_r): Return NULL with EINVAL for bad salt.
30101         * crypt/crypt_util.c (bad_for_salt): New.
30102         (_ufc_setup_salt_r): Check that salt is long enough and within
30103         the specified alphabet.
30104         * crypt/badsalttest.c: New file.
30105         * crypt/Makefile (tests): Add it.
30106         ($(objpfx)badsalttest): New.
30107
30108 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30109
30110         * NEWS: Add entry for BZ #14602.
30111
30112 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30113
30114         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30115         type-generic.
30116         * math/libm-test.inc: Update comment listing what functions and
30117         macros are tested.
30118         (isgreater_test): New function.
30119         (isgreaterequal_test): Likewise.
30120         (isless_test): Likewise.
30121         (islessequal_test): Likewise.
30122         (islessgreater_test): Likewise.
30123         (isunordered_test): Likewise.
30124         (main): Call the new functions.
30125
30126 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30127
30128         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30129         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30130         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30131         * sysdeps/i386/configure: Regenerated.
30132         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30133         * sysdeps/mach/configure: Regenerated.
30134         * sysdeps/mach/hurd/configure: Regenerated.
30135         * sysdeps/powerpc/configure: Regenerated.
30136         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30137         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30138         * sysdeps/s390/s390-32/configure: Regenerated.
30139         * sysdeps/s390/s390-64/configure: Regenerated.
30140         * sysdeps/sh/configure: Regenerated.
30141         * sysdeps/sparc/configure: Regenerated.
30142         * sysdeps/unix/sysv/linux/configure: Regenerated.
30143         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30144         * sysdeps/x86_64/configure: Regenerated.
30145
30146         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30147         defined.  Don't check if MAP is NULL.
30148
30149 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30150
30151         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30152         (_G_stat64): Likewise.
30153         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30154         (_G_stat64): Likewise.
30155         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30156         instead of struct _G_stat64.
30157         * libio/fileops.c (mmap_remap_check): Likewise.
30158         (decide_maybe_mmap): Likewise.
30159         (_IO_new_file_seekoff): Likewise.
30160         (_IO_file_stat): Likewise.
30161         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30162         _G_off64_t.
30163         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30164         instead of struct _G_stat64.
30165         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30166
30167 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30168
30169         [BZ #14602]
30170         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30171         Replace with ...
30172         (CHECK_EOL): New macro.
30173         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30174         CHECK_EOL.
30175         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30176         Replace with CHECK_EOL.
30177         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30178         Replace with CHECK_EOL.
30179
30180 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30181
30182         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30183         type-generic.
30184         * math/libm-test.inc: Update comment listing what functions and
30185         macros are tested.
30186         (finite_test): New function.
30187         (isinf_test): Likewise.
30188         (isnan_test): Likewise.
30189         (fpclassify_test): Test subnormal input.
30190         (isfinite_test): Likewise.
30191         (isnormal_test): Likewise.
30192         (main): Call the new functions.
30193
30194 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30195
30196         [BZ #14660]
30197         * Makerules (%.dynsym): Force C locale when running
30198         $(OBJDUMP) --dynamic-syms.
30199
30200 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30201
30202         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30203         <stdint.h>.
30204
30205 2012-10-06  David S. Miller  <davem@davemloft.net>
30206
30207         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30208         upper 32-bits of the length value in %o2 since we use branch-on-register
30209         tests which consider the entire 64-bit register.
30210
30211 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30212
30213         * string/test-strstr.c (check2): Add a test for page boundary.
30214
30215 2012-10-05  David S. Miller  <davem@davemloft.net>
30216
30217         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30218         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30219         file.
30220         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30221         sysdep_routines.
30222         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30223         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30224         and bzero when HWCAP_SPARC_CRYPTO is present.
30225
30226 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30227
30228         [BZ #14602]
30229         * string/test-strstr.c (check2): New function.
30230         (test_main): Call check2.
30231
30232         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30233         and bug-strchr1.
30234         * string/bug-strcasestr1.c (do_test): Moved to ...
30235         * string/test-strcasestr.c (check1): Here.  New function.
30236         (do_one_test): Break out result checking code into ...
30237         (check_result): This.  New function.
30238         (do_one_test): Call check_result.
30239         (test_main): Call check1.
30240         * string/bug-strchr1.c (do_test): Moved to ...
30241         * string/test-strchr.c (check1): Here.  New function.
30242         (do_one_test): Break out result checking code into ...
30243         (check_result): This.  New function.
30244         (do_one_test): Call check_result.
30245         (test_main): Call check1.
30246         * string/bug-strstr1.c (main): Moved to ...
30247         * string/test-strstr.c (check1): Here.  New function.
30248         (do_one_test): Break out result checking code into ...
30249         (check_result): This.  New function.
30250         (do_one_test): Call check_result.
30251         (test_main): Call check1.
30252         * string/bug-strcasestr1.c: Removed.
30253         * string/bug-strchr1.c: Likewise.
30254         * string/bug-strstr1.c: Likewise.
30255
30256         * elf/Makefile (dl-routines): Add hwcaps.
30257         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30258         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30259         (_dl_important_hwcaps): Moved to ...
30260         * elf/dl-hwcaps.c: Here.  New file.
30261         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30262
30263         [BZ #14557]
30264         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30265         if IS_IN_rtld isn't defined.
30266
30267         * elf/dl-support.c (_dl_sysinfo_map): New.
30268         Include "get-dynamic-info.h" and "setup-vdso.h".
30269         (_dl_non_dynamic_init): Call setup_vdso.
30270         * elf/dynamic-link.h: Don't include <assert.h>.
30271         (elf_get_dynamic_info): Moved to ...
30272         * elf/get-dynamic-info.h: Here.  New file.
30273         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30274         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30275         * elf/setup-vdso.h: Here.  New file.
30276         * elf/rtld.c: Include "setup-vdso.h".
30277         (dl_main): Call setup_vdso.
30278
30279 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30280
30281         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30282         creal in comment listing functions tested.  List finite, isinf,
30283         isnan, isless, islessequal, isgreater, isgreaterequal,
30284         islessgreater, isunordered, lgamma_r and pow10 as functions and
30285         macros not tested.  Mention which functions not tested are aliases
30286         for other functions.  Fix typo.  Note that signs of NaNs are not
30287         tested.
30288
30289         * scripts/config.guess: Update from config.git.
30290         * scripts/config.sub: Likewise.
30291
30292 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30293
30294         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30295         * misc/madvise.c (madvise): Renamed to __madvise.
30296         Make madvise a weak alias.
30297         * include/sys/mman.h: Declare __madvise.
30298         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30299         * sysdeps/unix/syscalls.list
30300         (madvise): Make __madvise the strong name, and madvise a weak alias.
30301         * sysdeps/unix/sysv/linux/syscalls.list
30302         (madvise, mmap): Remove redundant entries.
30303         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30304         * malloc/malloc.c (mtrim): Likewise.
30305         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30306
30307 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30308
30309         * sysdeps/mach/hurd/dl-cache.c: File removed.
30310         * config.h.in (USE_LDCONFIG): New #undef.
30311         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30312         * configure: Regenerated.
30313         * elf/Makefile (dl-routines): Add dl-cache only under
30314         [$(use-ldconfig) = yes].
30315         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30316         cache on [USE_LDCONFIG].
30317         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30318         [USE_LDCONFIG].
30319         * elf/rtld.c (dl_main): Likewise.
30320
30321 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30322
30323         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30324         _SC_LEVEL4_CACHE_LINESIZE.
30325
30326 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30327
30328         * sysdeps/unix/bsd/confstr.h: File removed.
30329
30330 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30331
30332         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30333         sys/sdt-config.h.
30334
30335 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30336
30337         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30338         Make 'mapoff' field ElfW(Off) rather than off_t.
30339
30340 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30341
30342         * nscd/Makefile: Remove nscd-cflags and all its users.
30343         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30344         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30345
30346         [BZ #10631]
30347         * malloc.c (malloc_printerr): Clarify error message.
30348
30349 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30350
30351         [BZ #14648]
30352         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30353         Set bit_FMA_Usable if FMA is supported.
30354         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30355         macro.
30356         (bit_FMA4_Usable): Updated.
30357         (index_FMA_Usable): New macro.
30358         (CPUID_FMA): Likewise
30359         (HAS_FMA): Defined with bit_FMA_Usable.
30360
30361 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30362
30363         * bits/types.h (__swblk_t): Type removed.
30364         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30365         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30366         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30367         (__SWBLK_T_TYPE): Likewise.
30368         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30369         (__SWBLK_T_TYPE): Likewise.
30370         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30371         (__SWBLK_T_TYPE): Likewise.
30372         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30373         (__SWBLK_T_TYPE): Likewise.
30374
30375 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30376             Honza Horak <hhorak@redhat.com>
30377
30378         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30379         (xdr_mapname): Use YPMAXMAP as maxsize.
30380         (xdr_peername): Use YPMAXPEER as maxsize.
30381         (xdr_keydat): Use YPAXRECORD as maxsize.
30382         (xdr_valdat): Use YPMAXRECORD as maxsize.
30383
30384 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30385
30386         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30387
30388         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30389         * csu/init-first.c: ... here.
30390         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30391         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30392         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30393         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30394         * sysdeps/i386/init-first.c: File removed.
30395         * sysdeps/sh/init-first.c: File removed.
30396
30397 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30398
30399         [BZ #14645]
30400         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30401         if x * y might underflow to zero and z is zero.
30402         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30403         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30404         * math/libm-test.inc (min_subnorm_value): New variable.
30405         (fma_test): Add more tests.
30406         (fma_test_towardzero): Likewise.
30407         (fma_test_downward): Likewise
30408         (fma_test_upward): Likewise.
30409         (initialize): Set min_subnorm_value.
30410
30411 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30412
30413         [BZ #14638]
30414         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30415         0 + 0.
30416         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30417         mode for addition resulting in exact zero.
30418         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30419         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30420         exact 0 + 0.
30421         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30422         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30423         * math/libm-test.inc (fma_test): Add more tests.
30424         (fma_test_towardzero): New function.
30425         (fma_test_downward): Likewise.
30426         (fma_test_upward): Likewise.
30427         (main): Call the new functions.
30428
30429 2012-09-28  David S. Miller  <davem@davemloft.net>
30430
30431         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30432
30433 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30434
30435         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30436         instead of SIGALRM.
30437
30438         * sysdeps/gnu/_G_config.h: Moved to ...
30439         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30440         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30441         * sysdeps/generic/_G_config.h: ... here.
30442
30443         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30444
30445         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30446
30447         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30448         Conditionalize target on [libnss_test1.so-version].
30449
30450         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30451
30452         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30453         (elfobjdir): Move out of conditionals.
30454
30455         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30456         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30457         (__nss_lookup_function): Conditionalize label remove_from_tree on
30458         [!DO_STATIC_NSS || SHARED], matching its only use.
30459
30460 2012-09-28  David S. Miller  <davem@davemloft.net>
30461
30462         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30463         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30464         file.
30465         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30466         sysdep_routines.
30467         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30468         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30469         when HWCAP_SPARC_CRYPTO is present.
30470
30471 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30472
30473         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30474
30475 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30476
30477         [BZ #6530]
30478         * stdio-common/vfprintf.c (process_string_arg): Revert
30479         2000-07-22 change.
30480
30481 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30482
30483         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30484         for testcase.
30485         * stdio-common/tst-sprintf.c: Include <locale.h>
30486         (main): Test sprintf's handling of incomplete multibyte
30487         characters.
30488
30489 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30490
30491         * elf/dl-runtime.c (VERSYMIDX): Removed.
30492         * elf/dl-version.c (VERSYMIDX): Likewise.
30493         * elf/do-rel.h (VERSYMIDX): Likewise.
30494         (VALIDX): Likewise.
30495         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30496         * elf/rtld.c (VALIDX): Likewise.
30497         (ADDRIDX): Likewise.
30498         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30499         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30500         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30501         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30502         (VALIDX): Likewise.
30503         (ADDRIDX): Likewise.
30504
30505 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30506
30507         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30508
30509 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30510
30511         [BZ #11438]
30512         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30513         to global scope.
30514         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30515         addresses are in the same scope as 192.0.2/24.
30516         * posix/gai.conf: Document new scope table defaults.
30517
30518 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30519
30520         [BZ #5298]
30521         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30522         for ftell.  Compute offsets from write pointers instead.
30523         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30524
30525 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30526
30527         [BZ #14543]
30528         * libio/Makefile (tests): New test case tst-fseek.
30529         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30530         combination works in wide mode.
30531         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30532         state when the external buffer state changes.
30533
30534 2012-09-27  David S. Miller  <davem@davemloft.net>
30535
30536         [BZ #14376]
30537         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30538         pass reloc->r_addend in as the 'high' argument to
30539         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30540
30541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30542
30543 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30544
30545         * rt/tst-aio2.c: Include <pthread.h>.
30546         * rt/tst-aio3.c: Likewise.
30547
30548 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30549
30550         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30551
30552 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30553
30554         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30555         contents on [SHARED].
30556
30557 2012-09-26  Marek Polacek  <polacek@redhat.com>
30558
30559         [BZ #14530]
30560         [BZ #13741]
30561         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30562         for C++ and GCC <4.3 as well as for non GCC compilers.
30563
30564 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30565
30566         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30567
30568 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30569
30570         * Makefile.in (all, install): Declare with .PHONY.
30571         Reported by Michael Hope <michael.hope@linaro.org>.
30572
30573 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30574
30575         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30576         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30577         system header.
30578         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30579         Likewise.
30580         (sydep_routines): Add the new and the internal functions.
30581         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30582         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30584         (GLIBC_2.17): Add the new function.
30585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30586         (GLIBC_2.17): Likewise.
30587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30588         (GLIBC_2.17): Likewise.
30589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30590         (GLIBC_2.17): Likewise.
30591         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30592
30593 2012-09-25  Alan Modra  <amodra@gmail.com>
30594
30595         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30596         Add release barrier before setting once_control to say
30597         initialisation is done.  Add hints on lwarx.  Use macro in
30598         place of isync.
30599         (clear_once_control): Add release barrier.
30600
30601 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30602
30603         [BZ #13629]
30604         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30605         specially.
30606         * math/s_clog10.c (__clog10): Likewise.
30607         * math/s_clog10f.c (__clog10f): Likewise.
30608         * math/s_clog10l.c (__clog10l): Likewise.
30609         * math/s_clogf.c (__clogf): Likewise.
30610         * math/s_clogl.c (__clogl): Likewise.
30611         * math/Makefile (libm-calls): Add x2y2m1.
30612         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30613         (__x2y2m1): Likewise.
30614         (__x2y2m1l): Likewise.
30615         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30616         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30617         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30618         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30619         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30620         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30621         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30622         * sysdeps/i386/fpu/libm-test-ulps: Update.
30623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30624
30625         [BZ #14621]
30626         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30627         int as type of variable DEPTH.
30628         (glob): Use size_t instead of int as type of variables NEWCOUNT
30629         and OLD_PATHC.
30630
30631 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30632
30633         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30634         Add s_sincosf-sse2.
30635         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30636         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30637         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30638         macros for using routine as __sincosf_ia32.
30639         Use macro for function declaration and weak_alias.
30640         * sysdeps/i386/fpu/libm-test-ulps: Update.
30641
30642         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30643         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30644
30645         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30646         subnormal argument.
30647         * math/s_cexpf.c (__cexpf): Likewise.
30648         * math/s_csinf.c (__csinf): Likewise.
30649         * math/s_csinhf.c (__csinhf): Likewise.
30650         * math/s_ctanf.c (__ctanf): Likewise.
30651         * math/s_ctanhf.c (__ctanhf): Likewise.
30652         * math/s_ccosh.c (__ccoshf): Likewise.
30653         * math/s_cexp.c (__cexpl): Likewise.
30654         * math/s_csin.c (__csin): Likewise.
30655         * math/s_csinh.c (__csinh): Likewise.
30656         * math/s_ctan.c (__ctan): Likewise.
30657         * math/s_ctanh.c (ctanh): Likewise.
30658         * math/s_ccoshl.c (__ccoshl): Likewise.
30659         * math/s_cexpl.c (__cexpl): Likewise.
30660         * math/s_csinl.c (__csinl): Likewise.
30661         * math/s_csinhl.c (__csinhl): Likewise.
30662         * math/s_ctanl.c (__ctanl): Likewise.
30663         * math/s_ctanhl.c (__ctanhl): Likewise.
30664
30665 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30666
30667         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30668         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30669         (_IO_off_t): Define to __off_t, not _G_off_t.
30670         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30671         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30672         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30673         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30674         type of __dummy and __dummy2 fields.
30675         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30676         (_G_ssize_t): Likewise.
30677         (_G_off_t): Likewise.
30678         (_G_pid_t): Likewise.
30679         (_G_uid_t): Likewise.
30680         (_G_wchar_t): Likewise.
30681         (_G_wint_t): Likewise.
30682         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30683         (_G_ssize_t): Likewise.
30684         (_G_off_t): Likewise.
30685         (_G_pid_t): Likewise.
30686         (_G_uid_t): Likewise.
30687         (_G_wchar_t): Likewise.
30688         (_G_wint_t): Likewise.
30689         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30690         (_G_ssize_t): Likewise.
30691         (_G_off_t): Likewise.
30692         (_G_pid_t): Likewise.
30693         (_G_uid_t): Likewise.
30694         (_G_wchar_t): Likewise.
30695         (_G_wint_t): Likewise.
30696
30697 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30698
30699         * malloc/arena.c: Include malloc-sysdep.h.
30700         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30701         is sufficient to shrink the heap or an unmap is needed.
30702         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30703         new function check_may_shrink_heap.
30704         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30705         new function check_may_shrink_heap.
30706
30707 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30708
30709         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30710         comments.
30711
30712 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30713
30714         * catgets/test-gencat.sh: Add "set -e".
30715         * elf/tst-pathopt.sh: Likewise.
30716         * grp/tst_fgetgrent.sh: Likewise.
30717         * iconvdata/run-iconv-test.sh: Likewise.
30718         * intl/tst-gettext.sh: Likewise.
30719         * intl/tst-gettext2.sh: Likewise.
30720         * intl/tst-gettext4.sh: Likewise.
30721         * intl/tst-gettext6.sh: Likewise.
30722         * intl/tst-translit.sh: Likewise.
30723         * io/ftwtest-sh: Likewise.
30724         * libio/test-freopen.sh: Likewise.
30725         * malloc/tst-mtrace.sh: Likewise.
30726         * posix/globtest.sh: Likewise.
30727         * posix/tst-getconf.sh: Likewise.
30728         * posix/wordexp-tst.sh: Likewise.
30729         * stdio-common/tst-printf.sh: Likewise.
30730         * stdio-common/tst-unbputc.sh: Likewise.
30731         * stdlib/tst-fmtmsg.sh: Likewise.
30732         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30733         * catgets/Makefile: Do not specify -e option when running
30734         testsuite shell scripts.
30735         * elf/Makefile: Likewise.
30736         * grp/Makefile: Likewise.
30737         * iconvdata/Makefile: Likewise.
30738         * intl/Makefile: Likewise.
30739         * io/Makefile: Likewise.
30740         * libio/Makefile: Likewise.
30741         * malloc/Makefile: Likewise.
30742         * posix/Makefile: Likewise.
30743         * stdio-common/Makefile: Likewise.
30744         * stdlib/Makefile: Likewise.
30745         * sysdeps/x86_64/Makefile: Likewise.
30746
30747         * io/ftwtest-sh: Add copyright header.
30748         * posix/globtest.sh: Likewise.
30749         * posix/tst-getconf.sh: Likewise.
30750         * posix/wordexp-tst.sh: Likewise.
30751         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30752
30753 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30754
30755         [BZ #13679]
30756         * Makeconfig (+link): Defined as $(+link-static) if
30757         $(build-shared) isn't yes.
30758         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30759         isn't yes.
30760         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30761
30762         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30763
30764         [BZ #14562]
30765         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30766         new chunk size with MALLOC_ALIGN_MASK.
30767
30768 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30769
30770         [BZ #5044]
30771         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30772         <rounding-mode.h>.
30773         (__printf_fphex): Determine rounding using get_rounding_mode and
30774         round_away.
30775         * stdio-common/tst-printf-round.c (struct hex_test): New
30776         structure.
30777         (hex_tests): New variable.
30778         (test_hex_in_one_mode): New function.
30779         (do_test): Also run tests for hex float output.
30780
30781 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30782
30783         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30784         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30785         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30786         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30787         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30788         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30789         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30790         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30791
30792 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30793
30794         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30795         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30796         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30797         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30798
30799 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30800
30801         [BZ #14579]
30802         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30803         mode only.
30804         * elf/tst-rtld-load-self.sh: New test.
30805         * elf/Makefile: Run it.
30806
30807 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30808
30809         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30810         (tst-writev-ENV): Remove.
30811         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30812
30813 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30814
30815         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30816
30817 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30818
30819         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30820         unconditional.
30821         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30822         Likewise.
30823         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30824         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30825         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30826         Likewise.
30827
30828 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30829
30830         [BZ #14587]
30831         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30832         * config.make.in (have-cpp-asm-debuginfo): Removed.
30833         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30834         * configure: Regenerated.
30835
30836 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30837
30838         [BZ #5044]
30839         * stdio-common/printf_fp.c: Include <stdbool.h> and
30840         <rounding-mode.h>.
30841         (___printf_fp): Determine rounding using get_rounding_mode and
30842         round_away.
30843         * stdio-common/tst-printf-round.c: New file.
30844         * stdio-common/Makefile (tests): Add tst-printf-round.
30845         (link-libm): New variable.
30846         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30847
30848 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30849
30850         [BZ #14576]
30851         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30852         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30853         Likewise.
30854         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30855         Likewise.
30856
30857 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30858
30859         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30860         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30861         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30862         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30863
30864 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30865
30866         [BZ #14518]
30867         * include/rounding-mode.h: New file.
30868         * sysdeps/generic/get-rounding-mode.h: Likewise.
30869         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30870         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30871         (MAX_VALUE): New macro.
30872         (MIN_VALUE): Likewise.
30873         (overflow_value): New function.
30874         (underflow_value): Likewise.
30875         (round_and_return): Use overflow_value and underflow_value to
30876         determine return values in overflow and underflow cases.  Use
30877         round_away to determine rounding depending on rounding mode.
30878         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30879         determine return values in overflow and underflow cases.
30880         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30881         (struct test_results): New structure.
30882         (struct test): Use struct test_results to store expected results
30883         for all rounding modes.
30884         (TEST): Include expected results for all rounding modes.
30885         (test_in_one_mode): New function.
30886         (do_test): Use test_in_one_mode to compute and check results.
30887         Check results for all rounding modes.
30888         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30889         $(link-libm).
30890
30891 2012-12-09  Allan McRae  <allan@archlinux.org>
30892
30893         * sysdeps/i386/fpu/libm-test-ulps: Update
30894
30895 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30896
30897         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30898         (_G_int32_t): Likewise.
30899         (_G_uint16_t): Likewise.
30900         (_G_uint32_t): Likewise.
30901         (_G_HAVE_BOOL): Likewise.
30902         (_G_HAVE_ATEXIT): Likewise.
30903         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30904         (_G_HAVE_IO_FILE_OPEN): Likewise.
30905         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30906         (_G_int32_t): Likewise.
30907         (_G_uint16_t): Likewise.
30908         (_G_uint32_t): Likewise.
30909         (_G_HAVE_BOOL): Likewise.
30910         (_G_HAVE_ATEXIT): Likewise.
30911         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30912         (_G_HAVE_IO_FILE_OPEN): Likewise.
30913         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30914         (_G_int32_t): Likewise.
30915         (_G_uint16_t): Likewise.
30916         (_G_uint32_t): Likewise.
30917         (_G_HAVE_BOOL): Likewise.
30918         (_G_HAVE_ATEXIT): Likewise.
30919         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30920         (_G_HAVE_IO_FILE_OPEN): Likewise.
30921
30922 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30923
30924         * csu/libc-tls.c: Update copyright years.
30925
30926 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30927
30928         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30929         [!_G_USING_THUNKS]: Remove conditional code.
30930         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30931         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30932
30933         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30934         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30935         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30936         (_G_VTABLE_LABEL_PREFIX): Likewise.
30937         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30938         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30939         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30940         (_G_VTABLE_LABEL_PREFIX): Likewise.
30941         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30942         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30943         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30944         (_G_VTABLE_LABEL_PREFIX): Likewise.
30945         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30946
30947 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30948
30949         * libio/Makefile: Include ../Makeconfig before tests.
30950         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30951         only if $(build-shared) is yes.
30952
30953         * iconv/gconv_db.c: Update copyright years.
30954
30955 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30956
30957         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30958         unwind info if defined PIC. Fix special cases description.
30959         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30960
30961         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30962         DP_HI_MASK entry.
30963         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30964
30965 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30966
30967         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30968
30969         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30970         is NULL.
30971
30972         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30973         (LDLIBS-tst-chk4): This.
30974         (LDFLAGS-tst-chk5): Renamed to ...
30975         (LDLIBS-tst-chk5): This.
30976         (LDFLAGS-tst-chk6): Renamed to ...
30977         (LDLIBS-tst-chk6): This.
30978         (LDFLAGS-tst-lfschk4): Renamed to ...
30979         (LDLIBS-tst-lfschk4): This.
30980         (LDFLAGS-tst-lfschk5): Renamed to ...
30981         (LDLIBS-tst-lfschk5): This.
30982         (LDFLAGS-tst-lfschk6): Renamed to ...
30983         (LDLIBS-tst-lfschk6): This.
30984
30985         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30986         on $(common-objpfx)soversions.mk.
30987
30988 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30989
30990         [BZ #10014]
30991         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30992         example host name.
30993
30994 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30995
30996         * malloc/arena.c (arena_get_retry): New function that gets
30997         another arena for the caller to try its request on.
30998         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30999         current arena cannot fulfill the request.
31000         (__libc_memalign): Likewise.
31001         (__libc_memalign): Likewise.
31002         (__libc_pvalloc): Likewise.
31003         (__libc_calloc): Likewise.
31004
31005 2012-09-05  John Tobey  <john.tobey@gmail.com>
31006
31007         [BZ #13542]
31008         * manual/arith.texi (Operations on Complex): Fix description
31009         of carg branch cut.
31010
31011 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31012
31013         [BZ #10014]
31014         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31015         host name.
31016
31017         [BZ #10038]
31018         * manual/memory.texi (Memory): Make order of menu items match
31019         order of sections.
31020
31021 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31022
31023         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31024         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31025         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31026
31027 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31028
31029         * csu/libc-tls.c (static_dtv): Renamed to ...
31030         (_dl_static_dtv): This.  Make it global.
31031         (_dl_initial_dtv): Removed.
31032         (__libc_setup_tls): Updated.
31033         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31034         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31035         DL_INITIAL_DTV.
31036
31037 2012-09-06  Petr Machata  <pmachata@redhat.com>
31038
31039         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31040         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31041         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31042         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31043
31044 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31045
31046         [BZ #14545]
31047         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31048         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31049         freeing dtv[-1].
31050
31051 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31052
31053         [BZ #14544]
31054         * Makeconfig (link-static-before-libc): Replace $(+prector)
31055         with $(+prectorT).
31056         (link-static-after-libc): Replace $(+postctor) with
31057         $(+postctorT).
31058         (link-bounded): Replace $(+prector)/$(+postctor) with
31059         $(+prectorT)/$(+postctorT).
31060         (+prectorT): New macro.
31061         (+postctorT): Likewise.
31062
31063 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31064
31065         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31066         (round_str): Handle values above the maximum for IBM long double
31067         as inexact.
31068         * stdlib/tst-strtod-round.c (tests): Regenerated.
31069
31070 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31071
31072         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31073         assembler flag.
31074         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31075         zarch_nohighgprs around the zarch optimized routines.
31076         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31077         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31078         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31079         for zarch.
31080
31081 2012-09-05  David S. Miller  <davem@davemloft.net>
31082
31083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31084
31085         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31086         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31087         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31088         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31089         entries.
31090
31091 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31092
31093         * malloc/arena.c: Fold copyright years.
31094         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31095
31096 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31097
31098         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31099
31100 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31101
31102         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31103
31104 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31105
31106         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31107         change internal state upon failure.
31108
31109 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31110
31111         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31112         * malloc/memusage.c (mmap): Likewise.
31113         (mmap64, mremap): Likewise.  Adjust name in comment.
31114
31115 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31116
31117         * libio/fileops.c: Fix typos in comments.
31118         * libio/oldfileops.c: Likewise.
31119         * libio/wfileops.c: Likewise.
31120
31121 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31122
31123         [BZ #1349]
31124         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31125         (tst-malloc-usable-ENV): Set environment for test case.
31126         * malloc/hooks.c (malloc_check_get_size): New function to get
31127         requested size.
31128         * malloc/malloc.c (musable): Use malloc_check_get_size.
31129         * malloc/tst-malloc-usable.c: New test case.
31130
31131 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31132
31133         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31134
31135 2012-09-05  Allan McRae  <allan@archlinux.org>
31136
31137         [BZ #13966]
31138         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31139         determine header location.
31140         * configure: Regenerated.
31141
31142 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31143
31144         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31145         float format.
31146         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31147         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31148         format.
31149         (test): Regenerate.
31150
31151 2012-09-04  David S. Miller  <davem@davemloft.net>
31152
31153         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31154         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31155         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31156
31157 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31158
31159         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31160         failures.
31161
31162         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31163
31164 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31165
31166         [BZ #9914]
31167         * libio/iogetdelim.c: Include <limits.h>.
31168         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31169         + len + 1 would overflow.
31170
31171 2012-09-03  Andreas Jaeger  <aj@suse.de>
31172
31173         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31174         * sysdeps/i386/fpu/libm-test-ulps: Update.
31175
31176 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31177
31178         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31179         Add s_sinf-sse2, s_conf-sse2.
31180
31181         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31182         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31183         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31184         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31185
31186         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31187         for using routine as __sinf_ia32.
31188         Use macro for function declaration and weak_alias.
31189         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31190         for using routine as __cosf_ia32.
31191         Use macro for function declaration and weak_alias.
31192
31193         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31194         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31195
31196         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31197         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31198         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31199
31200         * math/libm-test.inc (cos_test): Add more test cases.
31201         (sin_test): Likewise.
31202         (sincos_test): Likewise.
31203
31204 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31205
31206         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31207         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31208         hidden.
31209         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31210
31211 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31212
31213         [BZ #14538]
31214         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31215         first element of the GOT.
31216         (elf_machine_load_address): Return the difference between
31217         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31218
31219 2012-09-01  Allan McRae  <allan@archlinux.org>
31220
31221         [BZ #13412]
31222         * configure.in (AWK): Require gawk version 3.0 or later.
31223         * configure: Regenerated.
31224
31225 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31226
31227         * sysdeps/unix/sysv/linux/kernel-features.h
31228         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31229         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31230         [__NR_clock_getres]: Make code unconditional.
31231         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31232         (clock_getcpuclockid): Remove code left unreachable by removal of
31233         conditionals.
31234         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31235         code unconditional.
31236         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31237         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31238         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31239         Make code unconditional.
31240         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31241         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31242         * sysdeps/unix/sysv/linux/clock_settime.c
31243         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31244         conditional code.
31245         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31246         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31247
31248 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31249
31250         [BZ #14476]
31251         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31252         scripts/test-installation.pl.
31253
31254         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31255         and $ld_so_version if it is set.
31256
31257 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31258
31259         [BZ #14516]
31260         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31261         failure if reading from procfs failed.
31262         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31263
31264 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31265
31266         * sysdeps/unix/sysv/linux/kernel-features.h
31267         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31268         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31269         Remove conditional code.
31270         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31271         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31272         Remove conditional code.
31273         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31274         * sysdeps/unix/sysv/linux/i386/fxstat.c
31275         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31276         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31277         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31278         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31279         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31280         * sysdeps/unix/sysv/linux/i386/lxstat.c
31281         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31282         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31283         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31284         Remove conditional code.
31285         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31286         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31287         Remove conditional code.
31288         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31289         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31290         <kernel-features.h>.
31291         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31292         Remove.
31293         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31294         Remove conditional code.
31295         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31296         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31297         Remove conditional.
31298
31299 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31300
31301         [BZ #5400]
31302         * NEWS: Add fixed bug number.
31303
31304 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31305
31306         [BZ #14519]
31307         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31308         underflowing exponent in case of negative sign.
31309         * stdlib/tst-strtod-round-data: Add more tests.
31310         * stdlib/tst-strtod-round.c (tests): Regenerated.
31311
31312         [BZ #3479]
31313         * stdlib/strtod_l.c (NDIG): Remove.
31314         (HEXNDIG): Likewise.
31315         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31316         smallest representable value.
31317         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31318         lie within an exact representation of 1/2 ulp of the result.
31319         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31320         unconditionally.
31321         (TENS_P9_IDX): Define unconditionally.
31322         (TENS_P9_SIZE): Likewise.
31323         (TENS_P10_IDX): Likewise.
31324         (TENS_P10_SIZE): Likewise.
31325         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31326         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31327         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31328         entries for 10^2^13 and 10^2^14.
31329         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31330         (TENS_P13_IDX): Define.
31331         (TENS_P13_SIZE): Likewise.
31332         (TENS_P14_IDX): Likewise.
31333         (TENS_P14_SIZE): Likewise.
31334         (_fpioconst_pow10): Change array size to
31335         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31336         unconditional.
31337         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31338         1024]: Add entries for 10^2^13 and 10^2^14.
31339         [LAST_POW10 > _LAST_POW10]: Remove #error.
31340         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31341         (_fpioconst_pow10): Change array size to
31342         FPIOCONST_POW10_ARRAY_SIZE.
31343         * stdlib/gen-fpioconst.c: New file.
31344         * stdlib/gen-tst-strtod-round.c: Likewise.
31345         * stdlib/tst-strtod-round-data: Likewise.
31346         * stdlib/tst-strtod-round.c: Likewise.
31347         * stdlib/Makefile (tests): Add tst-strtod-round.
31348
31349         [BZ #14459]
31350         * stdlib/strtod_l.c: Include <stdint.h>.
31351         (NDEBUG): Do not define.
31352         (round_and_return): Change EXPONENT parameter to type intmax_t.
31353         Rearrange calculations to avoid internal overflow possibilities.
31354         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31355         Rearrange calculations to avoid internal overflow possibilities.
31356         Assert that number fits inside MPNSIZE limbs.
31357         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31358         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31359         calculations and add assertions to avoid internal overflow
31360         possibilities.  Add casts to avoid signed/unsigned operations.
31361         * stdlib/tst-strtod-overflow.c: New file.
31362         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31363
31364 2012-08-25  Marek Polacek  <polacek@redhat.com>
31365
31366         * time/time.h: Fix some typos in comments.
31367
31368 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31369
31370         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31371         * posix/tst-rfc3484-2.c: Likewise.
31372         * posix/tst-rfc3484-3.c: Likewise.
31373
31374 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31375
31376         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31377         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31378
31379 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31380
31381         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31382         #include of fxstatat64.c.
31383
31384 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31385
31386         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31387         * shadow/getspent_r.c: Likewise.
31388         * shadow/getspnam.c: Likewise.
31389         * shadow/getspnam_r.c: Likewise.
31390         * gshadow/getsgent.c: Likewise.
31391         * gshadow/getsgent_r.c: Likewise.
31392         * gshadow/getsgnam.c: Likewise.
31393         * gshadow/getsgnam_r.c: Likewise.
31394         * inet/getnetbyad.c: Likewise.
31395         * inet/getnetbyad_r.c: Likewise.
31396         * inet/getnetbynm.c: Likewise.
31397         * inet/getnetbynm_r.c: Likewise.
31398         * inet/getnetent.c: Likewise.
31399         * inet/getnetent_r.c: Likewise.
31400         * inet/getproto.c: Likewise.
31401         * inet/getproto_r.c: Likewise.
31402         * inet/getprtent.c: Likewise.
31403         * inet/getprtent_r.c: Likewise.
31404         * inet/getprtname.c: Likewise.
31405         * inet/getprtname_r.c: Likewise.
31406         * inet/getrpcbyname.c: Likewise.
31407         * inet/getrpcbyname_r.c: Likewise.
31408         * inet/getrpcbynumber.c: Likewise.
31409         * inet/getrpcbynumber_r.c: Likewise.
31410         * inet/getrpcent.c: Likewise.
31411         * inet/getrpcent_r.c: Likewise.
31412         * inet/getaliasent.c: Likewise.
31413         * inet/getaliasent_r.c: Likewise.
31414         * inet/getaliasname.c: Likewise.
31415         * inet/getaliasname_r.c: Likewise.
31416         * nscd/getgrgid_r.c: Likewise.
31417         * nscd/getgrnam_r.c: Likewise.
31418         * nscd/gethstbyad_r.c: Likewise.
31419         * nscd/gethstbynm3_r.c: Likewise.
31420         * nscd/getpwnam_r.c: Likewise.
31421         * nscd/getpwuid_r.c: Likewise.
31422         * nscd/getsrvbynm_r.c: Likewise.
31423         * nscd/getsrvbypt_r.c: Likewise.
31424         * nscd/gai.c: Likewise.
31425
31426         * configure.in (build_nscd): New substituted variable, set
31427         by --disable-build-nscd and defaults to $use_nscd.
31428         * configure: Regenerated.
31429         * config.make.in (build-nscd): New substituted variable.
31430         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31431         Change conditional to require [$(build-nscd) = yes] as well.
31432         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31433
31434         [BZ# 13696]
31435         * configure.in (use_nscd): New substituted variable, set by
31436         --disable-nscd.  If enabled, define USE_NSCD.
31437         * configure: Regenerated.
31438         * config.h.in: Add USE_NSCD.
31439         * config.make.in (use-nscd): New substituted variable.
31440         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31441         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31442         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31443         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31444         (CFLAGS-getgrnam_r.c): Likewise.
31445         (CFLAGS-initgroups.c): Likewise.
31446         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31447         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31448         Variables removed.
31449         * inet/getnetgrent_r.c
31450         (nscd_setnetgrent): New function, broken out of ...
31451         (setnetgrent): ... here.  Call it.
31452         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31453         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31454         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31455         * nscd/Makefile (routines, aux): Move definitions after include of
31456         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31457         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31458         Conditionalize on [USE_NSCD].
31459         (is_nscd, nscd_init_cb): Likewise.
31460         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31461         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31462         * nss/nss_db/db-init.c: Likewise.
31463         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31464         [USE_NSCD].
31465         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31466         (make_request): Use it.
31467         (cache_valid_p): New function.
31468         (__check_pf): Use it.
31469         * NEWS: Add item for --disable-nscd.
31470
31471 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31472
31473         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31474         to support sed >= 4.2.1-20-ga9bf076.
31475         * configure: Regenerated.
31476
31477 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31478
31479         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31480         Conditionalize whole body on [IREL].
31481
31482 2012-08-22  Jeff Law <law@redhat.com>
31483
31484         [BZ #14505]
31485         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31486         if the family is PF_UNSPEC.
31487
31488 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31489
31490         * Makerules (lib-version): Rename from V.
31491         (install-lib-nosubdir): Change V to lib-version.
31492
31493 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31494
31495         [BZ #14252]
31496         * powerpc32/power6/wcschr.c: New file.
31497         * powerpc32/power6/wcscpy.c: New file.
31498         * powerpc32/power6/wcsrchr.c: New file.
31499         * powerpc64/power6/wcschr.c: New file.
31500         * powerpc64/power6/wcscpy.c: New file.
31501         * powerpc64/power6/wcsrchr.c: New file.
31502
31503 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31504
31505         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31506         (two_way_short_needle): Use it.
31507         * string/strstr.c (AVAILABLE1_USES_J): Define.
31508         * string/strcasestr.c: Likewise.
31509
31510         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31511         array references.
31512         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31513
31514         [BZ #11607]
31515         * NEWS: Add an entry.
31516         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31517         define their defaults.
31518         (two_way_short_needle): Detect end-of-string on-the-fly.
31519         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31520         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31521         * string/bug-strcasestr1.c: New test.
31522         * string/Makefile: Run it.
31523
31524 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31525
31526         [BZ #11607]
31527         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31528         the first character.
31529
31530 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31531
31532         * csu/elf-init.c (__libc_csu_irel): Function removed.
31533         * csu/libc-start.c (apply_irel): New function.
31534         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31535
31536 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31537
31538         * sysdeps/unix/sysv/linux/kernel-features.h
31539         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31540         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31541         <kernel-features.h>.
31542         [__NR_fadvise64_64]: Make code unconditional.
31543         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31544         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31545         !__NR_fadvise64_64)]: Likewise.
31546         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31547         !__NR_fadvise64_64))]: Likewise.
31548         [__NR_fadvise64]: Make code unconditional.
31549         [!__NR_fadvise64]: Remove conditional code.
31550         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31551         <kernel-features.h>.
31552         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31553         unconditional.
31554         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31555         conditional code.
31556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31557         not include <kernel-features.h>.
31558         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31559         unconditional.
31560         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31561         conditional code.
31562         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31563         include <kernel-features.h>.
31564         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31565         unconditional.
31566         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31567         conditional code.
31568
31569 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31570
31571         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31572         slight instruction rearrangements per scrollpipe analysis.
31573         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31574
31575 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31576
31577         * manual/syslog.texi (syslog; vsyslog, closelog):
31578         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31579         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31580
31581         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31582         DSOCAPS to match condition on defining it.
31583
31584 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31585
31586         * sysdeps/unix/sysv/linux/kernel-features.h
31587         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31589         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31590         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31592         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31593         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31595         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31596         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31597
31598         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31599         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31600
31601         * sysdeps/unix/sysv/linux/kernel-features.h
31602         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31603         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31604         unconditional.
31605         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31606         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31607         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31608         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31609         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31610         Make code unconditional.
31611         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31612         (__mmap64) [!__NR_mmap2]: Likewise.
31613         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31614         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31615         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31616         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31617         [__NR_mmap2]: Make code unconditional.
31618         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31619         (__mmap64) [!__NR_mmap2]: Likewise.
31620
31621 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31622
31623         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31624
31625 2012-08-18  Andreas Jaeger  <aj@suse.de>
31626
31627         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31628
31629 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31630
31631         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31632         * include/unistd.h (__have_sock_cloexec): Likewise.
31633         (__have_pipe2): Likewise.
31634         (__have_dup3): Likewise.
31635
31636 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31637
31638         [BZ #9685]
31639         * include/unistd.h (__have_pipe2): Change define into an extern int.
31640         (__have_dup3): Likewise.
31641         * socket/have_sock_cloexec.c: Include fcntl.h.
31642         (__have_pipe2): New variable.
31643         (__have_dup3): Likewise.
31644
31645 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31646
31647         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31648
31649 2012-08-17  Marek Polacek  <polacek@redhat.com>
31650
31651         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31652         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31653
31654 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31655
31656         * configure.in: Add AC_SUBST for sysheaders.
31657         * configure: Regenerated.
31658         * config.make.in (sysheaders): New substituted variable.
31659
31660         * sysdeps/unix/mkfifo.c: Moved ...
31661         * sysdeps/posix/mkfifo.c: ... here.
31662         * sysdeps/unix/mkfifoat.c: Moved ...
31663         * sysdeps/posix/mkfifoat.c: ... here.
31664
31665         * sysdeps/unix/utime.c: Moved ...
31666         * sysdeps/posix/utime.c: ... here.
31667
31668         * sysdeps/unix/time.c: Moved ...
31669         * sysdeps/posix/time.c: ... here.
31670         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31671         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31672
31673         * sysdeps/unix/nice.c: Moved ...
31674         * sysdeps/posix/nice.c: ... here.
31675
31676         * sysdeps/unix/alarm.c: Moved ...
31677         * sysdeps/posix/alarm.c: ... here.
31678
31679         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31680
31681 2012-08-17  Jeff Law <law@redhat.com>
31682
31683         * intl/Makefile (codeset_mo): New variable.
31684         ($(codeset_mo)): New target.
31685         (tst-codeset.out): Depend on that.  Remove explicit rule.
31686         (tst-gettext3.out, tst-gettext5.out): Likewise.
31687         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31688         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31689         * intl/tst-codeset.sh: Remove.
31690         * intl/tst-gettext3.sh: Likewise.
31691         * intl/tst-gettext5.sh: Likewise.
31692
31693 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31694
31695         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31696         * sysdeps/unix/syscalls.list: ... here.
31697
31698         * sysdeps/posix/getaddrinfo.c
31699         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31700         (gaiconf_init, gaiconf_reload): Use them.
31701         [!_STATBUF_ST_NSEC]
31702         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31703         Define using time_t rather than struct timespec.
31704
31705         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31706         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31707         Macros removed.
31708         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31709         [!NO_THREADS].
31710         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31711         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31712         Likewise.
31713
31714         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31715         __libc_cleanup_push argument.
31716
31717         * bits/param.h: New file.
31718         * misc/sys/param.h: New file.
31719         * include/sys/param.h: New file.
31720         * misc/Makefile (headers): Add bits/param.h.
31721         * sysdeps/generic/sys/param.h: File removed.
31722         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31723         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31724         * sysdeps/mach/hurd/bits/param.h: New file.
31725         * sysdeps/mach/hurd/sys/param.h: File removed.
31726
31727         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31728         last change.
31729
31730         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31731         [_IO_MTSAFE_IO].
31732         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31733         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31734         New macros.
31735
31736         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31737         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31738         rather than -D_IO_MTSAFE_IO conditionally.
31739         * stdio-common/Makefile (CPPFLAGS): Likewise.
31740         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31741         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31742         Use $(libio-mtsafe).
31743         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31744         of -D_IO_MTSAFE_IO.
31745         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31746         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31747         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31748         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31749         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31750         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31751         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31752         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31753         (CFLAGS-fread_u_chk.c): Likewise.
31754         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31755         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31756         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31757         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31758         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31759         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31760         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31761         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31762         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31763
31764         * libio/Makefile: Test [$(libc-reentrant) = yes]
31765         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31766
31767         * Makeconfig
31768         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31769         * sysdeps/pthread/configure: File removed.
31770         * sysdeps/pthread/Makeconfig: New file.
31771         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31772         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31773
31774 2012-08-16  Gary Benson  <gbenson@redhat.com>
31775
31776         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31777         unmapping the first object in a namespace.
31778
31779 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31780
31781         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31782         (__internal_setnetgrent): ... this.  Add internal_function to
31783         definition.  Add libc_hidden_def.
31784         (setnetgrent): Update caller.
31785         (internal_endnetgrent): Renamed to ...
31786         (__internal_endnetgrent): ... this.  Add internal_function to
31787         definition.  Add libc_hidden_def.
31788         (endnetgrent): Update caller.
31789         (internal_getnetgrent_r): Renamed to ...
31790         (__internal_getnetgrent_r): ... this.  Add internal_function to
31791         definition.  Add libc_hidden_def.
31792         (__getnetgrent_r): Update caller.
31793         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31794
31795 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31796
31797         * stdlib/longlong.h: Update from GCC.
31798
31799 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31800
31801         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31802         on _QL, which is set by umul_ppmm but never used.
31803         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31804         variables, which are set by GMP macros but never used.
31805         * stdio-common/_itowa.c (_itowa): Likewise.
31806         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31807         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31808
31809 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31810
31811         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31812         struct La_sh_regs is not constant.
31813         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31814         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31815         and struct La_sparc64_regs are not constant.
31816
31817 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31818
31819         * sysdeps/unix/sysv/linux/kernel-features.h
31820         (__ASSUME_POSIX_TIMERS): Remove.
31821         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31822         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31823         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31824         Make code unconditional.
31825         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31826         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31827         Make code unconditional.
31828         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31829         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31830         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31831         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31832         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31833         Make code unconditional.
31834         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31835         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31836         (__libc_missing_posix_timers): Remove.
31837
31838 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31839
31840         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31841         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31842
31843         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31844
31845         * elf/dl-sym.c: Include <stdlib.h>.
31846
31847         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31848         constants, which avoids warnings in 32-bit builds.
31849
31850         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31851         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31852
31853         * misc/lseek.c: File moved to ...
31854         * io/lseek.c: ... here.
31855
31856         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31857
31858         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31859         shifting LEN more than 31 bits at once.
31860
31861 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31862
31863         [BZ #14195]
31864         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31865         segmentation fault for a case of two empty input strings.
31866         * string/test-strncasecmp.c (check1): Renamed to...
31867         (bz12205): ...this.
31868         (bz14195): Add new testcase for two empty input strings and N > 0.
31869         (test_main): Call new testcase, adapt for renamed function.
31870
31871 2012-08-15  Andreas Jaeger  <aj@suse.de>
31872
31873         [BZ #14090]
31874         * crypt/md5test2.c: New test, based on test supplied by Serge
31875         Belyshev <belyshev@depni.sinp.msu.ru>.
31876         * crypt/Makefile (xtests): Add md5test-giant..
31877         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31878
31879 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31880
31881         [BZ #14090]
31882         * crypt/md5.c (md5_process_block): Don't assume the buffer
31883         length is less than 2**32.
31884         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31885         length is less than 2**64.
31886
31887 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31888
31889         * string/str-two-way.h: Include <sys/param.h>.
31890         (MAX): Macro removed.
31891
31892         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31893         Move #define and #undef of memmove to just before and after
31894         including <string.h>.
31895
31896         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31897         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31898         and after including <string.h>.  Move declarations of
31899         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31900         to before #include "string/memmove.c".
31901
31902         * include/dirent.h: Declare __getdirentries.
31903
31904         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31905         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31906
31907 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31908
31909         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31910         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31911         * sysdeps/i386/configure: Regenerated.
31912         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31913         STABS_CURRENT_FILE, and STABS_FUN.
31914         (END): Remove call to STABS_FUN_END.
31915         (STABS_CURRENT_FILE1): Delete.
31916         (STABS_CURRENT_FILE): Likewise.
31917         (STABS_FUN): Likewise.
31918         (STABS_FUN_END): Likewise.
31919         (STABS_FUN2): Likewise.
31920         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31921         * sysdeps/x86_64/configure: Regenerated.
31922
31923 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31924
31925         * elf/dl-open.c: Include <atomic.h>.
31926         * elf/dl-lookup.c: Likewise.
31927
31928 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31929
31930         * sysdeps/unix/sysv/linux/kernel-features.h
31931         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31932         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31933         unconditionally.
31934         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31935         unconditionally.
31936         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31937         condition on __ASSUME_CLONE_THREAD_FLAGS.
31938
31939 2012-08-14  Andreas Jaeger  <aj@suse.de>
31940
31941         * sysdeps/i386/fpu/libm-test-ulps: Update.
31942
31943 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31944
31945         * include/atomic.h (atomic_exchange_and_add): Split into ...
31946         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31947         New atomic macros.
31948
31949 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31950
31951         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31952
31953 2012-08-13  Jeff Law <law@redhat.com>
31954
31955         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31956         null byte in the output string.
31957
31958 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31959
31960         * sysdeps/unix/sysv/linux/kernel-features.h
31961         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31962         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31963         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31964         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31965         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31966         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31967         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31968
31969 2012-08-09  Jeff Law <law@redhat.com>
31970
31971         [BZ #13939]
31972         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31973         When avoid_arena is set, don't retry in the that arena.  Pick the
31974         next one, whatever it might be.
31975         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31976         (arena_lock): Pass in new parameter to arena_get2.
31977         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31978         arena_get2.
31979         (__libc_malloc): Unify retrying after main arena failure with
31980         __libc_memalign version.
31981         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31982
31983 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31984
31985         [BZ #14166]
31986         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31987         to __redirect_strstr.
31988         (__strstr_sse42): Use typeof __redirect_strstr.
31989         (__strstr_ia32): Likewise.
31990         (__libc_strstr): New prototype.
31991         (strstr): Renamed to ...
31992         (__libc_strstr): This.
31993         (strstr): New strong alias of __libc_strstr.
31994         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31995         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31996         __redirect_time.
31997         Include <time.h>.
31998         (__libc_time): New prototype.
31999         (time_ifunc): Replace time with __libc_time.
32000         (time): New strong alias and hidden definition of __libc_time.
32001         (__GI_time): Remove strong alias.
32002         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32003         Include <stddef.h>.
32004         (memmove): Redefined to __redirect_memmove.
32005         (__memmove_sse2): Use typeof __redirect_memmove.
32006         (__memmove_ssse3): Likewise.
32007         (__memmove_ssse3_back): Likewise.
32008         (__libc_memmove): New prototype.
32009         (memmove): Renamed to ...
32010         (__libc_memmove): This.
32011         (memmove): New strong alias of __libc_memmove.
32012
32013 2012-08-08  Mark Salter  <msalter@redhat.com>
32014
32015         * elf/elf.h
32016         (R_MN10300_TLS_GD): Define.
32017         (R_MN10300_TLS_LD): Likewise.
32018         (R_MN10300_TLS_LDO): Likewise.
32019         (R_MN10300_TLS_GOTIE): Likewise.
32020         (R_MN10300_TLS_IE): Likewise.
32021         (R_MN10300_TLS_LE): Likewise.
32022         (R_MN10300_TLS_DTPMOD): Likewise.
32023         (R_MN10300_TLS_DTPOFF): Likewise.
32024         (R_MN10300_TLS_TPOFF): Likewise.
32025         (R_MN10300_SYM_DIFF): Likewise.
32026         (R_MN10300_ALIGN): Likewise.
32027         (R_MN10300_NUM): Update.
32028
32029 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32030
32031         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32032         Remove.
32033
32034 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32035
32036         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32037
32038         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32039         sysdeps/unix -> sysdeps/posix move.
32040         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32041
32042 2012-08-07      Allan McRae     <allan@archlinux.org>
32043
32044         [BZ #14303]
32045         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32046         (SUNOS_CPP): Likewise.
32047         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32048         not found.
32049         (open_input): Call CPP using execvp.
32050
32051 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32052
32053         * sysdeps/unix/sysv/linux/kernel-features.h
32054         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32055         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32056         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32057         (__ASSUME_WAITID_SYSCALL): Likewise.
32058         * sysdeps/unix/sysv/linux/dl-execstack.c
32059         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32060         code unconditional.
32061         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32062         conditional code.
32063         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32064         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32065         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32066         code.
32067         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32068         unconditional.
32069         [__ASSUME_WAITID_SYSCALL]: Likewise.
32070         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32071
32072 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32073
32074         * sysdeps/unix/closedir.c: Renamed to ...
32075         * sysdeps/posix/closedir.c: ... here.
32076         * sysdeps/unix/dirfd.c: Renamed to ...
32077         * sysdeps/posix/dirfd.c: ... here.
32078         * sysdeps/unix/dirstream.h: Renamed to ...
32079         * sysdeps/posix/dirstream.h: ... here.
32080         * sysdeps/unix/fdopendir.c: Renamed to ...
32081         * sysdeps/posix/fdopendir.c: ... here.
32082         * sysdeps/unix/opendir.c: Renamed to ...
32083         * sysdeps/posix/opendir.c: ... here.
32084         * sysdeps/unix/readdir.c: Renamed to ...
32085         * sysdeps/posix/readdir.c: ... here.
32086         * sysdeps/unix/readdir_r.c: Renamed to ...
32087         * sysdeps/posix/readdir_r.c: ... here.
32088         * sysdeps/unix/rewinddir.c: Renamed to ...
32089         * sysdeps/posix/rewinddir.c: ... here.
32090         * sysdeps/unix/seekdir.c: Renamed to ...
32091         * sysdeps/posix/seekdir.c: ... here.
32092         * sysdeps/unix/telldir.c: Renamed to ...
32093         * sysdeps/posix/telldir.c: ... here.
32094         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32095         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32096         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32097         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32098
32099         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32100         * bits/fcntl.h: ... here.
32101
32102         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32103         not 0.
32104         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32105         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32106         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32107         (struct flock): Move l_start, l_len to the beginning.
32108         Use __pid_t for l_pid.
32109         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32110         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32111         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32112         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32113         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32114         [__USE_LARGEFILE64] (struct flock64): New type.
32115         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32116
32117         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32118         * bits/dirent.h: ... here.
32119
32120         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32121         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32122
32123 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32124
32125         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32126         Change from 2.6.0 to 2.6.16.
32127         * sysdeps/unix/sysv/linux/configure: Regenerated.
32128         * sysdeps/unix/sysv/linux/kernel-features.h
32129         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32130         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32131         version.
32132         (__ASSUME_UTIMES): Likewise.
32133         (__ASSUME_CLONE_STOPPED): Remove.
32134         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32135         architectures, not kernel version.
32136         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32137         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32138         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32139         (__ASSUME_WAITID_SYSCALL): Likewise.
32140         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32141         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32142         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32143         refer to older versions.
32144
32145 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32146
32147         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32148         Define alphasort64 as an alias.
32149         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32150         Define versionsort64 as an alias.
32151         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32152         Define scandir64 as an alias.
32153         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32154         Define scandirat64 as an alias.
32155         * dirent/alphasort64.c (alphasort64):
32156         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32157         * dirent/versionsort64.c: Likewise.
32158         * dirent/scandir64.c: Likewise.
32159         * dirent/scandirat64.c: Likewise.
32160         * sysdeps/wordsize-64/alphasort.c: File removed.
32161         * sysdeps/wordsize-64/alphasort64.c: File removed.
32162         * sysdeps/wordsize-64/scandir.c: File removed.
32163         * sysdeps/wordsize-64/scandir64.c: File removed.
32164         * sysdeps/wordsize-64/scandirat.c: File removed.
32165         * sysdeps/wordsize-64/scandirat64.c: File removed.
32166         * sysdeps/wordsize-64/versionsort.c: File removed.
32167         * sysdeps/wordsize-64/versionsort64.c: File removed.
32168         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32169         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32170         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32171         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32172         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32173         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32174         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32175         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32176
32177         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32178         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32179         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32180         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32181         [defined __arch64__ || defined __sparcv9]
32182         (__INO_T_MATCHES_INO64_T): New macro.
32183         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32184         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32185         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32186         * sysdeps/unix/sysv/linux/bits/dirent.h
32187         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32188         (_DIRENT_MATCHES_DIRENT64): New macro.
32189
32190         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32191         Define lockf64 as an alias.
32192         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32193         Define fseeko64 as an alias.
32194         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32195         Define ftello64 as an alias.
32196         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32197         Define _IO_fgetpos64 and fgetpos64 as aliases.
32198         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32199         Define _IO_fsetpos64 and fsetpos64 as aliases.
32200         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32201         Conditionalize body on this.
32202         * libio/fseeko64.c: Likewise.
32203         * libio/ftello64.c: Likewise.
32204         * libio/iofgetpos64.c: Likewise.
32205         * libio/iofsetpos64.c: Likewise.
32206         * sysdeps/wordsize-64/lockf.c: File removed.
32207         * sysdeps/wordsize-64/lockf64.c: File removed.
32208         * sysdeps/wordsize-64/fseeko.c: File removed.
32209         * sysdeps/wordsize-64/fseeko64.c: File removed.
32210         * sysdeps/wordsize-64/ftello.c: File removed.
32211         * sysdeps/wordsize-64/ftello64.c: File removed.
32212         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32213         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32214         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32215         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32216         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32217         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32218         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32219         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32220         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32221         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32222         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32223         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32224         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32225         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32226
32227         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32228         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32229         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32230         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32231         [defined __arch64__ || defined __sparcv9]
32232         (__OFF_T_MATCHES_OFF64_T): New macro.
32233         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32234         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32235         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32236         (__OFF_T_MATCHES_OFF64_T): New macro.
32237
32238 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32239
32240         * stdlib/secure-getenv.c (__secure_getenv): Replace
32241         GLIBC_2_16 with GLIBC_2_17.
32242
32243 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32244
32245         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32246         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32247
32248 2012-08-03  David S. Miller  <davem@davemloft.net>
32249
32250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32251
32252 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32253
32254         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32255         Remove.
32256         (__ASSUME_CORRECT_SI_PID): Likewise.
32257         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32258         (__ASSUME_TMPFS_NAME): Likewise.
32259         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32260         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32261         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32262         (HAVE_AUX_SECURE): Make definition unconditional.
32263         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32264         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32265
32266 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32267
32268         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32269         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32270         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32271         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32272         __eloop_threshold instead of SYMLOOP_MAX.
32273
32274         * sysdeps/generic/eloop-threshold.h: New file.
32275         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32276         of MAXSYMLINKS.
32277         * elf/chroot_canon.c (chroot_canon): Likewise.
32278
32279 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32280
32281         [BZ #13717]
32282         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32283         Change to 2.6.0 everywhere.
32284         * sysdeps/unix/sysv/linux/configure: Regenerated.
32285         * sysdeps/unix/sysv/linux/kernel-features.h
32286         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32287         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32288         kernel versions.
32289         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32290         (__ASSUME_FUTEX_REQUEUE): Remove.
32291         (__ASSUME_STATFS64): Define unconditionally.
32292         (__ASSUME_AT_SECURE): Likewise.
32293         (__ASSUME_CORRECT_SI_PID): Likewise.
32294         (__ASSUME_TGKILL): Define without depending on kernel version for
32295         i386.
32296         (__ASSUME_UTIMES): Likewise.
32297         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32298         kernel version.
32299         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32300         (__ASSUME_TMPFS_NAME): Likewise.
32301         * README: Update reference to Linux kernel versions.
32302
32303 2012-08-02  Marek Polacek  <polacek@redhat.com>
32304
32305         [BZ# 14150]
32306         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32307         libc_cv_asm_type_prefix with %.
32308         * configure: Regenerated.
32309         * include/libc-symbols.h: Remove comment about
32310         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32311         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32312         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32313         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32314         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32315         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32316         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32317         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32318         * elf/tst-unique2mod1.c: Likewise.
32319         * elf/tst-unique1mod2.c: Likewise.
32320         * elf/tst-unique1mod1.c: Likewise.
32321         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32322         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32323         Replace ASM_TYPE_DIRECTIVE with .type.
32324         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32325         * sysdeps/i386/sysdep.h: Likewise.
32326         * sysdeps/x86_64/sysdep.h: Likewise.
32327         * sysdeps/sh/sysdep.h: Likewise.
32328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32329         Do not define ASM_TYPE_DIRECTIVE.
32330         * sysdeps/powerpc/sysdep.h: Likewise.
32331         * sysdeps/powerpc/powerpc32/sysdep.h:
32332         Replace ASM_TYPE_DIRECTIVE with .type.
32333         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32334         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32335         * sysdeps/i386/fpu/e_powf.S: Likewise.
32336         * sysdeps/i386/fpu/e_expl.S: Likewise.
32337         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32338         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32339         * sysdeps/i386/fpu/e_pow.S: Likewise.
32340         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32341         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32342         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32343         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32344         * sysdeps/i386/fpu/e_log2.S: Likewise.
32345         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32346         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32347         * sysdeps/i386/fpu/e_powl.S: Likewise.
32348         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32349         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32350         * sysdeps/i386/fpu/e_logl.S: Likewise.
32351         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32352         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32353         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32354         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32355         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32356         * sysdeps/i386/fpu/e_log.S: Likewise.
32357         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32358         * sysdeps/i386/fpu/e_logf.S: Likewise.
32359         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32360         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32361         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32362         * sysdeps/i386/fpu/e_log10.S: Likewise.
32363         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32364         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32365         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32366         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32367         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32368         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32369         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32370         * sysdeps/i386/i686/strtok.S: Likewise.
32371         * sysdeps/i386/i386-mcount.S: Likewise.
32372         * sysdeps/i386/strtok.S: Likewise.
32373         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32374         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32375         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32376         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32377         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32378         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32379         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32380         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32381         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32382         * sysdeps/x86_64/_mcount.S: Likewise.
32383         * sysdeps/x86_64/strtok.S: Likewise.
32384         * sysdeps/sh/_mcount.S: Likewise.
32385
32386 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32387
32388         * libio/iofopen.c: Include <fcntl.h>.
32389         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32390         (_IO_fopen64, fopen64): Define as aliases.
32391         * libio/iofopen64.c: Include <fcntl.h>.
32392         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32393         Conditionalize body on this.
32394         * sysdeps/wordsize-64/iofopen.c: File removed.
32395         * sysdeps/wordsize-64/iofopen64.c: File removed.
32396
32397 2012-08-01  Marek Polacek  <polacek@redhat.com>
32398
32399         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32400         Use dlfcn directly instead of a variable.
32401         (binfmt-subdir): Do not define.
32402         (dlfcn): Likewise.
32403
32404 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32405
32406         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32407         Remove all definitions.
32408         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32409         <kernel-features.h>.
32410         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32411         (miss_F_GETOWN_EX): Remove all definitions.
32412         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32413         macro definition.
32414         [!__ASSUME_FCNTL64]: Remove conditional code.
32415         [__ASSUME_FCNTL64]: Make code unconditional.
32416         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32417         <kernel-features.h>.
32418         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32419         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32420         (lockf64) [__NR_fcntl64]: Make code unconditional.
32421         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32422
32423         * sysdeps/unix/sysv/linux/kernel-features.h
32424         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32425         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32426         Make code unconditional.
32427         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32428         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32430         [__NR_vfork]: Make code unconditional.
32431         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32432         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32434         [__NR_vfork]: Make code unconditional.
32435         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32436         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32437
32438 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32439
32440         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32441         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32442
32443         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32444         Define mkstemp64 as an alias.
32445         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32446         Define mkstemps64 as an alias.
32447         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32448         Define mkostemp64 as an alias.
32449         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32450         Define mkostemps64 as an alias.
32451         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32452         Conditionalize body on this.
32453         * misc/mkostemp64.c: Likewise.
32454         * misc/mkostemps64.c: Likewise.
32455         * misc/mkstemps64.c: Likewise.
32456         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32457         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32458         * sysdeps/wordsize-64/mkostemp.c: File removed.
32459         * sysdeps/wordsize-64/mkstemp.c: File removed.
32460         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32461         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32462         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32463         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32464
32465         [BZ #14138]
32466         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32467         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32468         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32469         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32470
32471         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32472         compat_symbol macros from <shlib-compat.h> rather than the underlying
32473         default_symbol_version and symbol_version macros, so that DEFAULT
32474         lines in shlib-versions are respected.
32475         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32476
32477 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32478
32479         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32480         Declare with warn_unused_result.
32481         (setgid, setregid, setegid, setresgid): Likewise.
32482         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32483         Likewise.
32484         * WUR-REPORT: Remove set*id functions.
32485
32486 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32487
32488         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32489
32490 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32491
32492         [BZ #10191]
32493         * include/sys/socket.h (__libc_accept, __libc_accept4):
32494         Add attribute_hidden.
32495         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32496
32497         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32498         use of PTR_MANGLE.
32499         * inet/getnetgrent_r.c (setup): Likewise.
32500
32501         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32502
32503 2012-07-31  David S. Miller  <davem@davemloft.net>
32504
32505         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32506
32507 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32508
32509         [BZ #13629]
32510         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32511         value between 1.0 and 2.0 and smaller part has absolute value less
32512         than 1.0.
32513         * math/s_clog10.c (__clog10): Likewise.
32514         * math/s_clog10f.c (__clog10f): Likewise.
32515         * math/s_clog10l.c (__clog10l): Likewise.
32516         * math/s_clogf.c (__clogf): Likewise.
32517         * math/s_clogl.c (__clogl): Likewise.
32518         * math/libm-test.inc (clog_test): Add more tests.
32519         (clog10_test): Likewise.
32520         * sysdeps/i386/fpu/libm-test-ulps: Update.
32521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32522
32523 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32524
32525         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32526         Exit with zero in case no suitable GID is found, and write a
32527         message to standard error.
32528
32529 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32530
32531         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32532         rather than to 1.
32533         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32534         (MAXPATHLEN): Removed.
32535         (NOGROUP, NODEV): New macros.
32536         (setbit, clrbit, isset, isclr): New macros.
32537         (howmany, roundup, powerof2): New macros.
32538         (DEV_BSIZE): New macro.
32539
32540         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32541         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32542
32543         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32544         definition on [!__NO_LONG_DOUBLE_MATH].
32545
32546         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32547         PTR_MANGLE and PTR_DEMANGLE.
32548
32549         * socket/accept4.c (accept4): Rename to __libc_accept4.
32550         Define accept4 as a weak alias.
32551
32552         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32553         on [_DIRENT_HAVE_D_TYPE].
32554         * io/ftw.c (ftw_dir): Likewise.
32555
32556         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32557
32558         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32559
32560         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32561         Use the BSD numbers rather than the arbitrary ones we had.
32562         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32563         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32564         (SIGXCPU, SIGXFSZ): New macros.
32565         (_NSIG): Now 32.
32566
32567         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32568         initializer on [_LIBC_REENTRANT].
32569
32570         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32571         definitions inside [_POSIX_MAPPED_FILES].
32572
32573         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32574
32575         * dirent/opendir.c: Include <fcntl.h>.
32576
32577         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32578         (__libc_getspecific): Likewise.
32579         (__libc_key_create): Likewise.
32580
32581         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32582         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32583         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32584         (tmpfile64): Define as alias.
32585         * sysdeps/wordsize-64/tmpfile.c: File removed.
32586         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32587         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32588         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32589
32590         * stdio-common/vfscanf.c: Include <stdbool.h>.
32591         * nss/makedb.c: Likewise.
32592         * stdio-common/_i18n_number.h: Likewise.
32593         * argp/argp-help.c: Likewise.
32594         * posix/wordexp.c: Likewise.
32595         * sysdeps/posix/spawni.c: Likewise.
32596         * nss/nss_files/files-initgroups.c: Likewise.
32597         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32598         * nss/nss_files/files-initgroups.c: Likewise.
32599         * nss/nss_db/db-netgrp.c: Likewise.
32600         * nss/nss_db/db-initgroups.c: Likewise.
32601         * io/fchmodat.c: Include <sys/stat.h>.
32602
32603         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32604         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32605
32606         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32607         [HAVE_MMAP].
32608
32609         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32610         Add multiple inclusion protection.
32611
32612 2012-07-27  David S. Miller  <davem@davemloft.net>
32613
32614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32615
32616 2012-07-27  Gary Benson  <gbenson@redhat.com>
32617
32618         [BZ #14298]
32619         * elf/rtld.c: Include <stap-probe.h>.
32620         (dl_main): Added static probes "init_start" and "init_complete".
32621         * elf/dl-load.c: Include <stap-probe.h>.
32622         (lose): Take new parameter "nsid".
32623         Added static probe "map_failed".
32624         (_dl_map_object_from_fd): Pass namespace id to lose.
32625         Added static probe "map_start".
32626         (open_verify): Pass namespace id to lose.
32627         * elf/dl-open.c: Include <stap-probe.h>.
32628         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32629         and "reloc_complete".
32630         * elf/dl-close.c: Include <stap-probe.h>.
32631         (_dl_close_worker): Added static probes "unmap_start" and
32632         "unmap_complete".
32633         * elf/rtld-debugger-interface.txt: New file documenting the above.
32634
32635 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32636
32637         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32638         rather than a string variable.
32639         * sunrpc/rpc_main.c (h_output): Likewise.
32640         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32641
32642 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32643
32644         * inet/check_native.c: New file.
32645
32646 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32647
32648         [BZ #13629]
32649         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32650         if larger part has absolute value 1.0.
32651         * math/s_clog10.c (__clog10): Likewise.
32652         * math/s_clog10f.c (__clog10f): Likewise.
32653         * math/s_clog10l.c (__clog10l): Likewise.
32654         * math/s_clogf.c (__clogf): Likewise.
32655         * math/s_clogl.c (__clogl): Likewise.
32656         * math/libm-test.inc (clog_test): Add more tests.
32657         (clog10_test): Likewise.
32658         * sysdeps/i386/fpu/libm-test-ulps: Update.
32659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32660
32661         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32662         (pltexit): Likewise.
32663         (La_regs): Likewise.
32664         (La_retval): Likewise.
32665         (int_retval): Likewise.
32666         Update #error for removed macros to refer only to definitions in
32667         tst-audit.h.
32668         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32669         macro.
32670         (pltexit): Likewise.
32671         (La_regs): Likewise.
32672         (La_retval): Likewise.
32673         (int_retval): Likewise.
32674         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32675         macro.
32676         (pltexit): Likewise.
32677         (La_regs): Likewise.
32678         (La_retval): Likewise.
32679         (int_retval): Likewise.
32680         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32681         macro.
32682         (pltexit): Likewise.
32683         (La_regs): Likewise.
32684         (La_retval): Likewise.
32685         (int_retval): Likewise.
32686         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32687         macro.
32688         (pltexit): Likewise.
32689         (La_regs): Likewise.
32690         (La_retval): Likewise.
32691         (int_retval): Likewise.
32692         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32693         macro.
32694         (pltexit): Likewise.
32695         (La_regs): Likewise.
32696         (La_retval): Likewise.
32697         (int_retval): Likewise.
32698         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32699         macro.
32700         (pltexit): Likewise.
32701         (La_regs): Likewise.
32702         (La_retval): Likewise.
32703         (int_retval): Likewise.
32704         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32705         macro definitions in tst-audit.h.
32706         * sysdeps/i386/tst-audit.h: New file.
32707         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32708         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32709         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32710         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32711         * sysdeps/sh/tst-audit.h: Likewise.
32712         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32713         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32714         * sysdeps/x86_64/tst-audit.h: Likewise.
32715
32716 2012-07-26  Andreas Jaeger  <aj@suse.de>
32717
32718         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32719         ptrace.
32720
32721         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32722         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32723         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32724         PTRACE_O_MASK.
32725         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32726         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32727         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32728
32729         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32730         value.
32731
32732         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32733         _sigsys.
32734         (si_call_addr, si_syscall, si_arch): Define new macro.
32735         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32736         _sigsys.
32737         (si_call_addr, si_syscall, si_arch): Define new marcro.
32738         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32739         _sigsys.
32740         (si_call_addr, si_syscall, si_arch): Define new macro.
32741         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32742         _sigsys.
32743         (si_call_addr, si_syscall, si_arch): Define new macro.
32744
32745 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32746
32747         [BZ #13717]
32748         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32749         Change to 2.4.21 where previously 2.4.1.
32750         * sysdeps/unix/sysv/linux/configure: Regenerated.
32751         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32752         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32753         Linux kernel version.
32754         (__ASSUME_STD_AUXV): Remove.
32755         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32756         kernel version.
32757         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32758         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32759         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32760         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32761         (__ASSUME_NETLINK_SUPPORT): Likewise.
32762         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32763         (__no_netlink_support): Remove conditional definition.
32764         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32765         Remove.
32766         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32767         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32768         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32769         (if_nameindex_ioctl): Remove.
32770         (if_nameindex_netlink): Do not handle __no_netlink_support.
32771         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32772         code.
32773         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32774         Remove conditional code.
32775         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32776         code.
32777         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32778         unconditional.
32779         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32780         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32781         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32782         Remove.
32783         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32784         [!__ASSUME_STD_AUXV]: Remove conditional code.
32785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32786         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32787         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32789         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32790         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32791         code.
32792         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32794         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32795         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32796         conditional code.
32797         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32799         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32800         code.
32801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32802         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32803         conditional code.
32804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32805         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32806         code unconditional.
32807         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32808         conditional code.
32809         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32810         unconditional.
32811         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32812         conditional code.
32813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32814         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32815         unconditional.
32816         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32817         conditional code.
32818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32819         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32820         code unconditional.
32821         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32822         conditional code.
32823         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32824         unconditional.
32825         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32826         conditional code.
32827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32828         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32829         code unconditional.
32830         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32831         conditional code.
32832         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32833         unconditional.
32834         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32835         conditional code.
32836
32837 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32838
32839         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32840         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32841         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32842         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32843         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32844         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32845         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32846         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32847         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32848         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32849         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32850         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32851         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32852         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32853         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32854         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32855         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32856         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32857         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32858         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32859         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32860         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32861         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32862
32863 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32864
32865         * Versions.def: Add GLIBC_2.17.
32866         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32867         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32868         Introduce __libc_secure_getenv.
32869         * stdlib/Versions (2.17): Add secure_getenv
32870         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32871         * stdlib/secure-getenv.c: Rename __secure_getenv to
32872         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32873         symbol __secure_getenv for GLIBC_2.0.
32874         * stdlib/tst-secure-getenv.c: New.
32875         * stdlib/Makefile (tests): Add testcase.
32876         * manual/startup.texi (Environment Access): Document
32877         secure_getenv.
32878         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32879         __libc_secure_getenv.
32880         * inet/ruserpass.c (ruserpass): Likewise.
32881         * malloc/mtrace.c (mtrace): Likewise.
32882         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32883         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32884         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32885         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32886         HAVE_SECURE_GETENV.
32887         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32888         __secure_getenv to __libc_secure_getenv.
32889         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32891         Likewise.
32892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32893         Likewise.
32894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32896         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32901
32902 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32903
32904         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32905         (struct La_i86_retval): Likewise.
32906         (struct La_x86_64_regs): Likewise.
32907         (struct La_x86_64_retval): Likewise.
32908         (struct La_x32_regs): Likewise.
32909         (struct La_x32_retval): Likewise.
32910         (struct La_ppc32_regs): Likewise.
32911         (struct La_ppc32_retval): Likewise.
32912         (struct La_ppc64_regs): Likewise.
32913         (struct La_ppc64_retval): Likewise.
32914         (struct La_sh_regs): Likewise.
32915         (struct La_sh_retval): Likewise.
32916         (struct La_s390_32_regs): Likewise.
32917         (struct La_s390_32_retval): Likewise.
32918         (struct La_s390_64_regs): Likewise.
32919         (struct La_s390_64_retval): Likewise.
32920         (struct La_sparc32_regs): Likewise.
32921         (struct La_sparc32_retval): Likewise.
32922         (struct La_sparc64_regs): Likewise.
32923         (struct La_sparc64_retval): Likewise.
32924         (struct audit_ifaces): Remove architecture-specific pltenter and
32925         pltexit members.
32926         * sysdeps/i386/ldsodefs.h: New file.
32927         * sysdeps/powerpc/ldsodefs.h: Likewise.
32928         * sysdeps/s390/ldsodefs.h: Likewise.
32929         * sysdeps/sh/ldsodefs.h: Likewise.
32930         * sysdeps/sparc/ldsodefs.h: Likewise.
32931         * sysdeps/x86_64/ldsodefs.h: Likewise.
32932
32933 2012-07-25  Marek Polacek  <polacek@redhat.com>
32934
32935         [BZ #6808]
32936         * math/libm-test.inc (yn_test): Add another test.
32937         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32938         to ERANGE when the result is +-Inf.
32939         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32940         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32941         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32942         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32943
32944 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32945
32946         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32947         equal to 0.
32948         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32949         clock_t.
32950         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32951
32952 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32953
32954         * configure.in <sysdeps resolving>: Correct printing
32955         Implies_before.
32956         * configure: Regenerate.
32957
32958 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32959
32960         * math/w_ilogb.c: Include <limits.h>.
32961         * math/w_ilogbl.c: Likewise.
32962
32963 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32964
32965         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32966         va_copy.  Document allowing for unavailable va_copy only as
32967         pre-C99 compatibility.
32968         * manual/string.texi (Copying and Concatenation): Use va_copy
32969         instead of __va_copy in concat example.
32970
32971 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32972
32973         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32974         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32975         it if not null.
32976
32977         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32978         with O_NOLINK passed to __file_name_lookup.
32979
32980         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32981         with O_NOLINK passed to __file_name_lookup.
32982
32983         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32984         negative N or less than NGIDS.
32985
32986         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32987         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32988         enough.  Use memcpy instead of strncpy.
32989
32990 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32991
32992         * elf/Makefile (check-data): Remove.
32993         (localplt.data): New vpath directive.
32994         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32995         instead of $(check-data).
32996         * scripts/data/localplt-generic.data: Move to ...
32997         * sysdeps/generic/localplt.data: ... here.
32998         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32999         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33000         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33002         ... here.
33003         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33005         ... here.
33006         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33008         ... here.
33009         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33011         ... here.
33012         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33014         ... here.
33015         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33017         ... here.
33018
33019 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33020
33021         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33022         PPC32 and PPC64 files.
33023         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33024         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33025
33026 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33027
33028         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33029         __makecontext_ret to ...
33030         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33031         ... here and call exit if uc_link is NULL.  New file.
33032         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33033         __makecontext_ret.S.
33034         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33035         __makecontext_ret to ...
33036         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33037         ... here and call exit if uc_link is NULL.  New file.
33038         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33039         __makecontext_ret.S.
33040
33041 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33042
33043         * elf/elf.h (R_390_IRELATIVE): New definition.
33044         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33045         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33046         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33047         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33048         (elf_machine_lazy_rel): Likewise.
33049         * sysdeps/s390/dl-irel.h: New file.
33050         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33051         * sysdeps/s390/s390-64/memset.S: New asm code.
33052         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33053         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33054         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33055         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33056         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33057         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33058         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33059         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33060         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33061         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33062         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33063         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33064         * sysdeps/s390/s390-32/memset.S: New asm code.
33065         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33066
33067 2012-07-17  Marek Polacek  <polacek@redhat.com>
33068
33069         [BZ #14349]
33070         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33071         * sysdeps/s390/s390-64/configure.in: Likewise.
33072         * sysdeps/sparc/configure.in: Likewise.
33073         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33074         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33075         * sysdeps/i386/configure.in: Likewise.
33076         * sysdeps/x86_64/configure.in: Likewise.
33077         * sysdeps/sh/configure.in: Likewise.
33078         * sysdeps/s390/s390-32/configure: Regenerated.
33079         * sysdeps/s390/s390-64/configure: Likewise.
33080         * sysdeps/x86_64/configure: Likewise.
33081         * sysdeps/sh/configure: Likewise.
33082         * sysdeps/powerpc/powerpc64/configure: Likewise.
33083         * sysdeps/powerpc/powerpc32/configure: Likewise.
33084         * sysdeps/sparc/configure: Likwise.
33085         * sysdeps/i386/configure: Likewise.
33086
33087         * elf/dl-open.c: Comment fixes.
33088
33089 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33090
33091         * Makefile [CXX] (check-data): Remove.
33092         [CXX] (c++-types.data): New vpath directive.
33093         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33094         vpath.  Do not allow for C++ type data being missing.
33095         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33096         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33097         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33098         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33099         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33100         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33101         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33103         ... here.
33104         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33106         ... here.
33107         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33109         ... here.
33110         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33112         ... here.
33113         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33115         ... here.
33116         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33118         ... here.
33119         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33121         ... here.
33122         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33124
33125         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33126         definitions to architecture-specific files.
33127         (TLS_IE): Likewise.
33128         (TLS_LD): Likewise.
33129         (TLS_GD): Likewise.
33130         * sysdeps/i386/tls-macros.h: New file.
33131         * sysdeps/powerpc/tls-macros.h: Likewise.
33132         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33133         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33134         * sysdeps/sh/tls-macros.h: Likewise.
33135         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33136         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33137         * sysdeps/x86_64/tls-macros.h: Likewise.
33138
33139 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33140
33141         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33142         zero value for regular exit case.
33143
33144         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33145         (__start_context): Preserve zero value for regular exit case.
33146
33147 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33148             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33149
33150         * manual/setjmp.texi (setcontext): Clarify normal process
33151         termination when uc_link is the null pointer.
33152         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33153         exit call.
33154
33155 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33156
33157         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33158         preprocessor.  Test for each exception mask separately.
33159
33160 2012-07-16  Andreas Jaeger  <aj@suse.de>
33161
33162         * po/ru.po: Update from translation team.
33163
33164 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33165
33166         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33167         equal to 0.
33168         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33169         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33170         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33171         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33172         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33173
33174 2012-07-13  Andreas Jaeger  <aj@suse.de>
33175
33176         * po/fr.po: Update from translation team.
33177
33178 2012-07-12  Marek Polacek  <polacek@redhat.com>
33179
33180         [BZ #14173]
33181         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33182         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33183         loop condition.
33184
33185 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33186
33187         [BZ #13717]
33188         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33189         Change to 2.4.1 where previously 2.4.0.
33190         * sysdeps/unix/sysv/linux/configure: Regenerated.
33191         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33192         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33193         version.
33194         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33195         (__ASSUME_AT_CLKTCK): Remove.
33196         (__ASSUME_AT_PAGESIZE): Likewise.
33197         (__ASSUME_AT_XID): Likewise.
33198         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33199         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33200         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33201         unconditionally.
33202         (HAVE_AUX_PAGESIZE): Likewise.
33203         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33204         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33205         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33206
33207 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33208
33209         [BZ #14307]
33210         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33211         the temporary buffer used to invoke __gethostbyname2_r,
33212         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33213         host_data / struct gaih_addrtuple.
33214         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33215         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33216         header file nss/nsswitch.h.
33217         * nss/nsswitch.h (global scope): Add definition of implementation
33218         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33219         resolv/nss_dns/dns-host.c).
33220
33221 2012-07-11  Andreas Jaeger  <aj@suse.de>
33222
33223         * po/fr.po: Update from translation team.
33224
33225         * po/sv.po: Update from translation team
33226         * po/fr.po: Another update from translation team.
33227
33228 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33229
33230         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33231         for subnormals or multiply small sinh result by itself.
33232         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33234
33235 2012-07-11  David S. Miller  <davem@davemloft.net>
33236
33237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33238
33239 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33240
33241         [BZ #14347]
33242         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33243         (INTERNAL_MARK): Shift it here.
33244
33245 2012-07-10  Marek Polacek  <polacek@redhat.com>
33246
33247         [BZ #14151]
33248         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33249         libc_cv_asm_global_directive with .globl.
33250         * configure: Regenerated.
33251         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33252         with .globl.
33253         * sysdeps/i386/configure: Regenerated.
33254         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33255         with .globl.
33256         * sysdeps/x86_64/configure: Regenerated.
33257         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33258         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33259         * elf/tst-unique2mod2.c: Likewise.
33260         * elf/tst-unique2mod1.c: Likewise.
33261         * elf/tst-unique1mod2.c: Likewise.
33262         * elf/tst-unique1mod1.c: Likewise.
33263         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33264         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33265         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33266         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33267         * sysdeps/mach/sysdep.h: Likewise.
33268         * sysdeps/i386/sysdep.h: Likewise.
33269         * sysdeps/i386/i386-mcount.S: Likewise.
33270         * sysdeps/x86_64/_mcount.S: Likewise.
33271         * sysdeps/x86_64/sysdep.h: Likewise.
33272         * sysdeps/sh/_mcount.S: Likewise.
33273         * sysdeps/sh/sysdep.h: Likewise.
33274         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33275         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33276         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33277         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33278         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33279         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33280         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33281         * locale/localeinfo.h: Likewise.
33282         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33283         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33284
33285 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33286
33287         [BZ #14336]
33288         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33289         system".
33290         * manual/message.texi (The Uniforum approach): Likewise.
33291         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33292         (glibc iconv Implementation): Likewise.
33293
33294 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33295
33296         [BZ #14337]
33297         * math/s_clog.c (__clog): Avoid scaling a value down where that
33298         could result in underflow.
33299         * math/s_clog10.c (__clog10): Likewise.
33300         * math/s_clog10f.c (__clog10f): Likewise.
33301         * math/s_clog10l.c (__clog10l): Likewise.
33302         * math/s_clogf.c (__clogf): Likewise.
33303         * math/s_clogl.c (__clogl): Likewise.
33304         * math/libm-test.inc (clog_test): Add more tests.
33305         (clog10_test): Likewise.
33306         * sysdeps/i386/fpu/libm-test-ulps: Update.
33307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33308
33309 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33310
33311         [BZ #14283]
33312         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33313         by 7 not 8 to examine high bit of fractional part.
33314
33315         [BZ #14042]
33316         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33317         for call to __mcount_internal.
33318         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33319         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33320         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33321
33322 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33323
33324         [BZ #14154]
33325         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33326         approximation for values within 0x1p-13f of an odd multiple of
33327         pi/4.
33328         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33329         exception.  Add more tests.
33330         * sysdeps/i386/fpu/libm-test-ulps: Update.
33331
33332         [BZ #6778]
33333         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33334         inputs and return -1 for them.  Do not check for +Inf in case not
33335         reachable for +Inf.
33336         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33337         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33338         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33339         and return -1 for them.  Do not check for +Inf in case not
33340         reachable for +Inf.
33341         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33342         define.
33343         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33344         and return -1 for them.  Do not check for +Inf in case not
33345         reachable for +Inf.
33346         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33347         spurious underflow.
33348         * sysdeps/i386/fpu/libm-test-ulps: Update.
33349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33350
33351 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33352
33353         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33354
33355 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33356
33357         [BZ #14157]
33358         [BZ #14331]
33359         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33360         could result in spurious underflow.  Scale down values above
33361         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33362         * math/s_csqrtf.c (__csqrtf): Likewise.
33363         * math/s_csqrtl.c (__csqrtl): Likewise.
33364         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33365         spurious underflow.
33366         * sysdeps/i386/fpu/libm-test-ulps: Update.
33367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33368
33369 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33370
33371         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33372         xopen-msg.sed.
33373         * catgets/xopen-msg.awk: New file.
33374         * catgets/xopen-msg.sed: Removed.
33375
33376         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33377         po2text.sed.
33378         * intl/po2test.awk: New file.
33379         * intl/po2test.sed: Removed.
33380
33381 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33382
33383         [BZ #14328]
33384         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33385         or multiply small sinh result by itself.
33386         * math/s_ctanf.c (__ctanf): Likewise.
33387         * math/s_ctanh.c (__ctanh): Likewise.
33388         * math/s_ctanhf.c (__ctanhf): Likewise.
33389         * math/s_ctanhl.c (__ctanhl): Likewise.
33390         * math/s_ctanl.c (__ctanl): Likewise.
33391         * math/libm-test.inc (ctan_test_tonearest): New function.
33392         (ctan_test_towardzero): Likewise.
33393         (ctan_test_downward): Likewise.
33394         (ctan_test_upward): Likewise.
33395         (ctanh_test_tonearest): Likewise.
33396         (ctanh_test_towardzero): Likewise.
33397         (ctanh_test_downward): Likewise.
33398         (ctanh_test_upward): Likewise.
33399         (main): Call these new functions.
33400         * sysdeps/i386/fpu/libm-test-ulps: Update.
33401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33402
33403 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33404
33405         * .gitignore: Delete /ports entry.
33406
33407 2012-07-03  Andreas Jaeger  <aj@suse.de>
33408
33409         * po/bg.po: Update from translation team.
33410         * po/cs.po: Likewise.
33411         * po/de.po: Likewise.
33412         * po/hr.po: Likewise.
33413         * po/nl.pl: Likewise.
33414         * po/pl.po: Likewise.
33415         * po/vi.po: Likewise.
33416
33417 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33418
33419         * Makeconfig [!+link] (+link-before-libc): New variable.
33420         [!+link] (+link-after-libc): Likewise.
33421         [!+link] (+link-tests): Likewise.
33422         [!+link] (+link): Define in terms of $(+link-before-libc) and
33423         $(+link-after-libc).
33424         [!+link-static] (+link-static-before-libc): New variable.
33425         [!+link-static] (+link-static-after-libc): Likewise.
33426         [!+link-static] (+link-static-tests): Likewise.
33427         [!+link-static] (+link-static): Define in terms of
33428         $(+link-static-before-libc) and $(+link-static-after-libc).
33429         [build-shared] (link-libc-before-gnulib): New variable.
33430         [build-shared] (link-libc-tests): Likewise.
33431         [build-shared] (link-libc): Define in terms of
33432         $(link-libc-before-gnulib).
33433         [!build-shared] (link-libc-tests): New variable.
33434         (link-libc-static-tests): New variable.
33435         [!gnulib] (gnulib-arch): New variable.
33436         [!gnulib] (gnulib-tests): Likewise.
33437         [!gnulib] (static-gnulib-arch): Likewise.
33438         [!gnulib] (static-gnulib-tests): Likewise.
33439         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33440         Define with "=" instead of ":=".
33441         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33442         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33443         * Rules (binaries-all-notests): New variable.
33444         (binaries-all-tests): Likewise.
33445         (binaries-static-notests): Likewise.
33446         (binaries-static-tests): Likewise.
33447         (binaries-all): Define using $(binaries-all-notests) and
33448         $(binaries-all-tests).
33449         (binaries-static): Define using $(binaries-static-notests) and
33450         $(binaries-static-tests).
33451         (binaries-shared-tests): New variable.
33452         (binaries-shared-notests): Likewise.
33453         (binaries-shared): Remove variable.
33454         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33455         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33456         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33457         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33458         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33459         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33460         * elf/Makefile (sln-modules): New variable.
33461         (extra-objs): Add $(sln-modules:=.o).
33462         (ldconfig-modules): Add static-stubs.
33463         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33464         * elf/static-stubs.c: New file.
33465
33466         [BZ #14283]
33467         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33468         by 7 not 8 to examine high bit of fractional part.  Use volatile
33469         variables when splitting into final array of floats if
33470         __FLT_EVAL_METHOD__ != 0.
33471         * math/libm-test.inc (cos_test): Add another test.
33472         (sin_test): Likewise.
33473         * sysdeps/i386/fpu/libm-test-ulps: Update.
33474
33475         [BZ #14273]
33476         * math/libm-test.inc (cosh_test): Add more tests.
33477
33478         * version.h (RELEASE): Set to "development".
33479         (VERSION): Set to "2.16.90".
33480
33481 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33482
33483         * NEWS: Update copyright. Remove last-updated date.
33484         Mention math library bug fixes and timezone data changes.
33485         * README: Mention GNU/Hurd, x32, and HPPA support status.
33486
33487 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33488
33489         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33490
33491 2012-06-27  Andreas Jaeger  <aj@suse.de>
33492
33493         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33494
33495 2012-06-25  Andreas Jaeger  <aj@suse.de>
33496
33497         * sysdeps/s390/fpu/libm-test-ulps: Update.
33498
33499 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33500             Thomas Schwinge  <thomas@codesourcery.com>
33501
33502         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33503         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33504         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33505         fanotify_mark.
33506
33507 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33508
33509         * sysdeps/mach/start.c: Remove file.
33510         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33511         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33512         * sysdeps/sh/init-first.c: Likewise.
33513
33514         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33515         registers for frame unwinding purposes, add CFI directives.
33516         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33517         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33518         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33519         Likewise.
33520
33521         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33522         __fortify_fail returning.
33523         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33524
33525         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33526         sysdeps/sh/____longjmp_chk.S.
33527         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33528         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33529         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33530         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33531
33532         * sysdeps/sh/abort-instr.h: New file.
33533         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33534         process in case exit returns.
33535
33536         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33537         initialize the GOT register before use.
33538
33539         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33540         calculation of ARGC > 4.
33541
33542         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33543         meaningful names to some local labels.
33544
33545 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33546             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33547
33548         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33549         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33550         (__arch_compare_and_exchange_val_16_acq): Likewise.
33551         (__arch_compare_and_exchange_val_32_acq): Likewise.
33552         (atomic_exchange_and_add): Fix gUSA sequence.
33553         (atomic_add): Likewise.
33554         (atomic_add_negative): Likewise.
33555         (atomic_add_zero): Likewise.
33556         (atomic_bit_test_set): Likewise.
33557
33558 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33559
33560         [BZ #13579]
33561         * include/link.h (struct link_map): Add l_free_initfini.
33562         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33563         l_initfini.
33564         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33565         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33566         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33567         set.
33568
33569 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33570
33571         * configure.in: Use AC_LANG_SOURCE.
33572         * configure: Regenerate.
33573
33574 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33575
33576         * configure.in (libc_cv_localstatedir): New substituted variable.
33577         * configure: Regenerated.
33578         * config.make.in (localstatedir): New variable, substituted from
33579         libc_cv_localstatedir.
33580         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33581         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33582         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33583         * sysdeps/gnu/configure: Regenerated.
33584
33585 2012-06-21  Jeff Law  <law@redhat.com>
33586
33587         [BZ #14277]
33588         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33589         free.  Simplify list management for _LIBC case.
33590
33591 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33592
33593         [BZ #14273]
33594         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33595         Clear sign bit of 64-bit integer value before comparing against
33596         overflow value.
33597
33598         * sysdeps/mach/configure: Regenerated.
33599
33600 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33601
33602         [BZ #14278]
33603         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33604
33605 2012-06-21  Jeff Law  <law@redhat.com>
33606
33607         [BZ #13882]
33608         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33609         uint16_t for elements in the "seen" array to avoid char overflows.
33610         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33611         * elf/dl-open.c (dl_open_worker): Likewise.
33612
33613 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33614
33615         * scripts/list-sources.sh: Scan PORTS for translations.
33616         * po/libc.pot: Regenerated.
33617
33618 2012-06-21  Andreas Jaeger  <aj@suse.de>
33619
33620         [BZ #12194]
33621         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33622         warning.
33623         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33624         * bits/byteswap-16.h (__bswap_16): Likewise.
33625         * bits/byteswap.h (__bswap_constant_16): Likewise.
33626
33627 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33628
33629         [BZ #14117]
33630         * sysdeps/i386/fpu_control.h: Removed.
33631         * sysdeps/x86_64/fpu_control.h: Moved to ...
33632         * sysdeps/x86/fpu_control.h: Here.
33633
33634         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33635         (_FPU_SETCW): Likewise.
33636
33637 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33638
33639         [BZ #14117]
33640         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33641         * sysdeps/x86/fpu/bits/mathinline.h: This.
33642         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33643
33644         [BZ #14050]
33645         [BZ #14117]
33646         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33647         functions if __x86_64__ is defined.
33648
33649 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33650
33651         * string/endian.h: Add !__ASSEMBLER__ condition for including
33652         conversion interfaces.
33653
33654 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33655
33656         [BZ #14241]
33657         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33658         of ABS(x) in calculating zero to negative powers other than odd
33659         integers.
33660         * math/libm-test.inc (pow_test): Add more tests.
33661
33662 2012-06-15  Andreas Jaeger  <aj@suse.de>
33663
33664         * manual/contrib.texi (Contributors): Update entry of Liubov
33665         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33666         Machado Filho.
33667
33668 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33669
33670         * string/string.h: Add __wur to GNU version of strerror_r.
33671
33672 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33673
33674         [BZ #14229]
33675         * string/Makefile (tests): Add tst-strtok_r.
33676         * string/tst-strtok_r.c: New file.
33677         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33678         RAX_LP/RDX_LP on SAVE_PTR.
33679
33680 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33681
33682         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33683
33684 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33685
33686         * libm_test.inc (csqrt_test): Allow more spurious underflow
33687         exceptions.
33688         (j0_test): Likewise.
33689         (j1_test): Likewise.
33690         (y0_test): Likewise.
33691         (y1_test): Likewise.
33692
33693 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33694
33695         * po/Makefile (libc.pot): Use UTF-8 charset.
33696
33697 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33698
33699         [BZ #14210]
33700         Suppress sign-conversion warning from FD_SET.
33701         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33702         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33703         not unsigned long int.
33704         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33705
33706 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33707
33708         [BZ #14050]
33709         [BZ #14117]
33710         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33711         __extern_always_inline instead of __extern_inline.
33712         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33713         (__signbit): Likewise.
33714         (__signbitl): Support C++ namespace.
33715         (lrintf): New inline function.
33716         (lrint): Likewise.
33717         (llrintf): Likewise.
33718         (llrint): Likewise.
33719         (fmaxf): Likewise.
33720         (fmax): Likewise.
33721         (fminf): Likewise.
33722         (fmin): Likewise.
33723         (rint): Likewise.
33724         (rintf): Likewise.
33725         (ceil): Likewise.
33726         (ceilf): Likewise.
33727         (floor): Likewise.
33728         (floorf): Likewise.
33729         (nearbyint): Likewise.
33730         (nearbyintf): Likewise.
33731
33732 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33733
33734         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33735         non-default versions.
33736
33737 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33738
33739         [BZ #14218]
33740         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33741
33742 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33743
33744         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33745         (FE_UPWARD, FE_DOWNWARD): Don't define.
33746         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33747         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33748
33749         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33750         reading it.
33751         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33752         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33753
33754 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33755
33756         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33757         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33758         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33759         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33760
33761 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33762
33763         [BZ #14117]
33764         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33765         * sysdeps/i386/fpu/Implies: New file.
33766         * sysdeps/x86_64/fpu/Implies: Likewise.
33767         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33768         * sysdeps/x86/fpu/bits/fenv.h: This.
33769
33770         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33771         __SSE_MATH__.
33772
33773 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33774
33775         [BZ #14134]
33776         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33777         character 0xffff that matches the last element of the
33778         conversion table.
33779
33780 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33781
33782         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33783         fmodl commit.
33784
33785 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33786
33787         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33788         values higher than 25.6283.
33789
33790 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33791
33792         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33793         subnormal exponent extraction and add some __builtin_expect.
33794         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33795         Fix for subnormal mantissa calculation.
33796
33797 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33798
33799         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33800         cpu2 is -1 and errno is not ENOSYS.
33801
33802 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33803
33804         [BZ #14117]
33805         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33806         * sysdeps/x86/bits/string.h: This.
33807         * sysdeps/x86_64/bits/string.h: Removed.
33808
33809         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33810         if not compiling for x86-64, but compiling for >= i486.
33811
33812         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33813         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33814
33815         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33816         New macro from Linux kernel 3.4.0.
33817         (FP_XSTATE_MAGIC2): Likewise.
33818         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33819         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33820         (struct _fpx_sw_bytes): New struct.
33821         (struct _xsave_hdr): Likewise.
33822         (struct _ymmh_state): Likewise.
33823         (struct _xstate): Likewise.
33824
33825         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33826         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33827         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33828         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33829         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33830         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33831
33832         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33833         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33834         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33835         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33836         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33837         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33838
33839 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33840
33841         [BZ #13743]
33842         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33843         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33844         (sysdep_headers): Include sys/platform/ppc.h.
33845         * sysdeps/powerpc/test-gettimebase.c: Test for
33846         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33847         * manual/Makefile (appendices): Include platform.texi.
33848         * manual/contrib.texi (Contributors): Update @node pointers.
33849         * manual/maint.texi (Maintenance): Likewise.
33850         (Platform): New node.
33851         * manual/platform.texi: New file.  Document the new features.
33852
33853 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33854             Jakub Jelinek  <jakub@redhat.com>
33855
33856         [BZ #14188]
33857         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33858         where __builtin_expect is unavailable.
33859
33860 2012-06-03  David S. Miller  <davem@davemloft.net>
33861
33862         * stdlib/longlong.h: Updated from GCC.
33863
33864 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33865
33866         [BZ #14042]
33867         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33868         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33869         __mcount_internal.
33870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33871         (GLIBC_2.16): Likewise.
33872
33873 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33874
33875         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33876
33877 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33878
33879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33880         (default-abi): New variable.
33881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33882         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33883         variable.
33884         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33885         Likewise.
33886         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33887         Likewise.
33888         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33889         Likewise.
33890
33891         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33892         definition.  Document in comment.
33893
33894 2012-06-01  David S. Miller  <davem@davemloft.net>
33895
33896         * stdlib/longlong.h: Updated from GCC.
33897
33898 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33899
33900         [BZ #14117]
33901         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33902         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33903         sys/debugreg.h sys/io.h here.
33904         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33905         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33906         sys/io.h.
33907         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33908         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33909         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33910         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33911         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33912         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33913
33914         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33915         Define only if __x86_64__ is defined.
33916
33917 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33918
33919         [BZ #14048]
33920         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33921         Use int64_t for variable i.
33922         * math/libm-test.inc (fmod_test): Add more tests.
33923
33924         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33925         z computation is not scheduled after fetestexcept.
33926         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33927         Use math_force_eval instead of asm to ensure calculation scheduled
33928         before exception test.
33929         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33930         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33931
33932 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33933
33934         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33935         computation is not scheduled after fetestexcept.
33936
33937 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33938
33939         [BZ #14117]
33940         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33941         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33942
33943 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33944
33945         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33946         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33947
33948 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33949
33950         [BZ #14117]
33951         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33952         <bits/wordsize.h>.
33953         (__WCHAR_MIN): Support __WORDSIZE == 64.
33954         (__WCHAR_MAX): Likewise.
33955
33956         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33957         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33958
33959         [BZ #14183]
33960         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33961         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33962
33963         [BZ #14117]
33964         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33965         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33966
33967         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33968         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33969
33970         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33971         Defined to 1 if __x86_64__ isn't defined.
33972         (_STAT_VER_LINUX_OLD): New.
33973         (st_atime): Remove duplicate.
33974         (st_mtime): Likewise.
33975         (st_ctime): Likewise.
33976
33977 2012-05-31  David S. Miller  <davem@davemloft.net>
33978
33979         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33980         entries.
33981
33982 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33983
33984         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33985         gen-libm-test.pl.
33986
33987         [BZ #14132]
33988         * elf/dl-reloc.c: Include <_itoa.h>.
33989         (_dl_reloc_bad_type): Remove use of INTUSE.
33990         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33991         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33992         * stdio-common/psiginfo.c (psiginfo): Likewise.
33993         * stdio-common/psignal.c (psignal): Likewise.
33994         * string/strsignal.c (strsignal): Likewise.
33995         * include/signal.h (_sys_siglist): Declare hidden proto.
33996         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33997         INTVARDEF with libc_hidden_data_def.
33998         * stdio-common/itoa-udigits.c: Likewise.
33999         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34000         (_itoa_lower_digits_internal): Remove declaration.
34001         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34002         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34003         (_sys_sigabbrev_internal): Remove aliases.
34004         (_sys_siglist): Define hidden alias.
34005
34006 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34007
34008         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34009         bits/sysctl.h.
34010
34011 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34012
34013         [BZ #14117]
34014         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34015         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34016
34017         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34018         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34019         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34020         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34021         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34022         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34023
34024         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34025         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34026         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34027
34028         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34029         with __addr.
34030         (insw): Likewise.
34031         (insl): Likewise.
34032         (outsb): Likewise.
34033         (outsw): Likewise.
34034         (outsl): Likewise.
34035
34036         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34037         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34038         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34039
34040         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34041         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34042         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34043         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34044         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34045         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34046
34047         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34048         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34049
34050         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34051         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34052
34053         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34054         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34055         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34056
34057         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34058         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34059         to ...
34060         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34061
34062         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34063         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34064         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34065
34066         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34067         for x86-64.
34068         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34069
34070 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34071
34072         * math/math.h (M_El): Use two more decimal places.
34073         (M_LOG2El): Likewise.
34074         (M_LOG10El): Likewise.
34075         (M_LN2l): Likewise.
34076         (M_LN10l): Likewise.
34077         (M_PIl): Likewise.
34078         (M_PI_2l): Likewise.
34079         (M_PI_4l): Likewise.
34080         (M_1_PIl): Likewise.
34081         (M_2_PIl): Likewise.
34082         (M_2_SQRTPIl): Likewise.
34083         (M_SQRT2l): Likewise.
34084         (M_SQRT1_2l): Likewise.
34085
34086 2012-05-31  David S. Miller  <davem@davemloft.net>
34087
34088         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34089         values between float registers.
34090         * sysdeps/sparc/sparc64/memset.S: Likewise.
34091         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34092
34093 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34094
34095         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34096         -D_FORTIFY_SOURCE=1.
34097         (CPPFLAGS-tst-longjmp_chk.c): Define.
34098         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34099         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34100         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34101         CFLAGS-tst-wchar-h.c.
34102
34103 2012-05-31  Marek Polacek  <polacek@redhat.com>
34104
34105         [BZ #14132]
34106         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34107         __endmntent_internal): Remove declaration.
34108         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34109         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34110         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34111
34112 2012-05-30  David S. Miller  <davem@davemloft.net>
34113
34114         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34115         (___Q_simulate_exceptions): Use real FP ops rather than writing
34116         into the %fsr.
34117         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34118         Likewise.
34119
34120 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34121
34122         [BZ #14117]
34123         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34124         * sysdeps/x86/bits/xtitypes.h: This.
34125
34126         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34127         * sysdeps/x86/bits/wordsize.h: This.
34128
34129         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34130         * sysdeps/x86/bits/huge_vall.h: This.
34131
34132         * sysdeps/i386/bits/select.h: Removed.
34133         * sysdeps/x86_64/bits/select.h: Renamed to ...
34134         * sysdeps/x86/bits/select.h: This.
34135
34136         * sysdeps/i386/bits/setjmp.h: Removed.
34137         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34138         * sysdeps/x86/bits/setjmp.h: This.
34139
34140         * sysdeps/i386/bits/mathdef.h: Removed.
34141         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34142         * sysdeps/x86/bits/mathdef.h: This.
34143
34144 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34145
34146         [BZ #14132]
34147         * include/sys/socket.h (__connect_internal)
34148         (__libc_sa_len_internal): Remove declaration.
34149         (__connect, __libc_sa_len): Declare hidden_proto.
34150         (SA_LEN): Remove use of INTUSE.
34151         * socket/connect.c: Add libc_hidden_def.
34152         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34153         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34154         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34155         alias.
34156         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34157         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34158         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34159         of adding _internal alias.
34160
34161 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34162
34163         [BZ #14117]
34164         * sysdeps/i386/bits/link.h: Removed.
34165         * sysdeps/i386/bits/linkmap.h: Likewise.
34166         * sysdeps/x86_64/bits/link.h: Renamed to ...
34167         * sysdeps/x86/bits/link.h: This.
34168         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34169         * sysdeps/x86/bits/linkmap.h: This.
34170
34171         * sysdeps/i386/bits/endian.h: Removed.
34172         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34173         * sysdeps/x86/bits/endian.h: This.
34174
34175         * sysdeps/i386/bits/byteswap.h: Removed.
34176         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34177         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34178         * sysdeps/x86/bits/byteswap.h: This.
34179         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34180         * sysdeps/x86/bits/byteswap-16.h: This.
34181         * sysdeps/i386/Implies: Add x86.
34182         * sysdeps/x86_64/Implies: Likewise.
34183
34184 2012-05-30  David S. Miller  <davem@davemloft.net>
34185
34186         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34187         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34188         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34189         (FP_TRAPPING_EXCEPTIONS): Define.
34190         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34191         (FP_TRAPPING_EXCEPTIONS): Define.
34192         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34193         subnormals only when inexact has been signalled or underflow
34194         exceptions are enabled.
34195         (_FP_PACK_CANONICAL): Likewise.
34196
34197 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34198
34199         [BZ #14183]
34200         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34201         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34202
34203 2012-05-30  Richard Henderson  <rth@twiddle.net>
34204
34205         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34206         with #ifndef NOT_IN_libc.
34207
34208         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34209         marked to avoid plt entry.
34210
34211 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34212
34213         [BZ #14112]
34214         * Makeconfig (default-abi): New macro.
34215         (abi-includes): Likewise.
34216         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34217         $(abi-$(default-abi)-lib-soname) for soname if defined.
34218         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34219         abi-variants.
34220         * Makefile (installed-stubs): Likewise.
34221         * include/stubs-biarch.h: Removed.
34222         * scripts/lib-names.awk: Only handle one library at a time.
34223         * scripts/soversions.awk: Remove WORDSIZE support.
34224         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34225         entries.
34226         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34227         Removed.
34228         (syscall-list-default-condition): Likewise.
34229         (syscall-list-default-condition): Likewise.
34230         (syscall-list-includes): Likewise.
34231         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34232         syscall-list-* with abi-*.  Handle undefined abi-variants.
34233         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34234         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34235         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34236         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34237         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34238         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34239         Removed.
34240         (syscall-list-32-options): Likewise.
34241         (syscall-list-32-condition): Likewise.
34242         (syscall-list-64-options): Likewise.
34243         (syscall-list-64-condition): Likewise.
34244         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34245         macro.
34246         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34247         Renamed to ...
34248         (abi-*): This.
34249         (abi-64-ld-soname): New macro.
34250         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34251         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34252         Renamed to ...
34253         (abi-*): This.
34254         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34255         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34256
34257 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34258
34259         * sysdeps/unix/sysv/linux/kernel-features.h
34260         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34261         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34262         include <kernel-features.h>.
34263         [!__NR_ftruncate64]: Remove conditional code.
34264         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34265         [__NR_ftruncate64]: Make code unconditional.
34266         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34267         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34268         include <kernel-features.h>.
34269         [!__NR_ftruncate64]: Remove conditional code.
34270         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34271         [__NR_ftruncate64]: Make code unconditional.
34272         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34274         include <kernel-features.h>.
34275         [!__NR_ftruncate64]: Remove conditional code.
34276         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34277         [__NR_ftruncate64]: Make code unconditional.
34278         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34280         include <kernel-features.h>.
34281         [!__NR_ftruncate64]: Remove conditional code.
34282         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34283         [__NR_ftruncate64]: Make code unconditional.
34284         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34285
34286         * configure.in (libc_cv_fpie): Weaken to a compile test using
34287         LIBC_TRY_CC_OPTION.
34288         * configure: Regenerated.
34289
34290 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34291
34292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34296         Refreshed.
34297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34303         Refreshed.
34304
34305 2012-05-27  David S. Miller  <davem@davemloft.net>
34306
34307         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34308         (___Q_zero): New.
34309         (__Q_simulate_exceptions): Return void.  Change to simulate
34310         exceptions by writing into the %fsr.
34311         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34312         (__Qp_handle_exceptions): Likewise.
34313         (numbers): Delete.
34314         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34315         __Qp_handle_exceptions.
34316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34317         __Qp_handle_exceptions.
34318         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34319         as unused and give dummy FP_RND_NEAREST initializer.
34320         (FP_INHIBIT_RESULTS): Define.
34321         (___Q_simulate_exceptions): Update declaration.
34322         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34323         formatting.
34324         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34325         as unused and give dummy FP_RND_NEAREST initializer.
34326         (__Qp_handle_exceptions): Update declaration.
34327         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34328         formatting.
34329
34330 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34331
34332         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34333         the temporary FPU control word.
34334         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34335         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34336         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34337         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34338         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34339         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34340         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34341         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34342         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34343         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34344         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34345
34346 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34347
34348         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34349         fields.
34350
34351 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34352
34353         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34354         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34355         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34356         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34357         Likewise.
34358         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34359         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34360         Likewise.
34361
34362 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34363
34364         * po/h.po: Update from translation team.
34365
34366 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34367
34368         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34369
34370         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34371         handling of denormals.
34372         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34373         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34374         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34375         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34376         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34377         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34378         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34379         Likewise.
34380
34381 2012-05-26  Marek Polacek  <polacek@redhat.com>
34382
34383         [BZ #14152]
34384         * math/libm-test.inc (fma_test): Don't always expect underflow
34385         exception.
34386
34387 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34388
34389         [BZ #12416]
34390         * elf/tst-execstack.c: Include stackinfo.h.
34391         (do_test): Adjust test case to ensure that pthread_getattr_np
34392         behaviour remains the same after marking stack executable.
34393
34394 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34395
34396         * sysdeps/unix/sysv/linux/kernel-features.h
34397         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34398         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34399         kernel-features.h.
34400         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34401         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34402         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34403         kernel-features.h.
34404         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34405         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34406
34407 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34408
34409         * configure.in: Define the default includes to being none.
34410         * configure: Regenerated.
34411
34412 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34413
34414         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34415         * sysdeps/x86_64/setjmp.S: Likewise.
34416         * sysdeps/i386/bsd-setjmp.S: Likewise.
34417         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34418         * sysdeps/i386/setjmp.S: Likewise.
34419         * sysdeps/i386/__longjmp.S: Likewise.
34420         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34421         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34422
34423         * include/stap-probe.h: New file.
34424         * configure.in: Handle --enable-systemtap.
34425         * configure: Regenerated.
34426         * config.h.in (USE_STAP_PROBE): New #undef.
34427         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34428         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34429         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34430
34431 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34432
34433         [BZ #13717]
34434         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34435         to 2.4.0 where earlier.
34436         * sysdeps/unix/sysv/linux/configure: Regenerated.
34437         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34438         <kernel-features.h>.
34439         [__ASSUME_32BITUIDS]: Make code unconditional.
34440         [!__ASSUME_32BITUIDS]: Remove conditional code.
34441         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34442         <kernel-features.h>.
34443         [__ASSUME_32BITUIDS]: Make code unconditional.
34444         [!__ASSUME_32BITUIDS]: Remove conditional code.
34445         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34446         [__ASSUME_32BITUIDS]: Make code unconditional.
34447         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34448         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34449         <kernel-features.h>.
34450         [__ASSUME_32BITUIDS]: Make code unconditional.
34451         [!__ASSUME_32BITUIDS]: Remove conditional code.
34452         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34453         <kernel-features.h>.
34454         [__ASSUME_32BITUIDS]: Make code unconditional.
34455         [!__ASSUME_32BITUIDS]: Remove conditional code.
34456         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34457         <kernel-features.h>.
34458         [__ASSUME_32BITUIDS]: Make code unconditional.
34459         [!__ASSUME_32BITUIDS]: Remove conditional code.
34460         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34461         <kernel-features.h>.
34462         [__ASSUME_32BITUIDS]: Make code unconditional.
34463         [!__ASSUME_32BITUIDS]: Remove conditional code.
34464         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34465         <kernel-features.h>.
34466         [__ASSUME_32BITUIDS]: Make code unconditional.
34467         [!__ASSUME_32BITUIDS]: Remove conditional code.
34468         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34469         <kernel-features.h>.
34470         [__ASSUME_32BITUIDS]: Make code unconditional.
34471         [!__ASSUME_32BITUIDS]: Remove conditional code.
34472         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34473         <kernel-features.h>.
34474         [__ASSUME_32BITUIDS]: Make code unconditional.
34475         [!__ASSUME_32BITUIDS]: Remove conditional code.
34476         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34477         <kernel-features.h>.
34478         [__ASSUME_32BITUIDS]: Make code unconditional.
34479         [!__ASSUME_32BITUIDS]: Remove conditional code.
34480         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34481         <kernel-features.h>.
34482         [__ASSUME_32BITUIDS]: Make code unconditional.
34483         [!__ASSUME_32BITUIDS]: Remove conditional code.
34484         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34485         <kernel-features.h>.
34486         [__ASSUME_32BITUIDS]: Make code unconditional.
34487         [!__ASSUME_32BITUIDS]: Remove conditional code.
34488         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34489         <kernel-features.h>.
34490         [__NR_setresgid] (__setresgid): Do not declare.
34491         [__ASSUME_32BITUIDS]: Make code unconditional.
34492         [!__ASSUME_32BITUIDS]: Remove conditional code.
34493         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34494         <kernel-features.h>.
34495         [__NR_setresuid] (__setresuid): Do not declare.
34496         [__ASSUME_32BITUIDS]: Make code unconditional.
34497         [!__ASSUME_32BITUIDS]: Remove conditional code.
34498         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34499         <kernel-features.h>.
34500         [__ASSUME_32BITUIDS]: Make code unconditional.
34501         [!__ASSUME_32BITUIDS]: Remove conditional code.
34502         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34503         <kernel-features.h>.
34504         [__ASSUME_32BITUIDS]: Make code unconditional.
34505         [!__ASSUME_32BITUIDS]: Remove conditional code.
34506         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34507         <kernel-features.h>.
34508         [__ASSUME_32BITUIDS]: Make code unconditional.
34509         [!__ASSUME_32BITUIDS]: Remove conditional code.
34510         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34511         <kernel-features.h>.
34512         [__ASSUME_32BITUIDS]: Make code unconditional.
34513         [!__ASSUME_32BITUIDS]: Remove conditional code.
34514         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34515         <kernel-features.h>.
34516         [__ASSUME_32BITUIDS]: Make code unconditional.
34517         [!__ASSUME_32BITUIDS]: Remove conditional code.
34518         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34519         <kernel-features.h>.
34520         [__ASSUME_32BITUIDS]: Make code unconditional.
34521         [!__ASSUME_32BITUIDS]: Remove conditional code.
34522         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34523         <kernel-features.h>.
34524         [__ASSUME_32BITUIDS]: Make code unconditional.
34525         [!__ASSUME_32BITUIDS]: Remove conditional code.
34526         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34527         <kernel-features.h>.
34528         [__ASSUME_32BITUIDS]: Make code unconditional.
34529         [!__ASSUME_32BITUIDS]: Remove conditional code.
34530         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34531         <kernel-features.h>.
34532         [__ASSUME_32BITUIDS]: Make code unconditional.
34533         [!__ASSUME_32BITUIDS]: Remove conditional code.
34534         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34535         <kernel-features.h>.
34536         [__ASSUME_32BITUIDS]: Make code unconditional.
34537         [!__ASSUME_32BITUIDS]: Remove conditional code.
34538         * sysdeps/unix/sysv/linux/kernel-features.h
34539         (__ASSUME_SETRESUID_SYSCALL): Remove.
34540         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34541         (__ASSUME_32BITUIDS): Likewise.
34542         (__ASSUME_LDT_WORKS): Likewise.
34543         (__ASSUME_O_DIRECTORY): Likewise.
34544         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34545         architecture but not kernel version.
34546         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34547         (__ASSUME_MMAP2_SYSCALL): Likewise.
34548         (__ASSUME_STAT64_SYSCALL): Likewise.
34549         (__ASSUME_IPC64): Likewise.
34550         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34551         <kernel-features.h>.
34552         [__ASSUME_32BITUIDS]: Make code unconditional.
34553         [!__ASSUME_32BITUIDS]: Remove conditional code.
34554         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34555         <kernel-features.h>.
34556         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34557         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34558         132096]: Remove conditional code.
34559         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34560         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34561         <kernel-features.h>.
34562         [__ASSUME_32BITUIDS]: Make code unconditional.
34563         [!__ASSUME_32BITUIDS]: Remove conditional code.
34564         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34565         <kernel-features.h>.
34566         [__ASSUME_32BITUIDS]: Make code unconditional.
34567         [!__ASSUME_32BITUIDS]: Remove conditional code.
34568         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34569         <kernel-features.h>.
34570         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34571         unconditional.
34572         (__setresgid): Do not declare.
34573         [__ASSUME_32BITUIDS]: Make code unconditional.
34574         [!__ASSUME_32BITUIDS]: Remove conditional code.
34575         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34576         <kernel-features.h>.
34577         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34578         unconditional.
34579         (__setresuid): Do not declare.
34580         [__ASSUME_32BITUIDS]: Make code unconditional.
34581         [!__ASSUME_32BITUIDS]: Remove conditional code.
34582         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34583         <kernel-features.h>.
34584         [__ASSUME_32BITUIDS]: Make code unconditional.
34585         [!__ASSUME_32BITUIDS]: Remove conditional code.
34586         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34587         <kernel-features.h>.
34588         [__ASSUME_32BITUIDS]: Make code unconditional.
34589         [!__ASSUME_32BITUIDS]: Remove conditional code.
34590
34591 2012-05-25  Richard Henderson  <rth@twiddle.net>
34592
34593         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34594         dl_hwcap to ifunc resolver.
34595         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34596         elf_ifunc_invoke.
34597         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34598         dl_hwcap to ifunc resolver.
34599         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34600
34601 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34602
34603         [BZ #14153]
34604         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34605         for |x| <= 2**-26, not 2**-57.
34606         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34607         exception.
34608
34609 2012-05-24  Jeff Law  <law@redhat.com>
34610
34611         * stdio-common/Makefile (tests): Add bug25.
34612         * stdio-common/bug25.c: New test.
34613
34614 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34615
34616         [BZ #13576]
34617         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34618         multiple of MALLOC_ALIGNMENT in size.
34619         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34620
34621 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34622
34623         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34624         Require >= 256.
34625         (FILENAME_MAX): Use macro-int-constant.
34626         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34627         (_IOFBF): Use macro-int-constant.
34628         (_IOLBF): Likewise.
34629         (_IONBF): Likewise.
34630         (SEEK_CUR): Likewise.
34631         (SEEK_END): Likewise.
34632         (SEEK_SET): Likewise.
34633         (TMP_MAX): Likewise.
34634         (EOF): Use macro-int-constant.  Require < 0.
34635         (NULL): Use macro-constant.  Require == 0.
34636         (stdin): Require type to be FILE *.
34637         (stdout): Likewise.
34638         (stderr): Likewise.
34639         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34640         macro-int-constant.
34641         (EXIT_SUCCESS): Likewise.
34642         (NULL): Use macro-constant.  Require == 0.
34643         (RAND_MAX): Use macro-int-constant.
34644         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34645         [C99-based standards] (strtof): Require function.
34646         [C99-based standards] (strtold): Likewise.
34647         [C99-based standards] (strtoll): Likewise.
34648         [C99-based standards] (strtoull): Likewise.
34649         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34650         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34651         [ISO || ISO99 || ISO11] (math.h): Likewise.
34652         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34653         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34654         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34655
34656 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34657
34658         [BZ #14132]
34659         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34660         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34661         * intl/dgettext.c (DCGETTEXT): Likewise.
34662         * intl/gettext.c (DCGETTEXT): Likewise.
34663         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34664         * posix/regex_internal.h (gettext): Likewise.
34665         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34666         Remove declaration.
34667         * include/argz.h (__argz_count_internal)
34668         (__argz_stringify_internal): Remove declaration.
34669         (__argz_count, __argz_stringify): Declare hidden proto.
34670         * intl/dcgettext.c: Remove use of INTDEF.
34671         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34672         * string/argz-stringify.c: Likewise.
34673         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34674         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34675         Declare hidden proto.
34676         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34677         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34678         Declare hidden proto.
34679         * include/stdio.h (__asprintf_internal): Don't declare.
34680         (__asprintf): Don't define as macro.  Declare hidden proto.
34681         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34682         (__fsetlocking): Declare hidden proto.
34683         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34684         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34685         hidden proto.
34686         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34687         (_IO_setlinebuf): Remove use of INTUSE.
34688         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34689         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34690         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34691         Remove declaration.
34692         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34693         (_IO_do_flush): Remove use of INTUSE.
34694         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34695         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34696         (_IO_adjust_column, _IO_least_wmarker)
34697         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34698         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34699         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34700         (_IO_default_doallocate, _IO_wdefault_doallocate)
34701         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34702         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34703         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34704         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34705         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34706         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34707         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34708         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34709         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34710         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34711         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34712         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34713         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34714         proto.
34715         (_IO_flush_all_internal, _IO_adjust_column_internal)
34716         (_IO_default_uflow_internal, _IO_default_finish_internal)
34717         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34718         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34719         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34720         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34721         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34722         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34723         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34724         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34725         (_IO_file_close_internal, _IO_file_close_it_internal)
34726         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34727         (_IO_file_init_internal, _IO_file_attach_internal)
34728         (_IO_file_fopen_internal, _IO_file_read_internal)
34729         (_IO_file_sync_internal, _IO_file_seek_internal)
34730         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34731         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34732         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34733         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34734         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34735         (_IO_list_all_internal, _IO_link_in_internal)
34736         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34737         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34738         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34739         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34740         (_IO_do_write_internal, _IO_padn_internal)
34741         (_IO_getline_info_internal, _IO_getline_internal)
34742         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34743         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34744         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34745         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34746         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34747         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34748         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34749         with libc_hidden_ver, remove use of INTUSE.
34750         * libio/genops.c: Likewise.
34751         * libio/freopen.c: Likewise.
34752         * libio/freopen64.c: Likewise.
34753         * libio/iofclose.c: Likewise.
34754         * libio/iofdopen.c: Likewise.
34755         * libio/iofflush.c: Likewise.
34756         * libio/iofflush_u.c: Likewise.
34757         * libio/iofgets.c: Likewise.
34758         * libio/iofgets_u.c: Likewise.
34759         * libio/iofopen.c: Likewise.
34760         * libio/iofopncook.c: Likewise.
34761         * libio/iofread.c: Likewise.
34762         * libio/iofread_u.c: Likewise.
34763         * libio/ioftell.c: Likewise.
34764         * libio/iofwrite.c: Likewise.
34765         * libio/iogetline.c: Likewise.
34766         * libio/iogets.c: Likewise.
34767         * libio/iogetwline.c: Likewise.
34768         * libio/iopadn.c: Likewise.
34769         * libio/iopopen.c: Likewise.
34770         * libio/ioseekoff.c: Likewise.
34771         * libio/ioseekpos.c: Likewise.
34772         * libio/iosetbuffer.c: Likewise.
34773         * libio/iosetvbuf.c: Likewise.
34774         * libio/ioungetc.c: Likewise.
34775         * libio/ioungetwc.c: Likewise.
34776         * libio/iovdprintf.c: Likewise.
34777         * libio/iovsprintf.c: Likewise.
34778         * libio/iovsscanf.c: Likewise.
34779         * libio/memstream.c: Likewise.
34780         * libio/obprintf.c: Likewise.
34781         * libio/oldfileops.c: Likewise.
34782         * libio/oldiofclose.c: Likewise.
34783         * libio/oldiofdopen.c: Likewise.
34784         * libio/oldiofopen.c: Likewise.
34785         * libio/oldiopopen.c: Likewise.
34786         * libio/oldstdfiles.c: Likewise.
34787         * libio/putc.c: Likewise.
34788         * libio/setbuf.c: Likewise.
34789         * libio/setlinebuf.c: Likewise.
34790         * libio/stdfiles.c: Likewise.
34791         * libio/strops.c: Likewise.
34792         * libio/vasprintf.c: Likewise.
34793         * libio/vscanf.c: Likewise.
34794         * libio/vsnprintf.c: Likewise.
34795         * libio/vswprintf.c: Likewise.
34796         * libio/wfiledoalloc.c: Likewise.
34797         * libio/wfileops.c: Likewise.
34798         * libio/wgenops.c: Likewise.
34799         * libio/wmemstream.c: Likewise.
34800         * libio/wstrops.c: Likewise.
34801         * libio/__fpurge.c: Likewise.
34802         * libio/__fsetlocking.c: Likewise.
34803         * assert/assert.c: Likewise.
34804         * debug/fgets_chk.c: Likewise.
34805         * debug/fgets_u_chk.c: Likewise.
34806         * debug/fread_chk.c: Likewise.
34807         * debug/fread_u_chk.c: Likewise.
34808         * debug/gets_chk.c: Likewise.
34809         * debug/obprintf_chk.c: Likewise.
34810         * debug/vasprintf_chk.c: Likewise.
34811         * debug/vdprintf_chk.c: Likewise.
34812         * debug/vsnprintf_chk.c: Likewise.
34813         * debug/vsprintf_chk.c: Likewise.
34814         * malloc/mtrace.c: Likewise.
34815         * misc/error.c: Likewise.
34816         * misc/syslog.c: Likewise.
34817         * stdio-common/asprintf.c: Likewise.
34818         * stdio-common/fxprintf.c: Likewise.
34819         * stdio-common/getw.c: Likewise.
34820         * stdio-common/isoc99_fscanf.c: Likewise.
34821         * stdio-common/isoc99_scanf.c: Likewise.
34822         * stdio-common/isoc99_vfscanf.c: Likewise.
34823         * stdio-common/isoc99_vscanf.c: Likewise.
34824         * stdio-common/isoc99_vsscanf.c: Likewise.
34825         * stdio-common/printf-prs.c: Likewise.
34826         * stdio-common/printf_fp.c: Likewise.
34827         * stdio-common/printf_fphex.c: Likewise.
34828         * stdio-common/printf_size.c: Likewise.
34829         * stdio-common/putw.c: Likewise.
34830         * stdio-common/scanf.c: Likewise.
34831         * stdio-common/sprintf.c: Likewise.
34832         * stdio-common/tmpfile.c: Likewise.
34833         * stdio-common/vfprintf.c: Likewise.
34834         * stdio-common/vfscanf.c: Likewise.
34835         * stdlib/strfmon_l.c: Likewise.
34836         * sunrpc/openchild.c: Likewise.
34837         * sunrpc/xdr_stdio.c: Likewise.
34838         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34839         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34840
34841 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34842
34843         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34844
34845         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34846         in the third column, to generate for the shared library an IFUNC
34847         that uses _dl_vdso_vsym.
34848         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34849         * Makeconfig (object-suffixes-noshared): New variable.
34850
34851         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34852         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34853         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34854         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34855
34856         [BZ #14132]
34857         * include/sys/time.h (__gettimeofday): Remove macro.
34858         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34859         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34860         Remove INTDEF.
34861         (__gettimeofday): Add libc_hidden_def.
34862         (gettimeofday): Add libc_hidden_weak.
34863         * sysdeps/mach/gettimeofday.c: Likewise.
34864         * sysdeps/posix/gettimeofday.c: Likewise.
34865         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34866         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34867         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34868         (__gettimeofday_internal): Remove strong_alias.
34869         (__gettimeofday): Add libc_hidden_def.
34870         (gettimeofday): Add libc_hidden_weak.
34871         * sysdeps/unix/syscalls.list (gettimeofday):
34872         Remove __gettimeofday_internal alias.
34873
34874 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34875             H.J. Lu  <hongjiu.lu@intel.com>
34876
34877         [BZ #12495]
34878         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34879         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34880         (largebin_index_32_big): New.
34881         (largebin_index): Use it for 16-byte alignment.
34882         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34883         correction with front_misalign.
34884
34885 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34886
34887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34889         Likewise.
34890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34891         Likewise.
34892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34893         Likewise.
34894         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34895         Likewise.
34896         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34897         Likewise.
34898         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34899         Likewise.
34900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34901         Likewise.
34902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34903         Likewise.
34904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34905         Likewise.
34906         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34907         Likewise.
34908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34909         Likewise.
34910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34911         Likewise.
34912
34913         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34914         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34915
34916 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34917
34918         [BZ #10846]
34919         [BZ #14036]
34920         * math/libm-test.inc (exp_test): Add test from bug 14036.
34921         (pow_test): Add test from bug 10846.
34922
34923         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34924         and other flags.
34925         (special_function): Do not include flags in test name.
34926         (parse_args): Likewise.
34927         * sysdeps/i386/fpu/libm-test-ulps: Update.
34928         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34929         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34930         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34932
34933         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34934         exceptions.
34935         * math/libm-test.inc ("Philosophy"): Update comment about
34936         exception testing.
34937         (UNDERFLOW_EXCEPTION): New macro.
34938         (UNDERFLOW_EXCEPTION_OK): Likewise.
34939         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34940         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34941         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34942         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34943         (INVALID_EXCEPTION_OK): Update value.
34944         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34945         (OVERFLOW_EXCEPTION_OK): Likewise.
34946         (IGNORE_ZERO_INF_SIGN): Likewise.
34947         (test_exceptions): Handle underflow exceptions.
34948         (acos_test): Update for underflow exception expectations.
34949         (cexp_test): Likewise.
34950         (clog_test): Likewise.
34951         (clog10_test): Likewise.
34952         (csqrt_test): Likewise.
34953         (ctan_test): Likewise.
34954         (ctanh_test): Likewise.
34955         (exp_test): Likewise.
34956         (exp10_test): Likewise.
34957         (exp2_test): Likewise.
34958         (expm1_test): Likewise.
34959         (fma_test): Likewise.
34960         (j0_test): Likewise.
34961         (jn_test): Likewise.
34962         (nexttoward_test): Likewise.
34963         (pow_test): Likewise.
34964         (scalbn_test): Likewise.
34965         (scalbln_test): Likewise.
34966         (tan_test): Likewise.
34967         (y1_test): Likewise.
34968         * sysdeps/i386/fpu/libm-test-ulps: Update.
34969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34970
34971 2012-05-23  David S. Miller  <davem@davemloft.net>
34972
34973         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34974         (__libc_sigaction): Remove unused local variables.
34975
34976 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34977
34978         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34979
34980 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34981
34982         mktime: avoid signed integer overflow
34983         * time/mktime.c (__mktime_internal): Do not mishandle the case
34984         where diff == INT_MIN.
34985
34986         mktime: simplify computation of average
34987         * time/mktime.c (ranged_convert): Use new time_t_avg function
34988         instead of rolling our own (probably-slower) code.
34989
34990         mktime: do not assume signed right shift propagates sign bit
34991         * time/mktime.c (isdst_differ): New static function.
34992         (__mktime_internal): No need to normalize tm_isdst now.
34993         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34994         tm_isdst values.
34995
34996         mktime: merge another wrapv change from gnulib
34997         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34998         from some compilers.
34999
35000         mktime: remove incorrect attempt at unusual arithmetics
35001         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35002         The code didn't really work on such machines anyway.
35003         (TYPE_MINIMUM): Assume two's complement.
35004         (twos_complement_arithmetic): Verify that long_int and time_t
35005         are two's complement (or unsigned, in the latter case).
35006
35007         mktime: check signed shifts on long_int and time_t, too
35008         * time/mktime.c (SHR): Check that shifts work as desired
35009         on the types long_int and time_t too, as SHR is used on
35010         such types.
35011
35012         mktime: do not assume 'long' is wide enough
35013         * time/mktime.c (verify): Move decl up.
35014         (long_int): New type.
35015         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35016         to remove assumption in the code that 'long' is wide enough to
35017         store year values.  This assumption is not true on x32 and on
35018         some non-glibc platforms.
35019
35020         mktime: merge wrapv change from gnulib
35021         * time/mktime.c (WRAPV): New macro.
35022         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35023         (guess_time_tm, __mktime_internal): Do not assume that signed
35024         integer overflow wraps around; modern compilers generate code
35025         where this assumption is no longer valid.
35026
35027 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35028
35029         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35030         Replace "jmp L(pseudo_end)" with "ret".
35031         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35032         Likewise.
35033
35034 2012-05-23  Andreas Jaeger  <aj@suse.de>
35035
35036         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35037         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35038
35039 2012-05-23  Andreas Jaeger  <aj@suse.de>
35040             Maximilian Attems  <max@stro.at>
35041
35042         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35043         New macros.
35044
35045 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35046
35047         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35048         code so that pseudo_end is just ret and the stack pointer is
35049         correct also for static library in error case.
35050
35051 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35052
35053         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35054         move to syscalls.list.
35055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35059
35060         * manual/install.texi (Running make install): Do not mention Linux
35061         kernel version for which pt_chown is not needed.
35062         (Linux): Do not mention problems with nscd with 2.0 kernels.
35063         * INSTALL: Regenerated.
35064
35065 2012-05-23  Andreas Jaeger  <aj@suse.de>
35066
35067         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35068         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35069         macro.
35070         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35071         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35072         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35073         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35074         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35075         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35076         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35077         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35078         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35079         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35080         * sysdeps/unix/sysv/linux/bits/in.h
35081         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35082
35083 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35084
35085         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35086         (PREPARE_VERSION): Just use assert instead, it will be elided
35087         under [NDEBUG] anyway.
35088
35089 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35090
35091         * sysdeps/unix/sysv/linux/Makefile: Include
35092         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35093         (sysdep_routines): Remove sysctl.
35094         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35095         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35096         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35097         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35098         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35099
35100 2012-05-22  Andreas Jaeger  <aj@suse.de>
35101
35102         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35103         that pseudo_end is just ret and the stack pointer is correct also
35104         for static library in error case.
35105
35106 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35107
35108         [BZ #14122]
35109         * nss/nsswitch.c (defconfig_entries): New variable.
35110         (__nss_database_lookup): Don't leak defconfig entries.
35111         (nss_parse_service_list): Don't leak on error paths.
35112         (free_database_entries): New function.
35113         (free_defconfig): New function.
35114         (free_mem): Move common code to free_database_entries.
35115
35116 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35117
35118         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35119         Add arch_prctl.
35120         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35121
35122         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35123         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35124         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35125         New macro.
35126         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35127         (INTERNAL_SYSCALL_TYPES): Likewise.
35128         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35129         (LOAD_REGS_TYPES_[1-6]): Likewise.
35130         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35131         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35132
35133 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35134
35135         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35136         copysignl for GLIBC_2_0.
35137         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35138         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35139         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35140         logbl for GLIBC_2_0.
35141         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35142         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35143
35144 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35145
35146         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35147         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35148
35149         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35150         Use "neg %eax".
35151
35152         * time/mktime.c: Update copyright years.
35153
35154 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35155
35156         mktime: merge comment-quoting-style change from gnulib
35157         * time/mktime.c: Quote 'like this' in comments.
35158         The GNU coding standards suggest that we no longer quote `like this',
35159         as "`" and "'" are typically rendered asymmetrically nowadays.
35160         The typical gnulib style is to quote 'like this' when quoting
35161         code, and "like this" when quoting English.
35162
35163         * time/mktime.c (compile-command): Add "-I.".
35164
35165         mktime: merge mktime-internal.h change from gnulib
35166         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35167
35168         mktime: merge time_r change from gnulib
35169         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35170
35171         mktime: merge DEBUG change from gnulib
35172         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35173         case system <time.h> has a #define.
35174
35175         mktime: merge <sys/types.h> change from gnulib
35176         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35177         since <time.t> is now guaranteed to define time_t.
35178
35179         mktime: merge HAVE_CONFIG_H change from gnulib
35180         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35181
35182 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35183
35184         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35185         Use "neg %eax".
35186
35187         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35188         __rlim_t cast.
35189         (struct rusage): Use anonymous union to pad each field to
35190         __syscall_slong_t.
35191
35192 2012-05-21  David S. Miller  <davem@davemloft.net>
35193
35194         * Makefules (o-iterator): Remove .s cases.
35195         (compile-command.s): Delete.
35196         (COMPILE.s): Delete.
35197         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35198
35199 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35200
35201         * configure.in (libc_cv_predef_stack_protector): Only consider
35202         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35203         * configure: Regenerated.
35204
35205 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35206
35207         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35208         New macro.  Use R*LP on int and pointer.
35209         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35210         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35211         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35212         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35213
35214         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35215         [__WORDSIZE_TIME64_COMPAT32] instead of
35216         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35217         (struct utmp): Likewise.
35218         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35219         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35220         Renamed to ...
35221         (__WORDSIZE_TIME64_COMPAT32): This.
35222         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35223         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35224         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35225         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35226         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35227         (__WORDSIZE_TIME64_COMPAT32): New macro.
35228
35229 2012-05-21  Andreas Jaeger  <aj@suse.de>
35230
35231         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35232         only if [SHARED]. Add prototype for __wcschr_ia32.
35233
35234 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35235
35236         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35237         of %rbp unmolested in the jmp_buf while mangling the low bits.
35238         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35239         unmolested high bits of %rbp while demangling the low bits.
35240         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35241
35242 2012-05-21  Andreas Jaeger  <aj@suse.de>
35243
35244         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35245         * sunrpc/svc_simple.c: Use it for registerrpc.
35246         * sunrpc/xcrypt.c: Use it for passwd2des.
35247
35248         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35249
35250 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35251
35252         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35253         Don't define if [__SYSCALL_WORDSIZE != 32].
35254         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35255         New macro.
35256
35257 2012-05-21  Bruno Haible  <bruno@clisp.org>
35258             Andreas Jaeger  <aj@suse.de>
35259
35260         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35261         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35262         inptr and inend for must_buffer_ch.
35263         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35264         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35265         * stdio-common/Makefile (tests): Remove bug15.
35266         (bug15-ENV): Remove macro.
35267         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35268         anymore.
35269
35270 2012-05-19  Andreas Jaeger  <aj@suse.de>
35271             Roland McGrath  <roland@hack.frob.com>
35272
35273         * manual/contrib.texi: Completely rewritten. It contains now an
35274         alphabetical list of contributors and their contributions.
35275
35276 2012-05-21  Richard Henderson  <rth@twiddle.net>
35277
35278         * misc/getauxval.c (__getauxval): Use unsigned long int.
35279         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35280         (getauxval): Use unsigned long int.
35281
35282 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35283
35284         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35285
35286 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35287
35288         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35289         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35290         __alignof__ (long double).
35291
35292 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35293
35294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35295
35296 2012-05-20  Richard Henderson  <rth@twiddle.net>
35297
35298         * misc/getauxval.c: New file.
35299         * misc/sys/auxv.h: New file.
35300         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35301         (routines): Add getauxval.
35302         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35303         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35304         * elf/dl-sysdep.c (_dl_auxv): Remove.
35305         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35306         * elf/dl-support.c (_dl_auxv): New variable.
35307         (_dl_aux_init): Initialize it.
35308         * manual/startup.texi (Auxiliary Vector): New node.
35309         * sysdeps/generic/bits/hwcap.h: New file.
35310         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35311         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35312         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35313         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35314         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35315         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35317         Update.
35318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35321         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35325         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35326
35327 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35328
35329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35330
35331 2012-05-19  David S. Miller  <davem@davemloft.net>
35332
35333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35334
35335 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35336
35337         [BZ #14123]
35338         * math/s_ccosh.c: Include <float.h>
35339         (__ccosh): Avoid internal overflow calculating sinh and cosh
35340         values before multiplying by sin and cos values.
35341         * math/s_ccoshf.c: Likewise.
35342         * math/s_ccoshl.c: Likewise.
35343         * math/s_csin.c: Likewise.
35344         * math/s_csinf.c: Likewise.
35345         * math/s_csinl.c: Likewise.
35346         * math/s_csinh.c: Likewise.
35347         * math/s_csinhf.c: Likewise.
35348         * math/s_csinhl.c: Likewise.
35349         * math/libm-test.inc (ccos_test): Add more tests.
35350         (ccosh_test): Likewise.
35351         (csin_test): Likewise.
35352         (csinh_test): Likewise.
35353         * sysdeps/i386/fpu/libm-test-ulps: Update.
35354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35355
35356 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35357
35358         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35359         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35360
35361         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35362
35363 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35364
35365         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35366         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35367         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35368         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35369         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35370         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35371         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35372         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35373         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35374         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35375         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35376         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35377         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35378         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35379         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35380         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35381         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35382         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35383         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35384         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35385         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35386         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35387         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35388         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35389         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35390         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35391         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35392         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35393         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35394         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35395         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35396
35397 2012-05-18  Andreas Jaeger  <aj@suse.de>
35398
35399         * csu/.gitignore: Delete.
35400
35401 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35402
35403         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35404         (timex): Use __syscall_slong_t.
35405
35406 2012-05-18  Andreas Jaeger  <aj@suse.de>
35407             Carlos O'Donell  <carlos_odonell@mentor.com>
35408
35409         * manual/install.texi (Configuring and compiling): Update
35410         description about files modified in the source directory.
35411         * INSTALL: Regenerated.
35412
35413 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35414
35415         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35416         value.  Use "or" to set return value to -1.
35417         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35418         negate return value.
35419
35420 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35421
35422         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35423         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35424         failure if the compiler has Graphite support disabled.
35425         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35426         Likewise.
35427         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35428         (CFLAGS-memmove.c): Likewise.
35429         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35430         Likewise.
35431
35432 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35433
35434         * sysdeps/x86_64/x32/_itoa.h: New file.
35435
35436         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35437         getdents system call only if kernel and user dirents have the
35438         same d_ino and d_off.
35439
35440         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35441         LLONG_MAX != LONG_MAX.
35442         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35443         (_fitoa_word): Likewise.
35444
35445         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35446         years.
35447         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35448         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35449         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35450
35451         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35452         include <bits/wordsize.h>.  Check __x86_64__ instead of
35453         __WORDSIZE.
35454         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35455         if __x86_64__ is defined.  Use anonymous union on fpstate.
35456
35457         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35458         anonymous union.
35459
35460 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35461
35462         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35463         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35464         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35465         Refer to _rtld_local_ro instead of _rtld_global_ro.
35466         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35467         Likewise.
35468         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35469         Likewise.
35470         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35471         Likewise.
35472         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35473         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35474         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35475
35476         * sysdeps/powerpc/powerpc32/dl-machine.c
35477         (__elf_machine_runtime_setup) [PROF]: Don't reference
35478         _dl_prof_resolve.
35479
35480 2012-05-18  Andreas Jaeger  <aj@suse.de>
35481
35482         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35483         function only available for GCCs before 3.4 since GCC 3.4
35484         introduced a builtin.
35485         (lrint): Likewise.
35486         (llrintf): Likewise.
35487         (llrint): Likewise.
35488         (fmaxf): Likewise.
35489         (fmax): Likewise.
35490         (fminf): Likewise.
35491         (fmin): Likewise.
35492         (rint): Likewise.
35493         (rintf): Likewise.
35494         (nearbyint): Likewise.
35495         (nearbyintf): Likewise.
35496         (ceil): Likewise.
35497         (ceilf): Likewise.
35498         (floor): Likewise.
35499         (floorf): Likewise.
35500
35501 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35502
35503         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35504         on both fields and cast pointer to __syscall_ulong_t.
35505
35506         * bits/types.h (__fsword_t): New type.
35507         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35508         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35509         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35510         (__FSWORD_T_TYPE): Likewise.
35511         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35512         (__FSWORD_T_TYPE): Likewise.
35513         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35514         (__FSWORD_T_TYPE): Likewise.
35515         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35516         (__FSWORD_T_TYPE): Likewise.
35517         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35518         __SWORD_TYPE with __fsword_t.
35519         (statfs64): Likewise.
35520
35521 2012-05-17  David S. Miller  <davem@davemloft.net>
35522
35523         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35524
35525 2012-05-17  Andreas Jaeger  <aj@suse.de>
35526
35527         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35528         warning.
35529
35530 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35531
35532         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35533
35534 2012-05-17  Andreas Jaeger  <aj@suse.de>
35535
35536         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35537         when it is used.
35538
35539 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35540
35541         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35542
35543 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35544
35545         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35546         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35547
35548 2012-05-17  Andreas Jaeger  <aj@suse.de>
35549             Carlos O'Donell  <carlos_odonell@mentor.com>
35550
35551         [BZ #14059]
35552         * sysdeps/x86_64/multiarch/init-arch.h
35553         (bit_YMM_Usable): Rename to...
35554         (bit_AVX_Usable): ... this.
35555         (bit_FMA4_Usable): New macro.
35556         (bit_XMM_state): New macro.
35557         (bit_YMM_state): New macro.
35558         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35559         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35560         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35561         (CPUID_OSXSAVE): New macro.
35562         (CPUID_AVX): New macro.
35563         (CPUID_FMA4): New macro.
35564         (index_YMM_Usable): Rename to...
35565         (index_AVX_Usable): ... this.
35566         (HAS_AVX): Use HAS_ARCH_FEATURE.
35567         (HAS_FMA4): Likewise.
35568         (HAS_YMM_USABLE): Remove.
35569         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35570         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35571         are present.
35572         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35573         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35574         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35575         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35576         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35577
35578 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35579
35580         * math/libm-test.c: Support platforms without multiple rounding modes.
35581         * math/bug-nextafter.c: Support platforms without FP exceptions.
35582         * math/bug-nexttoward.c: Likewise.
35583         * math/test-fenv.c: Likewise.
35584         * math/test-misc.c: Likewise.
35585         * stdlib/bug-getcontext.c: Likewise.
35586
35587 2012-05-17  Andreas Jaeger  <aj@suse.de>
35588
35589         * manual/examples/search.c (critter_cmp): Change signature to
35590         avoid warnings.
35591         * manual/string.texi (Collation Functions): Likewise.
35592
35593 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35594
35595         * bits/types.h: Fold copyright years.
35596         * bits/typesizes.h: Likewise.
35597         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35598         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35599         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35600         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35601         * time/time.h: Likewise.
35602
35603 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35604
35605         [BZ #208]
35606         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35607         in instead of returning them.  Return void.
35608         (__libc_mallinfo): Accumulate over all arenas.
35609         (__malloc_stats): Adjust for change in int_mallinfo interface.
35610
35611 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35612
35613         [BZ #10375]
35614         * configure.in (NM): Add AC_CHECK_TOOL for it.
35615         (libc_extra_cflags): New substituted variable.
35616         Check for -fstack-protector being used implicitly.
35617         * configure: Regenerated.
35618         * config.make.in (config-extra-cflags): New variable,
35619         gets @libc_extra_cflags@.
35620         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35621
35622         [BZ #10375]
35623         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35624         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35625         * configure: Regenerated.
35626         * config.make.in (CPPUNDEFS): New substituted variable.
35627         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35628         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35629         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35630
35631 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35632
35633         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35634         (mq_attr): Use __syscall_slong_t.
35635
35636 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35637
35638         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35639         Check __x86_64__ instead of __WORDSIZE.
35640         (_STAT_VER_LINUX): Likewise.
35641         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35642         __syscall_ulong_t and __syscall_slong_t.
35643         (stat64): Likewise.
35644
35645 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35646
35647         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35648
35649 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35650
35651         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35652
35653 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35654
35655         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35656         __syscall_ulong_t.
35657
35658         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35659         include <bits/wordsize.h>.  Check __x86_64__ instead of
35660         __WORDSIZE.
35661         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35662         defined.
35663         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35664
35665         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35666         include <bits/wordsize.h>.  Check __x86_64__ instead of
35667         __WORDSIZE.
35668         (user_regs_struct): Use "__extension__ unsigned long long"
35669         instead of "unsigned long" if __x86_64__ is defined.
35670         (user): Likewise.  Pad after pointer field if __ILP32__ is
35671         defined.
35672
35673 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35674
35675         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35676         versions 5 to 9.
35677         * configure: Regenerated.
35678         * manual/install.texi (texinfo): Increase version requirement to
35679         4.5 or later.
35680         * INSTALL: Regenerated.
35681
35682         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35683
35684 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35685
35686         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35687
35688         * sysdeps/x86_64/x32/ffs.c: New file.
35689
35690         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35691         __syscall_ulong_t.
35692         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35693         defined.  Use __syscall_ulong_t.
35694         (shminfo): Use __syscall_ulong_t.
35695         (shm_info): Likewise.
35696
35697         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35698         __syscall_ulong_t.
35699
35700         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35701         <bits/wordsize.h>.
35702         (msgqnum_t): Use __syscall_ulong_t.
35703         (msglen_t): Likewise.
35704         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35705         __syscall_ulong_t.
35706
35707         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35708         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35709
35710         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35711
35712         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35713         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35714
35715         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35716         __syscall_slong_t.
35717
35718         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35719         include <bits/wordsize.h>.  Check __x86_64__ instead of
35720         __WORDSIZE.
35721
35722         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35723         "unsigned long long int" if __x86_64__ is defined.
35724         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35725
35726         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35727         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35728         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35729
35730         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35731         <stdint.h>.
35732         (GET_PC): Cast to uintptr_t first.
35733         (GET_FRAME): Likewise.
35734         (GET_STACK): Likewise.
35735
35736         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35737         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35738         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35739         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35740         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35741         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35742         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35743         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35744         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35745         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35746         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35747         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35748         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35749         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35750         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35751         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35752         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35753         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35754         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35755         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35756         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35757         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35758         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35759         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35760         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35761         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35762         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35763         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35764         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35765
35766 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35767
35768         * Makerules (+depfiles): Also collect depfiles from .oS in
35769         $(extra-objs).
35770         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35771         .oS, $(libnldbl-routines)).
35772
35773         * Makerules (native-compile-mkdep-flags): Define.
35774         * sunrpc/Makefile (extra-objs): Add $(addprefix
35775         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35776         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35777         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35778         calling $(make-target-directory).
35779
35780 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35781
35782         * bits/types.h (__snseconds_t): Removed.
35783         * time/time.h (struct timespec): Replace __snseconds_t with
35784         __syscall_slong_t.
35785         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35786         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35787         Likewise.
35788         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35789         (__SNSECONDS_T_TYPE): Likewise.
35790         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35791         (__SNSECONDS_T_TYPE): Likewise.
35792         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35793         (__SNSECONDS_T_TYPE): Likewise.
35794
35795 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35796
35797         * sysdeps/mach/hurd/bits/typesizes.h
35798         (__SYSCALL_SLONG_TYPE): New macro.
35799         (__SYSCALL_ULONG_TYPE): Likewise.
35800
35801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35802
35803         * bits/types.h (__syscall_slong_t): New type.
35804         (__syscall_ulong_t): Likewise.
35805
35806         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35807         (__SYSCALL_ULONG_TYPE): Likewise.
35808         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35809         (__SYSCALL_SLONG_TYPE): Likewise.
35810         (__SYSCALL_ULONG_TYPE): Likewise.
35811         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35812         (__SYSCALL_SLONG_TYPE): Likewise.
35813         (__SYSCALL_ULONG_TYPE): Likewise.
35814         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35815         (__SYSCALL_SLONG_TYPE): Likewise.
35816         (__SYSCALL_ULONG_TYPE): Likewise.
35817
35818 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35819
35820         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35821         Add sigaltstack-offsets.sym.
35822         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35823         <sigaltstack-offsets.h>.
35824         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35825         longjmp_msg pointer.
35826         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35827         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35828         signal stack.
35829         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35830
35831 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35832
35833         * elf/stackguard-macros.h: Remove file.
35834         * sysdeps/generic/stackguard-macros.h: New file.
35835         * sysdeps/i386/stackguard-macros.h: Likewise.
35836         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35837         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35838         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35839         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35840         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35841         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35842         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35843         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35844         <elf/stackguard-macros.h>.
35845
35846         [BZ #14109]
35847         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35848         __aligned__ in attribute.
35849         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35850         (gregset_t): Likewise.
35851
35852 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35853
35854         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35855         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35856         * sysdeps/x86_64/x32/Implies-after: New file.
35857
35858 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35859
35860         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35861         and access return value for _dl_profile_fixup.  Use R10_LP to
35862         load frame size.
35863
35864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35865
35866         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35867
35868 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35869
35870         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35871         * sysdeps/x86_64/x32/sysdep.h: New file.
35872
35873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35874
35875         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35876         * sysdeps/x86_64/setjmp.S: Likewise.
35877
35878 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35879
35880         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35881         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35882         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35883         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35884         remove unused global constant.
35885
35886 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35887
35888         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35889         include of <not-cancel.h>.
35890
35891 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35892
35893         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35894
35895 2012-05-15  Jeff Law  <law@redhat.com>
35896             Andreas Jaeger  <aj@suse.de>
35897
35898         [BZ #13594]
35899         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35900         out from...
35901         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35902         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35903         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35904         code changing __hst_map_handle.map.
35905
35906 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35907
35908         * configure.in (sysnames): Look for Implies-before and Implies-after
35909         files.
35910         * configure: Regenerated.
35911
35912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35913
35914         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35915         8-byte data alignment with LP_SIZE alignment.
35916
35917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35918
35919         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35920         into R10_LP.
35921
35922 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35923
35924         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35925
35926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35927
35928         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35929         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35930         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35931         Likewise.
35932         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35933
35934 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35935
35936         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35937         (stackinfo_sub_sp): Likewise.
35938
35939 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35940
35941         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35942         RAX_LP.
35943
35944 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35945
35946         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35947         into R*_LP.
35948
35949 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35950
35951         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35952         sizes into R*_LP.
35953
35954 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35955
35956         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35957
35958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35959
35960         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35961         into R11_LP and load __x86_64_shared_cache_size_half into
35962         R8_LP.
35963
35964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35965
35966         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35967         R8_LP.
35968
35969 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35970
35971         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35972         logb for POWER7.
35973         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35974         logbf for POWER7.
35975         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35976         logbl for POWER7.
35977         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35978         powerpc32/power7/fpu/s_logb.c via #include.
35979         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35980         powerpc32/power7/fpu/s_logbf.c via #include.
35981         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35982         powerpc32/power7/fpu/s_logbl.c via #include.
35983
35984 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35985
35986         * README.libm: Remove file.
35987
35988 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35989
35990         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35991         count for x32.  Use R*_LP and omit operand-size suffix.
35992
35993 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35994
35995         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35996         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35997         * sysdeps/x86_64/x32/shlib-versions: New file.
35998
35999 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36000
36001         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36002         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36003         Use _dl_fatal_printf instead.
36004
36005 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36006
36007         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36008         set if not set by the user.  Do not allow for being unset.
36009         * sysdeps/unix/sysv/linux/configure: Regenerated.
36010
36011 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36012
36013         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36014         the `q' suffix from lea and replace .quad with ASM_ADDR.
36015
36016 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36017
36018         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36019         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36020         instead of $17.
36021         (PTR_DEMANGLE): Likewise.
36022
36023 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36024
36025         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36026         (LP_OP): Likewise.
36027         (ASM_ADDR): Likewise.
36028         (RAX_LP): Likewise.
36029         (RBP_LP): Likewise.
36030         (RBX_LP): Likewise.
36031         (RCX_LP): Likewise.
36032         (RDI_LP): Likewise.
36033         (RSI_LP): Likewise.
36034         (RSP_LP): Likewise.
36035         (R8_LP): Likewise.
36036         (R9_LP): Likewise.
36037         (R10_LP): Likewise.
36038         (R10_LP): Likewise.
36039         (R11_LP): Likewise.
36040         (R12_LP): Likewise.
36041         (R13_LP): Likewise.
36042         (R14_LP): Likewise.
36043         (R15_LP): Likewise.
36044
36045 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36046
36047         * sysdeps/x86_64/x32/dl-machine.h: New file.
36048
36049 2012-05-14  Andreas Jaeger  <aj@suse.de>
36050
36051         * manual/Makefile (subdir): Remove export of subdir.
36052         (all): Remove target.
36053         (.PHONY): Remove all from list.
36054         (mkinstalldirs): Remove.
36055         (.PHONY): Remove installdirs from list.
36056         ($(inst_infodir)/libc.info): Use make-target-directory.
36057         (installdirs): Remove.
36058         (subdir_%): Remove.
36059         (glibc-targets): Remove.
36060         (lib): Remove.
36061         (stubs): Remove.
36062         ($(objpfx)stubs ../po/manual.pot): Remove.
36063         ($(objpfx)stamp%): Remove.
36064         (make-target-directory): Remove.
36065         (subdir_install): Remove.
36066         (routines): Remove.
36067         (aux): Remove.
36068         (sources): Remove.
36069         (objects): Remove.
36070         (headers): Remove.
36071
36072         [BZ #13750]
36073         * manual/.gitignore: Remove, it's not needed anymore.
36074         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36075         all files in it.
36076         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36077         directory.
36078         (texis): Renamed to $(objpfx)texis.
36079         (texis-path): New, contains path to generated files.
36080         (chapters.%): Use texis-path for complete path, add extra argument
36081         libc-texinfo.sh.
36082         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36083         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36084         (summary,texi, stamp-summary): Use complete path of
36085         files. Generate files in build dir.
36086         (dir-add.texi): Build in build dir.
36087         (libm-err.texi,stamp-libm-err): Likewise.
36088         (version.texi, stamp-version): Likewise.
36089         (.%c.texi): Likewise.
36090         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36091         (mostlyclean): Remove target.
36092         (realclean): Remove target.
36093         (generated): Add new variable with contents from mostlyclean and
36094         realclean, remove entries duplicated in common-mostlyclean, add
36095         stamp-libm-err and stamp-version.
36096         (generated-dirs): Add libc directory.
36097         ($(inst_infodir)/libc.info): Install files from build dir.
36098
36099         * manual/install.texi (Configuring and compiling): Adjust since
36100         the info files are not part of the tar ball anymore.
36101
36102 2012-05-14  Andreas Jaeger  <aj@suse.de>
36103
36104         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36105         variable.
36106
36107 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36108
36109         [BZ #13717]
36110         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36111         to 2.2.0 where earlier.
36112         * sysdeps/unix/sysv/linux/configure: Regenerated.
36113         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36114         Remove conditional code.
36115         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36116         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36117         Remove conditional code.
36118         [!__NR_lchown]: Likewise.
36119         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36120         [__NR_lchown]: Likewise.
36121         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36122         comment referencing __ASSUME_LCHOWN_SYSCALL.
36123         * sysdeps/unix/sysv/linux/i386/sigaction.c
36124         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36125         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36126         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36127         Remove conditional code.
36128         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36129         (__protocol_available): Remove #if 0 code.
36130         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36131         conditional code.
36132         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36133         * sysdeps/unix/sysv/linux/kernel-features.h
36134         (__ASSUME_GETCWD_SYSCALL): Don't define.
36135         (__ASSUME_REALTIME_SIGNALS): Likewise.
36136         (__ASSUME_PREAD_SYSCALL): Likewise.
36137         (__ASSUME_PWRITE_SYSCALL): Likewise.
36138         (__ASSUME_POLL_SYSCALL): Likewise.
36139         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36140         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36141         non-SPARC.
36142         (__ASSUME_SIOCGIFNAME): Don't define.
36143         (__ASSUME_MSG_NOSIGNAL): Likewise.
36144         (__ASSUME_SENDFILE): Define unconditionally.
36145         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36146         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36147         conditional code.
36148         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36149         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36150         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36151         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36152         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36153         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36154         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36156         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36157         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36159         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36160         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36162         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36163         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36165         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36166         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36168         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36169         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36171         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36172         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36174         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36175         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36177         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36178         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36179         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36180         Remove conditional code.
36181         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36182         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36183         Remove conditional code.
36184         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36185         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36186         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36187         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36188         Remove conditional code.
36189         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36190         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36191         Remove conditional code.
36192         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36193         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36194         Remove conditional code.
36195         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36196         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36197         Remove conditional code.
36198         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36199         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36200         Remove conditional code.
36201         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36202         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36203         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36204         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36205         * sysdeps/unix/sysv/linux/sigaction.c
36206         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36207         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36208         * sysdeps/unix/sysv/linux/sigpending.c
36209         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36210         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36211         * sysdeps/unix/sysv/linux/sigprocmask.c
36212         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36213         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36214         * sysdeps/unix/sysv/linux/sigsuspend.c
36215         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36216         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36217         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36218         (__libc_missing_rt_sigs): Remove.
36219         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36220         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36221         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36222         Remove conditional code.
36223         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36224         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36225         return 1.
36226         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36227         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36228         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36229         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36230
36231 2012-05-14  Andreas Jaeger  <aj@suse.de>
36232
36233         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36234         it's not used in glibc.
36235         (__coshm1): Likewise.
36236         (__acosh1p): Likewise.
36237         (__sgn): Likewise.
36238
36239         * manual/string.texi (Copying and Concatenation): Add missing
36240         variable in concat example.
36241         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36242
36243 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36244
36245         [BZ #14103]
36246         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36247         __builtin_clzl with __builtin_clzll.
36248
36249 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36250
36251         [BZ #14104]
36252         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36253         libc_freeres_ptr.
36254
36255 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36256
36257         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36258         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36259         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36260         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36261
36262 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36263
36264         * NEWS: Update ia64 info.
36265
36266 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36267
36268         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36269         used as bcopy.
36270
36271 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36272
36273         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36274         * sysdeps/unix/syscalls.list (dup3): Likewise.
36275         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36276         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36277
36278 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36279
36280         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36281         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36282
36283 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36284
36285         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36286         thread pointer.
36287         (TLS_IE): Use mov/add instead of movq/addq to load thread
36288         pointer.
36289         (TLS_GD_PREFIX): New.
36290         (TLS_GD): Use it.
36291
36292 2012-05-11  David S. Miller  <davem@davemloft.net>
36293
36294         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36295         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36296         (_FPU_SETCW): Likewise.
36297
36298 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36299
36300         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36301         is 32-byte aligned.
36302
36303 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36304
36305         [BZ #11837]
36306         * iconvdata/gb18030.c: Update tables.
36307         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36308         characters specially.
36309         (BODY for TO_LOOP): Add encoding of missing ranges.
36310
36311 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36312
36313         [BZ #13673]
36314         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36315         * sysdeps/mach/hurd/dup3.c: Likewise.
36316         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36317         * sysdeps/powerpc/memmove.c:: Likewise.
36318
36319 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36320
36321         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36322         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36323
36324 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36325
36326         * elf/elf.h (R_X86_64_RELATIVE64): New.
36327         (R_X86_64_NUM): Updated.
36328         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36329         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36330         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36331         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36332         tst-quad1pie tst-quad2pie
36333         (modules-names): Add tst-quadmod1 tst-quadmod2.
36334         ($(objpfx)tst-quad1): New dependency.
36335         ($(objpfx)tst-quad2): Likewise.
36336         ($(objpfx)tst-quad1pie): Likewise.
36337         ($(objpfx)tst-quad2pie): Likewise.
36338         * sysdeps/x86_64/tst-quad1.c: New file.
36339         * sysdeps/x86_64/tst-quad1pie.c: New file.
36340         * sysdeps/x86_64/tst-quad2.c: Likewise.
36341         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36342         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36343         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36344         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36345         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36346
36347 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36348
36349         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36350         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36351         * streams/stropts.h (t_scalar_t): Define type.
36352
36353         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36354         (_PATH_PRESERVE): Set to "/var/lib".
36355         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36356
36357         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36358         instead of int.
36359
36360         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36361         if __dir_mkfile succeeded.
36362
36363         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36364         checking for _hurd_dtablesize.  Unlock it right after having
36365         finished _hurd_dtable allocation.
36366
36367 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36368
36369         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36370         * sysdeps/mach/hurd/configure: Regenerated.
36371         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36372         special-casing to...
36373         * sysdeps/gnu/configure.in: ... this new file.
36374         * sysdeps/unix/sysv/linux/configure: Regenerated.
36375         * sysdeps/gnu/configure: New generated file.
36376
36377         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36378         for Linux: use nsec instead of usec, as well as:
36379         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36380         members of type struct timespec.
36381         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36382         New macros.
36383         (struct stat64): Likewise.
36384         (_STATBUF_ST_NSEC): New macro.
36385         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36386
36387         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36388         __strtoul_internal rather than strtoul.
36389
36390 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36391
36392         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36393         and reject them.
36394
36395 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36396
36397         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36398         which preserves existing values.
36399         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36400
36401 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36402
36403         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36404         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36405         greater than FD_SETSIZE.
36406
36407 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36408
36409         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36410         allocated, call __vm_protect to finish enabling the existing space, and
36411         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36412         allocate the remainder.
36413
36414 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36415
36416         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36417         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36418
36419 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36420
36421         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36422         sysdeps/mach/hurd/readlink.c.
36423
36424         * posix/tst-sysconf.c (posix_options): Only use
36425         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36426         _POSIX_SYNCHRONIZED_IO when they are defined
36427         * sysdeps/mach/hurd/bits/posix_opt.h:
36428         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36429         (_XOPEN_REALTIME): Undefine macro.
36430         (_XOPEN_REALTIME_THREADS): Undefine macro.
36431         (_XOPEN_SHM): Undefine macro.
36432         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36433         macro to -1.
36434         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36435         macro to -1.
36436         (_POSIX_ASYNC_IO): Undefine macro.
36437         (_POSIX_PRIORITIZED_IO): Undefine macro.
36438         (_POSIX_SPIN_LOCKS): Define macro to -1.
36439
36440         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36441         SA_NODEFER, SA_RESETHAND.
36442         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36443         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36444         F_DUPFD_CLOEXEC.
36445
36446 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36447
36448         * elf/Makefile (pldd-modules): Define unconditionally.
36449
36450 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36451
36452         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36453
36454 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36455
36456         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36457         Return ENOENT when name is empty.
36458         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36459
36460 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36461
36462         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36463
36464         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36465
36466 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36467
36468         Fix mlock in all cases except non-readable pages.
36469         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36470         instead of VM_PROT_ALL as parameter to __vm_wire function.
36471
36472         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36473         (__mkdir): When path is `/', just fail with EEXIST.
36474         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36475
36476 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36477
36478         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36479         <sys/uio.h> (for writev).
36480         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36481         and <sys/param.h> (for MIN).
36482
36483 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36484
36485         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36486         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36487         if interrupted.
36488
36489 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36490
36491         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36492         Depend on against $(link-rpcuserlibs).
36493
36494 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36495
36496         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36497         (__libc_stack_end): Do not use attribute_relro.
36498         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36499         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36500         to libthread-provided value.
36501         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36502         attribute_relro.
36503
36504 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36505
36506         [BZ #3748]
36507         * bits/libc-lock.h (__libc_once_get): New macro.
36508         * sysdeps/mach/bits/libc-lock.h: Likewise.
36509         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36510         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36511         instead of using implementation details.
36512
36513         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36514         * libio/freopen.c: Likewise.
36515         * libio/freopen64.c: Likewise.
36516         * misc/syslog.c: Likewise.
36517         * nscd/connections.c: Likewise.
36518         * nscd/netgroupcache.c: Likewise.
36519         * sysdeps/posix/getcwd.c: Likewise.
36520
36521 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36522
36523         * math/w_ilogbf.c: Add #include <limits.h>.
36524
36525 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36526
36527         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36528         path instead of returning without unlocking.
36529
36530         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36531         immediate-write ioctls.
36532         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36533
36534 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36535
36536         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36537         __builtin_frame_address instead of making assumptions about the
36538         location of the return address relative to DATA.  Force early load of
36539         the return address.
36540         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36541         __builtin_frame_address.
36542
36543         dup3 for GNU Hurd.
36544         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36545         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36546         implement dup3 and do some further code clean-ups.
36547         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36548         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36549
36550 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36551
36552         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36553
36554         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36555         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36556         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36557         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36558         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36559         d->port.lock.
36560
36561         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36562         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36563         when handler == SIG_ERR, not when handler != SIG_ERR.
36564
36565 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36566
36567         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36568         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36569         definitions.
36570
36571         accept4 for GNU Hurd.
36572         * include/sys/socket.h (__libc_accept4): New prototype.
36573         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36574         to implement __libc_accept4.
36575         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36576         __libc_accept4.
36577         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36578
36579         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36580         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36581         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36582         signal-defines.sym.
36583
36584 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36585
36586         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36587
36588 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36589
36590         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36591         assertion on O_CLOEXEC flag.
36592         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36593         * hurd/intern-fd.c: Likewise.
36594         * hurd/port2fd.c: Likewise.
36595
36596 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36597
36598         [BZ #3906]
36599         * bits/in.h (IPV6_PKTINFO): Define new macro.
36600         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36601
36602 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36603
36604         [BZ #13954]
36605         [BZ #13955]
36606         [BZ #13956]
36607         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36608         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36609         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36610         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36611         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36612         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36613         * math/libm-test.inc (logb_test) : Additional logb tests.
36614
36615 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36616             Andreas Jaeger  <aj@suse.de>
36617
36618         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36619         * configure: Regenerated.
36620         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36621         * config.make.in (link-obsolete-rpc): New substituted variable.
36622         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36623         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36624         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36625         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36626         so that libc.a contains the symbols.
36627         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36628         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36629         * sunrpc/auth_none.c: Likewise.
36630         * sunrpc/auth_unix.c: Likewise.
36631         * sunrpc/authdes_prot.c: Likewise.
36632         * sunrpc/authuxprot.c: Likewise.
36633         * sunrpc/clnt_gen.c: Likewise.
36634         * sunrpc/clnt_perr.c: Likewise.
36635         * sunrpc/clnt_raw.c: Likewise.
36636         * sunrpc/clnt_simp.c: Likewise.
36637         * sunrpc/clnt_tcp.c: Likewise.
36638         * sunrpc/clnt_udp.c: Likewise.
36639         * sunrpc/clnt_unix.c: Likewise.
36640         * sunrpc/des_crypt.c: Likewise.
36641         * sunrpc/des_soft.c: Likewise.
36642         * sunrpc/get_myaddr.c: Likewise.
36643         * sunrpc/key_call.c: Likewise.
36644         * sunrpc/key_prot.c: Likewise.
36645         * sunrpc/netname.c: Likewise.
36646         * sunrpc/pm_getmaps.c: Likewise.
36647         * sunrpc/pm_getport.c: Likewise.
36648         * sunrpc/pmap_clnt.c: Likewise.
36649         * sunrpc/pmap_prot.c: Likewise.
36650         * sunrpc/pmap_prot2.c: Likewise.
36651         * sunrpc/pmap_rmt.c: Likewise.
36652         * sunrpc/publickey.c: Likewise.
36653         * sunrpc/rpc_cmsg.c: Likewise.
36654         * sunrpc/rpc_common.c: Likewise.
36655         * sunrpc/rpc_dtable.c: Likewise.
36656         * sunrpc/rpc_prot.c: Likewise.
36657         * sunrpc/rpc_thread.c: Likewise.
36658         * sunrpc/rtime.c: Likewise.
36659         * sunrpc/svc.c: Likewise.
36660         * sunrpc/svc_auth.c: Likewise.
36661         * sunrpc/svc_raw.c: Likewise.
36662         * sunrpc/svc_run.c: Likewise.
36663         * sunrpc/svc_tcp.c: Likewise.
36664         * sunrpc/svc_udp.c: Likewise.
36665         * sunrpc/svc_unix.c: Likewise.
36666         * sunrpc/svcauth_des.c: Likewise.
36667         * sunrpc/xcrypt.c: Likewise.
36668         * sunrpc/xdr.c: Likewise.
36669         * sunrpc/xdr_array.c: Likewise.
36670         * sunrpc/xdr_float.c: Likewise.
36671         * sunrpc/xdr_intXX_t.c: Likewise.
36672         * sunrpc/xdr_mem.c: Likewise.
36673         * sunrpc/xdr_rec.c: Likewise.
36674         * sunrpc/xdr_ref.c: Likewise.
36675         * sunrpc/xdr_sizeof.c: Likewise.
36676         * sunrpc/xdr_stdio.c: Likewise.
36677
36678 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36679
36680         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36681         change.  Update copyright years.
36682
36683 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36684
36685         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36686
36687 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36688             Joseph Myers  <joseph@codesourcery.com>
36689             Paul Pluzhnikov  <ppluzhnikov@google.com>
36690
36691         [BZ #14012]
36692         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36693         requiring rpcgen.
36694         [cross-compiling] (extra-libs): Likewise.
36695         [cross-compiling] (extra-libs-others): Likewise.
36696         [cross-compiling] (librpcsvc-routines): Likewise.
36697         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36698         [cross-compiling] (omit-deps): Likewise.
36699         (sunrpc-CPPFLAGS): New variable.
36700         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36701         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36702         (cross-rpcgen-objs): New variable.
36703         (extra-objs): Append $(cross-rpcgen-objs).
36704         ($(cross-rpcgen-objs)): New rule.
36705         ($(objpfx)cross-rpcgen): Likewise.
36706         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36707         comment.
36708         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36709         ($(objpfx)x%.stmp): Likewise.
36710         * sunrpc/proto.h [IS_IN_build] (_): Define.
36711         [IS_IN_build] (_libc_intl_domainname): Likewise.
36712
36713 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36714
36715         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36716         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36717         and R_X86_64_TPOFF64.
36718
36719 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36720
36721         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36722         sysdeps/unix/sysv/syscalls.list.
36723         (stime): Likewise.
36724         (utime): Likewise.
36725         * sysdeps/unix/sysv/syscalls.list: Remove file.
36726
36727 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36728
36729         [BZ #3440]
36730         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36731         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36732         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36733         (__LC_IDENTIFICATION): Make these macros useful in #if
36734         expressions, as required by C99.
36735
36736 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36737
36738         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36739         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36740         after this.
36741
36742 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36743
36744         * stdlib/longlong.h: Updated from GCC.
36745
36746 2012-05-09  Andreas Jaeger  <aj@suse.de>
36747
36748         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36749         default is first entry.
36750         (run_mode): Set type.
36751         (main): Remove informal message about syslog.
36752         (options): Fix typo.
36753
36754         [BZ #14053]
36755         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36756         to asm.
36757         (lrint): Likewise.
36758         (llrintf): Likewise.
36759         (llrint): Likewise.
36760         (rint): Likewise.
36761         (rintf): Likewise.
36762         (nearbyint): Likewise.
36763         (nearbyintf): Likewise.
36764
36765 2012-05-09  Andreas Jaeger  <aj@suse.de>
36766             Pedro Alves  <palves@redhat.com>
36767
36768         * nscd/nscd.c (run_mode): Use enum.
36769         (main): Cleanup coding style issue.
36770
36771 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36772             Andreas Jaeger  <aj@suse.de>
36773
36774         * nscd/nscd.c (go_background): Replaced with...
36775         (run_mode): ... this.
36776         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36777         (options): Add -F --foreground.
36778         (main): Implement it.
36779         (parse_opt): Parse it.
36780
36781 2012-05-09  Andreas Jaeger  <aj@suse.de>
36782
36783         [BZ #14083]
36784         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36785         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36786         -Wconversion warning.
36787         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36788         Likewise.
36789
36790 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36791
36792         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36793         == 0.
36794         (LC_ALL): Use macro-int-constant.
36795         (LC_COLLATE): Likewise.
36796         (LC_CTYPE): Likewise.
36797         (LC_MESSAGES): Likewise.
36798         (LC_MONETARY): Likewise.
36799         (LC_NUMERIC): Likewise.
36800         (LC_TIME): Likewise.
36801         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36802         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36803         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36804         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36805         Specify type.
36806         [C99-based standards] (float_t): Expect type.
36807         [C99-based standards] (double_t): Expect type.
36808         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36809         type.
36810         [C99-based standards] (HUGE_VALL): Likewise.
36811         [C99-based standards] (INFINITY): Likewise.
36812         [C99-based standards] (NAN): Likewise.
36813         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36814         [C99-based standards] (FP_NAN): Likewise.
36815         [C99-based standards] (FP_NORMAL): Likewise.
36816         [C99-based standards] (FP_SUBNORMAL): Likewise.
36817         [C99-based standards] (FP_ZERO): Likewise.
36818         [C99-based standards] (FP_FAST_FMA): Use
36819         optional-macro-int-constant.  Specify type.  Require == 1.
36820         [C99-based standards] (FP_FAST_FMAF): Likewise.
36821         [C99-based standards] (FP_FAST_FMAL): Likewise.
36822         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36823         [C99-based standards] (FP_ILOGBNAN): Likewise.
36824         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36825         Specify type.
36826         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36827         [C99-based standards] (math_errhandling): Specify type.
36828         [ISO99 || ISO11] (signgam): Do not allow.
36829         [non-C99-based standards] (copysignf): Do not allow.
36830         [non-C99-based standards] (exp2f): Likewise.
36831         [non-C99-based standards] (log2f): Likewise.
36832         [non-C99-based standards] (modff): Allow.
36833         [non-C99-based standards] (erff): Do not allow.
36834         [non-C99-based standards] (erfcf): Likewise.
36835         [non-C99-based standards] (gammaf): Likewise.
36836         [non-C99-based standards] (hypotf): Likewise.
36837         [non-C99-based standards] (j0f): Likewise.
36838         [non-C99-based standards] (j1f): Likewise.
36839         [non-C99-based standards] (jnf): Likewise.
36840         [non-C99-based standards] (lgammaf): Likewise.
36841         [non-C99-based standards] (tgammaf): Likewise.
36842         [non-C99-based standards] (y0f): Likewise.
36843         [non-C99-based standards] (y1f): Likewise.
36844         [non-C99-based standards] (ynf): Likewise.
36845         [non-C99-based standards] (isnanf): Likewise.
36846         [non-C99-based standards] (acoshf): Likewise.
36847         [non-C99-based standards] (asinhf): Likewise.
36848         [non-C99-based standards] (atanhf): Likewise.
36849         [non-C99-based standards] (cbrtf): Likewise.
36850         [non-C99-based standards] (expm1f): Likewise.
36851         [non-C99-based standards] (ilogbf): Likewise.
36852         [non-C99-based standards] (log1pf): Likewise.
36853         [non-C99-based standards] (logbf): Likewise.
36854         [non-C99-based standards] (nextafterf): Likewise.
36855         [non-C99-based standards] (remainderf): Likewise.
36856         [non-C99-based standards] (rintf): Likewise.
36857         [non-C99-based standards] (scalbf): Likewise.
36858         [non-C99-based standards] (copysignl): Likewise.
36859         [non-C99-based standards] (exp2l): Likewise.
36860         [non-C99-based standards] (log2l): Likewise.
36861         [non-C99-based standards] (modfl): Allow.
36862         [non-C99-based standards] (erfl): Do not allow.
36863         [non-C99-based standards] (erfcl): Likewise.
36864         [non-C99-based standards] (gammal): Likewise.
36865         [non-C99-based standards] (hypotl): Likewise.
36866         [non-C99-based standards] (j0l): Likewise.
36867         [non-C99-based standards] (j1l): Likewise.
36868         [non-C99-based standards] (jnl): Likewise.
36869         [non-C99-based standards] (lgammal): Likewise.
36870         [non-C99-based standards] (tgammal): Likewise.
36871         [non-C99-based standards] (y0l): Likewise.
36872         [non-C99-based standards] (y1l): Likewise.
36873         [non-C99-based standards] (ynl): Likewise.
36874         [non-C99-based standards] (isnanl): Likewise.
36875         [non-C99-based standards] (acoshl): Likewise.
36876         [non-C99-based standards] (asinhl): Likewise.
36877         [non-C99-based standards] (atanhl): Likewise.
36878         [non-C99-based standards] (cbrtl): Likewise.
36879         [non-C99-based standards] (expm1l): Likewise.
36880         [non-C99-based standards] (ilogbl): Likewise.
36881         [non-C99-based standards] (log1pl): Likewise.
36882         [non-C99-based standards] (logbl): Likewise.
36883         [non-C99-based standards] (nextafterl): Likewise.
36884         [non-C99-based standards] (remainderl): Likewise.
36885         [non-C99-based standards] (rintl): Likewise.
36886         [non-C99-based standards] (scalbl): Likewise.
36887         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36888         [non-C99-based standards] (FP_*): Do not allow.
36889         [C99-based standards] (FP_*): Change to
36890         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36891         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36892         allow.
36893         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36894         (SIG_ERR): Likewise.
36895         [X/Open-based standards] (SIG_HOLD): Likewise.
36896         (SIG_IGN): Likewise.
36897         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36898         positive value.
36899         (SIGFPE): Likewise.
36900         (SIGILL): Likewise.
36901         (SIGINT): Likewise.
36902         (SIGSEGV): Likewise.
36903         (SIGTER): Likewise.
36904         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36905         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36906         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36907         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36908         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36909         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36910         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36911         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36912         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36913         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36914         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36915         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36916         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36917         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36918         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36919         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36920         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36921         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36922         [X/Open-based standards] (SIGTRAP): Likewise.
36923         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36924         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36925         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36926         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36927         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36928         allow.
36929
36930 2012-05-08  Ian Wienand  <ianw@vmware.com>
36931
36932         [BZ #14080]
36933         * time/tzset.c (__tzset_parse_tz): Update default rules for
36934         daylight time changes in the Energy Policy Act of 2005.
36935
36936 2012-05-09  Andreas Jaeger  <aj@suse.de>
36937
36938         [BZ #13983]
36939         * elf/ldconfig.c (parse_conf): Change string to make clear that
36940         ldconfig only issued a warning if ld.so.conf does not exist.
36941
36942 2012-05-08  David S. Miller  <davem@davemloft.net>
36943
36944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36945         movxtod instead of popping the value on the stack.
36946
36947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36948
36949 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36950
36951         * config.h.in: Add HAVE_ARM_PCS_VFP.
36952
36953 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36954
36955         [BZ #13979]
36956         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36957         checking but the checks are disabled for any reason.
36958
36959 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36960
36961         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36962         and ELF64_R_TYPE with ELFW(R_TYPE).
36963
36964 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36965
36966         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36967         (ulimit): Likewise.
36968
36969         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36970         (settimeofday): Likewise.
36971
36972 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36973
36974         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36975         a struct th_u2 inside the union, and move tu_block/tu_code into
36976         a new th_u3 union of tu_block/tu_code inside of that.  Move
36977         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36978         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36979         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36980         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36981         (th_stuff): Change to th_u1.tu_stuff.
36982         (th_data): Define.
36983         (th_msg): Change to th_u1.th_u2.tu_data.
36984
36985 2012-05-07  David S. Miller  <davem@davemloft.net>
36986
36987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36988
36989         [BZ #14074]
36990         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36991         (SETUP_PIC_REG): Use it.
36992         (SETUP_PIC_REG_LEAF): Use it.
36993
36994 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36995
36996         [BZ #13885]
36997         [BZ #13923]
36998         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36999         USE_AS_EXPM1L.
37000         (EXPL_FINITE): Likewise.
37001         (FLDLOG): Likewise.
37002         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37003         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37004         e_expl.S.
37005         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37006         USE_AS_EXPM1L.
37007         (EXPL_FINITE): Likewise.
37008         (FLDLOG): Likewise.
37009         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37010         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37011         e_expl.S.
37012         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37013         test of -max_value argument for long double.
37014         * sysdeps/i386/fpu/libm-test-ulps: Update.
37015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37016
37017 2012-05-06  David S. Miller  <davem@davemloft.net>
37018
37019         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37020         quad soft-float symbols whose references which are compiler
37021         generated.
37022         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37023
37024 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37025
37026         [BZ #13884]
37027         [BZ #13914]
37028         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37029         USE_AS_EXP10L.
37030         (EXPL_FINITE): Likewise.
37031         (FLDLOG): Likewise.
37032         (c0): Likewise.
37033         (c1): Likewise.
37034         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37035         Adjust comments for base varying.
37036         (__expl_finite): Change alias to EXPL_FINITE.
37037         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37038         e_expl.S.
37039         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37040         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37041         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37042         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37043         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37044         USE_AS_EXP10L.
37045         (EXPL_FINITE): Likewise.
37046         (FLDLOG): Likewise.
37047         (c0): Likewise.
37048         (c1): Likewise.
37049         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37050         Adjust comments for base varying.
37051         (__expl_finite): Change alias to EXPL_FINITE.
37052         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37053         tests for bugs.
37054         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37055
37056         [BZ #14064]
37057         * math/libm-test.inc (check_float_internal): Correct ulp
37058         calculation for subnormal expected results.
37059
37060 2012-05-06  Andreas Jaeger  <aj@suse.de>
37061
37062         * Makeconfig (+math-flags): New, set to -frounding-math.
37063         (+cflags): Add +math-flags so that all of glibc gets compiled with
37064         it.
37065
37066         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37067
37068 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37069
37070         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37071         Disable one test.
37072
37073         [BZ #13787]
37074         [BZ #13922]
37075         [BZ #14036]
37076         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37077         (__ieee754_expl): Allow for and saturate large arguments.
37078         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37079         (u_threshold): Likewise.
37080         (__exp): Call __ieee754_exp before checking for overflow and
37081         underflow.
37082         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37083         (u_threshold): Likewise.
37084         (__expf): Call __ieee754_expf before checking for overflow and
37085         underflow.
37086         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37087         (u_threshold): Likewise.
37088         (__expl): Call __ieee754_expl before checking for overflow and
37089         underflow.
37090         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37091         (__ieee754_expl): Allow for and saturate large arguments.
37092         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37093         missing overflow exception on overflow.
37094         (expm1_test): Do not allow missing overflow exception on overflow.
37095
37096         * sysdeps/i386/fpu/e_expl.c: Move to ...
37097         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37098         rather than using inline asm.
37099         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37100         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37101         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37102
37103         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37104         (nice): Likewise.
37105         (poll): Likewise.
37106         (signal): Likewise.
37107         (time): Likewise.
37108         (times): Likewise.
37109
37110 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37111
37112         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37113         sysdeps/unix/common/syscalls.list.
37114         (fchmod): Likewise.
37115         (fchown): Likewise.
37116         (ftruncate): Likewise.
37117         (getrusage): Likewise.
37118         (gettimeofday): Likewise.
37119         (setpgid): Likewise.
37120         (setregid): Likewise.
37121         (setreuid): Likewise.
37122         (sigaction): Likewise.
37123         (truncate): Likewise.
37124         (vhangup): Likewise.
37125         * sysdeps/unix/common/syscalls.list: Remove file.
37126         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37127         * sysdeps/unix/sysv/linux/Implies: Likewise.
37128
37129 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37130
37131         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37133         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37134         Moved to ...
37135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37136         Here.
37137         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37138         to ...
37139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37140         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37141         to ...
37142         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37143         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37144         to ...
37145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37146         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37147         to ...
37148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37149         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37150         to ...
37151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37152         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37153         to ...
37154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37155         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37156         to ...
37157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37158         Here.
37159         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37160         to ...
37161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37162         Here.
37163         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37164         to ...
37165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37166         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37167         Moved to ...
37168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37169         Here.
37170         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37171         to ...
37172         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37173
37174 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37175
37176         * sysdeps/unix/common/bits/dirent.h: Remove file.
37177         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37178
37179         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37180         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37181         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37182         * sysdeps/unix/bsd/isatty.c: Likewise.
37183         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37184         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37185         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37186
37187 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37188
37189         [BZ #13563]
37190         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37191         long double comparison inaccuracies.
37192         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37194
37195 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37196
37197         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37198         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37199
37200 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37201
37202         [BZ #14049]
37203         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37204         nonzero digits before rounding a hex value.
37205         * stdlib/tst-strtod.c (tests): Add another test.
37206
37207 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37208
37209         * sysdeps/s390/fpu/libm-test-ulps: Update.
37210
37211 2012-05-03  Andreas Jaeger  <aj@suse.de>
37212
37213         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37214         does not get optimized out.
37215         (malloc_opt_barrier): New.
37216
37217 2012-05-03  Andreas Jaeger  <aj@suse.de>
37218             Roland McGrath  <roland@hack.frob.com>
37219
37220         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37221         intermediate file deletion.
37222         (generated): Add .symlist files.
37223
37224 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37225
37226         [BZ #13775]
37227         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37228         Redirect under this condition.
37229         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37230         [__USE_GNU] (__dprintf_chk): Not under this condition.
37231         [__USE_GNU] (__vdprintf_chk): Likewise.
37232         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37233         under this condition.
37234         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37235         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37236         [__USE_XOPEN2K8] (vdprintf): Likewise.
37237         [__USE_GNU] (__dprintf_chk): Not under this condition.
37238         [__USE_GNU] (__vdprintf_chk): Likewise.
37239         [__USE_GNU] (dprintf): Likewise.
37240         [__USE_GNU] (vdprintf): Likewise.
37241
37242 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37243
37244         * elf/Makefile (common-generated): Set this instead of generated for
37245         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37246         $(all-built-dso)-derived lists.
37247
37248 2012-05-03  Andreas Jaeger  <aj@suse.de>
37249
37250         * sysdeps/i386/fpu/libm-test-ulps: Update.
37251
37252         * FAQ: Removed.
37253         * FAQ.in: Likewise.
37254         * scripts/gen-FAQ.pl: Likewise.
37255         * manual/install.texi (Installation): Point to online location of
37256         FAQ.
37257         * Makefile (files-for-dist): Remove FAQ.
37258         (FAQ): Remove.
37259
37260 2012-05-02  Allan McRae  <allan@archlinux.org>
37261
37262         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37263         (LDFLAGS-reldepmod5.so): Likewise.
37264         (LDFLAGS-reldep6mod1.so): Likewise.
37265         (LDFLAGS-reldep6mod4.so): Likewise.
37266         (LDFLAGS-reldep8mod3.so): Likewise.
37267         (LDFLAGS-unload4mod1.so): Likewise.
37268         (LDFLAGS-unload4mod2.so): Likewise.
37269         (LDFLAGS-tst-initorder): Likewise.
37270         (LDFLAGS-tst-initordera2.so): Likewise.
37271         (LDFLAGS-tst-initordera3.so): Likewise.
37272         (LDFLAGS-tst-initordera4.so): Likewise.
37273         (LDFLAGS-tst-initorderb2.so): Likewise.
37274         (LDFLAGS-noload): Likewise.
37275         (LDFLAGS-next): Likewise.
37276         (LDFLAGS-order2mod1.so): Likewise.
37277         (LDFLAGS-order2mod2.so): Likewise.
37278         (LDFLAGS-tst-initorder2): Likewise.
37279         (LDFLAGS-tst-initorder2a.so): Likewise.
37280         (LDFLAGS-tst-initorder2b.so): Likewise.
37281         (LDFLAGS-tst-initorder2c.so): Likewise.
37282         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37283
37284 2012-05-02  David S. Miller  <davem@davemloft.net>
37285
37286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37287
37288 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37289
37290         [BZ #14055]
37291         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37292
37293 2012-05-02  Andreas Jaeger  <aj@suse.de>
37294
37295         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37296         since we manipulate rounding mode.
37297         (CPPFLAGS-test-idouble.c): Likewise.
37298         (CPPFLAGS-test-ifloat.c): Likewise.
37299         (CFLAGS-test-ldouble.c): Likewise.
37300         (CFLAGS-test-double.c): Likewise.
37301         (CFLAGS-test-float.c): Likewise.
37302         (CFLAGS-test-misc.c): Likewise.
37303         (CFLAGS-test-test-fenv.c): Likewise.
37304
37305 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37306
37307         [BZ #2550]
37308         [BZ #2570]
37309         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37310         comparisons to determine direction to adjust input.
37311
37312 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37313
37314         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37315         output to the target.
37316
37317         * scripts/localplt.awk: New file.
37318         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37319         (check-localplt-CFLAGS): Variable removed.
37320         ($(all-built-dso:=.jmprel)): New static pattern rule.
37321         (generated): Add those targets.
37322         (localplt-built-dso): New variable.
37323         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37324
37325         * elf/check-localplt.c: File removed.
37326
37327         * scripts/check-execstack.awk: New file.
37328         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37329         (check-execstack-CFLAGS): Variable removed.
37330         ($(objpfx)check-execstack.h): Target removed.
37331         ($(objpfx)execstack-default): New target.
37332         (generated): Add that instead of check-execstack.h.
37333         ($(all-built-dso:=.phdr)): New static pattern rule.
37334         (generated): Add those targets.
37335         * elf/check-execstack.c: File removed.
37336
37337         * scripts/check-textrel.awk: New file.
37338         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37339         (check-textrel-CFLAGS): Variable removed.
37340         (all-built-dso): Use := to define.o
37341         ($(all-built-dso:=.dyn)): New static pattern rule.
37342         (generated): Add those targets.
37343         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37344         * config.make.in (READELF): New substituted variable.
37345         * elf/check-textrel.c: File removed.
37346
37347 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37348
37349         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37350         allow.
37351         * conform/data/ctype.h-data [C99-based standards] (isblank):
37352         Expect function.
37353         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37354         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37355         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37356         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37357         Specify type.  Require positive value.
37358         (EILSEQ): Likewise.
37359         (ERANGE): Likewise.
37360         [ISO || POSIX] (EILSEQ): Do not expect.
37361         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37362         Specify type.  Require positive value.
37363         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37364         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37365         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37366         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37367         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37368         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37369         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37370         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37371         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37372         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37373         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37374         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37375         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37376         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37377         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37378         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37379         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37380         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37381         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37382         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37383         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37384         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37385         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37386         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37387         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37388         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37389         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37390         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37391         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37392         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37393         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37394         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37395         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37396         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37397         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37398         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37399         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37400         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37401         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37402         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37403         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37404         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37405         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37406         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37407         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37408         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37409         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37410         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37411         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37412         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37413         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37414         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37415         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37416         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37417         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37418         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37419         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37420         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37421         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37422         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37423         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37424         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37425         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37426         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37427         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37428         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37429         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37430         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37431         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37432         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37433         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37434         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37435         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37436         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37437         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37438         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37439         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37440         Require >= 2.
37441         (FLT_ROUNDS): Expect as macro, not constant.
37442         (FLT_MANT_DIG): Use macro-int-constant.
37443         (DBL_MANT_DIG): Likewise.
37444         (LDBL_MANT_DIG): Likewise.
37445         (FLT_DIG): Likewise.
37446         (DBL_DIG): Likewise.
37447         (LDBL_DIG): Likewise.
37448         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37449         (DBL_MIN_EXP): Likewise.
37450         (LDBL_MIN_EXP): Likewise.
37451         (FLT_MAX_EXP): Use macro-int-constant.
37452         (DBL_MAX_EXP): Likewise.
37453         (LDBL_MAX_EXP): Likewise.
37454         (FLT_MAX_10_EXP): Likewise.
37455         (DBL_MAX_10_EXP): Likewise.
37456         (LDBL_MAX_10_EXP): Likewise.
37457         (FLT_MAX): Use macro-constant.
37458         (DBL_MAX): Likewise.
37459         (LDBL_MAX): Likewise.
37460         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37461         (DBL_EPSILON): Likewise.
37462         (LDBL_EPSILON): Likewise.
37463         (FLT_MIN): Likewise.
37464         (DBL_MIN): Likewise.
37465         (LDBL_MIN): Likewise.
37466         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37467         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37468         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37469         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37470         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37471         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37472         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37473         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37474         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37475         [ISO11] (FLT_TRUE_MIN): Likewise.
37476         [ISO11] (LDBL_TRUE_MIN): Likewise.
37477         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37478         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37479         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37480         (SCHAR_MAX): Likewise.
37481         (UCHAR_MAX): Likewise.
37482         (CHAR_MIN): Likewise.
37483         (CHAR_MAX): Likewise.
37484         (MB_LEN_MAX): Use macro-int-constant.
37485         (SHRT_MIN): Use macro-int-constant.  Specify type.
37486         (SHRT_MAX): Likewise.
37487         (USHRT_MAX): Likewise.
37488         (INT_MAX): Likewise.
37489         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37490         bound negative.
37491         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37492         bound with "U".
37493         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37494         bound with "L".
37495         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37496         bound negative.  Suffix upper bound with "L".
37497         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37498         bound with "UL".
37499         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37500         Specify type.
37501         [C99-based standards] (LLONG_MAX): Likewise.
37502         [C99-based standards] (ULLONG_MAX): Likewise.
37503         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37504         == 0.
37505         [ISO11] (max_align_t): Require type.
37506         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37507
37508         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37509         from $CFLAGS, without defining away __attribute__ calls.
37510         (checknamespace): Use $CFLAGS_namespace.
37511
37512         * conform/conformtest.pl (@keywords): Only include C99 keywords
37513         for standards based on C99 or C11.
37514
37515         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37516         Disable tests.
37517         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37518         UNIX98]: Likewise.
37519
37520         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37521         usability of symbols in #if.
37522
37523         * conform/conformtest.pl: If macro or constant types start
37524         "promoted:", expect the symbol to be of the following type
37525         promoted by the integer promotions.
37526
37527         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37528         in one place.  Also handle "macro-constant".
37529
37530         * conform/conformtest.pl: Only accept expected macro values with
37531         "==".  Parse all "macro" lines in one place.
37532         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37533
37534         * conform/conformtest.pl: Handle braced types on "constant" lines
37535         instead of handling "typed-constant".
37536         * conform/data/signal.h-data: Use "constant" instead of
37537         "typed-constant".
37538
37539         * conform/conformtest.pl: Handle "optional-" at start of lines in
37540         one place rather than duplicating several cases.  Handle each
37541         format of "macro" line with initial "optional-".
37542
37543         * conform/conformtest.pl: Only accept expected constant or
37544         optional-constant values with "==".  Parse all "constant" lines in
37545         one place.  Parse all "optional-constant" lines in one place.
37546         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37547         * conform/data/fmtmsg.h-data: Likewise.
37548         * conform/data/netinet/in.h-data: Likewise.
37549         * conform/data/tar.h-data: Likewise.
37550         * conform/data/limits.h-data: Use "==" form on "constant" and
37551         "optional-constant" lines.
37552
37553         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37554         Use -std=c99 for XOPEN2K.
37555         (@knownproblems): Remove.
37556         (newtoken): Don't check %isknown.
37557
37558         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37559         Do not expect macro.
37560         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37561         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37562         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37563         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37564         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37565         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37566         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37567         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37568         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37569         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37570         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37571         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37572         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37573         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37574         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37575         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37576         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37577         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37578         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37579         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37580         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37581         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37582         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37583         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37584         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37585         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37586         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37587         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37588         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37589         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37590         [XPG3] (acosh): Likewise.
37591         [XPG3] (asinh): Likewise.
37592         [XPG3] (atanh): Likewise.
37593         [XPG3] (cbrt): Likewise.
37594         [XPG3] (expm1): Likewise.
37595         [XPG3] (ilogb): Likewise.
37596         [XPG3] (log1p): Likewise.
37597         [XPG3] (logb): Likewise.
37598         [XPG3] (nextafter): Likewise.
37599         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37600         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37601         [XPG3] (remainder): Likewise.
37602         [XPG3] (rint): Likewise.
37603         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37604         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37605         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37606         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37607         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37608         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37609         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37610         [UNIX98 || XOPEN2K] (scalb): Expect.
37611         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37612         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37613         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37614         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37615         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37616         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37617         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37618         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37619         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37620         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37621         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37622         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37623         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37624         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37625         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37626         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37627         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37628         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37629         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37630         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37631         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37632         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37633         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37634         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37635         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37636         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37637         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37638         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37639         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37640         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37641         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37642         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37643         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37644         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37645         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37646         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37647         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37648         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37649         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37650         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37651         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37652         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37653         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37654         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37655         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37656         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37657         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37658         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37659         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37660         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37661         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37662         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37663         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37664         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37665         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37666         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37667         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37668         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37669         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37670         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37671         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37672         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37673         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37674         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37675         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37676         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37677         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37678         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37679         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37680         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37681         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37682         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37683         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37684         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37685         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37686         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37687         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37688         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37689         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37690         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37691         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37692         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37693         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37694         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37695         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37696         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37697         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37698         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37699         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37700         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37701         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37702         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37703         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37704         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37705         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37706         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37707         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37708         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37709         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37710         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37711         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37712         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37713         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37714         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37715         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37716         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37717         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37718         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37719         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37720         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37721         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37722         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37723         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37724         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37725         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37726         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37727         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37728         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37729         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37730         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37731         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37732         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37733         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37734         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37735         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37736         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37737         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37738         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37739         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37740         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37741         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37742         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37743         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37744         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37745         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37746         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37747         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37748
37749         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37750         _XOPEN_SOURCE_EXTENDED for XPG4.
37751
37752         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37753
37754         * Makeconfig (localtime): Remove variable.
37755         (inst_localtime-file): Likewise.
37756
37757 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37758
37759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37760         Update.
37761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37762         Update.
37763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37764         Update.
37765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37766         Update.
37767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37768         Update.
37769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37770         Update.
37771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37772         Update.
37773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37774         Update.
37775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37776         Update.
37777
37778 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37779
37780         [BZ #2550]
37781         [BZ #2570]
37782         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37783         comparisons to determine direction to adjust input.
37784         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37785         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37786         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37787         Likewise.
37788         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37789         Likewise.
37790         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37791         Likewise.
37792         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37793         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37794         Likewise.
37795         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37796         Likewise.
37797         * math/libm-test.inc (nexttoward_test): Add more tests.
37798
37799 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37800
37801         [BZ #14040]
37802         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37803         in version GLIBC_2.1, not GLIBC_2.0.
37804         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37805         Likewise.
37806
37807 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37808
37809         [BZ #13942]
37810         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37811         (1 - x) * (1 + x).
37812         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37813         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37814         * math/libm-test.inc (acos_test): Add more tests.
37815         (asin_test): Likewise.
37816         * sysdeps/i386/fpu/libm-test-ulps: Update.
37817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37818
37819         [BZ #14034]
37820         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37821         of square root.
37822         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37823         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37824         * math/libm-test.inc (acos_test_tonearest): New function.
37825         (acos_test_towardzero): Likewise.
37826         (acos_test_downward): Likewise.
37827         (acos_test_upward): Likewise.
37828         (asin_test_tonearest): Likewise.
37829         (asin_test_towardzero): Likewise.
37830         (asin_test_downward): Likewise.
37831         (asin_test_upward): Likewise.
37832         (main): Call the new functions.
37833         * sysdeps/i386/fpu/libm-test-ulps: Update.
37834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37835
37836         [BZ #13884]
37837         [BZ #13924]
37838         * math/e_exp10.c: Include <float.h>.
37839         (__ieee754_exp10): Handle underflow here rather than multiplying
37840         large negative argument by M_LN10.
37841         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37842         of __ieee754_expf.
37843         * math/e_exp10l.c: Include <float.h>.
37844         (__ieee754_exp10l): Handle underflow here rather than multiplying
37845         large negative argument by M_LN10l.
37846         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37847         spurious overflow exception on underflow.
37848
37849 2012-04-29  Marek Polacek  <polacek@redhat.com>
37850
37851         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37852         (__fortify_function): New macro.
37853         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37854         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37855         __extern_always_inline.
37856         * libio/bits/stdio2.h: Likewise.
37857         * libio/bits/stdio.h: Likewise.
37858         * string/string.h: Likewise.
37859         * string/bits/string3.h: Likewise.
37860         * include/stdio.h: Likewise.
37861         * stdlib/bits/stdlib.h: Likewise.
37862         * stdlib/stdlib.h: Likewise.
37863         * rt/bits/mqueue2.h: Likewise.
37864         * rt/mqueue.h: Likewise.
37865         * posix/bits/unistd.h: Likewise.
37866         * posix/unistd.h: Likewise.
37867         * io/bits/poll2.h: Likewise.
37868         * io/bits/fcntl2.h: Likewise.
37869         * io/fcntl.h: Likewise.
37870         * io/sys/poll.h: Likewise.
37871         * misc/bits/syslog.h: Likewise.
37872         * misc/bits/syslog-ldbl.h: Likewise.
37873         * misc/sys/syslog.h: Likewise.
37874         * socket/bits/socket2.h: Likewise.
37875         * socket/sys/socket.h: Likewise.
37876         * debug/tst-chk1.c: Likewise.
37877         * wcsmbs/bits/wchar2.h: Likewise.
37878         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37879         * wcsmbs/wchar.h: Likewise.
37880
37881 2012-04-29  Andreas Jaeger  <aj@suse.de>
37882
37883         * Makerules (tests): Remove enable-check-abi protection.
37884         (check-abi-warn): Remove.
37885         (check-abi-%): Remove check-abi-warn usage.
37886
37887         * configure.in: Remove check-abi configure option.
37888         * configure: Regenerated.
37889         * config.make.in (enable-check-abi): Remove.
37890
37891 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37892
37893         [BZ #14033]
37894         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37895         double functions to double *_finite functions.
37896
37897         [BZ #13941]
37898         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37899         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37900         LDBL_MIN_EXP.
37901         * stdio-common/Makefile (tests): Add tst-sprintf3.
37902         * stdio-common/tst-sprintf3.c: New file.
37903
37904         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37905         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37906
37907 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37908
37909         * conform/conformtest.pl: Remove duplicate typed-constant
37910         handling.
37911
37912 2012-04-28  David S. Miller  <davem@davemloft.net>
37913
37914         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37915         (check-abi-%): Remove AWK script prerequisite and explicit
37916         abilist directory.
37917         (check-abi): Rewrite to just diff the symlist with the abilist.
37918         (config-tls, config-abi-config): Delete, no longer used.
37919         (update-abi-%): Remove AWK script and explicit abilist directory.
37920         (update-abi): Rewrite to simply compare and conditionally copy the
37921         symlist and the sysdep abilist file.  Remove update-abi-config
37922         checks.
37923         * abilist/ld.abilist: Remove.
37924         * abilist/libBrokenLocale.abilist: Remove.
37925         * abilist/libanl.abilist: Remove.
37926         * abilist/libcrypt.abilist: Remove.
37927         * abilist/libdl.abilist: Remove.
37928         * abilist/librt.abilist: Remove.
37929         * abilist/libthread_db.abilist: Remove.
37930         * abilist/libutil.abilist: Remove.
37931         * scripts/extract-abilist.awk: Remove.
37932         * scripts/merge-abilist.awk: Remove.
37933         * sysdeps/generic/libcidn.abilist: New file.
37934         * sysdeps/generic/libnss_compat.abilist: New file.
37935         * sysdeps/generic/libnss_db.abilist: New file.
37936         * sysdeps/generic/libnss_dns.abilist: New file.
37937         * sysdeps/generic/libnss_files.abilist: New file.
37938         * sysdeps/generic/libnss_hesiod.abilist: New file.
37939         * sysdeps/generic/libnss_nis.abilist: New file.
37940         * sysdeps/generic/libnss_nisplus.abilist: New file.
37941         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37942         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37943         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37944         file.
37945         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37946         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37947         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37948         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37949         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37950         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37951         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37952         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37953         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37954         file.
37955         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37956         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37957         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37958         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37959         file.
37960         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37961         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37962         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37963         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37964         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37965         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37966         file.
37967         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37968         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37969         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37970         file.
37971         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37972         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37973         New file.
37974         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37975         New file.
37976         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37977         New file.
37978         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37979         New file.
37980         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37981         New file.
37982         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37983         New file.
37984         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37985         New file.
37986         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37987         New file.
37988         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37989         New file.
37990         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37991         New file.
37992         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37993         New file.
37994         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37995         New file.
37996         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37997         New file.
37998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37999         file.
38000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38001         New file.
38002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38003         New file.
38004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38005         file.
38006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38007         New file.
38008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38009         New file.
38010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38011         file.
38012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38013         New file.
38014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38015         New file.
38016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38017         New file.
38018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38019         New file.
38020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38021         New file.
38022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38023         New file.
38024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38026         file.
38027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38028         New file.
38029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38030         file.
38031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38032         file.
38033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38034         file.
38035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38036         file.
38037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38038         file.
38039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38040         New file.
38041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38042         file.
38043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38044         file.
38045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38046         New file.
38047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38048         file.
38049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38051         file.
38052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38053         New file.
38054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38055         file.
38056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38057         file.
38058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38059         file.
38060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38061         file.
38062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38063         file.
38064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38065         New file.
38066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38067         file.
38068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38069         file.
38070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38071         New file.
38072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38073         file.
38074         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38075         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38076         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38077         file.
38078         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38079         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38080         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38081         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38082         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38083         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38084         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38085         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38086         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38087         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38089         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38090         file.
38091         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38092         New file.
38093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38094         file.
38095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38096         file.
38097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38098         file.
38099         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38100         file.
38101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38102         file.
38103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38104         New file.
38105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38106         New file.
38107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38108         file.
38109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38110         New file.
38111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38112         file.
38113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38115         file.
38116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38117         New file.
38118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38119         file.
38120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38121         file.
38122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38123         file.
38124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38125         file.
38126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38127         file.
38128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38129         New file.
38130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38131         New file.
38132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38133         file.
38134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38135         New file.
38136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38137         file.
38138
38139 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38140
38141         * conform/conformtest.pl: Fix typo in handling typed-constant from
38142         allow-header.
38143
38144 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38145
38146         * README: Cut down references to pre-2.6 Linux kernels and
38147         Linuxthreads.  Update lists of configurations in libc and ports
38148         and sort alphabetically.  Say "or newer" with Linux kernel version
38149         requirements.
38150
38151         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38152
38153 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38154
38155         [BZ #887]
38156         * math/libm-test.inc (logb_test_downward): New test to expose
38157         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38158         rounding mode.
38159
38160 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38161
38162         [BZ #14027]
38163         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38164         to be done.
38165         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38166         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38167
38168 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38169
38170         * sysdeps/unix/i386/brk.S: Remove file.
38171         * sysdeps/unix/i386/dl-brk.S: Likewise.
38172         * sysdeps/unix/i386/pipe.S: Likewise.
38173         * sysdeps/unix/i386/sigreturn.S: Likewise.
38174         * sysdeps/unix/i386/syscall.S: Likewise.
38175         * sysdeps/unix/i386/vfork.S: Likewise.
38176         * sysdeps/unix/i386/wait.S: Likewise.
38177
38178         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38179         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38180
38181         * configure.in (arm*-none*): Do not allow without
38182         --enable-hacker-mode.
38183         (netbsd*): Remove case setting base_os.
38184         (386bsd*): Likewise.
38185         (freebsd*): Likewise.
38186         (bsdi*): Likewise.
38187         (osf*): Likewise.
38188         (sunos*): Likewise.
38189         (ultrix*): Likewise.
38190         (newsos*): Likewise.
38191         (dynix*): Likewise.
38192         (*bsd*): Likewise.
38193         (sysv*): Likewise.
38194         (isc*): Likewise.
38195         (esix*): Likewise.
38196         (sco*): Likewise.
38197         (minix*): Likewise.
38198         (irix4*): Likewise.
38199         (irix6*): Likewise.
38200         (solaris[2-9]*): Likewise.
38201         (none): Likewise.
38202         * configure: Regenerated.
38203
38204 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38205
38206         [BZ #11521]
38207         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38208         overflow or cancellation in calculating denominator.
38209         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38210         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38211         down expression to avoid unexpected rounding in newer GCCs.
38212         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38213
38214 2012-04-26  David S. Miller  <davem@davemloft.net>
38215
38216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38217         long-double compat symbols.
38218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38231
38232 2012-04-25  David S. Miller  <davem@davemloft.net>
38233
38234         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38235         HWCAP_* values only after the memory barriers have been defined.
38236         (atomic_full_barrier): Define.
38237         (atomic_read_barrier): Define.
38238         (atomic_write_barrier): Define.
38239
38240 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38241
38242         * shlib-versions: Add libgcc_s version information.
38243         * sysdeps/generic/libgcc_s.h: Remove.
38244         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38245         libgcc_s.h.
38246         * sysdeps/gnu/unwind-resume.c: Likewise.
38247         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38248
38249 2012-04-25  David S. Miller  <davem@davemloft.net>
38250
38251         * sysdeps/unix/sparc/brk.S: Delete.
38252         * sysdeps/unix/sparc/dl-brk.S: Delete.
38253         * sysdeps/unix/sparc/pipe.S: Delete.
38254         * sysdeps/unix/sparc/sysdep.S: Delete.
38255         * sysdeps/unix/sparc/sysdep.h: Delete.
38256         * sysdeps/unix/sparc/vfork.S: Delete.
38257         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38258         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38259         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38260         (ret_ERRVAL, r0, r1, MOVE): Define.
38261         (JUMPTARGET): Remove.
38262         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38263         sysdeps/unix/sparc/sysdep.h
38264         (ENTRY, END): Remove.
38265         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38266
38267 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38268
38269         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38270         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38271         -DIS_IN_build.
38272
38273         * timezone/README: Update upstream location and email address for
38274         tzcode and tzdata.
38275         * timezone/zdump.c: Update from tzcode 2012b.
38276         * timezone/zic.c: Likewise.
38277
38278         * configure.in (libc_cv_as_needed): Remove test.
38279         * configure: Regenerated.
38280         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38281         conditional definition.
38282         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38283         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38284         * config.make.in (have-as-needed): Remove variable.
38285
38286 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38287             Paul Pluzhnikov  <ppluzhnikov@google.com>
38288
38289         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38290         strings correctly.
38291
38292 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38293
38294         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38295         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38296         * sysdeps/sh/strlen.S: Likewise.
38297
38298 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38299
38300         * sysdeps/unix/fork.S: Remove file.
38301         * sysdeps/unix/i386/fork.S: Likewise.
38302         * sysdeps/unix/sparc/fork.S: Likewise.
38303
38304         * sysdeps/unix/system.c: Remove file.
38305         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38306
38307         * sysdeps/unix/getegid.S: Remove file.
38308         * sysdeps/unix/geteuid.S: Likewise.
38309
38310 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38311
38312         * scripts/check-localplt.awk: New file.
38313         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38314         of diff.
38315         * scripts/data/localplt-generic.data: Add a comment.
38316
38317         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38318         NODE when __dir_mkfile failed.
38319         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38320         Reported by Ludovic Courtès <ludo@gnu.org>.
38321
38322 2012-04-24  Andreas Jaeger  <aj@suse.de>
38323
38324         * Makerules (common-clean): Also remove gen-as-const-headers
38325         files.
38326
38327 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38328
38329         * Makerules (native-compile): Do not change working directory for
38330         build.  Use $(OUTPUT_OPTION) in command.
38331         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38332
38333 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38334
38335         [BZ #13886]
38336         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38337         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38338         * math/libm-test.inc (floor_test): Add more tests.
38339         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38340
38341 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38342
38343         * sysdeps/unix/getdents.c: Remove file.
38344         * sysdeps/unix/sysv/getdents.c: Likewise.
38345         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38346
38347         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38348         sysdeps/unix/mman/syscalls.list.
38349         (mmap): Likewise.
38350         (mprotect): Likewise.
38351         (msync): Likewise.
38352         (munmap): Likewise.
38353         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38354         * sysdeps/unix/mman/syscalls.list: Remove.
38355         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38356
38357         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38358         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38359         * configure: Regenerated.
38360         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38361         $(libgcc_s_suffix).
38362         * config.make.in (libgcc_s_suffix): Remove variable.
38363
38364 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38365
38366         * sysdeps/unix/sysv/gethostname.c: Move to ...
38367         * sysdeps/posix/gethostname.c: ... here.
38368
38369         * sysdeps/unix/execve.S: Remove file.
38370
38371         * sysdeps/unix/_exit.S: Remove file.
38372
38373 2012-04-23  Andreas Jaeger  <aj@suse.de>
38374
38375         [BZ #13739]
38376         * manual/Makefile: Remove make dist support, there's no
38377         need for a stand-alone documentation tar ball.
38378         (TEXI2DVI): Define always, it's not in Makeconfig.
38379         (dist): Removed.
38380         (tar-it): Removed.
38381         (edition): Removed.
38382         (glibc-doc-$(edition).tar): Removed
38383         (%.Z): Removed.
38384         (%.gz): Removed.
38385         (%.uu): Removed.
38386         (ETAGS): Remove, it's in Makeconfig.
38387         (move-if-change): Remove, it's in Makeconfig.
38388
38389 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38390
38391         [BZ #13970]
38392         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38393         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38394         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38395         (strtod_l, strtof_l, strtold_l): Remove __wur.
38396         It is not necessarily an error to ignore strtol's return value.
38397         One can reliably look at the stored endptr to decide whether
38398         the number had valid syntax.
38399
38400 2012-04-21  Andreas Jaeger  <aj@suse.de>
38401
38402         [BZ #13739]
38403         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38404
38405 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38406
38407         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38408         * sysdeps/unix/sysv/Versions: Remove file.
38409
38410 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38411
38412         [BZ #13927]
38413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38414
38415 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38416
38417         [BZ #7064]
38418         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38419         version from __vm86.
38420
38421 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38422
38423         * sysdeps/unix/common/lxstat.c: Remove file.
38424         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38425
38426         * sysdeps/unix/sysv/Makefile: Remove file.
38427
38428         * sysdeps/unix/sysv/direct.h: Remove file.
38429
38430         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38431         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38432         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38433         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38434         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38435         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38436         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38437
38438         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38439
38440         * sysdeps/unix/xmknod.c: Remove file.
38441         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38442
38443         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38444
38445         * sysdeps/unix/sysv/i386/time.S: Remove file.
38446
38447         * sysdeps/unix/fxstat.c: Remove file.
38448         * sysdeps/unix/xstat.c: Likewise.
38449         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38450
38451         * sysdeps/unix/sysv/sigaction.c: Remove file.
38452
38453         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38454         (sysdep_headers): Remove variable.
38455         [termio.h not in sysdep_headers] (generated): Likewise.
38456         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38457         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38458         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38459         * sysdeps/unix/sysv/tcflow.c: Likewise.
38460         * sysdeps/unix/sysv/tcflush.c: Likewise.
38461         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38462         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38463         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38464         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38465         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38466
38467         * sysdeps/unix/siglist.c: Remove file.
38468
38469         * sysdeps/unix/getppid.S: Remove file.
38470
38471         * sysdeps/unix/mkdir.c: Remove file.
38472         * sysdeps/unix/rmdir.c: Likewise.
38473
38474 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38475
38476         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38477         ERR_MAX value.
38478         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38479         errlist-compat value.
38480
38481 2012-04-18  David S. Miller  <davem@davemloft.net>
38482
38483         * sysdeps/generic/memcopy.h (reg_char): Delete.
38484         * debug/strcat_chk.c: Use char, not reg_char.
38485         * debug/strcpy_chk.c: Likewise.
38486         * debug/strncat_chk.c: Likewise.
38487         * debug/strncpy_chk.c: Likewise.
38488         * string/memchr.c: Likewise.
38489         * string/memrchr.c: Likewise.
38490         * string/rawmemchr.c: Likewise.
38491         * string/strcat.c: Likewise.
38492         * string/strchr.c: Likewise.
38493         * string/strchrnul.c: Likewise.
38494         * string/strcmp.c: Likewise.
38495         * string/strcpy.c: Likewise.
38496         * string/strncat.c: Likewise.
38497         * string/strncmp.c: Likewise.
38498         * string/strncpy.c: Likewise.
38499
38500 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38501
38502         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38503         __builtin_memcopy is called when src and dest ranges are known to not
38504         overlap.
38505
38506 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38507
38508         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38509         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38510         fwd_align_merge macro call.
38511         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38512         bwd_align_merge macro call.
38513         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38514
38515 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38516
38517         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38518         bwd_align_merge macros.
38519         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38520         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38521         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38522
38523 2012-04-18  David S. Miller  <davem@davemloft.net>
38524
38525         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38526
38527 2012-04-18  Andreas Jaeger  <aj@suse.de>
38528
38529         [BZ# 6794]
38530         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38531         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38532         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38533
38534         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38535         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38536         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38537
38538         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38539         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38540         Adjust for changed ldbl-128 files.
38541
38542         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38543         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38544         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38545
38546 2012-04-17  David S. Miller  <davem@davemloft.net>
38547
38548         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38549
38550 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38551
38552         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38553         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38554         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38555         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38556         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38557         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38558
38559 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38560
38561         [BZ #6794]
38562         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38563         * math/libm-test.inc: Add ilogb errno and exception tests.
38564         * math/w_ilogb.c: New file: ilogb wrapper.
38565         * math/w_ilogbf.c: New file: ilogbf wrapper.
38566         * math/w_ilogbl.c: New file: ilogbl wrapper.
38567         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38568         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38569         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38570         exception being thrown with 0.0 as argument.
38571         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38572         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38573         exception being thrown with 0.0 as argument.
38574         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38575         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38576         exception being thrown with 0.0 as argument.
38577         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38578         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38579         exception being thrown with 0.0 as argument.
38580         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38581         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38582         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38583         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38584         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38585         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38586         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38587         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38588         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38589
38590 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38591
38592         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38593         with altivec.
38594
38595 2012-04-16  Marek Polacek  <polacek@redhat.com>
38596
38597         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38598
38599 2012-04-16  Marek Polacek  <polacek@redhat.com>
38600
38601         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38602         operands of fdivp instruction.
38603
38604 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38605
38606         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38607         * elf/tst-auditmod3b.c: Likewise.
38608         * elf/tst-auditmod4b.c: Likewise.
38609         * elf/tst-auditmod5b.c: Likewise.
38610         * elf/tst-auditmod6b.c: Likewise.
38611         * elf/tst-auditmod6c.c: Likewise.
38612         * elf/tst-auditmod7b.c: Likewise.
38613         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38614         * sysdeps/x86_64/preconfigure.in: Likewise.
38615         * sysdeps/x86_64/preconfigure: Regenerated.
38616
38617 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38618
38619         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38620         __ILP32__.
38621
38622 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38623
38624         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38625         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38626
38627 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38628
38629         [BZ #13973]
38630         * locale/iso-639.def: Fix gl language name. Spotted by
38631         Yaron Shahrabani.
38632
38633 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38634
38635         [BZ #2074]
38636         * libio/libio.h (__io_write_fn): Update comment.
38637
38638 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38639
38640         [BZ #2074]
38641         * stdio.texi (Hook Functions): The user provided writer function
38642         is not allowed to return -1.
38643
38644 2012-04-11  David S. Miller  <davem@davemloft.net>
38645
38646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38647
38648 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38649
38650         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38651         Add a leading slash to rtkaio.
38652
38653 2012-04-11  Jim Meyering  <meyering@redhat.com>
38654
38655         [BZ #11959]
38656         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38657         It is not necessarily an error to ignore fwrite's return
38658         value.  One can reliably use ferror to test for errors after
38659         the fact.
38660
38661 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38662
38663         * bits/types.h (__snseconds_t): New type.
38664         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38665
38666         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38667         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38668         (__SNSECONDS_T_TYPE): Likewise.
38669         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38670         (__SNSECONDS_T_TYPE): Likewise.
38671         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38672         (__SNSECONDS_T_TYPE): Likewise.
38673
38674 2012-04-10  Andreas Jaeger  <aj@suse.de>
38675
38676         [BZ #2636]
38677         * manual/time.texi (Processor Time): Return type of times is
38678         elapsed real time since an arbitrary point in the past.
38679         (CPU Time): Move CLK_TCK from here...
38680         (Processor Time): ...to here.  Correct description.
38681         * manual/conf.texi (Constants for Sysconf): Correct description of
38682         _SC_CLK_TCK.
38683
38684 2012-04-10  David S. Miller  <davem@davemloft.net>
38685
38686         [BZ #13967]
38687         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38688         where the is a gap between DT_REL(A) and DT_JMPREL.
38689
38690 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38691
38692         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38693         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38694         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38695
38696 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38697
38698         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38699         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38700         (dl_main): Handle --inhibit-cache.
38701         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38702         _dl_inhibit_cache.
38703         * elf/dl-load.c (_dl_map_object): Use it.
38704         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38705
38706 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38707
38708         [BZ #13872]
38709         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38710         (__ieee754_powl): Saturate large exponents rather than testing for
38711         overflow of y*log2(x).
38712         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38713         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38714         exceptions.
38715
38716         [BZ #11521]
38717         * math/s_ctan.c: Include <float.h>.
38718         (__ctan): Avoid internal overflow or cancellation in calculating
38719         denominator.
38720         * math/s_ctanf.c: Likewise.
38721         * math/s_ctanl.c: Likewise.
38722         * math/s_ctanh.c: Likewise.
38723         * math/s_ctanhf.c: Likewise.
38724         * math/s_ctanhl.c: Likewise.
38725         * math/libm-test.inc (ctan_test): Add more tests.
38726         (ctanh_test): Likewise.
38727         * sysdeps/i386/fpu/libm-test-ulps: Update.
38728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38729
38730 2012-04-09  Andreas Jaeger  <aj@suse.de>
38731
38732         [BZ #6894]
38733         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38734         is an optional BSD extension.
38735
38736         [BZ #10254]
38737         * manual/stdio.texi (Opening Streams): Document additional fopen
38738         parameters.
38739
38740 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38741
38742         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38743         %eax without telling the compiler.
38744
38745 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38746
38747         [BZ # 13963]
38748         * manual/install.texi: Use sourceware.org.
38749
38750 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38751
38752         [BZ #13873]
38753         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38754         (__ieee754_pow): Generate overflow and underflow using huge*huge
38755         and tiny*tiny rather than just returning constant infinity or zero
38756         for large exponents.
38757         * math/libm-test.inc (pow_test): Require overflow exceptions for
38758         applicable cases of large exponents.
38759
38760         [BZ #706]
38761         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38762         (__ieee754_pow): Use iterative multiplication algorithm only for
38763         integer exponents with absolute value below 1024.  Check for odd
38764         integer exponents when using algorithm for real exponents.
38765         * math/libm-test.inc (pow_test): Add more tests.
38766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38767
38768 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38769
38770         [BZ #13705]
38771         * math/libm-test.inc (exp_test): Do not allow overflow exception
38772         on underflow test.
38773
38774 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38775
38776         [BZ #13705]
38777         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38778         instead of __kernel_standard_f.
38779
38780 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38781
38782         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38783         * sysdeps/x86_64/memset_chk.S: Likewise.
38784
38785 2012-04-08  Andreas Jaeger  <aj@suse.de>
38786
38787         [BZ #10153]
38788         * manual/startup.texi (Environment Access): Describe return value
38789         for putenv and setenv.
38790
38791         [BZ #6895]
38792         * manual/filesys.texi (Directory Entries): Add description for
38793         DT_LNK.
38794
38795         [BZ #6890]
38796         * manual/filesys.texi (Directory Entries): Clarify that it's file
38797         system not operating system in the description of DT_UNKNOWN.
38798
38799         [BZ #6578]
38800         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38801
38802 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38803
38804         [BZ #6649]
38805         * manual/llio.texi (Opening and Closing Files): Add cross
38806         reference to explain mode argument.
38807
38808 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38809
38810         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38811         * sysdeps/x86_64/memset_chk.S: Likewise.
38812
38813 2012-04-07  David S. Miller  <davem@davemloft.net>
38814
38815         * elf/elf.h (R_SPARC_WDISP10): Define.
38816         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38817         R_SPARC_SIZE32.
38818         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38819         R_SPARC_SIZE64 and R_SPARC_H34.
38820
38821 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38822
38823         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38824         conditions and remove no longer applicable assertion.
38825
38826 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38827
38828         * bits/byteswap.h: Include <features.h>.
38829         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38830         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38831
38832 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38833
38834         * bits/byteswap.h (__bswap_16): Removed.
38835         Include <bits/byteswap-16.h> to get __bswap_16.
38836         * sysdeps/i386/bits/byteswap.h: Likewise.
38837         * sysdeps/s390/bits/byteswap.h: Likewise.
38838         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38839         * bits/byteswap-16.h: New file.
38840         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38841         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38842         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38843         * string/Makefile (headers): Add bits/byteswap-16.h.
38844
38845 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38846
38847         [BZ #13895]
38848         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38849         extra indirection.
38850         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38851         * nss/tst-nss-static.c: New.
38852
38853 2012-04-06  Robert Millan  <rmh@gnu.org>
38854
38855         [BZ #6486]
38856         * manual/llio.texi (File Position Primitive): lseek
38857         refers to WHENCE when it really means OFFSET.
38858
38859 2012-04-06  Andreas Jaeger  <aj@suse.de>
38860
38861         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38862         strncmp declarations.
38863
38864         * abilist/libc.abilist: Add __poll and __ppoll.
38865
38866 2012-04-05  David S. Miller  <davem@davemloft.net>
38867
38868         * scripts/check-local-headers.sh: Accept a host triplet in the
38869         path matched by the exclude regexp.
38870
38871         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38872         definition.
38873         * sysdeps/powerpc/powerpc32/dl-machine.h
38874         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38875         * sysdeps/s390/s390-32/dl-machine.h
38876         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38877         * sysdeps/sparc/sparc32/dl-machine.h
38878         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38879         * sysdeps/sparc/sparc64/dl-machine.h
38880         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38881
38882         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38883         lazy binding.
38884         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38885         undefined symbol errors.
38886
38887         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38888         DT_NEEDED entries.
38889
38890 2012-04-05  Michael Matz  <matz@suse.de>
38891
38892         [BZ #13592]
38893         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38894
38895 2012-04-05  Andreas Jaeger  <aj@suse.de>
38896
38897         [BZ #13908]
38898         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38899         comment.
38900
38901 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38902
38903         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38904         which ROUND is no valid rounding mode.
38905
38906 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38907
38908         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38909         read again.
38910         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38911
38912 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38913
38914         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38915         an exception using FPU order intentionally.
38916
38917 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38918
38919         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38920         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38921         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38922         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38923
38924 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38925
38926         [BZ #12340]
38927         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38928         EINVAL when BUFLEN is too smal.
38929
38930 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38931
38932         [BZ #13553]
38933         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38934         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38935
38936 2012-04-03  Andreas Jaeger  <aj@suse.de>
38937
38938         [BZ #13938]
38939         * manual/setjmp.texi (System V contexts): Fix sentence.
38940
38941         [BZ #13926]
38942         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38943         New macro for this case.
38944         [!__GNUC__] (__bswap_64): New inline function for this case.
38945         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38946         * bits/byteswap.h: Likewise.
38947         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38948         ull, guard with __GLIBC_HAVE_LONG_LONG.
38949
38950         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38951         __GLIBC_HAVE_LONG_LONG.
38952
38953         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38954         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38955
38956 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38957
38958         [BZ #13691]
38959         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38960         inptr and inend, rather than using last_ch.
38961
38962 2012-04-02  David S. Miller  <davem@davemloft.net>
38963
38964         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38965         * stdio-common/printf-parse.h (read_int): Change return type to
38966         'int', return -1 on INT_MAX overflow.
38967         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38968         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38969         overflows INT_MAX.  Check for overflow of in-format-string precision
38970         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38971         SIZE_MAX not INT_MAX for integer overflow test.
38972         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38973         skip the construct in the format string but do not record anything.
38974         * stdio-common/bug22.c: Adjust to test both width/prevision
38975         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38976         explicitly for proper errno values.
38977
38978 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38979
38980         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38981         CHAR_MAX.
38982         * string/test-strcmp.c [! WIDE]: Likewise.
38983         * time/tst-mktime2.c: Likewise for INT_MAX.
38984         * string/test-string.h: #include <sys/param.h> for MIN.
38985
38986         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38987         * sysdeps/i386/init-first.c (init): Likewise.
38988         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38989         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38990         * sysdeps/sh/init-first.c (init): Likewise.
38991
38992 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38993
38994         * po/ru.po: Update from translation team.
38995         * po/vi.po: Likewise.
38996
38997 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38998
38999         * resolv/nss_dns/dns-host.c: Merge copyright years.
39000
39001 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39002
39003         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39004         Optimize memcpy with prefetch if
39005         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39006         src, dst pointers have unequal 16 byte alignments.
39007
39008 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39009
39010         [BZ #13928]
39011         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39012         from a CNAME entry and return the minimum ttl for the query.
39013         (gaih_getanswer_slice): Likewise.
39014
39015 2012-03-30  Jeff Law  <law@redhat.com>
39016
39017         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39018         due to long keys.
39019         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39020         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39021
39022         * resolv/nss_dns/dns-host.c: Update copyright year.
39023
39024 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39025
39026         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39027         requests to save a system call.  Fix check that all bytes are sent.
39028
39029         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39030         comments for sendmmsg.
39031
39032 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39033
39034         [BZ #13691]
39035         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39036         with only 1 character between 0x0041 and 0x01b0.
39037         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39038         * wcsmbs/tst-mbsnrtowcs.c: New file.
39039
39040 2012-03-29  David S. Miller  <davem@davemloft.net>
39041
39042         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39043         small copies by hand.
39044
39045 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39046
39047         [BZ #13761]
39048         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39049         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39050         group memberships.
39051
39052 2012-03-28  David S. Miller  <davem@davemloft.net>
39053
39054         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39055         that branches into memcpy.
39056         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39057         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39058         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39059         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39060         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39061         bits.
39062         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39063         implementation too.
39064         * sysdeps/sparc/mempcpy.S: New file.
39065
39066         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39067         the IFUNC routine in the libc case.
39068         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39069
39070         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39071         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39072         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39073         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39074         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39075         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39076         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39077         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39078
39079         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39080         loop to 256 bytes instead of 64 bytes and fix test signedness.
39081
39082         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39083         * sysdeps/sparc/sparc32/Makefile: rather than here...
39084         * sysdeps/sparc/sparc64/Makefile: and here.
39085
39086 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39087
39088         * malloc/mallocbug.c: Avoid warnings about unused variables.
39089
39090 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39091
39092         [BZ #13760]
39093         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39094         in the right place. Discard and retry query if response is
39095         larger than input buffer size.
39096
39097 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39098
39099         [BZ #369]
39100         [BZ #2678]
39101         [BZ #3866]
39102         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39103         x for large integer exponent.
39104         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39105         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39106         sign of result as needed afterwards.
39107         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39108         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39109         result for underflowing pow the same as for overflow.
39110         (__kernel_standard_l): Handle powl overflow and underflow here
39111         rather than calling __kernel_standard.
39112         * math/libm-test.inc (pow_test): Add more tests.
39113
39114         [BZ #3868]
39115         [BZ #13879]
39116         [BZ #13910]
39117         [BZ #13911]
39118         [BZ #13912]
39119         [BZ #13913]
39120         [BZ #13915]
39121         [BZ #13916]
39122         [BZ #13917]
39123         [BZ #13918]
39124         [BZ #13919]
39125         [BZ #13920]
39126         [BZ #13921]
39127         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39128         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39129         (__kernel_standard_l): New function.
39130         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39131         __kernel_standard.
39132         * math/w_acosl.c (__acosl): Likewise.
39133         * math/w_asinl.c (__asinl): Likewise.
39134         * math/w_atan2l.c (__atan2l): Likewise.
39135         * math/w_atanhl.c (__atanhl): Likewise.
39136         * math/w_coshl.c (__coshl): Likewise.
39137         * math/w_exp10l.c (__exp10l): Likewise.
39138         * math/w_exp2l.c (__exp2l): Likewise.
39139         * math/w_fmodl.c (__fmodl): Likewise.
39140         * math/w_hypotl.c (__hypotl): Likewise.
39141         * math/w_j0l.c (__j0l, __y0l): Likewise.
39142         * math/w_j1l.c (__j1l, __y1l): Likewise.
39143         * math/w_jnl.c (__jnl, __ynl): Likewise.
39144         * math/w_lgammal.c (__lgammal): Likewise.
39145         * math/w_log10l.c (__log10l): Likewise.
39146         * math/w_log2l.c (__log2l): Likewise.
39147         * math/w_logl.c (__logl): Likewise.
39148         * math/w_powl.c (__powl): Likewise.
39149         * math/w_remainderl.c (__remainderl): Likewise.
39150         * math/w_scalbl.c (sysv_scalbl): Likewise.
39151         * math/w_sinhl.c (__sinhl): Likewise.
39152         * math/w_sqrtl.c (__sqrtl): Likewise.
39153         * math/w_tgammal.c (__tgammal): Likewise.
39154         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39155         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39156         * math/libm-test.inc (acos_test): Add more tests.
39157         (acosh_test): Likewise.
39158         (asin_test): Likewise.
39159         (atanh_test): Likewise.
39160         (exp_test): Likewise.
39161         (exp10_test): Likewise.
39162         (exp2_test): Likewise.
39163         (expm1_test): Likewise.
39164         (lgamma_test): Likewise.
39165         (log_test): Likewise.
39166         (log10_test): Likewise.
39167         (log1p_test): Likewise.
39168         (log2_test): Likewise.
39169         (pow_test): Do not allow some spurious overflow exceptions.
39170         (sqrt_test): Add more tests.
39171         (tgamma_test): Likewise.
39172         (y0_test): Likewise.
39173         (y1_test): Likewise.
39174         (yn_test): Likewise.
39175
39176 2012-03-27  Anton Blanchard  <anton@samba.org>
39177
39178         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39179         MAP_HUGETLB.
39180         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39181         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39182         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39183
39184 2012-03-27  David S. Miller  <davem@davemloft.net>
39185
39186         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39187
39188         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39189         have-as-vis3 check.
39190
39191 2012-03-27  Andreas Jaeger  <aj@suse.de>
39192
39193         * sysdeps/x86_64/elf/configure.in: Moved to ...
39194         * sysdeps/x86_64/configure.in: ... here.
39195         * sysdeps/x86_64/elf/start.S: Moved to ...
39196         * sysdeps/x86_64/start.S: ... here.
39197         * sysdeps/x86_64/elf/configure: Delete.
39198
39199         * sysdeps/x86_64/configure.in: Merge contents from
39200         sysdeps/i386/configure.in (without i686 check).
39201
39202         * sysdeps/i386/elf/Versions: Merge into ...
39203         * sysdeps/i386/Versions: ... this.
39204         * sysdeps/i386/elf/Versions: Delete file.
39205         * sysdeps/i386/elf/start.S: Moved to ...
39206         * sysdeps/i386/start.S: ...here.
39207         * sysdeps/i386/elf/configure.in: Merge into...
39208         * sysdeps/i386/configure.in: ...here.
39209         * sysdeps/i386/elf/configure.in: Delete file.
39210         * sysdeps/i386/elf/configure: Delete file.
39211
39212         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39213         * debug/backtracesyms.c: ... here.
39214         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39215         * debug/backtracesymsfd.c: ... here.
39216         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39217         * sysdeps/generic/ifunc-sel.h: ... here.
39218
39219         * sysdeps/unix/i386/start.c: Delete file.
39220         * sysdeps/unix/sparc/start.c: Delete file.
39221         * sysdeps/unix/start.c: Delete file.
39222
39223         * sysdeps/sh/elf/configure.in: Moved to ...
39224         * sysdeps/sh/configure.in: ... here.
39225         * sysdeps/sh/elf/start.S: Moved to ...
39226         * sysdeps/sh/start.S: ... here.
39227         * sysdeps/sh/elf/configure: Delete file.
39228
39229         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39230         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39231         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39232         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39233         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39234         * sysdeps/powerpc/powerpc64/start.S: here.
39235         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39236         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39237         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39238         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39239         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39240
39241         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39242         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39243         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39244         * sysdeps/powerpc/powerpc32/start.S: ... here.
39245         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39246         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39247         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39248
39249         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39250         * sysdeps/powerpc/ifunc-sel.h: ... here.
39251         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39252         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39253
39254         * sysdeps/sparc/elf/configure.in: Moved to ...
39255         * sysdeps/sparc/configure.in: ... here.
39256         * sysdeps/sparc/elf/configure: Delete file.
39257         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39258         * sysdeps/sparc/sparc32/start.S: ... here.
39259         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39260         * sysdeps/sparc/sparc64/start.S: ... here.
39261         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39262         * sysdeps/sparc/sparc32/Makefile: ... this.
39263         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39264         * sysdeps/sparc/sparc64/Makefile: ... this.
39265
39266         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39267         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39268         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39269         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39270         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39271         * sysdeps/s390/s390-32/setjmp.S: ... here.
39272         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39273         * sysdeps/s390/s390-32/configure.in: ... here.
39274         * sysdeps/s390/s390-32/elf/configure: Delete file.
39275         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39276         * sysdeps/s390/s390-32/start.S: ... here.
39277
39278         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39279         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39280         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39281         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39282         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39283         * sysdeps/s390/s390-64/setjmp.S: ... here.
39284         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39285         * sysdeps/s390/s390-64/configure.in: ... here
39286         * sysdeps/s390/s390-64/elf/configure: Delete file.
39287         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39288         * sysdeps/s390/s390-64/start.S: ... here.
39289         * sysdeps/s390/s390-64/elf/configure: Delete.
39290
39291         * configure.in: Remove support for elf directories in sysdeps.
39292
39293         * configure: Regenerated.
39294         * sysdeps/i386/configure: Regenerated.
39295         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39296         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39297         * sysdeps/s390/s390-32/configure: Regenerated.
39298         * sysdeps/s390/s390-64/configure: Regenerated.
39299         * sysdeps/sh/configure: Regenerated.
39300         * sysdeps/sparc/configure: Regenerated.
39301         * sysdeps/x86_64/configure: Regenerated.
39302
39303 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39304
39305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39306
39307         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39308         denormal result into account.
39309
39310 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39311
39312         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39313         Reported by Allan McRae <allan@archlinux.org>.
39314
39315 2012-03-23  Jeff Law  <law@redhat.com>
39316
39317         * nss/getnssent.c (__nss_getent): Fix typo.
39318
39319 2012-03-23  David S. Miller  <davem@davemloft.net>
39320
39321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39322
39323 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39324
39325         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39326         to pad to uint64_t for each field.
39327         (dl_tls_index): Replace unsigned long with uint64_t.
39328
39329 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39330         Paul Pluzhnikov  <ppluzhnikov@google.com>
39331
39332         [BZ #6528]
39333         * grp/Makefile (otherlibs): Don't set it.
39334         * inet/Makefile (otherlibs): Likewise.
39335         * login/Makefile (otherlibs): Likewise.
39336         * nscd/Makefile (otherlibs): Likewise.
39337         * posix/Makefile (otherlibs): Likewise.
39338         * pwd/Makefile (otherlibs): Likewise.
39339         * rt/Makefile (otherlibs): Likewise.
39340         * sunrpc/Makefile (otherlibs): Likewise.
39341         * nss/Makefile (otherlibs): Likewise.
39342         Add libnss_files to routines and static-only-routines.
39343         ($(objpfx)getent): Remove rule.
39344         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39345         static-only-routines.
39346
39347 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39348
39349         [BZ #13892]
39350         * math/s_cexp.c: Include <float.h>.
39351         (__cexp): Handle exp result overflowing not necessarily
39352         overflowing both real and imaginary parts of result.
39353         * math/s_cexpf.c: Likewise.
39354         * math/s_cexpl.c: Likewise.
39355         * math/libm-test.inc (cexp_test): Add more tests.
39356         * sysdeps/i386/fpu/libm-test-ulps: Update.
39357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39358
39359 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39360
39361         * include/link.h (ELFW): New macro.
39362         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39363         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39364
39365 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39366
39367         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39368         with uint64_t.
39369
39370 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39371
39372         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39373         declaration.
39374         (struct La_x32_retval): Likewise.
39375
39376 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39377
39378         * sysdeps/x86_64/preconfigure.in: New file.
39379         * sysdeps/x86_64/preconfigure: New generated file.
39380
39381 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39382
39383         [BZ #13824]
39384         * math/e_exp2l.c: Include <float.h>.
39385         (__ieee754_exp2l): Handle overflow and underflow cases
39386         separately.  Only pass fractional part of argument to
39387         __ieee754_expl.
39388         * math/libm-test.inc (exp2_test): Add more tests.
39389
39390         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39391         negating x to take absolute value.
39392         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39393         Likewise.
39394         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39395         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39396         Likewise.
39397         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39398         computing low part if x was negated.
39399         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39400
39401 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39402
39403         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39404         la_x32_gnu_pltexit.
39405         (pltexit): Cast int_retval to ptrdiff_t.
39406         * elf/tst-auditmod3b.c: Likewise.
39407         * elf/tst-auditmod4b.c: Likewise.
39408         * elf/tst-auditmod5b.c: Likewise.
39409         * elf/tst-auditmod6b.c: Likewise.
39410         * elf/tst-auditmod6c.c: Likewise.
39411         * elf/tst-auditmod7b.c: Likewise.
39412
39413         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39414         and x32_gnu_pltexit.
39415
39416         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39417         __ELF_NATIVE_CLASS.
39418         (La_x32_regs): New macro.
39419         (La_x32_retval): Likewise.
39420         (la_x32_gnu_pltenter): New function prototype.
39421         (la_x32_gnu_pltexit): Likewise.
39422
39423 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39424
39425         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39426         exponent.
39427
39428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39429
39430         * configure.in (libc_cv_cc_nofma): Check for option to disable
39431         generation of FMA instructions.
39432         * configure: Regenerate.
39433         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39434         * sysdeps/ieee754/dbl-64/Makefile: New file.
39435         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39436         Remove brandred-fma4.
39437         (CFLAGS-brandred-fma4.c): Remove.
39438         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39439         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39440         define.
39441         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39442         define.
39443
39444 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39445
39446         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39447         LLONG_MAX != LONG_MAX.
39448         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39449         (_fitoa_word): Likewise.
39450         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39451         LLONG_MAX != LONG_MAX.
39452         * stdio-common/_itowa.h: Include <_itoa.h>.
39453         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39454         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39455         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39456         only if not defined.
39457         (_ITOA_WORD_TYPE): Likewise.
39458         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39459         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39460
39461 2012-03-21  David S. Miller  <davem@davemloft.net>
39462
39463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39464
39465 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39466
39467         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39468         of x86_64 when setting libc_cv_slibdir, libdir and
39469         libc_cv_localedir.
39470         * sysdeps/unix/sysv/linux/configure: Regenerated.
39471
39472 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39473
39474         * manual/lang.texi (Old Varargs): Remove section.
39475         (How Variadic): Update menu.
39476         (va_start): Do not mention varargs.h.
39477
39478 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39479             Joseph Myers  <joseph@codesourcery.com>
39480
39481         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39482         link test.
39483         * configure: Regenerated.
39484
39485 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39486
39487         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39488         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39489         conformtest.pl
39490
39491 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39492
39493         * NOTES: Remove.
39494         * Makefile (files-for-dist): Remove NOTES.
39495         (NOTES): Remove rule.
39496         * README: Don't refer to NOTES.
39497         * manual/creature.texi: Don't include macros.texi.
39498         * manual/intro.texi (creature.texi): Remove comment referring to
39499         NOTES.
39500
39501         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39502         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39503         * configure: Regenerated.
39504         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39505         LIBC_TRY_CC_OPTION.
39506         (libc_cv_as_i686): Likewise.
39507         (libc_cv_cc_avx): Likewise.
39508         (libc_cv_cc_sse2avx): Likewise.
39509         (libc_cv_cc_fma4): Likewise.
39510         (libc_cv_cc_novzeroupper): Likewise.
39511         * sysdeps/i386/configure: Regenerated.
39512
39513         [BZ #13883]
39514         * sysdeps/i386/fpu/s_cexp.S: Remove.
39515         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39516         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39517         * math/libm-test.inc (cexp_test): Add more tests.
39518         * sysdeps/i386/fpu/libm-test-ulps: Update.
39519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39520
39521 2012-03-21  Allan McRae  <allan@archlinux.org>
39522
39523         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39524
39525 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39526
39527         [BZ #13871]
39528         * math/w_exp2.c: Do not include <float.h>.
39529         (o_threshold, u_threshold): Remove.
39530         (__exp2): Calculate result before checking finiteness and calling
39531         __kernel_standard.
39532         * math/w_exp2f.c: Likewise.
39533         * math/w_exp2l.c: Likewise.
39534         * math/libm-test.inc (exp2_test): Require overflow exception for
39535         1e6 input.
39536
39537         [BZ #3866]
39538         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39539         range of signed 64-bit integers before using fistpll.  Remove
39540         checks for whether integers fit in mantissa bits.
39541         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39542         the range of signed 32-bit integers before using fistpl.  Remove
39543         checks for whether integers fit in mantissa bits.
39544         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39545         (__ieee754_powl): Test for y outside the range of signed 64-bit
39546         integers before using fistpll.  Reduce 64-bit values to 63-bit
39547         ones as needed.
39548         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39549         divide-by-zero is raised for zero to large negative powers.
39550         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39551         (__ieee754_powl): Test for y outside the range of signed 64-bit
39552         integers before using fistpll.  Reduce 64-bit values to 63-bit
39553         ones as needed.
39554         * math/libm-test.inc (pow_test): Add more tests.
39555
39556 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39557
39558         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39559         <stdio-common/_itoa.h>.
39560         * debug/segfault.c: Likewise.
39561         * elf/dl-cache.c: Likewise.
39562         * elf/dl-minimal.c: Likewise.
39563         * elf/dl-misc.c: Likewise.
39564         * elf/dl-sysdep.c: Likewise.
39565         * elf/dl-version.c: Likewise.
39566         * elf/rtld.c: Likewise.
39567         * hurd/hurdsock.c: Likewise.
39568         * hurd/lookup-retry.c: Likewise.
39569         * malloc/malloc.c: Likewise.
39570         * malloc/mtrace.c: Likewise.
39571         * nscd/nscd_getgr_r.c: Likewise.
39572         * nscd/nscd_getpw_r.c: Likewise.
39573         * nscd/nscd_getserv_r.c: Likewise.
39574         * posix/getopt_init.c: Likewise.
39575         * posix/wordexp.c: Likewise.
39576         * stdio-common/_itoa.c: Likewise.
39577         * stdio-common/printf_fphex.c: Likewise.
39578         * stdio-common/vfprintf.c: Likewise.
39579         * string/_strerror.c: Likewise.
39580         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39581         * sysdeps/i386/i686/hp-timing.h: Likewise.
39582         * sysdeps/mach/_strerror.c: Likewise.
39583         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39584         * sysdeps/mach/hurd/sethostid.c: Likewise.
39585         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39586         * sysdeps/mach/xpg-strerror.c: Likewise.
39587         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39588         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39589         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39590         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39591         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39592         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39593         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39594         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39595         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39596         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39597         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39598         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39599         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39600         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39601         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39602         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39603         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39604         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39605         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39606         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39607         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39608
39609         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39610
39611         * stdio-common/_itoa.h: Moved to ...
39612         * sysdeps/generic/_itoa.h: Here.
39613
39614         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39615
39616         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39617         instead of "_itoa.h" and "_itowa.h".
39618         * stdio-common/vfprintf.: Likewise.
39619
39620 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39621
39622         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39623         <bits/wordsize.h>.
39624         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39625         (__signbit): Likwise.
39626         (llrintf): Likwise.
39627         (llrint): Likwise.
39628
39629 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39630
39631         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39632         __WORDSIZE != 64.
39633
39634 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39635
39636         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39637         OVERFLOW_EXCEPTION_OK.
39638         * math/libm-test.inc ("Philosophy"): Update comment about
39639         exception testing.
39640         (OVERFLOW_EXCEPTION): Define.
39641         (OVERFLOW_EXCEPTION_OK): Likewise.
39642         (INVALID_EXCEPTION_OK): Renumber.
39643         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39644         (IGNORE_ZERO_INF_SIGN): Likewise.
39645         (test_exceptions): Handle FE_OVERFLOW.
39646         (exp10_test): Expect overflow exceptions.
39647         (exp2_test): Likewise.
39648         (expm1_test): Likewise.
39649         (nextafter_test): Likewise.
39650         (pow_test): Likewise.
39651         (scalbn_test): Likewise.
39652         (scalbln_test): Likewise.
39653
39654 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39655
39656         * sysdeps/x86_64/bits/atomic.h
39657         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39658         64bit integer.
39659         (atomic_exchange_acq): Likewise.
39660         (__arch_exchange_and_add_body): Likewise.
39661         (__arch_add_body): Likewise.
39662         (atomic_add_negative): Likewise.
39663         (atomic_add_zero): Likewise.
39664
39665 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39666
39667         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39668         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39669
39670 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39671
39672         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39673         Check __x86_64__ instead of __WORDSIZE.
39674
39675 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39676
39677         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39678
39679 2012-03-19  David S. Miller  <davem@davemloft.net>
39680
39681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39682
39683         * sysdeps/sparc/fpu/fenv_private.h: New file.
39684         * sysdeps/sparc/fpu/math_private.h: Use it.
39685         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39686         Remove.
39687         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39688         (libc_feholdexcept_setroundl): Remove.
39689         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39690         Remove.
39691         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39692         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39693
39694 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39695
39696         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39697         int64_t instead of long int.
39698         (INSERT_WORDS64): Likwise.
39699
39700 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39701
39702         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39703         _Unwind_GetCFA return to _Unwind_Ptr first.
39704
39705 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39706
39707         [BZ #13629]
39708         * math/s_clog.c: Include <float.h>.
39709         (__clog): Scale large or subnormal inputs.
39710         * math/s_clogf.c: Likewise.
39711         * math/s_clogl.c: Likewise.
39712         * math/s_clog10.c: Include <float.h>.
39713         (M_LOG10_2): Define.
39714         (__clog10): Scale large or subnormal inputs.
39715         * math/s_clog10f.c: Likewise.
39716         * math/s_clog10l.c: Likewise.
39717         * math/libm-test.inc (clog_test): Add more tests.
39718         (clog10_test): Likewise.
39719         * sysdeps/i386/fpu/libm-test-ulps: Update.
39720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39721
39722         [BZ #11451]
39723         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39724         x and y.
39725         * math/libm-test.inc (atan2_test): Add another test.
39726
39727         * Makerules (common-objdir-compile): Remove.
39728         * sysdeps/unix/Makefile (config-generated): Do not add
39729         $(unix-generated) to variable.
39730         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39731         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39732         Remove rule.
39733         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39734         Likewise.
39735         [generic bits/local_lim.h] (before-compile): Do not append to
39736         variable.
39737         [generic bits/local_lim.h] (common-generated): Likewise.
39738         [generic sys/param.h] (before-compile): Do not append to variable.
39739         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39740         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39741         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39742         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39743         include.
39744         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39745         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39746         [generic sys/param.h] ($(addprefix
39747         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39748         [generic sys/param.h] (common-generated): Do not append to
39749         variable.
39750         [generic sys/param.h] (sysdep_headers): Likewise.
39751         [generic bits/errno.h] (before-compile): Do not append to
39752         variable.
39753         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39754         rule.
39755         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39756         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39757         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39758         [generic bits/errno.h] (common-generated): Do not append to
39759         variable.
39760         [generic bits/ioctls.h] (before-compile): Do not append to
39761         variable.
39762         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39763         rule.
39764         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39765         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39766         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39767         rule.
39768         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39769         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39770         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39771         [generic bits/ioctls.h] (common-generated): Do not append to
39772         variable.
39773         [generic sys/syscall.h] (syscall.h): Remove variable.
39774         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39775         rule.
39776         [generic sys/syscall.h] (before-compile): Do not append to
39777         variable.
39778         [generic sys/syscall.h] (common-generated): Likewise.
39779         * sysdeps/unix/errnos-tmpl.c: Remove file.
39780         * sysdeps/unix/errnos.awk: Likewise.
39781         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39782         * sysdeps/unix/ioctls.awk: Likewise.
39783         * sysdeps/unix/mk-local_lim.c: Likewise.
39784         * sysdeps/unix/snarf-ioctls: Likewise.
39785
39786 2012-03-19  Richard Henderson  <rth@twiddle.net>
39787
39788         * sysdeps/i386/fpu/fenv_private.h: New file.
39789         * sysdeps/i386/fpu/math_private.h: Use it.
39790         (math_opt_barrier, math_force_eval): Remove.
39791         (libc_feholdexcept_setround_53bit): Remove.
39792         (libc_feupdateenv_53bit): Remove.
39793         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39794         (math_opt_barrier, math_force_eval): Remove.
39795         (libc_feholdexcept): Remove.
39796         (libc_feholdexcept_setround): Remove.
39797         (libc_fetestexcept, libc_fesetenv): Remove.
39798         (libc_feupdateenv_test): Remove.
39799         (libc_feupdateenv, libc_feholdsetround): Remove.
39800         (libc_feresetround): Remove.
39801
39802         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39803         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39804
39805         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39806         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39807         (libc_feupdateenv_testl): New.
39808         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39809         (libc_feupdateenv_testf): New.
39810         (libc_feupdateenv): Use libc_feupdateenv_test.
39811         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39812         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39813
39814         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39815         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39816         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39817         (libc_feresetround_noex): New.
39818         (libc_feresetround_noexf): New.
39819         (libc_feresetround_noexl): New.
39820         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39821         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39822         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39823         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39824         SET_RESTORE_ROUND.
39825         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39826         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39827         (__cos): Likewise.
39828         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39829         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39830         SET_RESTORE_ROUND_NOEX.
39831         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39832         SET_RESTORE_ROUND_NOEXF.
39833         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39834         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39835         (libc_feholdsetroundf): New.
39836         (libc_feresetround, libc_feresetroundf): New.
39837
39838         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39839         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39840         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39841
39842         * sysdeps/generic/math_private.h: Include <fenv.h>.
39843         (default_libc_feholdexcept): New.
39844         (default_libc_feholdexcept_setround): New.
39845         (default_libc_fesetenv, default_libc_feupdateenv): New.
39846         (libc_feholdexcept): Only define if undefined.
39847         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39848         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39849         (libc_feholdexcept_setroundl): Likewise.
39850         (libc_feholdexcept_setround_53bit): Likewise.
39851         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39852         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39853         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39854         (libc_feupdateenv_53bit): Likewise.
39855         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39856         (libc_feholdexcept): Convert from macro to inline function.
39857         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39858         (libc_fesetenv, libc_feupdateenv): Likewise.
39859
39860         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39861         not previously defined.
39862         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39863         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39864         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39865         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39866         * sysdeps/ieee754/flt-32/math_private.h: New file.
39867         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39868         math_private.h below SET_FLOAT_WORD.
39869         (__isnan, __isinf_ns, __finite): Remove.
39870         (__isnanf, __isinf_nsf, __finitef): Remove.
39871
39872 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39873
39874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39875
39876 2012-03-17  David S. Miller  <davem@davemloft.net>
39877
39878         [BZ #6471]
39879         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39880         for 2.16.
39881
39882 2012-03-16  David S. Miller  <davem@davemloft.net>
39883
39884         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39885         warnings.
39886
39887         [BZ #6471]
39888         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39889         properly.
39890         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39891         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39892         sysdep_routines when subdir is sysvipc.
39893         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39894         __getshmlba helper.
39895
39896         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39897
39898 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39899
39900         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39901         [__LP64__].
39902
39903 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39904
39905         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39906         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39907         (__lround): Renamed to ...
39908         (__llround): This.  Replace long int with long long int.
39909         Define lround functions as aliases of llround functions.
39910         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39911
39912 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39913
39914         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39915         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39916         adresses to uintptr_t.  Replace "long int" and "unsigned long
39917         int" with "greg_t" on va_arg.
39918
39919 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39920
39921         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39922         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39923
39924         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39925         Move e_machine check before EI_CLASS check.  Handle x32
39926         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39927         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39928         SKIP_EM_IA_64 and include
39929         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39930
39931         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39932         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39933         (add_system_dir): New macro.
39934
39935         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39936         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39937
39938 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39939
39940         [BZ #2551]
39941         [BZ #2552]
39942         [BZ #2553]
39943         [BZ #2554]
39944         [BZ #2562]
39945         [BZ #2563]
39946         [BZ #2565]
39947         [BZ #2566]
39948         [BZ #2576]
39949         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39950         (y0): Likewise.
39951         * math/w_j0f.c (j0f): Likewise.
39952         (y0f): Likewise.
39953         * math/w_j0l.c (__j0l): Likewise.
39954         (__y0l): Likewise.
39955         * math/w_j1.c (j1): Likewise.
39956         (y1): Likewise.
39957         * math/w_j1f.c (j1f): Likewise.
39958         (y1f): Likewise.
39959         * math/w_j1l.c (__j1l): Likewise.
39960         (__y1l): Likewise.
39961         * math/w_jn.c (jn): Likewise.
39962         (yn): Likewise.
39963         * math/w_jnf.c (jnf): Likewise.
39964         (ynf): Likewise.
39965         * math/w_jnl.c (__jnl): Likewise.
39966         (__ynl): Likewise.
39967         * math/libm-test.inc (j0_test): Add more tests.
39968         (j1_test): Likewise.
39969         (jn_test): Likewise.  Add trailing semicolon to existing test.
39970         (y0_test): Likewise.
39971         (y1_test): Likewise.
39972         * sysdeps/i386/fpu/libm-test-ulps: Update.
39973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39974
39975         [BZ #13851]
39976         [BZ #13854]
39977         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39978         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39979         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39980         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39981         (__tanl): Set errno for infinite argument.
39982         * sysdeps/i386/fpu/mptan.c: Remove.
39983         * sysdeps/i386/fpu/s_tan.S: Likewise.
39984         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39985         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39986         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39987         * math/libm-test.inc (tan_test): Add more tests and enable more
39988         tests for double and long double.
39989         * sysdeps/i386/fpu/libm-test-ulps: Update.
39990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39991
39992 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39993
39994         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39995         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39996
39997 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39998
39999         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40000         * configure.in: Use it for both main tree and add-ons.
40001         * configure: Regenerated.
40002
40003 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40004
40005         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40006
40007 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40008
40009         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40010         in comment.
40011
40012         [BZ #13851]
40013         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40014         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40015         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40016         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40017         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40018         infinite argument.
40019         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40020         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40021         != 0 for prec == 2.
40022         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40023         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40024         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40025         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40026         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40027         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40028         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40029         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40030         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40031         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40032         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40033         * math/libm-test.inc (cos_test): Add more tests and enable more
40034         tests for long double.
40035         (sin_test): Likewise.
40036         (sincos_test): Likewise.
40037         * sysdeps/i386/fpu/libm-test-ulps: Update.
40038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40039
40040 2012-03-16  David S. Miller  <davem@davemloft.net>
40041
40042         * sysdeps/sparc/fpu/math_private.h: New file.
40043
40044 2012-03-15  David S. Miller  <davem@davemloft.net>
40045
40046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40047         file.
40048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40050         file.
40051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40052         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40053         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40054         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40055         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40056         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40057         sysdep routines.
40058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40059
40060         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40061         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40062
40063         * sysdeps/sparc/sparc-ifunc.h: New file.
40064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40065         sparc-ifunc.h
40066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40068         Likewise.
40069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40070         Likewise.
40071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40075         Likewise.
40076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40081         Likewise.
40082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40083         Likewise.
40084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40088         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40089         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40090         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40091         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40092         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40093         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40094         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40095         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40096         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40097         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40098         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40099         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40100         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40101         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40102         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40103         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40104         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40105         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40106         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40107         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40108
40109 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40110
40111         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40112         scaling.
40113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40114
40115 2012-03-15  Andreas Jaeger  <aj@suse.de>
40116
40117         [BZ #13852]
40118         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40119         ieee754/flt-32 implementation for sin, cos and sincos.
40120         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40121         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40122         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40123         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40124         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40125         ieee754/flt-32 implementation for tan.
40126
40127         * math/libm-test.inc (cos_test): Enable some large input tests for
40128         float as well
40129         (sin_test): Likewise.
40130         (sincos_test): Likewise.
40131         (tan_test): Add tests for large input.
40132
40133         * sysdeps/i386/fpu/libm-test-ulps: Update.
40134
40135 2012-03-15  Andreas Jaeger  <aj@suse.de>
40136
40137         [BZ #13658]
40138         * math/libm-test.inc (cos_test): Add more test cases.
40139         (sin_test): Likewise.
40140         (sincos_test): Likewise.
40141
40142 2012-03-15  Andreas Jaeger  <aj@suse.de>
40143
40144         [BZ #13837]
40145         * math/libm-test.inc (cos_test): Add a test case for large input
40146         value.
40147         (sin_test): Likewise.
40148         (sincos_test): Likewise.
40149
40150 2012-03-15  Andreas Jaeger  <aj@suse.de>
40151             Joseph Myers  <joseph@codesourcery.com>
40152
40153         [BZ #13658]
40154         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40155         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40156         * sysdeps/i386/fpu/branred.c: Likewise.
40157         * sysdeps/i386/fpu/dosincos.c: Likewise.
40158         * sysdeps/i386/fpu/mpa.c: Likewise.
40159         * sysdeps/i386/fpu/s_cos.S: Likewise.
40160         * sysdeps/i386/fpu/s_sin.S: Likewise.
40161         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40162         * sysdeps/i386/fpu/sincos32.c: Likewise.
40163
40164         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40165         Define.
40166         (libc_feupdateenv_53bit): Define.
40167         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40168         Define.
40169         (libc_feupdateenv_53bit): Define.
40170
40171         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40172         53 bit (without extend i386 double precision).
40173
40174         * math/libm-test.inc (sincos_test): Add tests for large input.
40175         (sin): Likewise.
40176         (cos): Likewise.
40177
40178         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40179
40180 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40181
40182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40183
40184 2012-03-15  David S. Miller  <davem@davemloft.net>
40185
40186         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40187         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40188         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40189         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40194         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40195         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40196         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40197         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40198         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40199         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40200         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40202         file.
40203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40205         file.
40206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40208         file.
40209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40211         file.
40212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40213         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40214         fmin/fmax sysdep routines.
40215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40216
40217 2012-03-14  David S. Miller  <davem@davemloft.net>
40218
40219         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40220         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40221         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40222         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40223         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40224         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40225         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40226         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40227         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40228         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40229         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40230         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40231         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40232         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40233         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40234         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40235         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40236         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40237         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40238         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40239         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40240         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40241         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40242         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40243         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40244         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40245         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40246         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40247         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40248         routines.
40249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40250         file.
40251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40253         file.
40254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40256         file.
40257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40259         file.
40260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40262         file.
40263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40265         file.
40266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40267         file.
40268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40269         file.
40270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40271         file.
40272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40273         New file.
40274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40275         file.
40276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40277         file.
40278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40280         file.
40281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40283         file.
40284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40286         file.
40287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40289         VIS3 routines.
40290
40291         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40292         New file.
40293
40294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40295
40296         * sysdeps/sparc/configure.in: New file.
40297         * sysdeps/sparc/configure: Generate.
40298         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40299         * configure: Regenerate.
40300         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40301         * config.make.in (have-as-vis3): New.
40302         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40303         available use -Av9d instead of -Av9a.
40304         * sysdeps/sparc/sparc64/Makefile: Likewise.
40305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40307         New file.
40308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40309         file.
40310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40311         New file.
40312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40313         file.
40314         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40315         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40316         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40317         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40318         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40319
40320         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40321         fzeros/fnegs to load 0x80000000 into a float register instead of
40322         using the stack.
40323         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40324
40325 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40326
40327         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40328         bits/syscall.h.
40329         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40330         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40331         ($(inst_includedir)/bits/syscall.h): Remove rule.
40332         ($(objpfx)bits/syscall.d): Include instead of
40333         $(objpfx)syscall-list.d.
40334         (generated): Change syscall-list.h and syscall-list.d to
40335         bits/syscall.h and bits/syscall.d.
40336
40337 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40338
40339         [BZ #13846]
40340         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40341
40342 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40343
40344         [BZ #13841]
40345         * math/s_csqrt.c: Include <float.h>.
40346         (__csqrt): Scale large or subnormal inputs.
40347         * math/s_csqrtf.c: Likewise.
40348         * math/s_csqrtl.c: Likewise.
40349         * math/libm-test.inc (csqrt_test): Add more tests.
40350         * sysdeps/i386/fpu/libm-test-ulps: Update.
40351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40352
40353         [BZ #13840]
40354         * math/libm-test.inc (hypot_test): Add more tests.
40355
40356 2012-03-13  David S. Miller  <davem@davemloft.net>
40357
40358         [BZ #13840]
40359         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40360         double-precision for the calculation instead of scaling.
40361
40362 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40363
40364         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40365         manipulate bits before adding and subtracting TWO52[sx].
40366         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40367         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40368         Likewise.
40369         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40370
40371 2012-03-13  David S. Miller  <davem@davemloft.net>
40372
40373         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40374         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40375         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40376         rtld-global-offsets.h
40377         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40378
40379         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40380         large parameters.
40381
40382         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40383
40384         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40385         'err' in the ifdef scope in which it is actually used.
40386
40387         * nss/nss_db/db-init.c: Include string.h
40388
40389 2012-03-12  David S. Miller  <davem@davemloft.net>
40390
40391         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40392         masking out of the most significant byte of random value used.
40393         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40394         Fix coding style in previous change.
40395
40396         * sysdeps/unix/sysv/linux/kernel-features.h
40397         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40398         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40399         expression.
40400         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40401         later.
40402
40403 2012-03-11  David S. Miller  <davem@davemloft.net>
40404
40405         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40406         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40407         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40408         for 'resultvar' otherwise things get truncated on 64-bit.
40409
40410         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40411         Fix masking out of the most significant byte of random value used.
40412
40413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40414
40415 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40416
40417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40418
40419 2012-03-09  David S. Miller  <davem@davemloft.net>
40420
40421         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40422         variables with appropriate CPP guards.
40423         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40424         from the frame pointer, not the stack pointer.  Correct layout
40425         comments.  Fix test on resulting framesize and the management of
40426         the outregs buffer for pltexit.  Preserve floating point return
40427         values across _dl_call_pltexit call.
40428         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40429         framesize and the management of the outregs buffer for pltexit.
40430         Preserve floating point return values across _dl_call_pltexit
40431         call.
40432         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40433         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40434         (la_sparc64_gnu_pltexit): New functions.
40435         (print_exit): Fix format string for return register value.
40436
40437 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40438
40439         * sunrpc/Makefile (others): Add rpcgen.
40440         ($(objpfx)rpcgen): Remove special build rule and dependency on
40441         libc.
40442         * sunrpc/rpcgen.c: New file.
40443
40444 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40445
40446         [BZ #13673]
40447         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40448         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40449         * sysdeps/i386/crti.S: Likewise.
40450         * sysdeps/i386/crtn.S: Likewise.
40451         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40452         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40453         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40454         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40455         * sysdeps/sh/crti.S: Likewise.
40456         * sysdeps/sh/crtn.S: Likewise.
40457         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40458
40459         [BZ #13673]
40460         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40461         with URL.
40462         * locale/programs/locfile-kw.gperf: Likewise.
40463         * locale/programs/charmap-kw.h: Regenerated.
40464         * locale/programs/locfile-kw.h: Likewise.
40465
40466         [BZ #13673]
40467         * intl/plural.y: Replace FSF snail mail address with URL.
40468         * intl/plural.c: Regenerated.
40469
40470 2012-03-09  Richard Henderson  <rth@twiddle.net>
40471
40472         * include/math_private.h: Remove file.
40473         * math/math_private.h: Move file ...
40474         * sysdeps/generic/math_private.h: ... here.
40475
40476         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40477         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40478         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40479
40480         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40481         and <math_private.h>.
40482         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40483         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40484         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40485         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40486         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40487         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40488         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40489         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40490         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40491         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40492         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40493         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40494         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40495         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40496         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40497         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40498         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40499         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40500         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40501         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40502         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40503         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40504         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40505         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40506         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40507         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40508         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40509         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40510         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40511         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40512         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40513         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40514         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40515         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40516         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40517         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40518         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40519         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40520         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40521         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40522         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40523         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40524         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40525         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40526         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40527         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40528         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40529         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40530         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40531         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40532         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40533         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40534         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40535         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40536         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40537         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40538         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40539         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40540         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40541         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40542         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40543         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40544         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40545         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40546         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40547         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40548         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40549         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40550         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40551         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40552         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40553         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40554         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40555         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40556         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40557         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40558         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40559         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40560         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40561         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40562         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40563         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40564         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40565         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40566         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40567         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40568         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40569         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40570         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40571         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40572         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40573         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40574         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40575         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40576         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40577         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40578         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40579         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40580         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40581         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40582         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40583         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40584         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40585         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40586         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40587         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40588         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40589         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40590         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40591         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40592         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40593         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40594         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40595         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40596         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40597         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40598         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40599         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40600         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40601         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40602         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40603         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40604         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40605         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40606         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40607         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40608         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40609         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40610         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40611         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40612         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40613         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40614         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40615         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40616         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40617         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40618         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40619         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40620         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40621         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40622         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40623         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40624         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40625         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40626         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40627         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40628         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40629         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40630         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40631         * sysdeps/ieee754/k_standard.c: Likewise.
40632         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40633         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40634         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40635         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40636         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40637         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40638         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40639         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40640         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40641         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40642         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40643         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40644         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40645         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40646         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40647         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40648         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40649         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40650         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40651         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40652         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40653         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40654         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40655         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40656         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40657         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40658         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40659         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40660         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40661         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40662         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40663         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40664         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40665         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40666         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40667         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40668         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40669         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40670         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40671         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40672         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40673         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40674         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40675         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40676         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40677         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40678         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40679         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40680         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40681         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40682         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40683         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40684         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40685         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40686         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40687         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40688         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40689         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40690         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40691         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40692         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40693         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40694         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40695         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40696         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40697         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40698         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40699         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40700         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40701         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40702         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40703         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40704         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40705         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40706         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40707         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40708         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40709         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40710         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40711         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40712         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40713         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40714         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40715         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40716         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40717         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40718         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40719         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40720         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40721         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40722         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40723         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40724         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40725         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40726         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40727         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40728         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40729         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40730         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40731         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40732         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40733         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40734         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40735         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40736         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40737         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40738         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40739         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40740         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40741         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40742         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40743         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40744         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40745         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40746         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40747         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40748         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40749         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40750         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40751         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40752         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40753         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40754         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40755         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40756         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40757         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40758         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40759         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40760         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40761         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40762         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40763         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40764         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40765         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40766         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40767         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40768         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40769         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40770         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40771         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40772         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40773         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40774         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40775         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40776         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40777         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40778         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40779         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40780         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40781         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40782         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40783         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40784         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40785         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40786         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40787         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40788         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40789         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40790         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40791         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40792         * sysdeps/ieee754/s_lib_version.c: Likewise.
40793         * sysdeps/ieee754/s_matherr.c: Likewise.
40794         * sysdeps/ieee754/s_signgam.c: Likewise.
40795         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40796         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40797         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40798         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40799         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40800         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40801         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40802         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40803         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40804         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40805         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40806         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40807         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40808         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40809         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40810         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40811         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40812         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40813         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40814         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40815         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40816
40817 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40818
40819         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40820         * sunrpc/rpc_main.c: Likewise.
40821         * sunrpc/rpc_svcout.c: Likewise.
40822
40823 2012-03-09  David S. Miller  <davem@davemloft.net>
40824
40825         * include/math_private.h: New file.
40826
40827 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40828
40829         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40830         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40831         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40832         from <bits/socket_type.h>.
40833         (enum __socket_type): Don't define here.
40834         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40835         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40836         bits/socket_type.h.
40837
40838         [BZ #13566]
40839         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40840         checking __USE_GNU.
40841
40842         * Makerules ($(inst_includedir)/%.h): New rule.
40843         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40844         (install-others): Remove variable setting.
40845         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40846
40847 2012-03-08  Richard Henderson  <rth@twiddle.net>
40848
40849         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40850         from macro to inline function; merge with the
40851         !__LIBC_INTERNAL_MATH_INLINES version.
40852         (__ieee754_sqrtf): Likewise.
40853
40854         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40855         to inline function.
40856         (__rintf, __floor, __floorf): Likewise.
40857
40858         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40859         macro to inline function.
40860         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40861
40862         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40863         not <math/math_private.h>.
40864
40865 2012-03-08  David S. Miller  <davem@davemloft.net>
40866
40867         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40868         copyright year.
40869         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40870
40871 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40872
40873         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40874         normalization.
40875         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40876         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40877
40878 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40879
40880         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40881         be defined individually, they must be defined as a block.  Define
40882         S for printing a string instead of hidint the different by using a
40883         macro for adding the 'l'.
40884         * stdio-common/tst-fphex-wide.c: Adjust.
40885
40886 2012-03-07  Marek Polacek  <polacek@redhat.com>
40887
40888         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40889
40890 2012-03-08  Marek Polacek  <polacek@redhat.com>
40891
40892         [BZ #13806]
40893         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40894         * stdio-common/tst-fphex.c: Define a few macros to make the
40895         test reusable.  Use them.
40896         * stdio-common/tst-fphex-wide.c: New file.
40897
40898 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40899
40900         [BZ #6911]
40901         * manual/macros.texi (gnusystems): New macro.
40902         (nongnusystems): Likewise.
40903         (gnulinuxhurdsystems): Likewise.
40904         (gnuhurdsystems): Likewise..
40905         (gnulinuxsystems): Likewise.
40906         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40907         variants of the GNU system, not "GNU system".
40908         * manual/conf.texi: Likewise.
40909         * manual/errno.texi: Likewise.  Update example of errno macro
40910         expansion.
40911         * manual/filesys.texi: Likewise.
40912         (getumask): Document as specific to GNU/Hurd.
40913         * manual/install.texi: Likewise.  Reword some references to
40914         GNU/Linux.
40915         * manual/intro.texi: Likewise.
40916         * manual/io.texi: Likewise.
40917         (File Name Portability): Detail which constraints are inapplicable
40918         to all GNU systems and which are only inapplicable to GNU/Hurd.
40919         * manual/job.texi: Likewise.
40920         * manual/llio.texi: Likewise.
40921         (O_NOCTTY): Document as present on GNU/Linux.
40922         * manual/maint.texi: Likewise.
40923         * manual/memory.texi: Likewise.
40924         * manual/pattern.texi: Likewise.
40925         * manual/pipe.texi: Likewise.
40926         * manual/process.texi: Likewise.
40927         * manual/resource.texi: Likewise.
40928         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40929         child on GNU/Hurd.
40930         * manual/setjmp.texi: Likewise.
40931         * manual/signal.texi: Likewise.
40932         * manual/startup.texi: Likewise.
40933         * manual/stdio.texi: Likewise.
40934         * manual/terminal.texi: Likewise.
40935         (ONLCR): Document as POSIX.
40936         (OXTABS): Document availability on GNU/Linux as XTABS.
40937         (ONOEOT): Document availability separately from other bits.
40938         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40939         * manual/time.texi: Likewise.
40940         * manual/users.texi: Likewise.
40941         * INSTALL: Regenerated.
40942         * sysdeps/gnu/errlist.c: Regenerated.
40943
40944         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40945         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40946         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40947         puts.
40948         * configure: Regenerated.
40949
40950 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40951
40952         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40953         default includes instead of AC_HEADER_CHECK.
40954         * sysdeps/i386/configure: Regenerated.
40955
40956         [BZ #10716]
40957         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40958         * math/s_cacoshf.c (__cacoshf): Likewise.
40959         * math/s_cacoshl.c (__cacoshl): Likewise.
40960         * math/s_casinh.c (__casinh): Set signs of result from argument.
40961         * math/s_casinhf.c (__casinhf): Likewise.
40962         * math/s_casinhl.c (__casinhl): Likewise.
40963         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40964         (casinh_test): Add more tests.
40965         * sysdeps/i386/fpu/libm-test-ulps: Update.
40966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40967
40968 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40969
40970         * po/zh_TW.po: Update from translation team.
40971
40972         * login/Makefile (distribute): Remove variable.
40973         * catgets/Makefile: Likewise.
40974         * mach/Makefile: Likewise.
40975         * malloc/Makefile: Likewise.
40976         * misc/Makefile: Likewise.
40977         * iconv/Makefile: Likewise.
40978         * nscd/Makefile: Likewise.
40979         * hurd/Makefile: Likewise.
40980         * manual/Makefile: Likewise.
40981         * locale/Makefile: Likewise.
40982         * intl/Makefile: Likewise.
40983         * conform/Makefile: Likewise.
40984         * nss/Makefile: Likewise.
40985         * time/Makefile: Likewise.
40986         * soft-fp/Makefile: Likewise.
40987         * dirent/Makefile: Likewise.
40988         * gmon/Makefile: Likewise.
40989         * po/Makefile: Likewise.
40990         * rt/Makefile: Likewise.
40991         * socket/Makefile: Likewise.
40992         * math/Makefile: Likewise.
40993         * signal/Makefile: Likewise.
40994         * debug/Makefile: Likewise.
40995         * elf/Makefile: Likewise.
40996         * timezone/Makefile: Likewise.
40997         * stdlib/Makefile: Likewise.
40998         * iconvdata/Makefile: Likewise.
40999         * sunrpc/Makefile: Likewise.
41000         * io/Makefile: Likewise.
41001         * argp/Makefile: Likewise.
41002         * inet/Makefile: Likewise.
41003         * hesiod/Makefile: Likewise.
41004         * grp/Makefile: Likewise.
41005         * csu/Makefile: Likewise.
41006         * wctype/Makefile: Likewise.
41007         * crypt/Makefile: Likewise.
41008         * libio/Makefile: Likewise.
41009         * string/Makefile: Likewise.
41010         * nis/Makefile: Likewise.
41011         * resolv/Makefile: Likewise.
41012         * stdio-common/Makefile: Likewise.
41013         * wcsmbs/Makefile: Likewise.
41014         * dlfcn/Makefile: Likewise.
41015         * posix/Makefile: Likewise.
41016
41017         [BZ #6959]
41018         * timezone/Makefile: Don't install timezone files, just the programs
41019         and scripts.
41020
41021 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41022
41023         * nss/databases.def: Add missing gshadow entry.
41024
41025         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41026
41027 2012-03-06  Marek Polacek  <polacek@redhat.com>
41028
41029         [BZ #13726]
41030         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41031         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41032         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41033         * stdio-common/tst-long-dbl-fphex.c: New file.
41034
41035 2012-03-06  David S. Miller  <davem@davemloft.net>
41036
41037         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41038         (set_obp_int): New function.
41039         (get_obp_int): New function.
41040         (__get_clockfreq_via_dev_openprom): Likewise.
41041         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41042         Avoid unused variable warnings on 'val' and use builtin_expect.
41043         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41044         __builtin_expect.
41045         (INLINE_CLONE_SYSCALL): Likewise.
41046
41047 2012-03-05  David S. Miller  <davem@davemloft.net>
41048
41049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41050
41051 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41052
41053         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41054
41055         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41056         only for |x| >= 40.
41057         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41058
41059 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41060
41061         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41062         Replace gettimeofday with __vdso_gettimeofday.
41063
41064         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41065         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41066         __vdso_clock_gettime and __vdso_getcpu.
41067
41068         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41069         time with __vdso_time.
41070
41071 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41072
41073         * manual/lang.texi (size_t): Note types to which size_t may be
41074         equivalent with the GNU C Library, but do not describe when
41075         differences between them are significant.
41076
41077 2012-03-05  Andreas Jaeger  <aj@suse.de>
41078
41079         * sysdeps/i386/fpu/libm-test-ulps: Update.
41080
41081 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41082
41083         [BZ #3976]
41084         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41085         (__ieee754_pow): Save and restore rounding mode and use
41086         round-to-nearest for main computations.
41087         * math/libm-test.inc (pow_test_tonearest): New function.
41088         (pow_test_towardzero): Likewise.
41089         (pow_test_downward): Likewise.
41090         (pow_test_upward): Likewise.
41091         (main): Call the new functions.
41092         * sysdeps/i386/fpu/libm-test-ulps: Update.
41093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41094
41095         [BZ #3976]
41096         * math/libm-test.inc (cosh_test_tonearest): New function.
41097         (cosh_test_towardzero): Likewise.
41098         (cosh_test_downward): Likewise.
41099         (cosh_test_upward): Likewise.
41100         (sinh_test_tonearest): Likewise.
41101         (sinh_test_towardzero): Likewise.
41102         (sinh_test_downward): Likewise.
41103         (sinh_test_upward): Likewise.
41104         (main): Call the new functions.
41105         * sysdeps/i386/fpu/libm-test-ulps: Update.
41106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41107
41108 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41109
41110         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41111         default stack guard is set in last bytes.
41112         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41113
41114 2012-03-05  Kees Cook  <keescook@chromium.org>
41115
41116         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41117
41118         [BZ #13656]
41119         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41120         possibly allocate from heap instead of stack.
41121         * stdio-common/bug-vfprintf-nargs.c: New file.
41122         * stdio-common/Makefile (tests): Add nargs overflow test.
41123
41124 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41125
41126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41127
41128 2012-03-03  Marek Polacek  <polacek@redhat.com>
41129
41130         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41131         * math/math_private.h: Likewise.
41132         * stdlib/tst-strtod.c: Likewise.
41133         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41134         * sysdeps/x86_64/bits/atomic.h: Likewise.
41135
41136 2012-03-02  David S. Miller  <davem@davemloft.net>
41137
41138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41142         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41143         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41144         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41145         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41146
41147 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41148
41149         [BZ #13792]
41150         * manual/examples/README: New file, says the example source files
41151         can be used under GPL>=2.
41152         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41153         line containing just "*/".
41154         * manual/examples/add.c: Add copyright header (GPL>=2).
41155         * manual/examples/argp-ex1.c: Likewise.
41156         * manual/examples/argp-ex2.c: Likewise.
41157         * manual/examples/argp-ex3.c: Likewise.
41158         * manual/examples/argp-ex4.c: Likewise.
41159         * manual/examples/atexit.c: Likewise.
41160         * manual/examples/db.c: Likewise.
41161         * manual/examples/dir.c: Likewise.
41162         * manual/examples/dir2.c: Likewise.
41163         * manual/examples/execinfo.c: Likewise.
41164         * manual/examples/filecli.c: Likewise.
41165         * manual/examples/filesrv.c: Likewise.
41166         * manual/examples/fmtmsgexpl.c: Likewise.
41167         * manual/examples/genpass.c: Likewise.
41168         * manual/examples/inetcli.c: Likewise.
41169         * manual/examples/inetsrv.c: Likewise.
41170         * manual/examples/isockad.c: Likewise.
41171         * manual/examples/longopt.c: Likewise.
41172         * manual/examples/memopen.c: Likewise.
41173         * manual/examples/memstrm.c: Likewise.
41174         * manual/examples/mkfsock.c: Likewise.
41175         * manual/examples/mkisock.c: Likewise.
41176         * manual/examples/mygetpass.c: Likewise.
41177         * manual/examples/pipe.c: Likewise.
41178         * manual/examples/popen.c: Likewise.
41179         * manual/examples/rprintf.c: Likewise.
41180         * manual/examples/search.c: Likewise.
41181         * manual/examples/select.c: Likewise.
41182         * manual/examples/setjmp.c: Likewise.
41183         * manual/examples/sigh1.c: Likewise.
41184         * manual/examples/sigusr.c: Likewise.
41185         * manual/examples/stpcpy.c: Likewise.
41186         * manual/examples/strdupa.c: Likewise.
41187         * manual/examples/strftim.c: Likewise.
41188         * manual/examples/strncat.c: Likewise.
41189         * manual/examples/subopt.c: Likewise.
41190         * manual/examples/swapcontext.c: Likewise.
41191         * manual/examples/termios.c: Likewise.
41192         * manual/examples/testopt.c: Likewise.
41193         * manual/examples/testpass.c: Likewise.
41194         * manual/examples/timeval_subtract.c: Likewise.
41195
41196         [BZ #13792]
41197         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41198         function to ...
41199         * manual/timeval_subtract.c.texi: ... here, new file.
41200
41201 2012-03-02  David S. Miller  <davem@davemloft.net>
41202
41203         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41204
41205 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41206
41207         [BZ #3976]
41208         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41209         (__sin): Save and restore rounding mode and use round-to-nearest
41210         for all computations.
41211         (__cos): Save and restore rounding mode and use round-to-nearest
41212         for all computations.
41213         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41214         <fenv.h>.
41215         (tan): Save and restore rounding mode and use round-to-nearest for
41216         all computations.
41217         * math/libm-test.inc (cos_test_tonearest): New function.
41218         (cos_test_towardzero): Likewise.
41219         (cos_test_downward): Likewise.
41220         (cos_test_upward): Likewise.
41221         (sin_test_tonearest): Likewise.
41222         (sin_test_towardzero): Likewise.
41223         (sin_test_downward): Likewise.
41224         (sin_test_upward): Likewise.
41225         (tan_test_tonearest): Likewise.
41226         (tan_test_towardzero): Likewise.
41227         (tan_test_downward): Likewise.
41228         (tan_test_upward): Likewise.
41229         (main): Call the new functions.
41230         * sysdeps/i386/fpu/libm-test-ulps: Update.
41231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41232
41233         [BZ #10135]
41234         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41235         small n, then large n, before computing and testing k+n.
41236         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41237         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41238         Likewise.
41239         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41240         Likewise.
41241         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41242         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41243         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41244         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41245         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41246         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41247         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41248         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41249         * math/libm-test.inc (scalbn_test): Add more tests.
41250         (scalbln_test): Likewise.
41251
41252         * manual/filesys.texi (mode_t): Describe constraints on size and
41253         signedness, not exact equivalence to a particular type.
41254         (ino_t): Likewise.
41255         (ino64_t): Likewise.
41256         (dev_t): Likewise.
41257         (nlink_t): Likewise.
41258         (blkcnt_t): Likewise.
41259         (blkcnt64_t): Likewise.
41260         * manual/llio.texi (off_t): Likewise.
41261
41262         [BZ #3976]
41263         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41264         (__ieee754_exp): Save and restore rounding mode and use
41265         round-to-nearest for all computations.
41266         * math/libm-test.inc (exp_test_tonearest): New function.
41267         (exp_test_towardzero): Likewise.
41268         (exp_test_downward): Likewise.
41269         (exp_test_upward): Likewise.
41270         (main): Call the new functions.
41271         * sysdeps/i386/fpu/libm-test-ulps: Update.
41272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41273
41274 2012-03-01  Chris Demetriou  <cgd@google.com>
41275
41276         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41277         have predictable order.
41278
41279 2012-03-01  David S. Miller  <davem@davemloft.net>
41280
41281         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41282
41283         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41284         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41285         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41286         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41287
41288         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41289         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41290         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41292         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41293         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41294         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41295         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41296         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41297
41298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41299
41300         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41301         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41302         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41303
41304         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41305         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41306         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41307         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41308         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41309         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41310         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41311         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41312         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41313         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41314         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41315         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41316         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41317         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41318         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41319         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41320         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41321         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41322         * sysdeps/sparc/elf/configure: Regenerated.
41323
41324 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41325
41326         * configure.in (AS, LD): Require binutils 2.20 or later.
41327         * configure: Regenerated.
41328         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41329         as required minimum version.
41330         * INSTALL: Regenerated.
41331
41332         [BZ #2541]
41333         [BZ #4108]
41334         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41335         before squaring exponent.
41336         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41337         bottom long double and 27 bits of top long double before squaring
41338         exponent.
41339         * math/libm-test.inc (erfc_test): Add more tests.
41340         * sysdeps/i386/fpu/libm-test-ulps: Update.
41341         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41343
41344 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41345
41346         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41347         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41348         containing bit-fields.
41349         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41350         * soft-fp/single.h (_FP_UNION_S): Likewise.
41351         * soft-fp/double.h (_FP_UNION_D): Likewise.
41352
41353 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41354
41355         [BZ #13786]
41356         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41357         not include ../strcmp.S.
41358         [USE_AS_STRNCASECMP_L]: Likewise.
41359         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41360         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41361         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41362         (__strncasecmp_l_ia32): Define as alias to
41363         __strncasecmp_l_nonascii.
41364
41365         [BZ #5794]
41366         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41367         * sysdeps/i386/fpu/libm-test-ulps: Update.
41368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41369
41370         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41372
41373 2012-02-29  Jeff Law  <law@redhat.com>
41374
41375         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41376         out of bounds read.
41377
41378 2012-02-29  Marek Polacek  <polacek@redhat.com>
41379
41380         [BZ #13706]
41381         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41382         * elf/Makefile: Add rules to run tst-unused-dep.out.
41383
41384 2012-02-28  David S. Miller  <davem@davemloft.net>
41385
41386         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41387         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41388         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41389         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41390         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41391         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41392
41393 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41394
41395         * math/libm-test.inc (llround_test): Move one test from
41396         lround_test.  Use TEST_f_L in moved test.
41397         (lround_test): Move misplaced test to llround_test.  Add testcase
41398         from bug 2561.
41399
41400 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41401
41402         * sysdeps/x86_64/fpu/e_expf.S: New file.
41403         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41404
41405 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41406
41407         [BZ #13637]
41408         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41409         of remain_len that may cause incomplete multi-byte character and
41410         false match.
41411         * posix/bug-regex33.c: New file.
41412         * posix/Makefile (tests): Add bug-regex33.
41413
41414 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41415
41416         * manual/macros.texi: New file.
41417         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41418         * manual/libc.texinfo: Include macros.texi.
41419         * manual/creatute.texi: Likewise.
41420         * manual/install.texi: Likewise.
41421         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41422         @glibcadj{} in references to the GNU C Library.
41423         * manual/charset.texi: Likewise.
41424         * manual/conf.texi: Likewise.
41425         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41426         when not using those macros.
41427         * manual/creature.texi: Likewise.
41428         * manual/crypt.texi: Likewise.
41429         * manual/errno.texi: Likewise.
41430         * manual/filesys.texi: Likewise.
41431         * manual/header.texi: Likewise.
41432         * manual/install.texi: Likewise.
41433         * manual/intro.texi: Likewise.
41434         * manual/io.texi: Likewise.
41435         * manual/job.texi: Likewise.
41436         * manual/lang.texi: Likewise.
41437         * manual/libc.texiinfo: Likewise.
41438         * manual/llio.texi: Likewise.
41439         * manual/locale.texi: Likewise.
41440         * manual/maint.texi: Likewise.
41441         * manual/math.texi: Likewise.
41442         * manual/memory.texi: Likewise.
41443         * manual/message.texi: Likewise.
41444         * manual/nss.texi: Likewise.
41445         * manual/pattern.texi: Likewise.
41446         * manual/process.texi: Likewise.
41447         * manual/resource.texi: Likewise.
41448         * manual/search.texi: Likewise.
41449         * manual/setjmp.texi: Likewise.
41450         * manual/signal.texi: Likewise.
41451         * manual/socket.texi: Likewise.
41452         * manual/startup.texi: Likewise.
41453         * manual/stdio.texi: Likewise.
41454         * manual/string.texi: Likewise.
41455         * manual/sysinfo.texi: Likewise.
41456         * manual/syslog.texi: Likewise.
41457         * manual/terminal.texi: Likewise.
41458         * manual/time.texi: Likewise.
41459         * manual/users.texi: Likewise.
41460         * INSTALL: Regenerated.
41461         * NOTES: Regenerated.
41462         * sysdeps/gnu/errlist.c: Regenerated.
41463
41464 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41465
41466         * include/dirent.h: Include <dirstream.h> before
41467         <dirent/dirent.h>.
41468
41469 2012-02-28  David S. Miller  <davem@davemloft.net>
41470
41471         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41472         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41473         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41474         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41475
41476 2012-02-27  David S. Miller  <davem@davemloft.net>
41477
41478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41480         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41481         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41482
41483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41484         frame pointer instead of stack pointer relative arg slot.
41485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41486         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41487         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41488
41489 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41490
41491         [BZ #3992]
41492         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41493
41494 2012-02-27  David S. Miller  <davem@davemloft.net>
41495
41496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41500         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41501         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41502         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41503         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41504
41505 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41506
41507         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41508         later.  Allow versions 5-9.
41509         * configure: Regenerated.
41510         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41511         required minimum version and 4.6 as recommended version.  Do not
41512         mention bugs in GCC 2.7 and 2.8.
41513         * INSTALL: Regenerated.
41514
41515 2012-02-27  David S. Miller  <davem@davemloft.net>
41516
41517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41521         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41522         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41523         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41524         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41525
41526         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41527         manipulate bits before adding and subtracting TWO112[sx].
41528         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41529
41530 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41531
41532         [BZ #13775]
41533         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41534         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41535         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41536         being in POSIX, because they are in 1003.1-2008.
41537
41538         * rt/tst-aio.c: Include <fcntl.h>.
41539         * rt/tst-aio7.c: Likewise.
41540         * rt/tst-aio64.c: Likewise.
41541
41542         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41543
41544 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41545
41546         * manual/install.texi (--with-headers): Describe headers as
41547         interface headers, not private headers.
41548         (Specific advice for GNU/Linux systems): Describe use of headers
41549         from "make headers_install", not private headers from older
41550         kernels.
41551         * INSTALL: Regenerated.
41552         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41553         Change to 2.6.19.
41554         * sysdeps/unix/sysv/linux/configure: Regenerated.
41555
41556         * manual/llio.texi (fclean): Remove documentation.
41557
41558         * manual/Makefile (libc-texi-generated): New variable.  Include
41559         version.texi.
41560         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41561         $(libc-texi-generated), not duplicated list of files.
41562         (version.texi, stamp-version): New rules.
41563         (realclean): Remove $(libc-texi-generated), not individual files
41564         from that list.  Do not remove dir-add.texinfo.
41565         * manual/libc.texinfo: Comment out uses of edition numbers and
41566         references to printed manual.  Remove last-updated dates.
41567         (EDITION): Comment out.
41568         (ISBN): Likewise.
41569         (VERSION, UPDATED): Remove.
41570         (version.texi): Include.
41571
41572 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41573
41574         * sysdeps/posix/spawni.c: Include <signal.h>.
41575         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41576         * sysdeps/pthread/aio_fsync.c: Likewise.
41577
41578 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41579
41580         * conform/Makefile (tests): Run only when not cross-compiling and
41581         when fast-check is not defined.
41582
41583         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41584         * conform/data/limits.h-data: Fixes for POSIX2008.
41585         * conform/run-conformtest.sh: Run all tests.
41586         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41587         headers.
41588         * include/bits/dlfcn.h: Likewise.
41589         * include/langinfo.h: Likewise.
41590         * include/monetary.h: Likewise.
41591         * include/sys/poll.h: Likewise.
41592
41593         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41594         for __USE_GNU.
41595         * posix/spawn.h: Define __need_sigset_t.
41596         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41597         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41598         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41599         to get sigevent_t only.
41600         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41601         only for __USE_GNU.
41602         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41603         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41604         process_vm_writev only for __USE_GNU.
41605         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41606
41607         * conform/Makefile: For now ignore errors from run-conformtest.
41608         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41609         POSIX to avoid namespace pollution.  Don't prepend headers.
41610         * conform/data/aio.h-data: Fixes for POSIX testing.
41611         * conform/data/fcntl.h-data: Likewise.
41612         * conform/data/glob.h-data: Likewise.
41613         * conform/data/grp.h-data: Likewise.
41614         * conform/data/pthread.h-data: Likewise.
41615         * conform/data/pwd.h-data: Likewise.
41616         * conform/data/signal.h-data: Likewise.
41617         * conform/data/spawn.h-data: Likewise.
41618         * conform/data/stdio.h-data: Likewise.
41619         * conform/data/stdlib.h-data: Likewise.
41620         * conform/data/stropts.h-data: Likewise.
41621         * conform/data/sys/mman.h-data: Likewise.
41622         * conform/data/sys/stat.h-data: Likewise.
41623         * conform/data/sys/types.h-data: Likewise.
41624         * conform/data/sys/wait.h-data: Likewise.
41625         * conform/data/time.h-data: Likewise.
41626         * conform/data/unistd.h-data: Likewise.
41627         * conform/data/utime.h-data: Likewise.
41628
41629         * io/sys/stat.h: fchmod was always in POSIX.
41630         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41631         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41632         * rt/aio.h: Define __need_timespec before including <time.h>.
41633         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41634         struct.  Add forward declaration of pthread_attr_t and use it in
41635         sigevent.
41636         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41637         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41638         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41639         always remove CLK_TCK definition.
41640
41641 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41642
41643         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41644
41645 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41646
41647         * conform/run-conformtest.sh: New file.
41648         * conform/Makefile: Run run-conformtest for tests.
41649         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41650         support.
41651
41652         * conform/data/uchar.h-data: New file.
41653         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41654         * conform/data/arpa/inet.h-data: Likewise.
41655         * conform/data/assert.h-data: Likewise.
41656         * conform/data/complex.h-data: Likewise.
41657         * conform/data/cpio.h-data: Likewise.
41658         * conform/data/ctype.h-data: Likewise.
41659         * conform/data/dirent.h-data: Likewise.
41660         * conform/data/dlfcn.h-data: Likewise.
41661         * conform/data/errno.h-data: Likewise.
41662         * conform/data/fcntl.h-data: Likewise.
41663         * conform/data/float.h-data: Likewise.
41664         * conform/data/fmtmsg.h-data: Likewise.
41665         * conform/data/fnmatch.h-data: Likewise.
41666         * conform/data/ftw.h-data: Likewise.
41667         * conform/data/glob.h-data: Likewise.
41668         * conform/data/grp.h-data: Likewise.
41669         * conform/data/iconv.h-data: Likewise.
41670         * conform/data/inttypes.h-data: Likewise.
41671         * conform/data/langinfo.h-data: Likewise.
41672         * conform/data/libgen.h-data: Likewise.
41673         * conform/data/limits.h-data: Likewise.
41674         * conform/data/locale.h-data: Likewise.
41675         * conform/data/math.h-data: Likewise.
41676         * conform/data/monetary.h-data: Likewise.
41677         * conform/data/mqueue.h-data: Likewise.
41678         * conform/data/ndbm.h-data: Likewise.
41679         * conform/data/net/if.h-data: Likewise.
41680         * conform/data/netdb.h-data: Likewise.
41681         * conform/data/netinet/in.h-data: Likewise.
41682         * conform/data/nl_types.h-data: Likewise.
41683         * conform/data/poll.h-data: Likewise.
41684         * conform/data/pthread.h-data: Likewise.
41685         * conform/data/pwd.h-data: Likewise.
41686         * conform/data/regex.h-data: Likewise.
41687         * conform/data/sched.h-data: Likewise.
41688         * conform/data/search.h-data: Likewise.
41689         * conform/data/semaphore.h-data: Likewise.
41690         * conform/data/setjmp.h-data: Likewise.
41691         * conform/data/signal.h-data: Likewise.
41692         * conform/data/spawn.h-data: Likewise.
41693         * conform/data/stdarg.h-data: Likewise.
41694         * conform/data/stdio.h-data: Likewise.
41695         * conform/data/stdlib.h-data: Likewise.
41696         * conform/data/string.h-data: Likewise.
41697         * conform/data/strings.h-data: Likewise.
41698         * conform/data/stropts.h-data: Likewise.
41699         * conform/data/sys/ipc.h-data: Likewise.
41700         * conform/data/sys/mman.h-data: Likewise.
41701         * conform/data/sys/msg.h-data: Likewise.
41702         * conform/data/sys/resource.h-data: Likewise.
41703         * conform/data/sys/select.h-data: Likewise.
41704         * conform/data/sys/sem.h-data: Likewise.
41705         * conform/data/sys/shm.h-data: Likewise.
41706         * conform/data/sys/socket.h-data: Likewise.
41707         * conform/data/sys/stat.h-data: Likewise.
41708         * conform/data/sys/statvfs.h-data: Likewise.
41709         * conform/data/sys/time.h-data: Likewise.
41710         * conform/data/sys/timeb.h-data: Likewise.
41711         * conform/data/sys/times.h-data: Likewise.
41712         * conform/data/sys/types.h-data: Likewise.
41713         * conform/data/sys/uio.h-data: Likewise.
41714         * conform/data/sys/un.h-data: Likewise.
41715         * conform/data/sys/utsname.h-data: Likewise.
41716         * conform/data/sys/wait.h-data: Likewise.
41717         * conform/data/syslog.h-data: Likewise.
41718         * conform/data/tar.h-data: Likewise.
41719         * conform/data/termios.h-data: Likewise.
41720         * conform/data/utime.h-data: Likewise.
41721         * conform/data/utmpx.h-data: Likewise.
41722         * conform/data/varargs.h-data: Likewise.
41723         * conform/data/wchar.h-data: Likewise.
41724         * conform/data/wctype.h-data: Likewise.
41725         * conform/data/wordexp.h-data: Likewise.
41726
41727         * include/stropts.h: New file.
41728         * include/uchar.h: New file.
41729         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41730         * include/assert.h: Likewise.
41731         * include/ctype.h: Likewise.
41732         * include/dirent.h: Likewise.
41733         * include/dlfcn.h: Likewise.
41734         * include/fcntl.h: Likewise.
41735         * include/fnmatch.h: Likewise.
41736         * include/glob.h: Likewise.
41737         * include/grp.h: Likewise.
41738         * include/libio.h: Likewise.
41739         * include/locale.h: Likewise.
41740         * include/math.h: Likewise.
41741         * include/net/if.h: Likewise.
41742         * include/netdb.h: Likewise.
41743         * include/netinet/in.h: Likewise.
41744         * include/pthread.h: Likewise.
41745         * include/pwd.h: Likewise.
41746         * include/regex.h: Likewise.
41747         * include/sched.h: Likewise.
41748         * include/search.h: Likewise.
41749         * include/setjmp.h: Likewise.
41750         * include/signal.h: Likewise.
41751         * include/stdio.h: Likewise.
41752         * include/stdlib.h: Likewise.
41753         * include/string.h: Likewise.
41754         * include/sys/cdefs.h: Likewise.
41755         * include/sys/mman.h: Likewise.
41756         * include/sys/msg.h: Likewise.
41757         * include/sys/resource.h: Likewise.
41758         * include/sys/select.h: Likewise.
41759         * include/sys/socket.h: Likewise.
41760         * include/sys/stat.h: Likewise.
41761         * include/sys/statvfs.h: Likewise.
41762         * include/sys/time.h: Likewise.
41763         * include/sys/times.h: Likewise.
41764         * include/sys/uio.h: Likewise.
41765         * include/sys/utsname.h: Likewise.
41766         * include/sys/wait.h: Likewise.
41767         * include/termios.h: Likewise.
41768         * include/time.h: Likewise.
41769         * include/ulimit.h: Likewise.
41770         * include/unistd.h: Likewise.
41771         * include/utime.h: Likewise.
41772         * include/wchar.h: Likewise.
41773         * include/wctype.h: Likewise.
41774         * include/wordexp.h: Likewise.
41775
41776         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41777
41778         * time/time.h: TIME_UTC must be a macro.
41779         Make timespec_get available for ISO C11 only as well.
41780
41781 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41782
41783         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41784         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41785
41786 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41787
41788         * configure.in: Use -o not -a in test for unsupported multi-arch.
41789
41790 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41791
41792         * manual/texinfo.tex: Update to version 2012-01-19.16.
41793
41794 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41795
41796         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41797
41798 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41799
41800         [BZ #13738]
41801         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41802         * manual/fdl-1.3.texi: New file.
41803         * manual/fdl-1.1.texi: File removed.
41804
41805         [BZ #13738]
41806         * manual/libc.texinfo (FDL_VERSION): New @set.
41807         Use it for mention of FDL in cover text.
41808         (Documentation License): Use it in @include file name.
41809
41810 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41811             Roland McGrath  <roland@hack.frob.com>
41812
41813         [BZ #5461]
41814         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41815         (not LONG_LONG_MAX and LONG_LONG_MIN.
41816         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41817         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41818         name.
41819         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41820
41821 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41822
41823         [BZ #2547]
41824         [BZ #11365]
41825         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41826         manipulate bits before adding and subtracting TWO23[sx].
41827         * math/libm-test.inc (nearbyint_test): Add more tests.
41828
41829 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41830
41831         [BZ #2548]
41832         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41833         bits before adding and subtracting TWO23[sx].
41834         * math/libm-test.inc (rint_test): Add more tests.
41835         (rint_test_tonearest): Likewise.
41836         (rint_test_towardzero): Likewise.
41837         (rint_test_downward): Likewise.
41838         (rint_test_upward: Likewise.
41839
41840 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41841
41842         [BZ #10110]
41843         * include/stdc-predef.h: New file.  Extracted from features.h.
41844         * include/features.h: Include stdc-predef.h.
41845         * Makefile (headers): Add stdc-predef.h.
41846         * CONFORMANCE (Compiler limitations): Update.
41847
41848 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41849
41850         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41851
41852 2012-02-21  David S. Miller  <davem@davemloft.net>
41853
41854         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41855         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41856
41857 2012-02-20  David S. Miller  <davem@davemloft.net>
41858
41859         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41860         using a normal save/restore sequence, rather than allocating a
41861         dummy stack frame just to store a frame pointer and restore.
41862         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41863
41864 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41865
41866         * manual/install.texi: Fix stray word in line-wrapped comment.
41867
41868 2012-02-20  David S. Miller  <davem@davemloft.net>
41869
41870         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41871         both binutils and gcc support GOTDATA.
41872
41873         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41874         "rd %pc" in the PIC register setup sequences.
41875
41876         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41877         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41878         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41879         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41880         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41881         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41882         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41883         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41884         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41885         (SYSCALL_ERROR_HANDLER): Likewise.
41886         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41887         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41888         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41889         (SYSCALL_ERROR_HANDLER): Likewise.
41890
41891         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41892         (HAVE_GCC_GOTDATA): New.
41893         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41894         relocation support in both binutils and gcc.
41895         * sysdeps/sparc/elf/configure: Regenerate.
41896
41897         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41898         * sysdeps/sparc/sparc32/elf/configure: Delete.
41899         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41900         * sysdeps/sparc/sparc64/elf/configure: Delete.
41901         * sysdeps/sparc/elf/configure.in: New file.
41902         * sysdeps/sparc/elf/configure: Generate.
41903
41904         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41905         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41906         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41907         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41908         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41909
41910 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41911
41912         * manual/install.texi: Do not mention specific glibc version
41913         numbers.
41914         * manual/libc.texinfo (VERSION, UPDATED): Update.
41915         (@copying): Use @copyright{} and range of years.
41916
41917 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41918
41919         [BZ #13695]
41920         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41921         [crti.S not in sysdirs] (generated): Do not append.
41922         [crti.S not in sysdirs] (omit-deps): Likewise.
41923         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41924         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41925         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41926         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41927         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41928         Likewise.
41929         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41930         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41931         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41932         * csu/defs.awk: Remove file.
41933         * sysdeps/generic/initfini.c: Likewise.
41934         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41935         variable.
41936         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41937         Likewise.
41938
41939 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41940
41941         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41942         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41943         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41944         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41945         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41946         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41947         <bits/epoll.h>.
41948         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41949         (__EPOLL_PACKED): Define to empty if not defined by
41950         <bits/epoll.h>.
41951         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41952         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41953         bits/epoll.h.
41954
41955 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41956
41957         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41958         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41959         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41960         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41961         <bits/timerfd.h>.
41962         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41963         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41964         bits/timerfd.h.
41965
41966 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41967
41968         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41969         in C locale.
41970         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41971         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41972         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41974
41975 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41976
41977         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41978         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41979
41980 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41981
41982         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41983         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41984         defined.
41985         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41986         Likewise.
41987         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41988         entry for 2.16.
41989
41990 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41991
41992         * math/w_acos.c: Use non-signaling floating-point comparisons.
41993         * math/w_acosf.c: Likewise.
41994         * math/w_acosh.c: Likewise.
41995         * math/w_acoshf.c: Likewise.
41996         * math/w_acoshl.c: Likewise.
41997         * math/w_acosl.c: Likewise.
41998         * math/w_asin.c: Likewise.
41999         * math/w_asinf.c: Likewise.
42000         * math/w_asinl.c: Likewise.
42001         * math/w_atanh.c: Likewise.
42002         * math/w_atanhf.c: Likewise.
42003         * math/w_atanhl.c: Likewise.
42004         * math/w_exp2.c: Likewise.
42005         * math/w_exp2f.c: Likewise.
42006         * math/w_exp2l.c: Likewise.
42007         * math/w_j0.c: Likewise.
42008         * math/w_j0f.c: Likewise.
42009         * math/w_j0l.c: Likewise.
42010         * math/w_j1.c: Likewise.
42011         * math/w_j1f.c: Likewise.
42012         * math/w_j1l.c: Likewise.
42013         * math/w_jn.c: Likewise.
42014         * math/w_jnf.c: Likewise.
42015         * math/w_log.c: Likewise.
42016         * math/w_log10.c: Likewise.
42017         * math/w_log10f.c: Likewise.
42018         * math/w_log10l.c: Likewise.
42019         * math/w_log2.c: Likewise.
42020         * math/w_log2f.c: Likewise.
42021         * math/w_log2l.c: Likewise.
42022         * math/w_logf.c: Likewise.
42023         * math/w_logl.c: Likewise.
42024         * math/w_sqrt.c: Likewise.
42025         * math/w_sqrtf.c: Likewise.
42026         * math/w_sqrtl.c: Likewise.
42027         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42028         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42029         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42030         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42031         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42032
42033 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42034
42035         [BZ #9739]
42036         * manual/string.texi (strnlen): Use correct parameter name in
42037         equivalent expression.
42038
42039 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42040
42041         [BZ #11174]
42042         * manual/users.texi (seteuid): Consistently use neweuid for
42043         argument name.
42044
42045 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42046
42047         [BZ #13704]
42048         * manual/nss.texi (Services in the NSS configuration): Correct
42049         list of services in example configuration file.
42050
42051 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42052
42053         [BZ #11322]
42054         * manual/arith.texi: Remove statements about negative zero
42055         behaving identically to zero.
42056
42057 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42058
42059         [BZ #5993]
42060         * manual/install.texi: Do not document upgrading from libc5.
42061
42062 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42063
42064         [BZ #4596]
42065         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42066
42067 2012-02-18  David S. Miller  <davem@davemloft.net>
42068
42069         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42070         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42071         %o7 across the call.
42072         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42073         instead.
42074         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42075         SETUP_PIC_REG_LEAF.
42076         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42077         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42078         * sysdeps/sparc/crtn.S: Likewise.
42079
42080 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42081
42082         * aout/Makefile: Remove.
42083
42084 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42085
42086         [BZ #13058]
42087         * manual/examples/argp-ex1.c (main): Format definition in GNU
42088         style.
42089         * manual/examples/argp-ex2.c (main): Likewise.
42090         * manual/examples/argp-ex3.c (main): Likewise.
42091         * manual/examples/argp-ex4.c (main): Likewise.
42092         * manual/examples/longopt.c (main): Use new-style prototype
42093         definition.
42094         * manual/examples/strncat.c (main): Specify return type and use
42095         (void) for arguments.
42096         * manual/examples/subopt.c (main): Use char **argv argument.
42097
42098 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42099
42100         [BZ #5077]
42101         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42102         rounding modes.
42103
42104 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42105
42106         [BZ #6907]
42107         * manual/string.texi (strchr): Change when strchrnul is
42108         recommended.
42109
42110 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42111
42112         [BZ #174]
42113         * manual/locale.texi (setlocale): Document LOCPATH.
42114
42115 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42116
42117         [BZ #10210]
42118         * manual/process.texi (execle): Move @dots{} before last argument.
42119
42120 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42121
42122         [BZ #12047]
42123         * manual/charset.texi (Generic Charset Conversion): Fix typo
42124         (LC_TYPE -> LC_CTYPE).
42125
42126 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42127
42128         [BZ #5805]
42129         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42130         (scalbnf): Likewise.
42131         (scalbnl): Likewise.
42132         (scalbln): Likewise.
42133         (scalblnf): Likewise.
42134         (scalblnl): Likewise.
42135         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42136         (vwarnx): Likewise.
42137         (verr): Likewise.
42138         (verrx): Likewise.
42139         * manual/filesys.texi (telldir): Use braces around return type.
42140         * manual/llio.texi (mmap): Add space after comma.
42141         (mmap64): Likewise.
42142         * manual/math.texi (jn): Use @var{} on parameter names.
42143         (jnf): Likewise.
42144         (jnl): Likewise.
42145         (yn): Likewise.
42146         (ynf): Likewise.
42147         (ynl): Likewise.
42148         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42149         line.
42150         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42151         "...".
42152         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42153         (sched_get_priority_max): Likewise.
42154         * manual/signal.texi (sigvec): Add space after comma.
42155         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42156         names.
42157         (if_indextoname): Likewise.
42158         (if_freenameindex): Likewise.
42159         (sendto): Use ',' instead of '.' in prototype.
42160         * manual/startup.texi (syscall): Use @dots{} instead of literal
42161         "...".
42162         * manual/stdio.texi (__fpending): Separate initial words of
42163         paragraph from @deftypefun line.
42164         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42165         "...".
42166         (vsyslog): Use @var{} on parameter names.
42167         * manual/terminal.texi (stty): Use @var{} on parameter names.
42168         * manual/users.texi (getutmp): Use @var{} on parameter names.
42169         (getutmpx): Likewise.
42170
42171 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42172
42173         [BZ #6884]
42174         * manual/stdio.texi (fopen): Fix typos in description of
42175         ",ccs=STRING".
42176
42177 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42178
42179         [BZ #4026]
42180         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42181         get clock_id definition.
42182
42183 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42184
42185         [BZ #4822]
42186         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42187         (madvise): Cast every argument to void on its own.
42188
42189 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42190
42191         [BZ #9902]
42192         * manual/startup.texi (Exit Status): Fix typo.
42193
42194 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42195
42196         [BZ #10140]
42197         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42198         * manual/examples/argp-ex2.c: Likewise.
42199         * manual/examples/argp-ex3.c: Likewise.
42200
42201 2012-02-16  Richard Henderson  <rth@redhat.com>
42202
42203         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42204         * sysdeps/s390/s390-32/initfini.c: Remove.
42205         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42206         * sysdeps/s390/s390-64/initfini.c: Remove.
42207
42208 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42209
42210         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42211         compiler output for sysdeps/generic/initfini.c.
42212         * sysdeps/sh/elf/initfini.c: Remove file.
42213
42214 2012-02-16  David S. Miller  <davem@davemloft.net>
42215
42216         [BZ #11494]
42217         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42218
42219         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42220         * sysdeps/sparc/crti.S: New file.
42221         * sysdeps/sparc/crtn.S: New file.
42222         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42223         * sysdeps/sparc/sparc64/Makefile: Likewise.
42224
42225 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42226
42227         [BZ #3335]
42228         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42229
42230 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42231
42232         [BZ #4822]
42233         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42234
42235         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42236         (write, read, close): Likewise.
42237         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42238
42239 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42240
42241         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42242         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42243         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42244         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42245         <bits/signalfd.h>.
42246         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42247         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42248         bits/signalfd.h.
42249
42250 2012-02-14  Marek Polacek  <polacek@redhat.com>
42251
42252         * sysdeps/x86_64/crti.S: New file.
42253         * sysdeps/x86_64/crtn.S: New file.
42254         * sysdeps/x86_64/elf/initfini.c: Remove file.
42255
42256 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42257
42258         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42259         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42260         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42261         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42262         <bits/inotify.h>.
42263         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42264         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42265         bits/inotify.h.
42266
42267 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42268
42269         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42270         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42271         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42272         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42273         <bits/eventfd.h>.
42274         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42275         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42276         bits/eventfd.h.
42277
42278 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42279
42280         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42281         __feraiseexcept instead of feraiseexcept.
42282
42283         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42284         nanosleep invocations.
42285         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42286         strings, and add error checking for a nanosleep invocations.
42287
42288 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42289
42290         Replace FSF snail mail address with URLs, as per GNU coding standards.
42291         Most of the snail mail addresses were wrong anyway, and omitting
42292         them makes the source code easier to maintain.  Almost all of the
42293         changes are to license notices and to locale LC_IDENTIFICATION
42294         addresses, except for this one:
42295         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42296         not its snail mail address.
42297
42298 2012-02-09  Richard Henderson  <rth@twiddle.net>
42299
42300         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42301         of kernel-features.h.
42302
42303         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42304
42305 2012-02-08  Marek Polacek  <polacek@redhat.com>
42306
42307         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42308         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42309         * sysdeps/gnu/_G_config.h: Likewise.
42310         * sysdeps/generic/_G_config.h: Likewise.
42311
42312 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42313
42314         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42315         tests.
42316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42317
42318         * sysdeps/powerpc/powerpc32/crti.S: New file.
42319         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42320         * sysdeps/powerpc/powerpc64/crti.S: New file.
42321         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42322
42323         * Makeconfig (have-initfini): Don't set.
42324         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42325         * configure.in (nopic_initfini): Don't substitute.
42326         * config.h.in (HAVE_INITFINI): Don't #undef.
42327         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42328         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42329
42330 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42331
42332         Support crti.S and crtn.S provided directly by architectures.
42333         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42334         [crti.S in sysdirs] (omit-deps): Likewise.
42335         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42336         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42337         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42338         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42339         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42340         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42341         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42342         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42343         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42344         compiler output for sysdeps/generic/initfini.c.
42345         * sysdeps/i386/elf/Makefile: Remove file.
42346         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42347
42348 2012-02-07  Marek Polacek  <polacek@redhat.com>
42349
42350         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42351         * sysdeps/gnu/_G_config.h: Likewise.
42352         * sysdeps/mach/hurd/_G_config.h: Likewise.
42353
42354 2012-02-07  Marek Polacek  <polacek@redhat.com>
42355
42356         * math/Makefile (tests): Add tst-CMPLX2.
42357         * math/tst-CMPLX2.c: New file.
42358
42359 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42360
42361         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42362
42363         * math/libm-test.inc (jn_test): Add missing L suffix.
42364
42365 2012-02-06  Marek Polacek  <polacek@redhat.com>
42366
42367         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42368         * sysdeps/i386/fpu/e_powf.S: Likewise.
42369         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42370         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42371         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42372         * sysdeps/i386/fpu/e_pow.S: Likewise.
42373         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42374         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42375         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42376         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42377         * sysdeps/i386/fpu/e_log2.S: Likewise.
42378         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42379         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42380         * sysdeps/i386/fpu/e_powl.S: Likewise.
42381         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42382         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42383         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42384         * sysdeps/i386/fpu/e_logl.S: Likewise.
42385         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42386         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42387         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42388         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42389         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42390         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42391         * sysdeps/i386/fpu/e_log.S: Likewise.
42392         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42393         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42394         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42395         * sysdeps/i386/fpu/e_logf.S: Likewise.
42396         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42397         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42398         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42399         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42400         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42401         * sysdeps/i386/fpu/e_log10.S: Likewise.
42402         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42403         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42404         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42405         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42406         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42407         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42408         * sysdeps/i386/asm-syntax.h: Likewise.
42409         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42410         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42411         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42412         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42413         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42414         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42415         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42416         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42417         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42418         * sysdeps/powerpc/sysdep.h: Likewise.
42419         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42420         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42421
42422 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42423
42424         [BZ #411]
42425         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42426
42427 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42428
42429         * sysdeps/i386/sysdep.h: Include <features.h>.
42430         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42431         version.
42432
42433 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42434
42435         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42436         Define.
42437         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42438         LOAD_PIC_REG_STR.
42439
42440 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42441
42442         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42443         (SETUP_PIC_REG): Use GET_PC_THUNK.
42444         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42445         macro.
42446
42447 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42448
42449         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42450         for non-PIC compilation.
42451         (SETUP_PIC_REG): Add .p2align directive.
42452         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42453         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42454         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42455         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42456         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42457         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42458         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42459         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42460         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42461         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42462         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42463         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42464         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42465         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42466         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42467         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42468         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42469         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42470         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42471         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42472         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42473         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42474         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42475         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42476         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42477         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42478         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42479         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42480         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42481         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42482         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42483         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42484         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42485         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42486         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42487         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42488         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42489         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42490         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42491         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42492         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42493
42494 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42495
42496         * math/tst-CMPLX.c: Include <stdio.h>.
42497
42498 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42499
42500         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42501         float.
42502         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42503         * sysdeps/sparc/bits/mathdef.h: Likewise.
42504
42505 2012-01-31  Marek Polacek  <polacek@redhat.com>
42506
42507         * libio/libio.h: Don't define _PARAMS.
42508         * locale/programs/config.h: Don't define PARAMS.
42509         * stdlib/strtol_l.c: Likewise.
42510         (__strtol_l): Remove PARAMS from the prototype.
42511
42512 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42513
42514         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42515         names.  Just use the correct names.  Remove unnecessary wrapper
42516         functions.
42517         * malloc/arena.c: Likewise.
42518         * malloc/hooks.c: Likewise.
42519
42520         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42521         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42522         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42523
42524 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42525
42526         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42527         into tail calls.
42528         (update_get_addr): New function.
42529         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42530         GET_ADDR_MODULE parameter.
42531
42532 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42533
42534         * crypt/cert.c: Remove __STDC__ conditionals.
42535         * crypt/crypt-entry.c: Likewise.
42536         * crypt/crypt_util.c: Likewise.
42537         * libio/filedoalloc.c: Likewise.
42538         * libio/fileops.c: Likewise.
42539         * libio/genops.c: Likewise.
42540         * libio/iofclose.c: Likewise.
42541         * libio/iofdopen.c: Likewise.
42542         * libio/iofopen.c: Likewise.
42543         * libio/iofopen64.c: Likewise.
42544         * libio/iogetdelim.c: Likewise.
42545         * libio/iopopen.c: Likewise.
42546         * libio/obprintf.c: Likewise.
42547         * libio/oldfileops.c: Likewise.
42548         * libio/oldiofclose.c: Likewise.
42549         * libio/oldiofdopen.c: Likewise.
42550         * libio/oldiofopen.c: Likewise.
42551         * libio/oldiopopen.c: Likewise.
42552         * libio/wfiledoalloc.c: Likewise.
42553         * libio/wgenops.c: Likewise.
42554         * locale/programs/xmalloc.c: Likewise.
42555         * misc/syslog.c: Likewise.
42556         * stdio-common/xbug.c: Likewise.
42557         * string/memchr.c: Likewise.
42558         * string/memcmp.c: Likewise.
42559         * string/memrchr.c: Likewise.
42560         * string/rawmemchr.c: Likewise.
42561         * sysdeps/posix/getcwd.c: Likewise.
42562         * time/strftime_l.c: Likewise.
42563
42564 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42565
42566         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42567         * config.make.in (config-cflags-sse2avx): Define.
42568         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42569         Fix typo.
42570
42571 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42572
42573         * scripts/config.guess: Update from upstream config git repository.
42574         * scripts/config.sub: Likewise.
42575
42576 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42577
42578         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42579         (EM_NUM): Update.
42580         (R_TILEPRO_*, R_TILEGX_*): New macros.
42581
42582         * scripts/firstversions.awk: Fix bug in version range handling.
42583
42584         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42585
42586         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42587
42588         * include/sys/epoll.h: New file.
42589         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42590         libc_hidden_def.
42591
42592 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42593
42594         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42595         Avoid unnecessary __WORDSIZE == 64 test.
42596         (fmaxf): Use VEX format if possible.
42597         (fmax): Likewise.
42598         (fminf): Likewise.
42599         (fmin): Likewise.
42600
42601         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42602         * math/math_private.h: Remove libc_fegetround* and
42603         libc_fesetround*.
42604         * sysdeps/i386/configure.in: Check for -msse2avx.
42605         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42606         also if SSE2AVX is defined.
42607         Remove libc_fegetround* and libc_fesetround*.
42608         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42609         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42610         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42611         of HAS_YMM_USABLE.
42612         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42613         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42614         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42615         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42616         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42617
42618         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42619
42620 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42621
42622         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42623         size is not set.
42624         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42625
42626 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42627
42628         [BZ #13618]
42629         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42630         relocation.
42631         * Makeconfig (libm): Define.
42632         * elf/Makefile: Add rules to build and run tst-relsort1.
42633         * elf/tst-relsort1.c: New file.
42634         * elf/tst-relsort1mod1.c: New file.
42635         * elf/tst-relsort1mod2.c: New file.
42636
42637 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42638
42639         * math/s_ldexp.c: Remove __STDC__ conditionals.
42640         * math/s_ldexpf.c: Likewise.
42641         * math/s_ldexpl.c: Likewise.
42642         * math/s_nextafter.c: Likewise.
42643         * math/s_nexttowardf.c: Likewise.
42644         * math/s_significand.c: Likewise.
42645         * math/s_significandf.c: Likewise.
42646         * math/s_significandl.c: Likewise.
42647         * math/w_jnl.c: Likewise.
42648         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42649         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42650         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42651         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42652         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42653         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42654         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42655         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42656         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42657         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42658         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42659         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42660         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42661         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42662         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42663         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42664         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42665         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42666         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42667         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42668         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42669         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42670         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42671         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42672         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42673         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42674         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42675         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42676         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42677         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42678         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42679         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42680         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42681         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42682         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42683         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42684         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42685         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42686         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42687         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42688         * sysdeps/ieee754/k_standard.c: Likewise.
42689         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42690         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42691         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42692         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42693         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42694         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42695         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42696         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42697         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42698         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42699         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42700         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42701         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42702         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42703         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42704         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42705         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42706         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42707         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42708         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42709         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42710         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42711         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42712         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42713         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42714         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42715         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42716         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42717         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42718         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42719         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42720         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42721         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42722         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42723         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42724         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42725         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42726         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42727         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42728         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42729         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42730         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42731         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42732         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42733         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42734         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42735         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42736         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42737         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42738         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42739         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42740         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42741         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42742         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42743         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42744         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42745         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42746         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42747         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42748         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42749         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42750         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42751         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42752         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42753         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42754         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42755         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42756         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42757         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42758         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42759         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42760         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42761         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42762         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42763         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42764         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42765         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42766         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42767         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42768         * sysdeps/ieee754/s_matherr.c: Likewise.
42769         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42770         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42771         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42772         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42773
42774 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42775
42776         * crypt/md5.h: Remove __STDC__ conditionals.
42777         * libio/libioP.h: Likewise.
42778         * locale/programs/config.h: Likewise.
42779         * sysdeps/generic/sysdep.h: Likewise.
42780         * sysdeps/i386/asm-syntax.h: Likewise.
42781         * sysdeps/s390/asm-syntax.h: Likewise.
42782         * sysdeps/unix/sysdep.h: Likewise.
42783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42785
42786 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42787
42788         * libio/libio.h: Remove __STDC__ conditionals.
42789         * malloc/obstack.h: Likewise.
42790         * math/complex.h: Likewise.
42791         * math/math.h: Likewise.
42792         * sysdeps/generic/_G_config.h: Likewise.
42793         * sysdeps/gnu/_G_config.h: Likewise.
42794         * sysdeps/mach/hurd/_G_config.h: Likewise.
42795         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42796         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42797         * sysdeps/sparc/bits/mathdef.h: Likewise.
42798
42799 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42800
42801         [BZ #13583]
42802         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42803         Clean up HAS_* macros.
42804         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42805         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42806         possible.
42807         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42808         HAS_AVX.
42809         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42810         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42811         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42812         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42813         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42814
42815 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42816
42817         * elf/tst-unique3.cc (gets): Remove declaration.
42818         * elf/tst-unique3lib.cc (gets): Likewise.
42819         * elf/tst-unique3lib2.cc (gets): Likewise.
42820         * elf/tst-unique4.cc (gets): Likewise.
42821
42822 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42823
42824         * include/stdio.h: Add C++ protection.  Add gets declarations and
42825         definitions.
42826         * debug/tst-chk1.c: Don't declare gets here.
42827         * stdio-common/tst-gets.c: Likewise.
42828
42829 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42830
42831         * posix/glob: Remove directory.
42832
42833 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42834
42835         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42836
42837 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42838
42839         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42840         of the non-standard EPFNOSUPPORT.
42841
42842 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42843
42844         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42845         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42846         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42847
42848 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42849
42850         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42851
42852 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42853
42854         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42855         transient errors.
42856         * nscd/grpcache.c (cache_addgr): Likewise.
42857         * nscd/hstcache.c (cache_addhst): Likewise.
42858         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42859         * nscd/pwdcache.c (cache_addpw): Likewise.
42860         * nscd/servicescache.c (cache_addserv): Likewise.
42861
42862 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42863
42864         * malloc/malloc.c: Various cleanups.
42865         * malloc/hooks.c: Likewise.
42866
42867         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42868         * stdlib/bug-fmtmsg1.c: New file.
42869
42870         * stdlib/fmtmsg.c (init): Add missing unlock.
42871         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42872
42873 2012-01-12  Marek Polacek  <polacek@redhat.com>
42874
42875         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42876         and _GNU_SOURCE.
42877
42878 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42879
42880         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42881         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42882         macro to ensure uniqueness of label name.
42883         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42884         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42885
42886 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42887
42888         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42889
42890         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42891         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42892         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42893         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42894
42895 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42896
42897         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42898
42899         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42900         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42901         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42902
42903         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42904
42905         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42906         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42907         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42908         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42909
42910         * math/bits/math-finite.h: Add ldexp support.
42911
42912 2012-01-10  Marek Polacek  <polacek@redhat.com>
42913
42914         * locale/programs/localedef.h (show_archive_content): Add noreturn
42915         attribute.
42916
42917 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42918
42919         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42920
42921 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42922
42923         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42924
42925         * io/Makefile (headers): Add bits/poll2.h.
42926
42927 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42928
42929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42930         typo #include statement.
42931
42932 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42933
42934         * include/sys/cdefs.h: Define __attribute_alloc_size.
42935         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42936         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42937         * elf/pldd.c: Likewise.
42938         * iconv/iconv_charmap.c: Likewise.
42939         * iconv/iconvconfig.c: Likewise.
42940         * iconv/strtab.c: Likewise.
42941         * locale/programs/locale.c: Likewise.
42942         * locale/programs/localedef.h: Likewise.
42943         * locale/programs/simple-hash.c: Likewise.
42944         * nscd/nscd.h: Likewise.
42945         * nss/makedb.c: Likewise.
42946         * sysdeps/generic/ldconfig.h: Likewise.
42947         * locale/programs/localedef.c: Remove xmalloc prototype.
42948         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42949
42950 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42951
42952         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42953         appropriate.
42954
42955 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42956
42957         * math/Makefile (tests): Add tst-CMPLX.
42958         * math/tst-CMPLX.c: New file.
42959
42960         * math/complex.h (CMPLXL): Fix typo.
42961
42962         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42963         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42964         GLIBC_2.16.
42965         * debug/tst-chk1.c: Add poll and ppoll tests.
42966         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42967         * include/sys/poll.h: Add hidden proto for ppoll.
42968         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42969         * sysdeps/mach/hurd/ppoll.c: Likewise.
42970         * io/ppoll.c: Likewise.
42971         * debug/poll_chk.c: New file.
42972         * debug/ppoll_chk.c: New file.
42973         * include/bits/poll2.h: New file.
42974         * io/bits/poll2.h: New file.
42975
42976         [BZ #1350]
42977         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42978
42979         * configure.in: static is always set to yes.  Remove.
42980         * config.make.in: Don't set build-static.
42981         * Makeconfig: Remove use of build-static.
42982         * dlfcn/Makefile: Likewise.
42983         * elf/Makefile: Likewise.
42984         * math/Makefile: Likewise.
42985         * misc/Makefile: Likewise.
42986         * nptl/Makefile: Likewise.
42987         * sysdeps/mach/hurd/Makefile: Likewise.
42988
42989         * configure.in: PWD_P is not used anymore.
42990         * config.make.in: Remove PWD_P entry.
42991
42992         * configure.in: Remove last remnants of RANLIB.
42993         No need to check for signed size_t anymore.
42994         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42995         and IA-64.
42996         Remove __builtin_expect test because we require at least gcc 3.4.
42997         * aclocal.m4: Likewise.
42998
42999         * wcsmbs/mbrtoc16.c: Implement using towc function.
43000         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43001         * wcsmbs/wcsmbsload.c: Likewise.
43002         * iconv/gconv_simple.c: Likewise.
43003         * iconv/gconv_int.h: Likewise.
43004         * iconv/gconv_builtin.h: Likewise.
43005         * iconv/iconv_prog.c: Remove CHAR16 handling.
43006
43007         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43008
43009         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43010
43011         * configure.in: Remove --with-elf and --enable-bounded options.
43012         Dont set base_machine for ia64.  More non-ELF conditions removed.
43013         Remove testing and setting of leading underscore information.
43014         * config.make.in (build-bounded): Set to no.
43015         * config.h.in: Remove NO_UNDERSCORES entry.
43016         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43017         them.
43018         * csu/start.c: Remove !NO_UNDERSCORE code.
43019         * locale/localeinfo.h: Likewise.
43020         * sysdeps/generic/machine-gmon.h: Likewise.
43021         * sysdeps/generic/sysdep.h: Likewise.
43022         * sysdeps/i386/sysdep.h: Likewise.
43023         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43024         * sysdeps/mach/sysdep.h: Likewise.
43025         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43026         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43027         * sysdeps/sh/sysdep.h: Likewise.
43028         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43029         * sysdeps/unix/i386/sysdep.S: Likewise.
43030         * sysdeps/unix/sparc/start.c: Likewise.
43031         * sysdeps/unix/sparc/sysdep.S: Likewise.
43032         * sysdeps/unix/sparc/sysdep.h: Likewise.
43033         * sysdeps/unix/start.c: Likewise.
43034         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43035         * sysdeps/x86_64/sysdep.h: Likewise.
43036
43037 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43038
43039         [BZ #13553]
43040         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43041         for non-gcc.
43042         * argp/argp-fmtstream.h: Use const instead __const.
43043         * argp/argp.h: Likewise.
43044         * assert/assert.h: Likewise.
43045         * bits/fenv.h: Likewise.
43046         * bits/sched.h: Likewise.
43047         * bits/sigset.h: Likewise.
43048         * bits/sigthread.h: Likewise.
43049         * catgets/nl_types.h: Likewise.
43050         * conform/data/pthread.h-data: Likewise.
43051         * crypt/crypt-private.h: Likewise.
43052         * crypt/crypt.h: Likewise.
43053         * crypt/crypt_util.c: Likewise.
43054         * ctype/ctype.h: Likewise.
43055         * debug/execinfo.h: Likewise.
43056         * debug/mbsnrtowcs_chk.c: Likewise.
43057         * debug/mbsrtowcs_chk.c: Likewise.
43058         * debug/wcsnrtombs_chk.c: Likewise.
43059         * debug/wcsrtombs_chk.c: Likewise.
43060         * debug/wcstombs_chk.c: Likewise.
43061         * dirent/dirent.h: Likewise.
43062         * dlfcn/dlfcn.h: Likewise.
43063         * elf/neededtest4.c: Likewise.
43064         * grp/grp.h: Likewise.
43065         * gshadow/gshadow.h: Likewise.
43066         * iconv/gconv.h: Likewise.
43067         * iconv/gconv_int.h: Likewise.
43068         * iconv/gconv_simple.c: Likewise.
43069         * iconv/iconv.h: Likewise.
43070         * iconv/loop.c: Likewise.
43071         * iconv/skeleton.c: Likewise.
43072         * include/aio.h: Likewise.
43073         * include/aliases.h: Likewise.
43074         * include/argz.h: Likewise.
43075         * include/arpa/inet.h: Likewise.
43076         * include/assert.h: Likewise.
43077         * include/dirent.h: Likewise.
43078         * include/dlfcn.h: Likewise.
43079         * include/execinfo.h: Likewise.
43080         * include/fcntl.h: Likewise.
43081         * include/fenv.h: Likewise.
43082         * include/glob.h: Likewise.
43083         * include/grp.h: Likewise.
43084         * include/libintl.h: Likewise.
43085         * include/mntent.h: Likewise.
43086         * include/netdb.h: Likewise.
43087         * include/pwd.h: Likewise.
43088         * include/rpc/netdb.h: Likewise.
43089         * include/sched.h: Likewise.
43090         * include/search.h: Likewise.
43091         * include/shadow.h: Likewise.
43092         * include/signal.h: Likewise.
43093         * include/stdio.h: Likewise.
43094         * include/stdlib.h: Likewise.
43095         * include/string.h: Likewise.
43096         * include/sys/socket.h: Likewise.
43097         * include/sys/stat.h: Likewise.
43098         * include/sys/statfs.h: Likewise.
43099         * include/sys/statvfs.h: Likewise.
43100         * include/sys/syslog.h: Likewise.
43101         * include/sys/time.h: Likewise.
43102         * include/sys/uio.h: Likewise.
43103         * include/time.h: Likewise.
43104         * include/unistd.h: Likewise.
43105         * include/utmp.h: Likewise.
43106         * include/wchar.h: Likewise.
43107         * include/wctype.h: Likewise.
43108         * inet/aliases.h: Likewise.
43109         * inet/arpa/inet.h: Likewise.
43110         * inet/netinet/ether.h: Likewise.
43111         * inet/netinet/in.h: Likewise.
43112         * intl/libintl.h: Likewise.
43113         * io/bits/fcntl2.h: Likewise.
43114         * io/fcntl.h: Likewise.
43115         * io/ftw.h: Likewise.
43116         * io/sys/poll.h: Likewise.
43117         * io/sys/stat.h: Likewise.
43118         * io/sys/statfs.h: Likewise.
43119         * io/sys/statvfs.h: Likewise.
43120         * io/utime.h: Likewise.
43121         * libio/bits/stdio.h: Likewise.
43122         * libio/bits/stdio2.h: Likewise.
43123         * libio/libio.h: Likewise.
43124         * libio/libioP.h: Likewise.
43125         * libio/stdio.h: Likewise.
43126         * locale/lc-ctype.c: Likewise.
43127         * locale/locale.h: Likewise.
43128         * login/utmp.h: Likewise.
43129         * malloc/arena.c: Likewise.
43130         * malloc/malloc.c: Likewise.
43131         * malloc/malloc.h: Likewise.
43132         * malloc/mcheck.c: Likewise.
43133         * malloc/mtrace.c: Likewise.
43134         * math/bits/mathcalls.h: Likewise.
43135         * math/fenv.h: Likewise.
43136         * math/math_private.h: Likewise.
43137         * misc/bits/error.h: Likewise.
43138         * misc/bits/syslog.h: Likewise.
43139         * misc/err.h: Likewise.
43140         * misc/error.h: Likewise.
43141         * misc/fstab.h: Likewise.
43142         * misc/mntent.h: Likewise.
43143         * misc/regexp.h: Likewise.
43144         * misc/search.h: Likewise.
43145         * misc/sgtty.h: Likewise.
43146         * misc/sys/mman.h: Likewise.
43147         * misc/sys/syslog.h: Likewise.
43148         * misc/sys/uio.h: Likewise.
43149         * misc/sys/xattr.h: Likewise.
43150         * misc/ttyent.h: Likewise.
43151         * nis/rpcsvc/ypclnt.h: Likewise.
43152         * nss/nss.h: Likewise.
43153         * posix/bits/unistd.h: Likewise.
43154         * posix/fnmatch.h: Likewise.
43155         * posix/glob.h: Likewise.
43156         * posix/sched.h: Likewise.
43157         * posix/spawn.h: Likewise.
43158         * posix/sys/wait.h: Likewise.
43159         * posix/unistd.h: Likewise.
43160         * posix/wordexp.h: Likewise.
43161         * pwd/pwd.h: Likewise.
43162         * resolv/netdb.h: Likewise.
43163         * resource/sys/resource.h: Likewise.
43164         * rt/aio.h: Likewise.
43165         * rt/bits/mqueue2.h: Likewise.
43166         * rt/mqueue.h: Likewise.
43167         * shadow/shadow.h: Likewise.
43168         * signal/signal.h: Likewise.
43169         * socket/send.c: Likewise.
43170         * socket/sendto.c: Likewise.
43171         * socket/sys/socket.h: Likewise.
43172         * stdio-common/printf.h: Likewise.
43173         * stdlib/bits/stdlib.h: Likewise.
43174         * stdlib/fmtmsg.h: Likewise.
43175         * stdlib/monetary.h: Likewise.
43176         * stdlib/stdlib.h: Likewise.
43177         * stdlib/ucontext.h: Likewise.
43178         * streams/stropts.h: Likewise.
43179         * string/argz.h: Likewise.
43180         * string/bits/string2.h: Likewise.
43181         * string/string.h: Likewise.
43182         * string/strings.h: Likewise.
43183         * sunrpc/rpc/auth.h: Likewise.
43184         * sunrpc/rpc/auth_des.h: Likewise.
43185         * sunrpc/rpc/clnt.h: Likewise.
43186         * sunrpc/rpc/netdb.h: Likewise.
43187         * sunrpc/rpc/pmap_clnt.h: Likewise.
43188         * sunrpc/rpc/xdr.h: Likewise.
43189         * sysdeps/generic/inttypes.h: Likewise.
43190         * sysdeps/generic/net/if.h: Likewise.
43191         * sysdeps/generic/sys/swap.h: Likewise.
43192         * sysdeps/gnu/net/if.h: Likewise.
43193         * sysdeps/gnu/utmpx.h: Likewise.
43194         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43195         * sysdeps/i386/i486/bits/string.h: Likewise.
43196         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43197         * sysdeps/s390/bits/string.h: Likewise.
43198         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43199         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43200         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43201         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43202         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43203         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43204         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43205         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43206         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43207         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43208         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43209         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43210         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43211         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43212         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43213         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43214         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43215         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43216         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43217         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43218         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43219         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43220         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43221         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43222         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43223         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43224         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43225         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43226         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43227         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43228         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43229         * sysvipc/sys/ipc.h: Likewise.
43230         * sysvipc/sys/msg.h: Likewise.
43231         * sysvipc/sys/sem.h: Likewise.
43232         * sysvipc/sys/shm.h: Likewise.
43233         * termios/termios.h: Likewise.
43234         * time/sys/time.h: Likewise.
43235         * time/time.h: Likewise.
43236         * wcsmbs/bits/wchar2.h: Likewise.
43237         * wcsmbs/uchar.h: Likewise.
43238         * wcsmbs/wchar.h: Likewise.
43239         * wctype/wctype.h: Likewise.
43240
43241         [BZ #13551]
43242         * Makeconfig: Remove all but ELF support including AIX support.
43243         * Makerules: Likewise.
43244         * config.h.in: Likewise.
43245         * config.make.in: Likewise.
43246         * configure: Likewise.
43247         * configure.in: Likewise.
43248         * csu/Makefile: Likewise.
43249         * csu/version.c: Likewise.
43250         * debug/Makefile: Likewise.
43251         * dlfcn/Makefile: Likewise.
43252         * elf/Makefile: Likewise.
43253         * extra-lib.mk: Likewise.
43254         * iconv/Makefile: Likewise.
43255         * include/libc-symbols.h: Likewise.
43256         * include/shlib-compat.h: Likewise.
43257         * resolv/Makefile: Likewise.
43258         * resolv/res_libc.c: Likewise.
43259         * rt/Makefile: Likewise.
43260         * sysdeps/i386/asm-syntax.h: Likewise.
43261         * sysdeps/i386/sysdep.h: Likewise.
43262         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43263         * sysdeps/mach/sysdep.h: Likewise.
43264         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43265         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43266         * sysdeps/s390/asm-syntax.h: Likewise.
43267         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43268         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43269         * sysdeps/sh/sysdep.h: Likewise.
43270         * sysdeps/unix/sparc/sysdep.h: Likewise.
43271         * sysdeps/wordsize-32/divdi3.c: Likewise.
43272         * sysdeps/x86_64/sysdep.h: Likewise.
43273
43274         * argp/Versions: Remove _argp_unlock_xxx.
43275
43276         [BZ #13559]
43277         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43278         * abilist/libBrokenLocale.abilist: Likewise.
43279         * abilist/libanl.abilist: Likewise.
43280         * abilist/libc.abilist: Likewise.
43281         * abilist/libcrypt.abilist: Likewise.
43282         * abilist/libdl.abilist: Likewise.
43283         * abilist/libm.abilist: Likewise.
43284         * abilist/libnsl.abilist: Likewise.
43285         * abilist/libpthread.abilist: Likewise.
43286         * abilist/libresolv.abilist: Likewise.
43287         * abilist/librt.abilist: Likewise.
43288         * abilist/libthread_db.abilist: Likewise.
43289         * abilist/libutil.abilist: Likewise.
43290         * abilist/libnss_db.abilist: New file.
43291
43292         * scripts/abilist.awk: Add support for indirect functions.
43293
43294         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43295
43296         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43297
43298         * shlib-versions: Remove entries for ports architectures.
43299
43300         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43301         files in ports.
43302         * elf/stackguard-macros.h: Remove support for IA-64.
43303         * elf/tst-auditmod1.c: Likewise.
43304         * sysdeps/generic/ldsodefs.h: Likewise.
43305
43306         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43307         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43308         configure files.
43309
43310         [BZ #13552]
43311         * configure.in: Remove --enable-omitfp support.
43312         * FAQ.in: Adjust.
43313         * config.make.in: Likewise.
43314         * Makeconfig: Likewise.
43315         * manual/install.texi: Likewise.
43316
43317         In case anyone cares, the IA-64 architecture could move to ports.
43318         * sysdeps/ia64/*: Removed.
43319         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43320         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43321
43322         [BZ #13555]
43323         * configure.in: Remove entries for unsupported architectures.
43324
43325         [BZ #13533]
43326         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43327         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43328         routines.
43329         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43330         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43331         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43332         fall back to using wcrtomb.
43333         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43334         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43335         renaming.
43336         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43337         * wcsmbs/tst-c16c32-1.c: New file.
43338
43339         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43340         local variable.
43341
43342         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43343
43344         * elf/tst-unique3.cc: Add explicit declaration of gets.
43345         * elf/tst-unique3lib.cc: Likewise.
43346         * elf/tst-unique3lib2.cc: Likewise.
43347         * elf/tst-unique4.cc: Likewise.
43348
43349         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43350
43351 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43352
43353         [BZ #13566]
43354         * assert/assert.h (static_assert): Don't define for C++.
43355         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43356         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43357
43358 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43359
43360         * iconv/loop.c (single loop): Fix assertion in storing of
43361         remaining bytes.
43362
43363         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43364
43365 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43366
43367         * posix/getconf.c: Update copyright year.
43368         * nss/getent.c: Likewise.
43369         * nss/makedb.c: Likewise.
43370         * iconv/iconvconfig.c: Likewise.
43371         * iconv/iconv_prog.c: Likewise.
43372         * elf/ldconfig.c: Likewise.
43373         * elf/pldd.c: Likewise.
43374         * elf/sotruss.ksh: Likewise.
43375         * catgets/gencat.c: Likewise.
43376         * csu/version.c: Likewise.
43377         * elf/ldd.bash.in: Likewise.
43378         * elf/sprof.c (print_version): Likewise.
43379         * locale/programs/locale.c: Likewise.
43380         * locale/programs/localedef.c: Likewise.
43381         * login/programs/pt_chown.c: Likewise.
43382         * nscd/nscd.c (print_version): Likewise.
43383         * debug/xtrace.sh: Likewise.
43384         * malloc/memusage.sh: Likewise.
43385         * malloc/mtrace.pl: Likewise.
43386         * debug/catchsegv.sh: Likewise.
43387
43388 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43389
43390         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43391         pure attribute.
43392
43393 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43394
43395         [BZ #13533]
43396         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43397         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43398         transformations.
43399         * iconv/gconv_int.h: Likewise.
43400         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43401         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43402         from libc for GLIBC_2.16.
43403         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43404         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43405         * wcsmbs/uchar.h: Really define mbstate_t.
43406         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43407         * wcsmbs/c16rtomb.c: New file.
43408         * wcsmbs/mbrtoc16.c: New file.
43409         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43410         for C/POSIX locale.
43411         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43412         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43413
43414         * wcsmbs/wchar.h: Add missing __restrict.
43415
43416 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43417
43418         [BZ #13532]
43419         * time/Makefile (routines): Add timespec_get.
43420         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43421         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43422         timespec for ISO C11.
43423         * time/timespec_get.c: New file.
43424         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43425         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43426
43427         [BZ #13531]
43428         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43429         * stdlib/stdlib.h: Declare aligned_alloc.
43430         * Versions.def: Add GLIBC_2.16 for libc.
43431         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43432
43433         [BZ 13527]
43434         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43435         ISO C11.
43436
43437         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43438         code.
43439
43440         [BZ #13528]
43441         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43442
43443         [BZ #13529]
43444         * assert/assert.h (static_assert): Define.
43445
43446         * version.h: Update for 2.16 development version.
43447
43448         [BZ #13526]
43449         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43450         _ISOC11_SOURCE.
43451
43452         * version.h (RELEASE): Bump for 2.15 release.
43453         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43454
43455         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43456         Patch by Marek Polacek <mpolacek@redhat.com>.
43457
43458         * bits/byteswap.h: Protect long long constants with __extension__.
43459         * sysdeps/i386/bits/byteswap.h: Likewise.
43460         * sysdeps/ia64/bits/byteswap.h: Likewise.
43461         * sysdeps/s390/bits/byteswap.h: Likewise.
43462         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43463
43464 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43465
43466         [BZ #13540]
43467         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43468         destination buffer.
43469         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43470
43471 2011-12-23  Marek Polacek  <polacek@redhat.com>
43472
43473         * elf/dl-addr.c (determine_info): Add inline keyword.
43474         * elf/tst-auditmod4b.c (check_avx): Likewise.
43475         * elf/tst-auditmod6b.c (check_avx): Likewise.
43476         * elf/tst-auditmod6c.c (check_avx): Likewise.
43477         * elf/tst-auditmod7b.c (check_avx): Likewise.
43478
43479 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43480
43481         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43482         !__SSE_MATH__.
43483
43484 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43485
43486         [BZ #13540]
43487         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43488         processing for last bytes.
43489
43490 2011-08-06  Bruno Haible  <bruno@clisp.org>
43491
43492         [BZ #13061]
43493         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43494         U+0385, not to U+1FEE.
43495
43496         [BZ #13062]
43497         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43498         entry for U+00A5 U+0301.
43499
43500 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43501
43502         [BZ #13166]
43503         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43504         buffer for the output is too small.
43505
43506         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43507         optimization.
43508
43509         [BZ #13185]
43510         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43511         SSE flags if possible.
43512
43513 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43514
43515         [BZ #13540]
43516         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43517         processing for last bytes.
43518
43519 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43520
43521         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43522         (syscall-list-default-options, syscall-list-default-condition)
43523         (syscall-list-includes): Define.
43524         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43525         list of ABIs and options and #if conditions for each ABI.  Do not
43526         handle common syscalls between ABIs specially.
43527         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43528         Remove.
43529         (syscall-list-variants, syscall-list-32bit-options)
43530         (syscall-list-32bit-condition, syscall-list-64bit-options)
43531         (syscall-list-64bit-condition): Define.
43532         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43533         (syscall-list-variants, syscall-list-32bit-options)
43534         (syscall-list-32bit-condition, syscall-list-64bit-options)
43535         (syscall-list-64bit-condition): Define.
43536         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43537         Remove.
43538         (syscall-list-variants, syscall-list-32bit-options)
43539         (syscall-list-32bit-condition, syscall-list-64bit-options)
43540         (syscall-list-64bit-condition): Define.
43541         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43542         Remove.
43543         (syscall-list-variants, syscall-list-32bit-options)
43544         (syscall-list-32bit-condition, syscall-list-64bit-options)
43545         (syscall-list-64bit-condition): Define.
43546
43547 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43548
43549         * locale/iso-639.def: Add brx entry.
43550
43551         [BZ #13328]
43552         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43553         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43554
43555         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43556         __feraiseexcept_renamed.
43557
43558 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43559
43560         [BZ #13538]
43561         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43562         EPOLLET with unsigned values.
43563         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43564         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43565
43566         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43567         to large cancellation.
43568         * math/s_cacoshf.c: Likewise.
43569         * math/s_cacoshl.c: Likewise.
43570
43571 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43572
43573         [BZ #13305]
43574         [BZ #12786]
43575         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43576         * math/s_cacoshf.c: Likewise.
43577         * math/s_cacoshl.c: Likewise.
43578
43579 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43580
43581         [BZ #13439]
43582         * iconv/gconv.h: Define __GCONV_SWAP.
43583         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43584         * iconvdata/utf-16.c: Likewise.
43585         * iconvdata/utf-32.c: Likewise.
43586
43587 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43588
43589         [BZ #13524]
43590         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43591         numerator after shifting it by one limb.
43592
43593 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43594
43595         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43596         under [__USE_EXTERN_INLINES].
43597
43598 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43599
43600         [BZ #13446]
43601         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43602
43603 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43604
43605         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43606         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43607         optimized code.
43608         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43609         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43610         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43611         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43612         for strncasecmp/strncasecmp_l compilation.
43613         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43614         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43615
43616 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43617
43618         [BZ #13484]
43619         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43620         of __asm__.
43621
43622 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43623
43624         [BZ #13506]
43625         * time/tzfile.c (__tzfile_read): Check values from file header.
43626
43627 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43628
43629         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43630         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43631         * powerpc/powerpc32/dl-start.S: Likewise.
43632         * powerpc/powerpc32/elf/start.S: Likewise.
43633         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43634         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43635         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43636         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43637         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43638         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43639         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43640         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43641         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43642         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43643         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43644         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43645         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43646         * powerpc/powerpc32/memset.S: Likewise.
43647         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43648         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43649         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43650         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43651         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43652         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43653         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43654         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43655         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43656         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43657         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43658         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43659         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43660
43661 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43662
43663         * math/libm-test.inc: Added more nearbyint tests.
43664         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43665         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43666         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43667         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43668
43669 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43670
43671         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43672         FD_CLOEXEC.
43673
43674 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43675
43676         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43677         Add wcscpy-ssse3 wcscpy-c.
43678         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43679         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43680         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43681         * sysdeps/x86_64/wcschr.S: New file.
43682         * sysdeps/x86_64/wcsrchr.S: New file.
43683         * string/test-strcmp.c: Remove checking of wcscmp function for
43684         wrong alignments.
43685         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43686         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43687         wcsrchr-sse2 wcsrchr-c.
43688         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43689         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43690         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43691         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43692         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43693         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43694         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43695         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43696         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43697         * wcsmbc/wcschr.c (WCSCHR): New macro.
43698
43699 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43700
43701         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43702         * wcsmbs/test-wcsrchr.c: New file.
43703         * string/test-strrchr.c: Add wcsrchr support.
43704         (WIDE): New macro.
43705         * wcsmbs/test-wcscpy.c: New file.
43706         * string/test-strcpy.c: Add wcscpy support.
43707         (WIDE): New macro.
43708
43709 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43710
43711         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43712         the inner loop.
43713
43714 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43715
43716         [BZ #13472]
43717         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43718
43719 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43720
43721         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43722         Minor optimizations.
43723
43724         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43725         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43726         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43727
43728 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43729
43730         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43731         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43732         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43733         for gcc to avoid warnings.
43734         * inet/Makefile (tests): Add tst-checks.
43735         * inet/tst-checks.c: New file.
43736
43737         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43738         warning.
43739
43740         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43741         __wmemcmp_sse2.
43742
43743         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43744         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43745
43746         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43747
43748 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43749
43750         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43751         problem.
43752
43753         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43754
43755 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43756
43757         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43758         conditional on GCC version.
43759         (__arch_compare_and_exchange_val_8_acq)
43760         (__arch_compare_and_exchange_val_16_acq)
43761         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43762         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43763         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43764
43765 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43766
43767         * sysdeps/sh/backtrace.c: New file.
43768
43769 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43770
43771         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43772         parenthesis.
43773
43774 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43775
43776         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43777         falling back to utime.
43778
43779 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43780
43781         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43782         expectations for float.
43783
43784 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43785
43786         * locale/weight.h (findidx): Add parameter len.
43787         * locale/weightwc.h (findidx): Likewise.
43788         * posix/fnmatch_loop.c (FCT): Adjust caller.
43789         * posix/regcomp.c (build_equiv_class): Likewise.
43790         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43791         * posix/regexec.c (check_node_accept_bytes): Likewise.
43792         * string/strcoll_l.c (STRCOLL): Likewise.
43793         * string/strxfrm_l.c (STRXFRM): Likewise.
43794
43795 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43796
43797         * Makefile.in: Remove CVSOPT handling.
43798         * configure.in: Remove use of AC_REVISION.
43799         * iconvdata/Makefile (distribute): No need to filter out CVS.
43800         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43801         handling.
43802
43803 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43804
43805         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43806         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43807         [USE_AS_STRNCASECMP_L]: Likewise.
43808         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43809         NO_TLS_DIRECT_SEG_REFS.
43810         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43811         Fix argument offsets for non-PIC.
43812         [USE_AS_STRNCASECMP_L]: Likewise.
43813         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43814         NO_TLS_DIRECT_SEG_REFS.
43815
43816 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43817
43818         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43819         O_CLOEXEC.
43820         * locale/loadlocale.c (_nl_load_locale): Likewise.
43821
43822 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43823
43824         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43825         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43826         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43827         (SYSCALL_GETTIME): Set errno on error.
43828
43829         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43830         count references to noai6ai_cached.
43831
43832 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43833
43834         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43835
43836         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43837         FD_CLOEXEC for /proc/self/maps.
43838
43839         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43840         FD_CLOEXEC for /proc/meminfo.
43841
43842         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43843         gai.conf.
43844
43845         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43846         FD_CLOEXEC for given file.
43847
43848         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43849
43850         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43851         FD_CLOEXEC for /etc/hosts.
43852         (_gethtent): Likewise.
43853
43854         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43855
43856         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43857         cancellation and set FD_CLOEXEC for /etc/netgroup.
43858
43859         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43860         reading /etc/publickey.
43861
43862         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43863         allow cancellation when reading /etc/group.
43864
43865         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43866         cancellation.
43867         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43868
43869         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43870         when using data file.
43871
43872         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43873
43874         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43875         (write_nis_obj): Use "c" and "e" in fopen.
43876
43877         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43878
43879         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43880
43881         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43882
43883         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43884
43885         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43886         locale.alias.
43887
43888         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43889
43890         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43891
43892         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43893
43894         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43895         file parsing and set FD_CLOEXEC.
43896
43897 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43898
43899         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43900
43901 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43902
43903         * malloc/arena.c (arena_get2): Don't call reused_arena when
43904         _int_new_arena failed.
43905
43906 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43907
43908         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43909         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43910         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43911         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43912         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43913         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43914         to compile strcasecmp and strncasecmp.
43915         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43916         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43917
43918         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43919
43920 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43921
43922         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43923         locale-defines.sym to gen-as-const-headers.
43924         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43925         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43926         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43927         to compile strcasecmp and strncasecmp.
43928         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43929         strcasecmp_l and strncasecmp_l.
43930         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43931         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43932         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43933         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43934         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43935         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43936         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43937         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43938         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43939         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43940         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43941
43942 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43943
43944         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43945         result of SYSDEP_GETTIME_CPU to retval.
43946         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43947         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43948
43949         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43950         variable.
43951
43952         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43953         mantissa words.
43954         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43955
43956         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43957         from unused variable.
43958
43959         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43960         DWARF definitions.
43961         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43962         for assembling.
43963
43964         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43965         over namespaces.
43966
43967         * sunrpc/rpc_prot.c (rejected): Fix case value.
43968
43969         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43970         unsigned long long int to avoid warnings in shift.
43971
43972         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43973         of use of trans.
43974         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43975         variable tmp.
43976
43977         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43978         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43979         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43980
43981         * nis/nis_table.c (nis_list): Use variable of correct type for
43982         result of __follow_path call.
43983
43984 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43985
43986         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43987         of math functions ceil, trunc, floor, round, and sqrt, when
43988         avaliable on the platform.
43989         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43990         name clash.
43991         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43992         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43993         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43994
43995 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43996
43997         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43998         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43999
44000 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44001
44002         * include/unistd.h: Fix __readlink return type.
44003         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44004
44005 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44006
44007         * stdlib/ucontext.h: Undo last change for makecontext.
44008
44009 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44010
44011         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44012
44013         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44014         * setjmp/setjmp.h: Mark functions as non-leaf.
44015         * setjmp/bits/setjmp2.h: Likewise.
44016         * stdlib/ucontext.h: Likewise.
44017
44018 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44019
44020         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44021         (reused_arena): Don't check arena limit.
44022         (arena_get2): Atomically check arena limit.
44023
44024 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44025
44026         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44027         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44028
44029         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44030         instructions.
44031
44032 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44033
44034         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44035         handler when locking.
44036
44037         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44038         Fix size of allocated buffer.
44039
44040 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44041
44042         [BZ #10103]
44043         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44044         declarations for long double functions.
44045         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44046
44047         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44048
44049 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44050
44051         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44052         installed.
44053
44054         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44055         is disabled.
44056
44057 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44058
44059         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44060
44061 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44062
44063         * include/alloca.h (stackinfo_alloca_round): Define.
44064         (extend_alloca): Use it.
44065         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44066         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44067         here.
44068
44069         * scripts/check-local-headers.sh: Ignore libaudit.h.
44070
44071         * nscd/Makefile (extra-objs): Make recursively expanded.
44072
44073 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44074
44075         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44076         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44077
44078         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44079         * posix/tst-rfc3484-2.c: Likewise.
44080         * posix/tst-rfc3484-3.c: Likewise.
44081
44082         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44083         process_vm_writev.
44084         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44085         process_vm_writev.
44086         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44087         process_vm_writev from libc using GLIBC_2.15 version.
44088
44089         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44090
44091 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44092
44093         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44094         stack usage.
44095
44096 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44097
44098         [BZ #13367]
44099         * nss/getent.c (initgroups_keys): Show error message in case no group
44100         names are given.
44101
44102         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44103         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44104         __bump_nl_timestamp.
44105         * nscd/connections (nscd_init): When host database is served open
44106         netlink socket and request notification about configuration changes.
44107         (main_loop_poll): Track netlink file descriptor and bump timestamp
44108         in case data becomes available.
44109         (main_loop_epoll): Likewise.
44110         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44111         (database_pers_head): Add extra_data fileds.
44112         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44113         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44114         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44115         Adjust caller.
44116         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44117         in6ai data, call __free_in6ai.
44118         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44119         Add -DHAVE_NETLINK.
44120         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44121         interface information.  Reuse previous data if netlink timestamp
44122         is not changed.
44123         (__bump_nl_timestamp): New function.
44124         (__free_in6ai): New function.
44125
44126 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44127
44128         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44129         close_not_cancel_no_status here.
44130         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44131
44132 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44133
44134         [BZ #13276]
44135         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44136         return value.
44137
44138         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44139         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44140         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44141
44142 2011-07-03  Andreas Jaeger  <aj@suse.de>
44143
44144         [BZ #10709]
44145         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44146         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44147         * math/libm-test.inc (sin_test): Add test case.
44148
44149 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44150
44151         [BZ #13337]
44152         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44153         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44154
44155         * elf/chroot_canon.c (chroot_canon): Cleanups.
44156
44157         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44158
44159         [BZ #13335]
44160         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44161         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44162
44163         * string/test-strchr.c: Make usable for strchrnul testing.
44164         * string/test-strchrnul.c: New file.
44165         * string/Makefile (strop-tests): Add strchrnul.
44166
44167         * po/it.po: Update from translation team.
44168         * po/es.po: Likewise.
44169
44170 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44171
44172         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44173         the three constants needed as parameters.  Drop the others.
44174         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44175         __m128i_strloadu_tolower.
44176         Create and initialize variable zero and use it in all the places
44177         where _mm_setzero_si128 was used.
44178
44179         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44180         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44181         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44182         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44183         anymore.
44184         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44185         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44186         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44187         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44188         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44189         __mpranred, __mptan.
44190         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44191         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44192         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44193         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44194         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44195         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44196         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44197         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44198         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44199
44200 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44201
44202         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44203         redefine if SHARED.
44204         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44205
44206         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44207         wide char related routines to wcsmbs subdir.
44208
44209 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44210
44211         [BZ #13344]
44212         * misc/sys/cdefs.h (__THROWNL): Define.
44213         * posix/unistd.h: Use __THREADNL instead of __THREAD
44214         for memory synchronization functions.
44215
44216 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44217
44218         [BZ #13349]
44219         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44220         doesn't exist.
44221         * manual/stdio.texi (Obstack Streams): Node removed.
44222
44223 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44224
44225         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44226         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44227         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44228
44229         * math/math_private.h (math_force_eval): Allow non-addressable
44230         arguments.
44231         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44232
44233 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44234
44235         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44236         file is not needed.
44237
44238         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44239         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44240         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44241         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44242         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44243         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44244         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44245         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44246         Add AVX variants.
44247         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44248         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44249         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44250         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44251         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44252         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44253         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44254         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44255         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44256         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44257         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44258         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44259         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44260         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44261         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44262         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44263         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44264         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44265         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44266
44267         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44268         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44269
44270         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44271         place.  Use VEX encoding when compiling for AVX.
44272
44273 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44274
44275         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44276         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44277
44278         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44279
44280 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44281
44282         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44283         useless if() expression.
44284         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44285         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44286         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44287         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44288         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44289         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44290         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44291         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44292         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44293         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44294         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44295         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44296         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44297         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44298         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44299         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44300         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44301         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44302         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44303
44304         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44305
44306 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44307
44308         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44309         condition.
44310         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44311
44312 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44313
44314         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44315         .text section.  Avoid duplicate constants.
44316         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44317         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44318         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44319         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44320         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44321         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44322         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44323         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44324         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44325         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44326         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44327         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44328         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44329         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44330         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44331         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44332         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44333         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44334         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44335         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44336         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44337         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44338         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44339         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44340         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44341         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44342         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44343         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44344         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44345         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44346         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44347         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44348         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44349         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44350         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44351         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44352         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44353         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44354         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44355         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44356         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44357         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44358         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44359         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44360         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44361
44362 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44363
44364         * sysdeps/x86_64/dla.h: Move to ...
44365         * sysdeps/x86_64/fpu/dla.h: ...here.
44366         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44367         situations.  Use __builtin_fma only for gcc 4.6 and up.
44368
44369         * config.make.in: Add have-mfma4 entry.
44370         * configure.in: Substitute libc_cv_cc_fma4.
44371         * math/Makefile (dbl-only-routines): Add sincostab.
44372         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44373         Use __sincostab not sincos.
44374         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44375         name is a macro.
44376         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44377         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44378         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44379         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44380         using __copysign.
44381         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44382         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44383         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44384         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44385         and __inv.
44386         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44387         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44388         __copysign.
44389         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44390         define aliases when function name is a macro.
44391         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44392         sysdeps/ieee754/dbl-64/sincos.tbl.
44393         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44394         fma4-enabled routines.
44395         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44396         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44397         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44398         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44399         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44400         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44401         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44402         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44403         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44404         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44405         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44406         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44407         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44408         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44409         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44410         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44411         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44412         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44413         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44414         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44415         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44416         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44417         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44418         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44419         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44420         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44421         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44422         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44423         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44424         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44425
44426         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44427         rename.
44428         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44429         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44430         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44431         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44432         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44433         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44434         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44435         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44436
44437 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44438
44439         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44440
44441 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44442
44443         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44444
44445         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44446         prediction.
44447         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44448
44449         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44450         Remove unused variable magic_bits.
44451         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44452
44453         * string/strnlen.c: Define and use STRNLEN macro.
44454         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44455         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44456         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44457         * wcsmbs/wcslen.c: Define and use WCSLEN.
44458         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44459         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44460         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44461         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44462         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44463         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44464         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44465
44466 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44467
44468         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44469         strnlen-sse2-no-bsf.
44470         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44471         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44472         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44473         Add strnlen support.
44474         (USE_AS_STRNLEN): New macro.
44475         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44476         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44477         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44478         * sysdeps/x86_64/wcslen.S: New file.
44479
44480 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44481
44482         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44483         XMM-moves are used for copying on small sizes.
44484
44485 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44486
44487         * wcsmbs/Makefile (strop-tests): Add wcschr.
44488         * wcsmbs/test-wcschr.c: New file.
44489         * string/test-strchr.c: Update.
44490         Add wcschr support.
44491         (WIDE): New macro.
44492
44493 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44494
44495         * wcsmbs/Makefile (strop-tests): Add wcslen.
44496         * wcsmbs/test-wcslen.c: New file.
44497         * string/test-strlen.c: Update.
44498         Add wcslen support.
44499         (WIDE): New macro.
44500
44501 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44502
44503         * po/it.po: Update from translation team.
44504
44505 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44506
44507         * sysdeps/x86_64/wcscmp.S: Update.
44508         Fix wrong comparison semantics.
44509         wcscmp shall use signed comparison not unsigned.
44510         Don't use substraction to avoid overflow bug.
44511         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44512         * wcsmbc/wcscmp.c: Likewise.
44513         * string/test-strcmp.c: Likewise.
44514         Add new tests to check cases with negative values.
44515
44516 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44517
44518         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44519         * sysdeps/x86_64/dla.h: ...here.  New file.
44520         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44521         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44522         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44523         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44524         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44525         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44526         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44527         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44528         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44529
44530 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44531
44532         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44533         __ynl_finite aliases.
44534
44535 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44536
44537         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44538
44539         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44540         define DLA_FMA.
44541         [DLA_FMA] (EMULV): Use DLA_FMA.
44542         [DLA_FMA] (MUL12): Use EMULV.
44543         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44544         that are not needed.
44545         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44546         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44547         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44548         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44549         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44550         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44551         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44552
44553 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44554
44555         * math/s_nan.c: Undef __nan.
44556         * math/s_nanf.c: Undef __nanf.
44557         * math/s_nanl.c: Undef __nanl.
44558         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44559         "math_private.h".
44560
44561 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44562
44563         * math/s_catan.c: Add branch predictions.
44564         * math/s_catanf.c: Likewise.
44565         * math/s_catanh.c: Likewise.
44566         * math/s_catanhf.c: Likewise.
44567         * math/s_catanhl.c: Likewise.
44568         * math/s_catanl.c: Likewise.
44569         * math/s_cexp.c: Likewise.
44570         * math/s_cexpf.c: Likewise.
44571         * math/s_cexpl.c: Likewise.
44572         * math/s_clog.c: Likewise.
44573         * math/s_clog10.c: Likewise.
44574         * math/s_clog10f.c: Likewise.
44575         * math/s_clog10l.c: Likewise.
44576         * math/s_clogf.c: Likewise.
44577         * math/s_clogl.c: Likewise.
44578         * math/s_csqrt.c: Likewise.
44579         * math/s_csqrtf.c: Likewise.
44580         * math/s_csqrtl.c: Likewise.
44581         * math/s_ctanf.c: Likewise.
44582         * math/s_ctanh.c: Likewise.
44583         * math/s_ctanhf.c: Likewise.
44584         * math/s_ctanhl.c: Likewise.
44585         * math/s_ctanl.c: Likewise.
44586
44587         * math/math_private.h: Define __nan, __nanf, __nanl.
44588         * math/s_cacosh.c: Include <math_private.h>.
44589         * math/s_cacoshl.c: Likewise.
44590         * math/s_casinh.c: Likewise.
44591         * math/s_casinhf.c: Likewise.
44592         * math/s_casinhl.c: Likewise.
44593         * math/s_ccos.c: Rely entire on ccosh.
44594         * math/s_ccosf.c: Rely entire on ccoshf.
44595         * math/s_ccosl.c: Rely entirely on ccoshl.
44596         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44597         Remove tests for FE_INVALID.
44598         * math/s_ccoshf.c: Likewise.
44599         * math/s_ccoshl.c: Likewise.
44600         * math/s_csin.c: Likewise.
44601         * math/s_csinf.c: Likewise.
44602         * math/s_csinh.c Likewise.
44603         * math/s_csinhf.c: Likewise.
44604         * math/s_csinhl.c: Likewise.
44605         * math/s_csinl.c: Likewise.
44606         * math/s_ctan.c: Likewise.
44607         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44608         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44609         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44610
44611 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44612
44613         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44614         compilation problems.
44615
44616         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44617         __builtin_expect.
44618
44619 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44620
44621         * sysdeps/i386/configure.in: Test for -mfma4 option.
44622         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44623         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44624         COMMON_CPUID_INDEX_80000001.
44625         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44626         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44627         use it if FMA3 is not supported.
44628         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44629
44630         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44631         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44632
44633 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44634
44635         [BZ #12892]
44636         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44637         it would create a cycle with a link time dependency.
44638
44639 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44640
44641         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44642         instruction.
44643         * string/Makefile (strop-tests): Add rawmemchr.
44644         * string/test-rawmemchr.c: New file.
44645
44646         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44647         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44648         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44649         when compiling str{,n}casecmp and when AVX is available.  Hook up
44650         new optimized code in initializers.
44651
44652 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44653
44654         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44655         __feraiseexcept instead of feraiseexcept.
44656
44657 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44658
44659         * math/math_private.h: Define defaults for libc_fetestexcept and
44660         libc_feupdateenv.
44661         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44662         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44663         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44664         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44665         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44666         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44667         libc_fetestexcept and libc_feupdateenv.
44668
44669         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44670         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44671         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44672         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44673         libc_feholdexcept_setround.
44674
44675         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44676         Add s_nearbyint-c and s_nearbyintf-c.
44677         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44678         nearbyintf inlines.
44679         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44680         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44681         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44682         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44683
44684         * math/math_private.h: Define defaults for libc_fegetround,
44685         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44686         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44687         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44688         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44689         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44690         standard functions.
44691         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44692         Remove comments and hacks for old compiler versions.
44693         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44694         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44695         libc_feholdexceptl.
44696
44697 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44698
44699         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44700         (__feraiseexcept_renamed): Add __NTH.
44701         (feraiseexcept): Add __NTH.  Rename local variables to fix
44702         namespace violations.
44703
44704 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44705
44706         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44707
44708         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44709
44710         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44711         recently added interfaces.
44712         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44713
44714         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44715         about macro parameter expansion.
44716
44717         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44718         __NO_MATH_INLINES is defined.  Cleanups.
44719
44720         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44721         and __floorf is target has SSE4.1.
44722         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44723         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44724         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44725         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44726
44727         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44728         name.
44729         (floorf): Likewise.
44730
44731         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44732
44733 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44734
44735         * misc/sys/cdefs.h: Fix last change.
44736
44737         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44738         database lookup.
44739
44740 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44741
44742         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44743
44744         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44745         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44746         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44747         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44748         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44749         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44750         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44751         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44752         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44753         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44754         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44755         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44756         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44757         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44758         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44759         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44760         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44761         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44762         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44763         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44764         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44765         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44766
44767         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44768         ceil, ceilf, floor, floorf.
44769
44770         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44771         Perform IRELATIVE relocations last.
44772
44773         * elf/do-rel.h: Add another parameter nrelative, replacing the
44774         local variable with the same name.  Change name of the function
44775         to end in Rel or Rela (uppercase).
44776         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44777         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44778         elf_dynamic_do_##reloc function.
44779
44780 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44781
44782         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44783         is sufficient, at least on modern CPUs.
44784
44785         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44786
44787         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44788         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44789
44790         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44791         __expl_finite.
44792         * math/bits/math-finite.h: Add entries for exp.
44793         * math/e_expl.c: Add __*_finite alias.
44794         * sysdeps/i386/fpu/e_exp.S: Likewise.
44795         * sysdeps/i386/fpu/e_expf.S: Likewise.
44796         * sysdeps/i386/fpu/e_expl.c: Likewise.
44797         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44798         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44799         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44800         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44801         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44802         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44803         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44804
44805         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44806         is sufficient, at least on modern CPUs.
44807
44808         * ctype/ctype-info.c (__ctype_init): Define.
44809         * include/ctype.h (__ctype_init): Declare.
44810         (__ctype_b_loc): The variable is always initialized.
44811         (__ctype_toupper_loc): Likewise.
44812         (__ctype_tolower_loc): Likewise.
44813         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44814         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44815
44816 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44817
44818         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44819
44820         * configure.in: Also look in $cxxmachine/include for C++ system
44821         headers.
44822
44823 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44824
44825         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44826         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44827         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44828         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44829         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44830         (USE_AS_WMEMCMP): New macro.
44831         Fixing indents.
44832         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44833         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44834         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44835         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44836         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44837         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44838         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44839         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44840         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44841         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44842         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44843         (USE_AS_WMEMCMP): New macro.
44844         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44845         * sysdeps/string/test-memcmp.c: Update.
44846         Fix simple_wmemcmp.
44847         Add new tests.
44848         * wcsmbs/wmemcmp.c: Update.
44849         (WMEMCMP): New macro.
44850         Fix overflow bug.
44851
44852 2011-10-12  Andreas Jaeger  <aj@suse.de>
44853
44854         [BZ #13268]
44855         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44856
44857 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44858
44859         * libio/iofwide.c (do_length): Avoid warning.
44860
44861         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44862
44863 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44864
44865         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44866
44867         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44868         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44869         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44870         * sysdeps/i386/i686/fpu/e_log.S: New file.
44871         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44872         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44873
44874         * ctype/ctype.h: Add support for inlined isXXX functions when
44875         compiling C++ code.
44876
44877 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44878
44879         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44880
44881         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44882
44883 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44884
44885         [BZ #13291]
44886         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44887
44888 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44889
44890         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44891         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44892         feraiseexcept.
44893
44894         * sysdeps/x86_64/memrchr.S: Check for zero size.
44895
44896         * string/stratcliff.c: Add memrchr tests.
44897
44898 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44899
44900         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44901         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44902         rawmemchr-sse2 rawmemchr-sse2-bsf.
44903         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44904         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44905         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44906         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44907         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44908         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44909         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44910         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44911         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44912         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44913         * string/memrchr.c (MEMRCHR): New macro.
44914
44915 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44916
44917         Add integration with gcc's -ffinite-math-only and optimize wrapper
44918         functions in libm.
44919         * Versions.def: Define GLIBC_2.15 version for libm.
44920         * math/Makefile (headers): Add bits/math-finite.h.
44921         * math/bits/math-finite.h: New file.
44922         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44923         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44924         * math/e_acoshl.c: Add __*_finite alias.
44925         * math/e_acosl.c: Likewise.
44926         * math/e_asinl.c: Likewise.
44927         * math/e_atan2l.c: Likewise.
44928         * math/e_atanhl.c: Likewise.
44929         * math/e_coshl.c: Likewise.
44930         * math/e_exp10.c: Likewise.
44931         * math/e_exp10f.c: Likewise.
44932         * math/e_exp10l.c: Likewise.
44933         * math/e_exp2l.c: Likewise.
44934         * math/e_fmodl.c: Likewise.
44935         * math/e_gammal_r.c: Likewise.
44936         * math/e_hypotl.c: Likewise.
44937         * math/e_j0l.c: Likewise.
44938         * math/e_j1l.c: Likewise.
44939         * math/e_jnl.c: Likewise.
44940         * math/e_lgammal_r.c: Likewise.
44941         * math/e_log10l.c: Likewise.
44942         * math/e_log2l.c: Likewise.
44943         * math/e_logl.c: Likewise.
44944         * math/e_powl.c: Likewise.
44945         * math/e_sinhl.c: Likewise.
44946         * math/e_sqrtl.c: Likewise.
44947         * math/e_scalb.c: Completely rewritten and optimized.
44948         * math/e_scalbf.c: Likewise.
44949         * math/e_scalbl.c: Likewise.
44950         * math/w_acos.c: Likewise.
44951         * math/w_acosf.c: Likewise.
44952         * math/w_acosl.c: Likewise.
44953         * math/w_acosh.c: Likewise.
44954         * math/w_acoshf.c: Likewise.
44955         * math/w_acoshl.c: Likewise.
44956         * math/w_asin.c: Likewise.
44957         * math/w_asinf.c: Likewise.
44958         * math/w_asinl.c: Likewise.
44959         * math/w_atan2.c: Likewise.
44960         * math/w_atan2f.c: Likewise.
44961         * math/w_atan2l.c: Likewise.
44962         * math/w_atanh.c: Likewise.
44963         * math/w_atanhf.c: Likewise.
44964         * math/w_atanhl.c: Likewise.
44965         * math/w_exp10.c: Likewise.
44966         * math/w_exp10f.c: Likewise.
44967         * math/w_exp10l.c: Likewise.
44968         * math/w_fmod.c: Likewise.
44969         * math/w_fmodf.c: Likewise.
44970         * math/w_fmodl.c: Likewise.
44971         * math/w_j0.c: Likewise.
44972         * math/w_j0f.c: Likewise.
44973         * math/w_j0l.c: Likewise.
44974         * math/w_j1.c: Likewise.
44975         * math/w_j1f.c: Likewise.
44976         * math/w_j1l.c: Likewise.
44977         * math/w_jn.c: Likewise.
44978         * math/w_jnf.c: Likewise.
44979         * math/w_log.c: Likewise.
44980         * math/w_logf.c: Likewise.
44981         * math/w_logl.c: Likewise.
44982         * math/w_log10.c: Likewise.
44983         * math/w_log10f.c: Likewise.
44984         * math/w_log10l.c: Likewise.
44985         * math/w_log2.c: Likewise.
44986         * math/w_log2f.c: Likewise.
44987         * math/w_log2l.c: Likewise.
44988         * math/w_pow.c: Likewise.
44989         * math/w_powf.c: Likewise.
44990         * math/w_powl.c: Likewise.
44991         * math/w_remainder.c: Likewise.
44992         * math/w_remainderf.c: Likewise.
44993         * math/w_remainderl.c: Likewise.
44994         * math/w_scalb.c: Likewise.
44995         * math/w_scalbf.c: Likewise.
44996         * math/w_scalbl.c: Likewise.
44997         * math/w_sqrt.c: Likewise.
44998         * math/w_sqrtf.c: Likewise.
44999         * math/w_sqrtl.c: Likewise.
45000         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45001         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45002         used.
45003         * math/math_private.h: Declare __kernel_standard_f.
45004         * math/w_cosh.c: Remove cruft and optimize a bit.
45005         * math/w_coshf.c: Likewise.
45006         * math/w_coshl.c: Likewise.
45007         * math/w_exp2.c: Likewise.
45008         * math/w_exp2f.c: Likewise.
45009         * math/w_exp2l.c: Likewise.
45010         * math/w_hypot.c: Likewise.
45011         * math/w_hypotf.c: Likewise.
45012         * math/w_hypotl.c: Likewise.
45013         * math/w_lgamma.c: Likewise.
45014         * math/w_lgamma_r.c: Likewise.
45015         * math/w_lgammaf.c: Likewise.
45016         * math/w_lgammaf_r.c: Likewise.
45017         * math/w_lgammal.c: Likewise.
45018         * math/w_lgammal_r.c: Likewise.
45019         * math/w_sinh.c: Likewise.
45020         * math/w_sinhf.c: Likewise.
45021         * math/w_sinhl.c: Likewise.
45022         * math/w_tgamma.c: Likewise.
45023         * math/w_tgammaf.c: Likewise.
45024         * math/w_tgammal.c: Likewise.
45025         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45026         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45027         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45028         Minor optimizations.  Pretty printing.  Remove cruft.
45029         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45030         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45031         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45032         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45033         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45034         * sysdeps/i386/fpu/e_asin.S: Likewise.
45035         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45036         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45037         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45038         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45039         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45040         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45041         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45042         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45043         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45044         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45045         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45046         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45047         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45048         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45049         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45050         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45051         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45052         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45053         * sysdeps/i386/fpu/e_log.S: Likewise.
45054         * sysdeps/i386/fpu/e_log10.S: Likewise.
45055         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45056         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45057         * sysdeps/i386/fpu/e_log2.S: Likewise.
45058         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45059         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45060         * sysdeps/i386/fpu/e_logf.S: Likewise.
45061         * sysdeps/i386/fpu/e_logl.S: Likewise.
45062         * sysdeps/i386/fpu/e_pow.S: Likewise.
45063         * sysdeps/i386/fpu/e_powf.S: Likewise.
45064         * sysdeps/i386/fpu/e_powl.S: Likewise.
45065         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45066         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45067         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45068         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45069         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45070         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45071         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45072         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45073         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45074         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45075         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45076         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45077         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45078         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45079         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45080         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45081         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45082         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45083         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45084         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45085         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45086         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45087         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45088         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45089         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45090         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45091         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45092         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45093         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45094         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45095         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45096         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45097         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45098         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45099         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45100         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45101         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45102         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45103         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45104         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45105         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45106         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45107         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45108         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45109         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45110         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45111         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45112         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45113         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45114         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45115         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45116         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45117         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45118         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45119         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45120         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45121         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45122         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45123         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45124         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45125         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45126         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45127         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45128         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45129         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45130         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45131         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45132         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45133         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45134         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45135         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45136         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45137         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45138         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45139         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45140         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45141         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45142         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45143         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45144         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45145         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45146         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45147         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45148         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45149         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45150         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45151         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45152         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45153         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45154         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45155         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45156         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45157         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45158         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45159         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45160         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45161         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45162         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45163         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45164         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45165         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45166         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45167         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45168         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45169         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45170         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45171         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45172         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45173         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45174         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45175         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45176         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45177         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45178         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45179         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45180         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45181         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45182         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45183         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45184         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45185         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45186         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45187         (__isnanf): Likewise.
45188         (__isinf_ns): Likewise.
45189         (__isinf_nsf): Likewise.
45190         (__finite): Likewise.
45191         (__finitef): Likewise.
45192         (__ieee754_sqrt): Define as macro.
45193         (__ieee754_sqrtf): Define as macro.
45194         (__ieee754_sqrtl): Define as macro.
45195         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45196         inlined copy.
45197         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45198         __FINITE_MATH_ONLY__ consistent.
45199         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45200
45201 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45202
45203         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45204         of rawmemchr.
45205
45206         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45207
45208 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45209
45210         * po/ja.po: Update from translation team.
45211
45212 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45213
45214         * locale/programs/locarchive.c (prepare_address_space): New function.
45215         (create_archive, enlarge_archive, open_archive): Use it.
45216
45217         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45218         inside [SHARED], where it is used.
45219
45220         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45221
45222         * nss/getent.c (netgroup_keys): Remove unused variable.
45223         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45224
45225 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45226
45227         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45228         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45229         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45230         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45231         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45232         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45233         * math/Makefile (libm-calls): Add s_isinf_ns.
45234         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45235         * math/multc3.c: Likewise.
45236         * math/s_casin.c: Likewise.
45237         * math/s_casinf.c: Likewise.
45238         * math/s_casinl.c: Likewise.
45239         * math/s_ccos.c: Likewise.
45240         * math/s_ccosf.c: Likewise.
45241         * math/s_ccosl.c: Likewise.
45242         * math/s_ctan.c: Likewise.
45243         * math/s_ctanf.c: Likewise.
45244         * math/s_ctanh.c: Likewise.
45245         * math/s_ctanhf.c: Likewise.
45246         * math/s_ctanhl.c: Likewise.
45247         * math/s_ctanl.c: Likewise.
45248         * math/w_fmod.c: Likewise.
45249         * math/w_fmodf.c: Likewise.
45250         * math/w_fmodl.c: Likewise.
45251         * math/w_remainder.c: Likewise.
45252         * math/w_remainderf.c: Likewise.
45253         * math/w_remainderl.c: Likewise.
45254         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45255         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45256         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45257         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45258         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45259         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45260         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45261         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45262
45263         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45264         of the number.
45265         * stdio-common/printf_fphex.c: Likewise.
45266         * stdio-common/printf_size.c: Likewise.
45267
45268         * math/e_exp10.c: Include math_private.h using <...> not "...".
45269         * math/e_exp10f.c: Likewise.
45270         * math/e_exp10l.c: Likewise.
45271         * math/e_exp2l.c: Likewise.
45272         * math/e_j0l.c: Likewise.
45273         * math/e_j1l.c: Likewise.
45274         * math/e_jnl.c: Likewise.
45275         * math/e_lgammal_r.c: Likewise.
45276         * math/e_rem_pio2l.c: Likewise.
45277         * math/e_scalb.c: Likewise.
45278         * math/e_scalbf.c: Likewise.
45279         * math/e_scalbl.c: Likewise.
45280         * math/k_cosl.c: Likewise.
45281         * math/k_sinl.c: Likewise.
45282         * math/k_tanl.c: Likewise.
45283         * math/s_cacoshf.c: Likewise.
45284         * math/s_catan.c: Likewise.
45285         * math/s_catanf.c: Likewise.
45286         * math/s_catanh.c: Likewise.
45287         * math/s_catanhf.c: Likewise.
45288         * math/s_catanhl.c: Likewise.
45289         * math/s_catanl.c: Likewise.
45290         * math/s_ccosh.c: Likewise.
45291         * math/s_ccoshf.c: Likewise.
45292         * math/s_ccoshl.c: Likewise.
45293         * math/s_cexp.c: Likewise.
45294         * math/s_cexpf.c: Likewise.
45295         * math/s_cexpl.c: Likewise.
45296         * math/s_clog.c: Likewise.
45297         * math/s_clog10.c: Likewise.
45298         * math/s_clog10f.c: Likewise.
45299         * math/s_clog10l.c: Likewise.
45300         * math/s_clogf.c: Likewise.
45301         * math/s_clogl.c: Likewise.
45302         * math/s_csin.c: Likewise.
45303         * math/s_csinf.c: Likewise.
45304         * math/s_csinh.c: Likewise.
45305         * math/s_csinhf.c: Likewise.
45306         * math/s_csinhl.c: Likewise.
45307         * math/s_csinl.c: Likewise.
45308         * math/s_csqrt.c: Likewise.
45309         * math/s_csqrtf.c: Likewise.
45310         * math/s_csqrtl.c: Likewise.
45311         * math/s_ctan.c: Likewise.
45312         * math/s_ctanf.c: Likewise.
45313         * math/s_ctanh.c: Likewise.
45314         * math/s_ctanhf.c: Likewise.
45315         * math/s_ctanhl.c: Likewise.
45316         * math/s_ctanl.c: Likewise.
45317         * math/s_ldexp.c: Likewise.
45318         * math/s_ldexpf.c: Likewise.
45319         * math/s_ldexpl.c: Likewise.
45320         * math/s_significand.c: Likewise.
45321         * math/s_significandf.c: Likewise.
45322         * math/s_significandl.c: Likewise.
45323         * math/w_acos.c: Likewise.
45324         * math/w_acosf.c: Likewise.
45325         * math/w_acosh.c: Likewise.
45326         * math/w_acoshf.c: Likewise.
45327         * math/w_acoshl.c: Likewise.
45328         * math/w_acosl.c: Likewise.
45329         * math/w_asin.c: Likewise.
45330         * math/w_asinf.c: Likewise.
45331         * math/w_asinl.c: Likewise.
45332         * math/w_atan2.c: Likewise.
45333         * math/w_atan2f.c: Likewise.
45334         * math/w_atan2l.c: Likewise.
45335         * math/w_atanh.c: Likewise.
45336         * math/w_atanhf.c: Likewise.
45337         * math/w_atanhl.c: Likewise.
45338         * math/w_cosh.c: Likewise.
45339         * math/w_coshf.c: Likewise.
45340         * math/w_coshl.c: Likewise.
45341         * math/w_dremf.c: Likewise.
45342         * math/w_exp10.c: Likewise.
45343         * math/w_exp10f.c: Likewise.
45344         * math/w_exp10l.c: Likewise.
45345         * math/w_exp2.c: Likewise.
45346         * math/w_exp2f.c: Likewise.
45347         * math/w_fmod.c: Likewise.
45348         * math/w_fmodf.c: Likewise.
45349         * math/w_fmodl.c: Likewise.
45350         * math/w_hypot.c: Likewise.
45351         * math/w_hypotf.c: Likewise.
45352         * math/w_hypotl.c: Likewise.
45353         * math/w_j0.c: Likewise.
45354         * math/w_j0f.c: Likewise.
45355         * math/w_j0l.c: Likewise.
45356         * math/w_j1.c: Likewise.
45357         * math/w_j1f.c: Likewise.
45358         * math/w_j1l.c: Likewise.
45359         * math/w_jn.c: Likewise.
45360         * math/w_jnf.c: Likewise.
45361         * math/w_jnl.c: Likewise.
45362         * math/w_lgamma.c: Likewise.
45363         * math/w_lgamma_r.c: Likewise.
45364         * math/w_lgammaf.c: Likewise.
45365         * math/w_lgammaf_r.c: Likewise.
45366         * math/w_lgammal.c: Likewise.
45367         * math/w_lgammal_r.c: Likewise.
45368         * math/w_log.c: Likewise.
45369         * math/w_log10.c: Likewise.
45370         * math/w_log10f.c: Likewise.
45371         * math/w_log10l.c: Likewise.
45372         * math/w_log2.c: Likewise.
45373         * math/w_log2f.c: Likewise.
45374         * math/w_log2l.c: Likewise.
45375         * math/w_logf.c: Likewise.
45376         * math/w_logl.c: Likewise.
45377         * math/w_pow.c: Likewise.
45378         * math/w_powf.c: Likewise.
45379         * math/w_powl.c: Likewise.
45380         * math/w_remainder.c: Likewise.
45381         * math/w_remainderf.c: Likewise.
45382         * math/w_remainderl.c: Likewise.
45383         * math/w_scalb.c: Likewise.
45384         * math/w_scalbf.c: Likewise.
45385         * math/w_scalbl.c: Likewise.
45386         * math/w_sinh.c: Likewise.
45387         * math/w_sinhf.c: Likewise.
45388         * math/w_sinhl.c: Likewise.
45389         * math/w_sqrt.c: Likewise.
45390         * math/w_sqrtf.c: Likewise.
45391         * math/w_sqrtl.c: Likewise.
45392         * math/w_tgamma.c: Likewise.
45393         * math/w_tgammaf.c: Likewise.
45394         * math/w_tgammal.c: Likewise.
45395
45396         * po/ja.po: Update from translation team.
45397
45398 2011-09-29  Andreas Jaeger  <aj@suse.de>
45399
45400         [BZ #13179]
45401         * sunrpc/netname.c (netname2host): Fix logic.
45402
45403         [BZ #6779]
45404         [BZ #6783]
45405         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45406         correctly.
45407         * math/w_remainder.c (__remainder): Likewise.
45408         * math/w_remainderf.c (__remainderf): Likewise.
45409         * math/libm-test.inc (remainder_test): Add test cases.
45410
45411 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45412
45413         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45414         sdiv_qrnnd.
45415
45416 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45417
45418         * string/test-memcmp.c: Avoid unncessary #defines.
45419         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45420
45421 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45422
45423         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45424         Use new sse2 version for core i3 - i7 as it's faster
45425         than sse42 version.
45426         (bit_Prefer_PMINUB_for_stringop): New.
45427         * sysdeps/x86_64/rawmemchr.S: Update.
45428         Replace with faster SSE2 version.
45429         * sysdeps/x86_64/memrchr.S: New file.
45430         * sysdeps/x86_64/memchr.S: Update.
45431         Replace with faster SSE2 version.
45432
45433 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45434
45435         * elf/dl-load.c (lose): Add cast to avoid warning.
45436
45437 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45438
45439         * po/ca.po: Update from translation team.
45440
45441         * inet/getnetgrent_r.c: Hook up nscd.
45442         * nscd/Makefile (routines): Add nscd_netgroup.
45443         (nscd-modules): Add netgroupcache.
45444         (CFLAGS-netgroupcache.c): Define.
45445         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45446         (cache_search): Add const to second parameter.
45447         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45448         INNETGR.
45449         (dbs): Add netgrdb entry.
45450         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45451         (verify_persistent_db): Handle netgrdb.
45452         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45453         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45454         GETFDNETGR.
45455         (netgroup_response_header): Define.
45456         (innetgroup_response_header): Define.
45457         (datahead): Add netgroup_response_header and innetgroup_response_header
45458         elements.
45459         * nscd/nscd.conf: Add entries for netgroup cache.
45460         * nscd/nscd.h (dbtype): Add netgrdb.
45461         (_PATH_NSCD_NETGROUP_DB): Define.
45462         (netgroup_iov_disabled): Declare.
45463         (xmalloc, xcalloc, xrealloc): Move declarations here.
45464         (cache_search): Adjust prototype.
45465         Add netgroup-related prototypes.
45466         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45467         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45468         (__nscd_innetgr): Declare.
45469         * nscd/selinux.c (perms): Use access_vector_t as element type and
45470         add netgroup-related initializers.
45471         * nscd/netgroupcache.c: New file.
45472         * nscd/nscd_netgroup.c: New file.
45473         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45474         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45475         For four parameters use innetgr.
45476         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45477         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45478         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45479         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45480
45481         * nscd/connections.c (register_traced_file): Don't register file
45482         for disabled databases.
45483
45484 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45485
45486         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45487
45488         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45489         from tree and freeing node.
45490
45491 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45492
45493         * nss/nsswitch.c (__nss_database_lookup): Handle
45494         nss_parse_service_list out of memory case.
45495
45496 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45497
45498         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45499         out of memory case.
45500
45501 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45502
45503         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45504         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45505         pass it down.
45506         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45507         elf_machine_rela, elf_machine_lazy_rel.
45508         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45509         (ELF_DYNAMIC_DO_REL): Likewise.
45510         (ELF_DYNAMIC_DO_RELA): Likewise.
45511         (ELF_DYNAMIC_RELOCATE): Likewise.
45512         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45513         to ELF_DYNAMIC_DO_REL.
45514         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45515         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45516         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45517         elf_machine_rela.
45518         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45519         skip_ifunc, don't call ifunc function if non-zero.
45520         (elf_machine_rela): Likewise.
45521         (elf_machine_lazy_rel): Likewise.
45522         (elf_machine_lazy_rela): Likewise.
45523         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45524         (elf_machine_lazy_rel): Likewise.
45525         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45526         Likewise.
45527         (elf_machine_lazy_rel): Likewise.
45528         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45529         Likewise.
45530         (elf_machine_lazy_rel): Likewise.
45531         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45532         (elf_machine_lazy_rel): Likewise.
45533         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45534         (elf_machine_lazy_rel): Likewise.
45535         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45536         (elf_machine_lazy_rel): Likewise.
45537         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45538         (elf_machine_lazy_rel): Likewise.
45539         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45540         (elf_machine_lazy_rel): Likewise.
45541         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45542         (elf_machine_lazy_rel): Likewise.
45543
45544 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45545
45546         * nss/nss_files/files-init.c (_nss_files_init): Use static
45547         initialization for all the *_traced_file variables.
45548
45549 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45550
45551         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45552
45553 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45554
45555         [BZ #13226]
45556         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45557
45558 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45559
45560         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45561         Reread the line before reparsing it.
45562
45563 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45564
45565         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45566
45567 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45568             Maxim Kuvyrkov  <maxim@codesourcery.com>
45569             Joseph Myers  <joseph@codesourcery.com>
45570
45571         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45572         if needed for __stack_chk_guard.
45573
45574 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45575
45576         * sysdeps/posix/spawni.c (script_execute): Always define it.
45577         It will be optimized away if unused.
45578         (maybe_script_execute): New function.
45579         (__spawni): Call it.
45580
45581         * Makerules: Don't include tls.make.
45582         (config-tls): Always set to thread.
45583         * tls.make.c: File removed.
45584
45585 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45586
45587         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45588         * config.make.in (CPPFLAGS-config): New substituted variable.
45589
45590 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45591
45592         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45593
45594         [BZ #13192]
45595         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45596         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45597
45598 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45599
45600         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45601         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45602         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45603         (CALL_FAIL): Likewise.
45604         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45605         (CALL_FAIL): Macro removed.
45606         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45607
45608 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45609
45610         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45611         for __FINITE_MATH_ONLY__ == 1.
45612
45613 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45614
45615         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45616         __ieee754_sqrt instead of sqrt.
45617         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45618         __ieee754_sqrtf instead of sqrtf.
45619         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45620         __floorf instead of floorf.
45621         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45622         __floorf, __truncf instead of floorf, truncf.
45623
45624 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45625
45626         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45627
45628         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45629         __extern_always_inline.
45630         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45631         32-bit.
45632
45633 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45634
45635         * elf/rtld.c (dl_main): Also relocate in dependency order when
45636         doing symbol dependency testing.
45637
45638 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45639
45640         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45641         Always define `refsym'.
45642
45643 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45644
45645         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45646         (__FD_ELT): Renamed from __FDELT.
45647         * misc/bits/select2.h (__FD_ELT): Likewise.
45648         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45649         __FD_MASK instead of __FDELT, __FDMASK.
45650         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45651         Likewise.
45652         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45653         Likewise.
45654
45655         * elf/Makefile (gen-ldd): Fix pattern.
45656
45657         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45658         (init_tls): Likewise.
45659
45660 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45661
45662         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45663
45664 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45665
45666         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45667         `struct cmsghdr *' instead of `void *'.
45668         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45669         Likewise.
45670
45671 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45672
45673         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45674         if non-absolute.
45675         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45676         ldd_rewrite_script.
45677
45678 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45679
45680         * configure.in: Remove --with-tls option.
45681         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45682         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45683         out in case it is missing.
45684         * sysdeps/ia64/elf/configure.in: Likewise.
45685         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45686         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45687         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45688         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45689         * sysdeps/sh/elf/configure.in: Likewise.
45690         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45691         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45692         * sysdeps/x86_64/elf/configure.in: Likewise.
45693         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45694         * sysdeps/mach/hurd/tls.h: Likewise.
45695
45696         [BZ #13067]
45697         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45698
45699         [BZ #13090]
45700         * configure.in: Fix use of AC_INIT.
45701
45702         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45703
45704 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45705
45706         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45707         __set_errno.
45708         * malloc/hooks.c: Likewise.
45709
45710         [BZ #11929]
45711         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45712         variables statically.
45713         (narenas): Initialize.
45714         (list_lock): Initialize.
45715         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45716         initializtion of main_arena and list_lock.  Small cleanups.
45717         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45718         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45719         Add initializers to main_arena and mp_.
45720         (malloc_state): Remove pagesize member.  Change all users to use
45721         GLRO(dl_pagesize).
45722
45723         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45724         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45725         is always initialized.
45726
45727         * malloc/malloc.c: Removed unused configurations and dead code.
45728         * malloc/arena.c: Likewise.
45729         * malloc/hooks.c: Likewise.
45730         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45731
45732         * include/tls.h: Removed.  USE___THREAD must always be defined.
45733         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45734         * elf/dl-libc.c: Likewise.
45735         * elf/dl-tsd.c: Likewise.
45736         * include/errno.h: Likewise.
45737         * include/netdb.h: Likewise.
45738         * include/resolv.h: Likewise.
45739         * inet/herrno-loc.c: Likewise.
45740         * inet/herrno.c: Likewise.
45741         * malloc/arena.c: Likewise.
45742         * malloc/hooks.c: Likewise.
45743         * malloc/malloc.c: Likewise.
45744         * resolv/res-state.c: Likewise.
45745         * resolv/res_libc.c: Likewise.
45746         * sysdeps/i386/dl-machine.h: Likewise.
45747         * sysdeps/ia64/dl-machine.h: Likewise.
45748         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45749         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45750         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45751         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45752         * sysdeps/sh/dl-machine.h: Likewise.
45753         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45754         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45755         * sysdeps/unix/i386/sysdep.S: Likewise.
45756         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45757         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45758         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45759         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45760         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45761         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45762         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45763         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45764         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45765         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45766         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45767         * sysdeps/x86_64/dl-machine.h: Likewise.
45768         * tls.make.c: Likewise.
45769
45770         * configure.in: Remove --with-__thread option.  Make tests for
45771         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45772         tls_model attribute fail if no support is available.  Remove
45773         USE_IN_LIBIO.
45774         * Makeconfig: Adjust for dropped configure option.  All features are
45775         now mandatory.
45776         * Makerules: Likewise.
45777         * Versions.def: Likewise.
45778         * argp/argp-fmtstream.c: Likewise.
45779         * argp/argp-fmtstream.h: Likewise.
45780         * argp/argp-help.c: Likewise.
45781         * assert/assert.c: Likewise.
45782         * config.h.in: Likewise.
45783         * config.make.in: Likewise.
45784         * configure: Likewise.
45785         * configure.in: Likewise.
45786         * csu/Versions: Likewise.
45787         * csu/init.c: Likewise.
45788         * elf/tst-audit2.c: Likewise.
45789         * elf/tst-tls10.c: Likewise.
45790         * elf/tst-tls10.h: Likewise.
45791         * elf/tst-tls11.c: Likewise.
45792         * elf/tst-tls12.c: Likewise.
45793         * elf/tst-tls14.c: Likewise.
45794         * elf/tst-tlsmod11.c: Likewise.
45795         * elf/tst-tlsmod12.c: Likewise.
45796         * elf/tst-tlsmod13.c: Likewise.
45797         * elf/tst-tlsmod13a.c: Likewise.
45798         * elf/tst-tlsmod14a.c: Likewise.
45799         * elf/tst-tlsmod15b.c: Likewise.
45800         * elf/tst-tlsmod16a.c: Likewise.
45801         * elf/tst-tlsmod16b.c: Likewise.
45802         * elf/tst-tlsmod7.c: Likewise.
45803         * elf/tst-tlsmod8.c: Likewise.
45804         * elf/tst-tlsmod9.c: Likewise.
45805         * gmon/gmon.c: Likewise.
45806         * grp/fgetgrent_r.c: Likewise.
45807         * grp/putgrent.c: Likewise.
45808         * hurd/fopenport.c: Likewise.
45809         * include/libc-symbols.h: Likewise.
45810         * include/tls.h: Likewise.
45811         * intl/gettextP.h: Likewise.
45812         * intl/loadinfo.h: Likewise.
45813         * locale/global-locale.c: Likewise.
45814         * locale/localeinfo.h: Likewise.
45815         * mach/devstream.c: Likewise.
45816         * malloc/arena.c: Likewise.
45817         * malloc/set-freeres.c: Likewise.
45818         * misc/err.c: Likewise.
45819         * misc/getttyent.c: Likewise.
45820         * misc/mntent_r.c: Likewise.
45821         * posix/getopt.c: Likewise.
45822         * posix/wordexp.c: Likewise.
45823         * pwd/fgetpwent_r.c: Likewise.
45824         * resolv/Versions: Likewise.
45825         * resolv/res_hconf.c: Likewise.
45826         * shadow/fgetspent_r.c: Likewise.
45827         * shadow/putspent.c: Likewise.
45828         * stdio-common/printf_fphex.c: Likewise.
45829         * stdio-common/tmpfile.c: Likewise.
45830         * stdlib/abort.c: Likewise.
45831         * stdlib/fmtmsg.c: Likewise.
45832         * sunrpc/auth_unix.c: Likewise.
45833         * sunrpc/clnt_perr.c: Likewise.
45834         * sunrpc/clnt_tcp.c: Likewise.
45835         * sunrpc/clnt_udp.c: Likewise.
45836         * sunrpc/clnt_unix.c: Likewise.
45837         * sunrpc/openchild.c: Likewise.
45838         * sunrpc/svc_simple.c: Likewise.
45839         * sunrpc/svc_tcp.c: Likewise.
45840         * sunrpc/svc_udp.c: Likewise.
45841         * sunrpc/svc_unix.c: Likewise.
45842         * sunrpc/xdr.c: Likewise.
45843         * sunrpc/xdr_array.c: Likewise.
45844         * sunrpc/xdr_rec.c: Likewise.
45845         * sunrpc/xdr_ref.c: Likewise.
45846         * sunrpc/xdr_stdio.c: Likewise.
45847
45848 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45849
45850         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45851
45852 2011-07-03  Andreas Jaeger  <aj@suse.de>
45853
45854         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45855         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45856         regenerate with gen-libm-tests.pl.
45857
45858 2010-05-12  Petr Baudis  <pasky@suse.cz>
45859
45860         [BZ #11589]
45861         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45862         around j0() zero points by switching to j1().
45863         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45864         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45865         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45866         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45867
45868 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45869
45870         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45871         instead of 0.
45872         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45873         instead of 0.
45874         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45875         Patch in part by Pavel Roskin <proski@gnu.org>.
45876
45877         [BZ #13138]
45878         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45879         realloc.
45880         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45881         Free memory block if necessary.
45882
45883         [BZ #12847]
45884         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45885         be NULL.  Don't lock in this case.
45886
45887 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45888
45889         * elf/elf.h (ELFOSABI_GNU): New macro.
45890         (ELFOSABI_LINUX): Define to that.
45891
45892 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45893
45894         * string/strncat.c (strncat): Undef the symbol in case it has been
45895         defined in bits/string.h.
45896
45897 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45898
45899         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45900
45901         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45902         link map.
45903
45904 2011-08-17  Andreas Jaeger  <aj@suse.de>
45905
45906         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45907
45908 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45909             Ian Lance Taylor  <iant@google.com>
45910
45911         * math/libm-test.inc (lround_test): New testcase.
45912         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45913
45914 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45915
45916         * Makefile: Remove support for automatic cvs check-ins.
45917         * Makerules: Likewise.
45918         * config.make.in: Likewise.
45919         * configure.in: Likewise.
45920         * intl/Makefile: Likewise.
45921         * locale/Makefile: Likewise.
45922         * po/Makefile: Likewise.
45923         * posix/Makefile: Likewise.
45924         * sysdeps/gnu/Makefile: Likewise.
45925         * sysdeps/mach/hurd/Makefile: Likewise.
45926         * sysdeps/sparc/sparc32/Makefile: Likewise.
45927
45928         [BZ #13118]
45929         * posix/Makefile (bug-regex32-ENV): Define.
45930         Patch by John Stanley <jpsinthemix@verizon.net>.
45931
45932         * misc/Makefile (headers): Add bits/select2.h.
45933         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45934         * misc/bits/select2.h: New file.
45935         * include/bits/select2.h: New file.
45936         * debug/Makefile (routines): Add fdelt_chk.
45937         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45938         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45939         FD_ISSET.
45940         * debug/fdelt_chk.c: New file.
45941
45942         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45943         * wcsmbs/test-wmemcmp.c: Likewise.
45944         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45945         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45946
45947 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45948
45949         * string/Makefile (strop-tests): Add memcmp.
45950         * string/test-wmemcmp.c: New file.
45951         * string/test-memcmp.c: Add wmemcmp support.
45952
45953 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45954
45955         [BZ #13153]
45956         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45957         2011-07-19 change.
45958
45959         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45960         garbage value in a __mach_port_mod_refs call in the cases of the
45961         task-self and thread-self ports.
45962
45963 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45964
45965         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45966
45967 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45968
45969         * elf/dl-load.c (lose): Check for non-null L.
45970
45971 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45972
45973         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45974
45975         * elf/dl-libc.c (dlerror_run): Pass back error code from
45976         dl_catch_error.
45977
45978         [BZ #13123]
45979         * elf/dl-load.c (lose): Free l_origin if it is valid.
45980
45981         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45982         names.
45983         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45984         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45985         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45986         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45987         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45988         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45989
45990 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45991
45992         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45993         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45994         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45995         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45996         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45997         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45998         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45999         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46000         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46001         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46002
46003 2011-08-15  Alan Modra  <amodra@gmail.com>
46004
46005         [BZ #13092]
46006         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46007         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46008         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46009         ppc_mcount to static-only-routines.
46010         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46011         __mcount_internal.
46012         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46013         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46014
46015 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46016
46017         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46018         for finite and infinity parameters.
46019
46020 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46021
46022         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46023         and add nop instructions for throughput optimization.
46024         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46025
46026 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46027
46028         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46029         aligned copy for power7 with vector-scalar instructions.
46030         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46031
46032 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46033
46034         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46035         AVX check.
46036
46037 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46038
46039         [BZ #13144]
46040         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46041         last change.
46042
46043 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46044
46045         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46046         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46047         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46048         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46049         clock_gettime.
46050
46051 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46052
46053         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46054         Forgot to demangle the pointer.
46055
46056         * sysdeps/i386/sysdep.h: Define atom_text_section.
46057         * sysdeps/x86_64/sysdep.h: Likewise.
46058         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46059         section with atom_text_section.
46060         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46061         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46062         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46063         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46064         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46065
46066         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46067         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46068         already be defined.  Change to take two parameters and don't assign
46069         result to variable.  Adjust all users.
46070         Define INTERNAL_GETTIME if not already defined.
46071         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46072         call.
46073         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46074         HAVE_CLOCK_GETTIME_VSYSCALL.
46075         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46076
46077         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46078         gettimeofday vsyscall, just use time.
46079
46080 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46081
46082         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46083         <errno.h>.
46084
46085 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46086
46087         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46088         syscall on x86-64.
46089         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46090         syscall.
46091         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46092         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46093         syscall if possible.
46094
46095 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46096
46097         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46098         e_ident.  Don't pass to find_mapsXX.
46099         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46100
46101 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46102
46103         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46104         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46105         * sysdeps/x86_64/multiarch/strchr.S: Update.
46106         Check bit_slow_BSF bit.
46107         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46108         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46109         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46110
46111 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46112
46113         [BZ #13134]
46114         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46115         before glibc 2.15.
46116         (tryshell): Define.
46117         (__spawni): Change last parameter to be flag.  Test
46118         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46119         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46120         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46121         * posix/spawni.c: Likewise.
46122         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46123         * posix/spawnp.c: Likewise.  Change normal version to use
46124         SPAWN_XFLAGS_USE_PATH.
46125         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46126         SPAWN_XFLAGS_TRY_SHELL.
46127
46128         [BZ #13150]
46129         * posix/glob.h: Remove gcc 1.x support.
46130
46131         [BZ #13068]
46132         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46133
46134 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46135
46136         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46137         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46138         strrchr-sse2-bsf
46139         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46140         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46141         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46142         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46143         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46144         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46145
46146 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46147
46148         * sysdeps/x86_64/wcscmp.S: New file.
46149
46150         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46151         wcscmp-c wcscmp-sse2
46152         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46153         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46154         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46155         * wcsmbs/wcscmp.c: Allow renaming.
46156
46157 2011-09-05  David S. Miller  <davem@davemloft.net>
46158
46159         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46160         stack slot, rather than the struct return pointer slot.
46161         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46162         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46164         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46165
46166 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46167
46168         * po/ja.po: Update from translation team.
46169
46170         [BZ #13144]
46171         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46172         kernel in 64-bit binaries.
46173
46174 2011-09-01  David S. Miller  <davem@davemloft.net>
46175
46176         * elf/elf.h (HWCAP_SPARC_*): Move to..
46177         * sysdeps/sparc/sysdep.h: this new file and add new values.
46178         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46179         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46180         _DL_HWCAP_COUNT to 24.
46181         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46182         entries.
46183         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46184         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46185         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46186         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46187         instead of magic constants.
46188         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46189
46190 2011-08-31  David S. Miller  <davem@davemloft.net>
46191
46192         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46193         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46194         Reimplement to do errno handling inline.
46195         (SYSCALL_ERROR_HANDLER): New macro.
46196         (__SYSCALL_STRING): Do not do errno handling in asm.
46197         (__CLONE_SYSCALL_STRING): Delete.
46198         (__INTERNAL_SYSCALL_STRING): Delete.
46199         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46200         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46201         (PSEUDO): Reimplement to do errno handling inline.
46202         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46203         (SYSCALL_ERROR_HANDLER): New macro.
46204         (__SYSCALL_STRING): Do not do errno handling in asm.
46205         (__CLONE_SYSCALL_STRING): Delete.
46206         (__INTERNAL_SYSCALL_STRING): Delete.
46207         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46208         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46209         i386.
46210         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46211         (inline_syscall*): Add 'err' argument.
46212         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46213         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46214         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46215         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46216
46217         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46218         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46219
46220 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46221
46222         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46223
46224 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46225
46226         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46227         directive.
46228
46229 2011-08-24  David S. Miller  <davem@davemloft.net>
46230
46231         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46232
46233 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46234
46235         * elf/Makefile: Add rules to build and run unload8 test.
46236         * elf/unload8.c: New file.
46237         * elf/unload8mod1.c: New file.
46238         * elf/unload8mod1x.c: New file.
46239         * elf/unload8mod2.c: New file.
46240         * elf/unload8mod3.c: New file.
46241
46242         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46243         it wasn't used.
46244
46245 2011-08-23  David S. Miller  <davem@davemloft.net>
46246
46247         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46248         subtract stack bias.
46249         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46250         %sp not %fp in calculations.
46251         (_JMPBUF_UNWINDS_ADJ): Likewise.
46252
46253         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46254         (aio_suspend): Call it to force an exception region around the
46255         AIO_MISC_WAIT() invocation.
46256
46257 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46258
46259         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46260         backslash.
46261
46262 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46263
46264         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46265         protection macro.
46266         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46267         and <dl-machine.h>.
46268         (Elf64_FuncDesc): Remove.
46269
46270 2011-08-22  David S. Miller  <davem@davemloft.net>
46271
46272         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46273         sigaltstack check, add missing cfi directives.
46274         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46275         missing cfi directives, and sigaltstack handling.
46276
46277 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46278
46279         [BZ #11724]
46280         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46281         object is seen twice.
46282         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46283
46284         * elf/Makefile (distribute): Add tst-initorder2.c.
46285         (tests): Add tst-initorder2.
46286         (modules-names): Add tst-initorder2a tst-initorder2b
46287         tst-initorder2c tst-initorder2d.  Add rules to build them.
46288         ($(objpfx)tst-initorder2.out): New rule.
46289         * elf/tst-initorder2.c: New file.
46290         * elf/tst-initorder2.exp: New file.
46291
46292 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46293
46294         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46295
46296         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46297         dependencies back to end of function.
46298
46299         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46300         $(elfobjdir)/ld.so.
46301
46302 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46303
46304         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46305         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46306         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46307         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46308         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46309         of __vdso_gettimeofday.
46310         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46311         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46312         attribute_hidden.
46313         (_libc_vdso_platform_setup): Remove initialization of
46314         __vdso_gettimeofday and __vdso_time.
46315
46316 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46317
46318         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46319         and fgetc_unlocked.
46320         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46321         getc_unlocked.
46322
46323         * elf/dl-open.c (add_to_global): Report additions to the global scope
46324         for LD_DEBUG=scopes.
46325         (dl_open_worker): Also print scope of newly loaded dependencies.
46326         (_dl_show_scope): Indicate if there is no scope.
46327
46328         [BZ #13114]
46329         * stdio-common/Makefile (tests): Add bug24.
46330         * stdio-common/bug24.c: New file.
46331
46332 2011-08-19  Andreas Jaeger  <aj@suse.de>
46333
46334         [BZ #13114]
46335         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46336         non-existant file when using close-on-exec mode.
46337
46338 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46339
46340         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46341         the very first instruction.
46342
46343         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46344         the CFI state in the end.
46345         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46346         inclusion of dl-trampoline.h.
46347         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46348
46349 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46350
46351         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46352         expectations for long double.
46353
46354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46355         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46356
46357 2011-08-14  David S. Miller  <davem@davemloft.net>
46358
46359         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46360         artificual limit depends upon the system page size.
46361
46362 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46363
46364         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46365         * resolv/Makefile: Define CFLAGS-libresolv.
46366
46367 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46368
46369         * nss/makedb.c (compute_tables): Make variables used in nested
46370         function static.
46371
46372 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46373
46374         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46375         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46376         if buffer was too small.
46377
46378         * elf/pldd.c (main): Attach to all threads in the process.
46379         Rewrite /proc handling to use *at functions.
46380
46381 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46382
46383         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46384         specifies first scope to show.
46385         (dl_open_worker): Update callers.  Move printing scope of new
46386         object to before the relocation.
46387         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46388         * sysdeps/generic/ldsodefs.h: Update declaration.
46389
46390         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46391         string for the scope number.
46392
46393 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46394
46395         * nscd/servicescache.c (cache_addserv): Make sure written is always
46396         initialized.
46397
46398 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46399
46400         * sysdeps/i386/i486/bits/atomic.h
46401         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46402         statement expression, so as to suppress "set but not used" warning.
46403         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46404
46405         * string/strncat.c (STRNCAT): Use prototype definition.
46406
46407         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46408         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46409         -Iprograms here.
46410         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46411         (localedef-modules): Add localedef.
46412         (locale-modules): Add locale.
46413
46414         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46415         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46416         to avoid a warning.
46417
46418 2011-08-14  David S. Miller  <davem@davemloft.net>
46419
46420         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46421         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46422
46423 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46424
46425         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46426         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46427         * elf/rtld.c (dl_main): Set l_name of vDSO.
46428         Call _dl_show_scope when DL_DEBUG_SCOPES.
46429         (process_dl_debug): Recognize scopes flag and also set it for all.
46430         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46431         Declare _dl_show_scope.
46432
46433         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46434         (do_dlopen): Pass caller_dlopen to dl_open.
46435         (__libc_dlopen_mode): Initialize caller_dlopen.
46436
46437         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46438         of libc.  Make tolower call locale-independent.  Optimize a bit by
46439         using isdigit instead of isalnum.
46440         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46441
46442 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46443
46444         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46445         was a dependency or dynamically loaded.
46446
46447 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46448
46449         * intl/l10nflist.c: Allow architecture-specific pop function.
46450         * sysdeps/x86_64/l10nflist.c: New file.
46451
46452         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46453         classification.
46454
46455 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46456
46457         * include/dirent.h: Add libc_hidden_proto for scandirat and
46458         scandirat64.  Don't declare __scandirat64.
46459         * dirent/scandirat.c: Add libc_hidden_def.
46460         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46461         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46462
46463 2011-08-10  David S. Miller  <davem@davemloft.net>
46464
46465         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46466         enum.
46467         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46468         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46469         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46470
46471 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46472
46473         * Versions.def [libc]: Add GLIBC_2.15.
46474         * dirent/Makefile (routines): Add scandirat and scandirat64.
46475         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46476         GLIBC_2.15.
46477         * dirent/dirent.h: Declare scandirat and scandirat64.
46478         * dirent/scandirat.c: New file.
46479         * dirent/scandirat64.c: New file.
46480         * sysdeps/wordsize-64/scandirat.c: New file.
46481         * sysdeps/wordsize-64/scandirat64.c: New file.
46482         * dirent/opendir.c: Define opendirat.
46483         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46484         using scandirat.
46485         * dirent/scandir64.c: Adjust for scandir.c change.
46486         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46487         __scandirat64, and __scandir_cancel_handler.
46488         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46489         additional parameter and use openat instead of open (outside of ld.so).
46490         Add new __opendir as wrapper around __opendirat.
46491         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46492         here without requiring old scandirat implementation.
46493
46494 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46495
46496         * dirent/scandir.c (cancel_handler): Renamed to
46497         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46498         defined.  Adjust users.
46499         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46500         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46501
46502 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46503
46504         * string/test-string.h (IMPL): Use __STRING to expand name and then
46505         stringify it.
46506
46507         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46508         of cleanups.
46509
46510 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46511
46512         * string/Makefile: Update.
46513         (strop-tests): Append strncat.
46514         * string/test-wcscmp.c: New file.
46515         New comprehensive test for wcscmp.
46516         * string/test-strcmp.c: Update.
46517         (WIDE): New define.
46518
46519 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46520
46521         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46522         line.
46523
46524 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46525
46526         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46527         encoding to ACE if AI_IDN.
46528
46529 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46530
46531         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46532         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46533
46534 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46535
46536         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46537         Fix overflow bug in strncat.
46538         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46539
46540         * string/test-strncat.c: Update.
46541         Add new tests for checking overflow bugs.
46542
46543 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46544
46545         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46546         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46547         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46548         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46549         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46550         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46551         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46552         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46553         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46554
46555         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46556         (USE_AS_STRCAT): Define.
46557         Add strcat and strncat support.
46558         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46559
46560 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46561
46562         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46563         __n bigger than INT_MAX+1.
46564         (__strncmp_g): Likewise.
46565
46566 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46567
46568         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46569         * libio/stido.h: Likewise.
46570
46571         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46572         (AF_NFC): Define.
46573         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46574         (AF_NFC): Define.
46575
46576         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46577         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46578         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46579         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46580         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46581
46582         [BZ #13021]
46583         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46584         installed.
46585
46586         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46587         typo.
46588         (_dl_x86_64_save_sse): Likewise.
46589
46590 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46591
46592         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46593         OSXSAVE.
46594         (_dl_x86_64_save_sse): Likewise.
46595
46596         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46597
46598         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46599
46600 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46601
46602         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46603         change.
46604         (_dl_x86_64_save_sse): Use correct AVX check.
46605
46606 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46607
46608         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46609         bug in strncpy/strncat.
46610         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46611
46612 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46613
46614         * string/tester.c (test_strcat): Add tests for different alignments
46615         of source and destination.
46616         (test_strncat): Likewise.
46617
46618 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46619
46620         [BZ #12852]
46621         * posix/glob.c (glob): Check passed in values before using them in
46622         expressions to avoid some overflows.
46623         (glob_in_dir): Likewise.
46624
46625         [BZ #13007]
46626         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46627         check for AVX enablement so that we don't crash with old kernels and
46628         new hardware.
46629         * elf/tst-audit4.c: Add same checks here.
46630         * elf/tst-audit6.c: Likewise.
46631
46632         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46633
46634 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46635
46636         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46637
46638 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46639
46640         * po/cs.po: Update from translation team.
46641         * po/bg.po: Likewise.
46642
46643 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46644
46645         * misc/sys/cdefs.h: Add support for const attribute.
46646         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46647         to gnu_dev_{major,minor,makedev} functions.
46648
46649 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46650
46651         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46652
46653 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46654
46655         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46656         strlen results.
46657
46658 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46659
46660         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46661         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46662         register in order to avoid conflicts with the soft frame pointer
46663         being held in r11 when necessary.
46664         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46665         (INTERNAL_VSYSCALL_NCS): Likewise.
46666
46667 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46668
46669         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46670         * elf/dl-fini.c (_dl_fini): Adjust caller.
46671         * elf/dl-close.c (_dl_close_worker): Likewise.
46672         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46673
46674 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46675
46676         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46677         "aux_cache->nlibs < 0".
46678
46679         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46680         in the reload-count case.
46681
46682 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46683
46684         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46685         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46686         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46687         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46688         * sysdeps/x86_64/multiarch/strcat.S: New file.
46689         * sysdeps/x86_64/multiarch/strncat.S: New file.
46690         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46691         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46692         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46693         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46694         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46695         (USE_AS_STRCAT): Define.
46696         Add strcat and strncat support.
46697         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46698         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46699         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46700         * string/strncat.c: Update.
46701         (USE_AS_STRNCAT): Define.
46702         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46703         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46704         and i7.
46705         * sysdeps/x86_64/multiarch/init-arch.h
46706         (bit_Prefer_PMINUB_for_stringop): New.
46707         (index_Prefer_PMINUB_for_stringop): Likewise.
46708         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46709         bit_Prefer_PMINUB_for_stringop.
46710
46711 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46712
46713         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46714         buffer64.
46715         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46716         of casting of buffer.
46717         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46718         buffer32 and buffer64.
46719         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46720         writes instead of casting of buffer.
46721         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46722         buffer32.
46723         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46724         casting of buffer.
46725
46726 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46727
46728         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46729
46730 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46731
46732         * nscd/nscd.c (termination_handler): Don't do anything for a database
46733         if it has not yet been initialized.
46734
46735 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46736
46737         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46738
46739 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46740
46741         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46742
46743 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46744
46745         * po/nl.po: Update from translation team.
46746         * po/sv.po: Likewise.
46747
46748 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46749
46750         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46751         now disallowed by GCC.
46752
46753         * configure.in (use-default-link): Default to yes if a test -shared
46754         link meets our qualifications.
46755         * configure: Regenerated.
46756
46757         * config.make.in (output-format): New variable.
46758         * configure.in: Check for ld --print-output-format support.
46759         * configure: Regenerated.
46760         * Makerules ($(common-objpfx)format.lds)
46761         [$(output-format) != unknown]: Just use $(output-format),
46762         instead of the linker-script munging.
46763
46764 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46765
46766         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46767         of $(common-objpfx)shlib.lds.
46768         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46769
46770         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46771         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46772
46773         * configure.in (-z relro check): Adjust test code to add a large
46774         writable data section after it.
46775         * configure: Regenerated.
46776
46777 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46778
46779         * configure.in (-z relro check): Fix test code to make the variable
46780         truly const.
46781         * configure: Regenerated.
46782
46783 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46784
46785         * nscd/nscd.h (struct traced_file): Define.
46786         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46787         elements.  Add traced_files.
46788         (inotify_fd): Declare.
46789         (register_traced_file): Declare.
46790         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46791         (inotify_fd): Export.
46792         (resolv_conf_descr): Remove.
46793         (nscd_init): Move inotify descriptor creation to main.
46794         Don't register files for notification here.
46795         (register_traced_file): New function.
46796         (invalidate_cache): Don't use reset_res to determine whether to call
46797         res_init, go through the list of registered files.
46798         (main_loop_poll): The inotify descriptors are now stored in the
46799         structures for the traced files.
46800         (main_loop_epoll): Likewise
46801         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46802         to __nss_disable_nscd.
46803         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46804         for a database anymore.  Check the records for all the registered
46805         files instead.
46806         * nss/Makefile (libnss_files-routines): Add files-init.
46807         (libnss_db-routines): Add db-init.
46808         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46809         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46810         * nss/nss_db/db-init.c: New file.
46811         * nss/nss_files/files-init.c: New file.
46812         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46813         __nss_lookup_function.
46814         (__nss_lookup_function): Call nss_load_library.
46815         (nss_load_all_libraries): New function.
46816         (__nss_disable_nscd): Take parameter with callback function for files
46817         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46818         used for the cached services.
46819         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46820         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46821         options for features to all the files in nscd.
46822
46823         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46824
46825 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46826
46827         * csu/elf-init.c (__libc_csu_init): Comment typo.
46828
46829 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46830
46831         * po/pl.po: Update from translation team.
46832         * po/ja.po: Likewise.
46833         * po/ru.po: Likewise.
46834         * po/ko.po: Likewise.
46835         * po/fr.po: Likewise.
46836
46837 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46838
46839         * configure.in (.ctors/.dtors header and trailer check):
46840         Use an empirical test on a built program.
46841         * configure: Regenerated.
46842
46843         * configure.in (-z relro check): Use an empirical test on a built DSO.
46844         Detect, but do not require, on ia64.
46845         * configure: Regenerated.
46846
46847         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46848         Update tests that use readelf to use $READELF instead.
46849         * configure: Regenerated.
46850
46851 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46852
46853         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46854         if the result is not used.
46855
46856 2011-07-05  Andreas Jaeger  <aj@suse.de>
46857
46858         [BZ#9696]
46859         * stdlib/tst-strtod.c: Add testcase.
46860
46861 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46862
46863         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46864         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46865         The latter has a higher limit.  Take additional parameter to pass to
46866         the new function.
46867         (__pathconf): Pass file to __statfs_link_max.
46868         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46869         __statfs_link_max.
46870         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46871         __statfs_link_max.
46872
46873         [BZ #12868]
46874         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46875         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46876         Handle Lustre.
46877         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46878         (__statfs_filesize_max): Likewise.
46879         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46880
46881 2011-07-05  Andreas Jaeger  <aj@suse.de>
46882
46883         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46884
46885 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46886
46887         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46888         `status' variable.
46889         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46890         Likewise.
46891
46892 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46893
46894         * Makefile (strop-tests): Add strncat.
46895         * string/test-strncat.c: New file.
46896
46897 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46898
46899         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46900
46901 2011-06-21  Andreas Jaeger  <aj@suse.de>
46902
46903         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46904         Copy rule from iconvdata/Makefile.
46905
46906 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46907
46908         [BZ #12922]
46909         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46910         but no long options are defined, just return 'W'.
46911
46912 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46913
46914         [BZ #9696]
46915         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46916
46917 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46918
46919         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46920         netgroups to read.
46921         (innetgr): Likewise.
46922
46923 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46924
46925         * config.make.in (install_root): Default to $(DESTDIR).
46926
46927 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46928
46929         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46930
46931 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46932
46933         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46934
46935         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46936         containing directory rather than embedding absolute directory names.
46937
46938         * scripts/check-local-headers.sh: Rewritten using awk.
46939         Match by word, not by line.  Print error messages for matches.
46940         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46941
46942         * Makerules [shlib-lds-flags empty]:
46943         ($(common-objpfx)libc_pic.opts): New target.
46944         ($(common-objpfx)libc_pic.os.clean): New target.
46945         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46946
46947         * config.make.in (OBJCOPY): New variable.
46948         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46949         * configure: Regenerated.
46950
46951         * config.make.in (use-default-link): New variable.
46952         * configure.in (use_default_link): Grok --with-default-link to set it.
46953         * configure: Regenerated.
46954         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46955         (shlib-lds, shlib-lds-flags): Define to empty.
46956
46957         * Makerules (shlib-lds): New variable.
46958         (shlib-lds-flags): New variable.
46959         (build-shlib, build-moduile, build-module-asneeded): Use it.
46960         ($(common-objpfx)libc.so): Use $(shlib-lds).
46961         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46962         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46963
46964         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46965         DT_FLAGS/DT_FLAGS_1 with zero flags.
46966
46967         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46968         linker script munging.
46969
46970 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46971
46972         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46973         as 128-bit value.
46974         * crypt/sha512.c (sha512_process_block): Perform total addition using
46975         128-bit if possible.
46976         (__sha512_finish_ctx): Likewise.
46977         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46978         as 64-bit value.
46979         * crypt/sha256.c (SWAP64): Define.
46980         (sha256_process_block): Perform total addition using 64-bit if
46981         possible.
46982         (__sha256_finish_ctx): Likewise.
46983
46984 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46985
46986         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46987         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46988         * nscd/hstcache.c (cache_addhst): Likewise.
46989         * nscd/grpcache.c (cache_addgr): Likewise.
46990         * nscd/aicache.c (addhstaiX): Likewise
46991         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46992
46993 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46994
46995         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46996         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46997         * nscd/hstcache.c (cache_addhst): Likewise.
46998         * nscd/grpcache.c (cache_addgr): Likewise.
46999         * nscd/aicache.c (addhstaiX): Likewise
47000
47001 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47002
47003         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47004         domain only when needed.
47005
47006 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47007
47008         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47009         is always restored.
47010
47011 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47012
47013         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47014         are re-adding the entry.
47015         * nscd/servicescache.c (cache_addserv): Likewise.
47016
47017 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47018
47019         * sysdeps/generic/dl-irel.h: fix protection against multiple
47020         inclusions.
47021         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47022
47023 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47024
47025         [BZ #12935]
47026         * malloc/memusage.sh: Fix quoting in message.
47027         * debug/xtrace.sh: Likewise.
47028
47029         * configure.in: Remove support for --experimental-malloc option, make
47030         it the default.
47031         * config.make.in: Likewise.
47032         * malloc/Makefile: Likewise.
47033
47034 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47035
47036         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47037         two-byte characters.
47038
47039 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47040
47041         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47042         AC_CACHE_CHECK invocation.
47043         * configure: Regenerated.
47044
47045         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47046
47047 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47048
47049         [BZ #12350]
47050         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47051         bit from old_res_options.
47052
47053         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47054
47055         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47056         value type for setfct.
47057
47058 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47059
47060         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47061         __gettimeofday instead of gettimeofday.
47062
47063 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47064
47065         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47066
47067 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47068
47069         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47070
47071         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47072         info.
47073
47074 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47075
47076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47077         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47078         strcpy-sse2-unaligned strncpy-sse2-unaligned
47079         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47080         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47081         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47082         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47083         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47084         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47085         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47086         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47087         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47088         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47089         (STRCPY): Support SSE2 and SSSE3 versions.
47090
47091 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47092
47093         [BZ #12874]
47094         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47095         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47096         kernels which artificially limit size of requests.
47097
47098 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47099
47100         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47101         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47102         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47103         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47104         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47105         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47106         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47107         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47108         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47109         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47110         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47111         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47112         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47113         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47114         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47115         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47116         Enable unaligned load optimization for Intel Core i3, i5 and i7
47117         processors.
47118         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47119         Define.
47120         (index_Fast_Unaligned_Load): Define.
47121         (HAS_FAST_UNALIGNED_LOAD): Define.
47122
47123 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47124
47125         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47126
47127 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47128
47129         [BZ #12907]
47130         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47131         until it is clear that the information is realy needed.
47132         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47133
47134 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47135
47136         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47137
47138 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47139
47140         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47141         /sys/devices/system/cpu/online if it is usable.
47142
47143         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47144         reading the information from the /proc filesystem to once a second.
47145
47146 2011-06-21  Andreas Jaeger  <aj@suse.de>
47147
47148         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47149         NULL after inclusion of kernel headers.
47150
47151 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47152
47153         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47154         calls to internal_setent.
47155
47156         [BZ #12885]
47157         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47158         addresses using gethostbyname4_r ignore IPv4 addresses.
47159
47160         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47161         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47162
47163         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47164
47165 2011-06-20  David S. Miller  <davem@davemloft.net>
47166
47167         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47168         inclusions.
47169         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47170
47171         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47172         (elf_irel): Use it.
47173         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47174         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47175         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47176         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47177         * sysdeps/x86_64/dl-irel.h: Likewise.
47178
47179         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47180         * elf/dl-sym.c: Likewise.
47181
47182 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47183
47184         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47185         need to dereference resplen2.
47186
47187 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47188
47189         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47190
47191 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47192
47193         * Makeconfig: Define vardbdir and inst_vardbdir.
47194         * nss/Makefile: Add rules to install db-Makefile.
47195
47196         * nss/nss_db/db-XXX.c: Cleanup.
47197
47198         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47199         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47200         GLIBC_PRIVATE.
47201         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47202         * nss/makedb.c: Implement -g option to specify that value strings
47203         are generated and should not be added to table iterated over for
47204         get*ent calls.
47205         * nss/nss_db/db-initgroups.c: New file.
47206
47207         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47208         interface.
47209
47210         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47211         (internal_getgrouplist): Adjust to name change.
47212         Update use_initgroups_entry if this is not the first call.
47213         * nss/databases.def: Add initgroups entry.
47214
47215         * nss/makedb.c (compute_tables): Check result of multiple hash table
47216         sizes to minimize maximum chain length.
47217
47218 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47219
47220         * Versions.def: Add entry for libnss_db.
47221         * shlib-versions: Likewise.
47222         * nss/Makefile: Add rules to build libnss_db.
47223         * nss/Versions: Add libnss_db information.  Organize libnss_files
47224         entries better.
47225         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47226         makedb progra.  Some minor improvements to generate smaller files.
47227         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47228         here from...
47229         * nss/makedb.c: ...here.
47230         Improve database format to be smaller and require less memory at
47231         runtime.
47232         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47233         db anymore.
47234         * nss/nss_db/db-netgrp.c: Likewise.
47235         * nss/nss_db/db-open.c: Likewise.
47236         * nss/nss_files/flies-XXX.x: Adjust comments.
47237         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47238         * nss/nss_files/files-grp.c: Likewise.
47239         * nss/nss_files/files-hosts.c: Likewise.
47240         * nss/nss_files/files-network.c: Likewise.
47241         * nss/nss_files/files-proto.c: Likewise.
47242         * nss/nss_files/files-pwd.c: Likewise.
47243         * nss/nss_files/files-rpc.c: Likewise.
47244         * nss/nss_files/files-service.c: Likewise.
47245         * nss/nss_files/files-sgrp.c: Likewise.
47246         * nss/nss_files/files-spwd.c: Likewise.
47247         * nss/nss_db/db-alias.c: Removed.
47248         * nss/nss_db/dummy-db.h: Removed.
47249
47250 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47251
47252         * nss/makedb.c: Rewritten to not use database library.
47253         * nss/Makefile: Update to build new makedb program.
47254
47255 2011-06-14  Andreas Jaeger  <aj@suse.de>
47256
47257         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47258         memset declaration.
47259
47260 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47261
47262         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47263         tmpbuf.
47264
47265 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47266
47267         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47268         * elf/Makefile ($(objpfx)ld.so): Likewise.
47269
47270         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47271         Don't list ld.so twice in dependencies.
47272
47273         * posix/bug-regex31.c: Include <stdlib.h>.
47274
47275         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47276
47277         * nis/nss_compat/compat-spwd.c
47278         (getspent_next_nss_netgr): Remove unused variable.
47279         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47280
47281         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47282         nonmembers" output to use the right array.
47283
47284         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47285
47286         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47287
47288         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47289         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47290         * catgets/gencat.c (read_input_file): Likewise.
47291         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47292
47293         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47294         variable definition inside #if's controlling its use.
47295
47296         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47297
47298         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47299
47300         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47301
47302         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47303         unreachable code.
47304
47305         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47306
47307         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47308         * configure: Regenerated.
47309
47310         * Makerules: Revert last change.
47311         * elf/Makefile: Likewise.
47312
47313 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47314
47315         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47316         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47317         (reloc-link): Likewise.
47318
47319 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47320
47321         * elf/Makefile: Add rules to build pldd.
47322         * elf/pldd.c: New file.
47323         * elf/pldd-xx.c: New file.
47324
47325 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47326
47327         * version.h: Update for 2.15 development version.
47328
47329 2011-06-07  David S. Miller  <davem@davemloft.net>
47330
47331         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47332         ifuncs.
47333         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47334         elf_machine_lazy_rel): Likewise.
47335         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47336         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47337         elf_machine_lazy_rel): Likewise.
47338         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47339         dl_hwcap via passed in argument.
47340         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47341         Likewise.
47342
47343 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47344
47345         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47346
47347 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47348
47349         [BZ #12849]
47350         * manual/fdl-1.1.texi: New file, verbatim from:
47351         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47352         * manual/lgpl-2.1.texi: New file, verbatim from:
47353         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47354         * manual/Makefile (licenses): New variable, list those new file names.
47355         (texis): Use it.
47356         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47357
47358         * manual/fdl.texi: File removed.
47359         * manual/lesser.texi: File removed.
47360         * manual/libc.texinfo (Copying, Documentation License):
47361         Use new @include file names, put @appendix directive before @include.
47362
47363 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47364
47365         [BZ #12841]
47366         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47367         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47368         (mq_open): Add __NTH.
47369
47370 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47371
47372         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47373         Assume Intel Core i3/i5/i7 processor if AVX is available.
47374
47375 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47376
47377         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47378         typo.
47379
47380 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47381
47382         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47383         memory.  Use alloca_account.  Fix memory leak when retrying.
47384
47385 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47386
47387         * version.h (RELEASE): Bump for 2.14 release.
47388         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47389
47390         * config.make.in (RANLIB): Remove entry.
47391
47392 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47393
47394         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47395         (libc.pot): Work around missing support for .ksh extension in xgettext.
47396
47397         [BZ #12684]
47398         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47399         if both request failed.
47400         (send_dg): In case of server errors clear resplen or *resplen2.
47401
47402         [BZ #12454]
47403         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47404         when there are multiple maps.
47405         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47406         (_dl_fini): Remove test here.
47407
47408         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47409
47410 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47411
47412         [BZ #12350]
47413         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47414         bit from old_res_options.
47415         (gaih_inet): Likewise.
47416
47417         [BZ #11099]
47418         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47419         as signed.
47420
47421         * resolv/res_init.c (res_setoptions): Make the code more compact.
47422
47423         [BZ #11558]
47424         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47425         set RES_USEVC.
47426
47427         [BZ #11634]
47428         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47429
47430         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47431
47432         [BZ #11781]
47433         * malloc/malloc.h: Declare malloc hook variables as volatile.
47434
47435         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47436         in last patch.
47437
47438         [BZ #11799]
47439         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47440         raise in the comment.
47441         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47442         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47443         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47444
47445 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47446
47447         [BZ #12811]
47448         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47449         grow the buffers more if it already has to be sufficient.
47450         (build_wcs_upper_buffer): Likewise.
47451         * posix/regexec.c (check_matching): Likewise.
47452         (clean_state_log_if_needed): Likewise.
47453         (extend_buffers): Don't enlarge buffers beyond size of the input
47454         buffer.
47455         Patches mostly by Emil Wojak <emil@wojak.eu>.
47456         * posix/bug-regex32.c: New file.
47457         * posix/Makefile (tests): Add bug-regex32.
47458
47459         * locale/findlocale.c (_nl_find_locale): Return right away if
47460         _nl_explode_name failed.
47461         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47462
47463         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47464
47465         * debug/xtrace.sh: Unify messages.
47466         * malloc/memusage.sh: Likewise.
47467
47468         [BZ #12813]
47469         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47470         time symbol from vDSO.  Substitute with vsyscall if not available.
47471         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47472         __vdso_time.
47473
47474         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47475         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47476         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47477         Add sendmmsg and internal_sendmmsg.
47478         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47479         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47480         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47481
47482         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47483         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47484         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47485
47486 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47487
47488         [BZ #12813]
47489         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47490         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47491         available.
47492         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47493         __vdso_getcpu.
47494
47495         [BZ #12814]
47496         * iconvdata/Makefile (tests): Add bug-iconv9.
47497         * iconvdata/bug-iconv9.c: New file.
47498
47499 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47500
47501         [BZ #12814]
47502         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47503
47504 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47505
47506         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47507         (struct user_regs_struct): Change intcs field back to cs.
47508
47509 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47510
47511         * po/ja.po: Update from translation team.
47512
47513 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47514
47515         [BZ #12795]
47516         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47517         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47518
47519 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47520
47521         * stdlib/longlong.h: Update from GCC.
47522
47523 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47524
47525         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47526         parameter name.
47527         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47528         Add parameter name.
47529         (__sysconf): Pass it down.
47530
47531 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47532
47533         [BZ #12671]
47534         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47535         some situations.
47536         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47537         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47538         add in in __libc_use_alloca calls.  Adjust callers.
47539         (glob): Use malloc in some situations.
47540
47541         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47542         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47543         pltexit.
47544
47545 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47546
47547         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47548         and CLOCK_BOOTTIME_ALARM.
47549
47550         [BZ #12782]
47551         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47552         is returned.
47553
47554         * string/_strerror.c (__strerror_r): Print negative errors as signed
47555         numbers.
47556
47557         [BZ #12777]
47558         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47559         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47560         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47561
47562         * configure.in: Fix typo in redirection and correct removal of test
47563         files in two cases.
47564
47565         [BZ #12788]
47566         * locale/setlocale.c (new_composite_name): Fix test to check for
47567         identical name of all categories.
47568
47569         [BZ #12792]
47570         * libio/filedoalloc.c (local_isatty): New function.
47571         (_IO_file_doallocate): Use local_isatty.
47572         * stdio-common/perror.c (perror): In case a new stream is used
47573         forward the stream error.
47574         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47575         error flag.
47576
47577 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47578
47579         [BZ #11869]
47580         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47581         alloca.
47582         * include/alloca.h (extend_alloca_account): Define.
47583
47584         [BZ #11857]
47585         * posix/regex.h: Fix comments with documentation of user-accessible
47586         fields after compilation and describe correct free'ing of pattern
47587         after re_compile_pattern.
47588         Patch by Reuben Thomas <rrt@sc3d.org>.
47589
47590 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47591
47592         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47593         and -mno-altivec to prevent the compiler from using Altivec and/or
47594         VSX instructions when the corresponding registers are not available.
47595
47596 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47597
47598         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47599
47600 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47601
47602         * libio/freopen.c (freopen): Use __dup2, not dup2.
47603         * libio/freopen64.c (freopen64): Likewise.
47604
47605 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47606
47607         [BZ #12775]
47608         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47609         * math/Makefile (tests): Add test-powl.
47610         (CFLAGS-test-powl.c): Define.
47611         * math/test-powl.c: New file.
47612
47613 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47614
47615         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47616
47617 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47618
47619         [BZ #11837]
47620         * iconvdata/gb18030.c: Update to GB18020-2005.
47621
47622 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47623
47624         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47625         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47626         Patch by Aharon Robbins <arnold@skeeve.com>.
47627
47628         [BZ #11892]
47629         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47630         on the stack.
47631
47632         [BZ #11895]
47633         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47634         through underflows.
47635
47636         [BZ #12766]
47637         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47638         point to strings before performing equality test for error_one_per_line
47639         mode.
47640
47641         [BZ #11697]
47642         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47643
47644         [BZ #11820]
47645         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47646         (struct user_fpregs_struct): Avoid __uint*_t types.
47647
47648         [BZ #6420]
47649         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47650         symbol info.  Use it instead of calling _dl_addr locally.
47651         (lock_and_info): New function.
47652         (tr_freehook): Call lock_and_info and pass symbol info as additional
47653         parameter to tr_where.
47654         (tr_mallochook): Likewise.
47655         (tr_reallochook): Likewise.
47656         (tr_memalignhook): Likewise.
47657
47658         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47659         used and couldn't be at all thread-safe.
47660
47661 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47662
47663         * libio/freopen.c (freopen): Don't close old file descriptor
47664         before the new one is opened.  Instead dup the new file descriptor
47665         to the old one after the new stream is created.
47666         * libio/freopen64.c (freopen64): Likewise.
47667         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47668         * libio/fileops.c (_IO_new_file_close_it): Handle new
47669         _IO_FLAGS2_NOCLOSE flag.
47670         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47671         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47672         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47673         _IO_FLAGS2_NOCLOSE flag.
47674         * include/unistd.h: Add hidden_proto for dup3.
47675         Define __have_dup3.
47676         * io/dup3.c: Define hidden symbol.
47677         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47678
47679         [BZ #7101]
47680         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47681         when an incomplete long option is used.
47682         * posix/tst-getopt_long1.c: New file.
47683         * posix/Makefile (tests): Add tst-getopt_long1.
47684
47685         [BZ #10138]
47686         * scripts/config.guess: Update from autoconf-2.68.
47687         * scripts/config.sub: Likewise.
47688
47689         [BZ #10157]
47690         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47691         tests into ...
47692         (has_cpuclock): ...this.  New function.
47693         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47694         macro here based on has_cpuclock code.
47695
47696         [BZ #10149]
47697         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47698         First byte (not low byte) is now always NUL.
47699         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47700
47701         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47702         Use non-cancelable interfaces.
47703
47704         [BZ #9809]
47705         * locale/iso-639.def: Add entry for Sorani.
47706
47707         [BZ #11901]
47708         * include/stdlib.h: Move include protection to the right place.
47709         Define abort_msg_s.  Declare __abort_msg with it.
47710         * stdlib/abort.c (__abort_msg): Adjust type.
47711         * assert/assert.c (__assert_fail_base): New function.  Majority
47712         of code from __assert_fail.  Allocate memory for __abort_msg with
47713         mmap.
47714         (__assert_fail): Now call __assert_fail_base.
47715         * assert/assert-perr.c: Remove bulk of implementation.  Use
47716         __assert_fail_base.
47717         * include/assert.hL Declare __assert_fail_base.
47718         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47719         mmap.
47720         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47721
47722 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47723
47724         [BZ #11952]
47725         [BZ #12453]
47726         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47727         until all modules are registered in the DTV.
47728         * elf/Makefile: Add rules to build and run tst-tls19.
47729         * elf/tst-tls19.c: New file.
47730         * elf/tst-tls19mod1.c: New file.
47731         * elf/tst-tls19mod2.c: New file.
47732         * elf/tst-tls19mod3.c: New file.
47733         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47734
47735         [BZ #12083]
47736         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47737         correctly.
47738
47739         [BZ #12601]
47740         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47741         two-byte sequence errors.
47742         * iconvdata/Makefile (tests): Add bug-iconv8.
47743         * iconvdata/bug-iconv8.c: New file.
47744
47745         [BZ #12626]
47746         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47747         buf2 definition.
47748
47749         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47750
47751         [BZ #12432]
47752         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47753         (dummy_getcfa): New function.
47754         (init): Get _Unwind_GetCFA address, use dummy if not found.
47755         (backtrace_helper): In recursion check, also check whether CFA changes.
47756         (__backtrace): Completely initialize arg.
47757
47758         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47759         storing incomplete byte sequence in state object.  Avoid testing for
47760         guaranteed too small input if we know there is enough data available.
47761
47762 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47763
47764         * Makeconfig (+link-pie): Indent.
47765         * Rules (binaries-pie): Define if $(have-fpie) and
47766         $(build-shared).
47767         (binaries-shared): Also filter out $(binaries-pie).
47768         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47769         * nscd/Makefile (others-pie): Add nscd.
47770         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47771         ($(objpfx)nscd): Remove command override.
47772         * login/Makefile (others-pie): Add pt_chown.
47773         ($(objpfx)pt_chown): Remove command override.
47774         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47775         remove command overrides.
47776
47777 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47778
47779         * libio/tst_putwc.c: Fix error messages.
47780
47781         [BZ #12724]
47782         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47783         currently writing and seek to current position when not.
47784         * libio/Makefile (tests): Add bug-fclose1.
47785         * libio/bug-fclose1.c: New file.
47786
47787 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47788
47789         [BZ #12511]
47790         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47791         don't set DF_1_NODELETE here.
47792         (do_lookup_x): When entering new entry test for copy relocation
47793         and if necessary set DF_1_NODELETE flag.
47794         * elf/tst-unique4.cc: New file.
47795         * elf/tst-unique4.h: New file.
47796         * elf/tst-unique4lib.cc: New file.
47797         * elf/Makefile: Add rules to build and run tst-unique4.
47798         Patch by Piotr Bury <pbury@goahead.com>.
47799
47800 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47801
47802         [BZ #12052]
47803         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47804
47805         [BZ #12625]
47806         * misc/mntent_r.c (addmntent): Flush the stream after the output
47807
47808         [BZ #12393]
47809         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47810         (is_trusted_path_normalize): Skip initial colon.  Append slash
47811         to empty buffer.  Duplicate is_trusted_path code but allow
47812         constructed patch to be prefix.
47813         (is_dst): Allow $ORIGIN followed by /.
47814         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47815         Correct testing of result of is_trusted_path_normalize
47816         (decompose_rpath): Fix warning.
47817
47818 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47819
47820         [BZ #11257]
47821         * grp/initgroups.c (internal_getgrouplist): When we found the service
47822         list through the initgroups entry in nsswitch.conf do not always
47823         continue on a successful lookup.  Don't always use the
47824         __nss_group_database value if it is set.
47825         * nss/nsswitch.conf (initgroups): Change action for successful db
47826         lookup to continue for compatibility.
47827
47828 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47829
47830         [BZ #11532]
47831         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47832         and CP774 modules.
47833         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47834         and CP774 modules.
47835         * iconvdata/tst-tables.sh: Likewise.
47836         * iconvdata/cp770.c: New file.
47837         * iconvdata/cp771.c: New file.
47838         * iconvdata/cp772.c: New file.
47839         * iconvdata/cp773.c: New file.
47840         * iconvdata/cp774.c: New file.
47841         * iconvdata/testdata/CP770: New file.
47842         * iconvdata/testdata/CP770..UTF8: New file.
47843         * iconvdata/testdata/CP771: New file.
47844         * iconvdata/testdata/CP771..UTF8: New file.
47845         * iconvdata/testdata/CP772: New file.
47846         * iconvdata/testdata/CP772..UTF8: New file.
47847         * iconvdata/testdata/CP773: New file.
47848         * iconvdata/testdata/CP773..UTF8: New file.
47849         * iconvdata/testdata/CP774: New file.
47850         * iconvdata/testdata/CP774..UTF8: New file.
47851
47852         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47853         END CHARMAP line.
47854         * iconvdata/gen-8bit-gap.sh: Likewise.
47855         * iconvdata/gen-8bit.sh: Likewise.
47856
47857         * locale/iso-639.def: Add ary entry.
47858
47859         [BZ #11258]
47860         * locale/C-translit.h.in: Add U20A1 transliteration.
47861
47862         [BZ #12178]
47863         * locale/iso-639.def: Add wae entry.
47864         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47865
47866         [BZ #12545]
47867         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47868         for n.
47869
47870         [BZ #12711]
47871         * locale/C-translit.h.in: Add entry for U20B9.
47872         Patch by pravin.d.s@gmail.com.
47873
47874 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47875
47876         [BZ #12713]
47877         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47878         ENAMETOOLONG use generic getcwd.
47879         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47880         in rtld.  Use *stat64.
47881         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47882         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47883         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47884         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47885         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47886         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47887         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47888         __fstatat64 macros.
47889         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47890         * dirent/rewinddir.c: Add libc_hidden_def.
47891         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47892         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47893
47894         * include/dirent.h (__alloc_dir): Add flags parameter.
47895         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47896         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47897         __alloc_dir.
47898         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47899         from fdopendir if O_CLOEXEC is already set.
47900
47901 2011-03-15  Alan Modra  <amodra@gmail.com>
47902
47903         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47904         l_tls_firstbyte_offset non-zero.  Save padding offset in
47905         l_tls_firstbyte_offset for later use.
47906         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47907         freeing static tls block.
47908
47909 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47910
47911         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47912         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47913         being defined by the kernel headers.
47914
47915 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47916
47917         [BZ #12734]
47918         * resolv/resolv.h: Define RES_NOTLDQUERY.
47919         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47920         no-tld-query and set RES_NOTLDQUERY.
47921         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47922         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47923         modern BIND to search name as TLD unless forbidden.
47924
47925 2011-05-07  Petr Baudis  <pasky@suse.cz>
47926             Ulrich Drepper  <drepper@gmail.com>
47927
47928         [BZ #12393]
47929         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47930         (is_trusted_path): ...to here.
47931         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47932         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47933         using is_trusted_path_normalize() in setuid scripts.
47934
47935 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47936
47937         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47938         __BEGIN/__END_DECLS.
47939
47940 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47941
47942         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47943         NSS_STATUS_NOTFOUND if no record was found.
47944
47945 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47946
47947         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47948         (headers-not-in-tirpc): Remove rpc/netdb.h
47949         * resolv/netdb.h: Revert last change.
47950
47951 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47952
47953         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47954         circular dependency between libgcc.a and libc.a.
47955
47956 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47957
47958         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47959         * nis/Makefile: Don't install rpcsvc/*.
47960         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47961         instead of <rpc/types.h>.
47962         (MAXHOSTNAMELEN): Define.
47963
47964 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47965
47966         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47967
47968 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47969
47970         [BZ #12714]
47971         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47972         gethostbyname4_r when IPv6 results are possible.
47973
47974 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47975
47976         [BZ #12723]
47977         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47978         _PC_PIPE_BUF handling.
47979
47980 2011-04-30  Bruno Haible  <bruno@clisp.org>
47981
47982         [BZ #12717]
47983         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47984         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47985         to 'int'.
47986         * inet/getnameinfo.c (getnameinfo): Likewise.
47987
47988 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47989
47990         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47991         to groups setting in database lookup.
47992         * nss/nsswitch.conf: Add initgroups entry.
47993
47994 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47995
47996         [BZ #12685]
47997         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47998         mode string.
47999         Patch by Eric Blake <eblake@redhat.com>.
48000
48001 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48002
48003         * sunrpc/Makefile (need-export-routines): Add svc_run.
48004         (routines): Remove svc_run.
48005         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48006         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48007         * sunrpc/svc_run.c (svc_run): Likewise.
48008         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48009
48010 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48011
48012         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48013         problem in reallocation in last patch.
48014
48015 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48016
48017         * sunrpc/Makefile: Move inclusion of Rules.
48018
48019 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48020
48021         * nss/nss_files/files-initgroups.c: New file.
48022         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48023         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48024         _nss_files_initgroups_dyn.
48025
48026 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48027
48028         * elf/elf.h (R_ARM_IRELATIVE): Define.
48029
48030 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48031
48032         * po/ru.po: Update from translation team.
48033
48034 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48035
48036         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48037         dependencies.
48038
48039 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48040
48041         [BZ #12653]
48042         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48043         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48044         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48045         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48046         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48047
48048 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48049
48050         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48051         differing bytes.
48052         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48053         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48054         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48055
48056 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48057
48058         [BZ #12420]
48059         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48060         storing it.
48061         * stdlib/bug-getcontext.c: New file.
48062         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48063
48064 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48065
48066         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48067         instructions into .machine "z9-109".
48068         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48069         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48070
48071 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48072
48073         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48074         between environment variables and auxiliary vector.
48075
48076 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48077
48078         * Makefile: Add rules to build linkobj/libc.so.
48079         * include/libc-symbols.h: Define libc_hidden_nolink.
48080         * include/rpc/auth.h: Mark functions which are to be hidden.
48081         * include/rpc/auth_des.h: Likewise.
48082         * include/rpc/auth_unix.h: Likewise.
48083         * include/rpc/clnt.h: Likewise.
48084         * include/rpc/des_crypt.h: Likewise.
48085         * include/rpc/key_prot.h: Likewise.
48086         * include/rpc/pmap_clnt.h: Likewise.
48087         * include/rpc/pmap_prot.h: Likewise.
48088         * include/rpc/pmap_rmt.h: Likewise.
48089         * include/rpc/rpc_msg.h: Likewise.
48090         * include/rpc/svc.h: Likewise.
48091         * include/rpc/svc_auth.h: Likewise.
48092         * include/rpc/xdr.h: Likewise.
48093         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48094         * nss/Makefile: Likewise.
48095         * sunrpc/Makefile: Don't install headers.  Build library with normal
48096         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48097         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48098         for the compat linking library.  Remove use of INTDEF/INTUSE.
48099         * sunrpc/auth_none.c: Likewise.
48100         * sunrpc/auth_unix.c: Likewise.
48101         * sunrpc/authdes_prot.c: Likewise.
48102         * sunrpc/authuxprot.c: Likewise.
48103         * sunrpc/clnt_gen.c: Likewise.
48104         * sunrpc/clnt_perr.c: Likewise.
48105         * sunrpc/clnt_raw.c: Likewise.
48106         * sunrpc/clnt_simp.c: Likewise.
48107         * sunrpc/clnt_tcp.c: Likewise.
48108         * sunrpc/clnt_udp.c: Likewise.
48109         * sunrpc/clnt_unix.c: Likewise.
48110         * sunrpc/des_crypt.c: Likewise.
48111         * sunrpc/des_soft.c: Likewise.
48112         * sunrpc/get_myaddr.c: Likewise.
48113         * sunrpc/key_call.c: Likewise.
48114         * sunrpc/key_prot.c: Likewise.
48115         * sunrpc/netname.c: Likewise.
48116         * sunrpc/pm_getmaps.c: Likewise.
48117         * sunrpc/pm_getport.c: Likewise.
48118         * sunrpc/pmap_clnt.c: Likewise.
48119         * sunrpc/pmap_prot.c: Likewise.
48120         * sunrpc/pmap_prot2.c: Likewise.
48121         * sunrpc/pmap_rmt.c: Likewise.
48122         * sunrpc/publickey.c: Likewise.
48123         * sunrpc/rpc_cmsg.c: Likewise.
48124         * sunrpc/rpc_common.c: Likewise.
48125         * sunrpc/rpc_dtable.c: Likewise.
48126         * sunrpc/rpc_prot.c: Likewise.
48127         * sunrpc/rpc_thread.c: Likewise.
48128         * sunrpc/rtime.c: Likewise.
48129         * sunrpc/svc.c: Likewise.
48130         * sunrpc/svc_auth.c: Likewise.
48131         * sunrpc/svc_authux.c: Likewise.
48132         * sunrpc/svc_raw.c: Likewise.
48133         * sunrpc/svc_run.c: Likewise.
48134         * sunrpc/svc_simple.c: Likewise.
48135         * sunrpc/svc_tcp.c: Likewise.
48136         * sunrpc/svc_udp.c: Likewise.
48137         * sunrpc/svc_unix.c: Likewise.
48138         * sunrpc/svcauth_des.c: Likewise.
48139         * sunrpc/xcrypt.c: Likewise.
48140         * sunrpc/xdr.c: Likewise.
48141         * sunrpc/xdr_array.c: Likewise.
48142         * sunrpc/xdr_float.c: Likewise.
48143         * sunrpc/xdr_intXX_t.c: Likewise.
48144         * sunrpc/xdr_mem.c: Likewise.
48145         * sunrpc/xdr_rec.c: Likewise.
48146         * sunrpc/xdr_ref.c: Likewise.
48147         * sunrpc/xdr_sizeof.c: Likewise.
48148         * sunrpc/xdr_stdio.c: Likewise.
48149
48150 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48151
48152         [BZ #12650]
48153         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48154         * sysdeps/ia64/dl-tls.h: Likewise.
48155         * sysdeps/powerpc/dl-tls.h: Likewise.
48156         * sysdeps/s390/dl-tls.h: Likewise.
48157         * sysdeps/sh/dl-tls.h: Likewise.
48158         * sysdeps/sparc/dl-tls.h: Likewise.
48159         * sysdeps/x86_64/dl-tls.h: Likewise.
48160         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48161
48162 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48163
48164         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48165         rpath element also skip the following colon.
48166         (expand_dynamic_string_token): Add is_path parameter and pass
48167         down to DL_DST_REQUIRED and _dl_dst_substitute.
48168         (decompose_rpath): Call expand_dynamic_string_token with
48169         non-zero is_path.  Ignore empty rpaths.
48170         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48171         with zero is_path.
48172
48173 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48174
48175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48176         Make cancelable.
48177
48178 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48179
48180         [BZ #12655]
48181         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48182         Patch by Filipe David Manana <fdmanana@apache.org>.
48183
48184 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48185
48186         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48187         Maintain aligned stack.
48188         (CHECK_RSP): Remove unused macro.
48189
48190 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48191
48192         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48193         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48194
48195 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48196
48197         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48198
48199         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48200
48201 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48202
48203         [BZ #12518]
48204         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48205         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48206         * sysdeps/x86_64/memmove.c: New file.
48207         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48208         (memcpy): Renamed to ...
48209         (__new_memcpy): This.
48210         (memcpy): Provide GLIBC_2_14 memcpy.
48211         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48212         (memcpy): Provide GLIBC_2_2_5 memcpy.
48213
48214 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48215
48216         [BZ #12631]
48217         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48218
48219 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48220
48221         * misc/syncfs.c: New file.
48222         * misc/Makefile (routines): Add syncfs.
48223         * posix/unistd.h: Declare syncfs.
48224         * sysdeps/unix/syscalls.list: Add syncfs.
48225
48226 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48227
48228         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48229         open_by_handle_at.
48230         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48231         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48232         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48233         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48234         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48235         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48236         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48237
48238 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48239
48240         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48241         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48242         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48243         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48244         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48245         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48246         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48247
48248         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48249         sync_file_range.c with -fexceptions.
48250         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48251         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48252         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48253         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48254         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48255         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48256         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48257         sync_file_range as cancellation point
48258         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48259         now a wrapper around __call_sync_file_range with cancellation handling.
48260         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48261         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48262         function name to __call_sync_file_range.
48263         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48264         Add call_sync_file_range.
48265
48266 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48267
48268         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48269         bits/timex.h.
48270
48271 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48272
48273         * iconv/iconv.h: Fix typo in comment.
48274         * io/fcntl.h: Likewise.
48275         * libio/stdio.h: Likewise.
48276         * posix/spawn.h: Likewise.
48277         * posix/unistd.h: Likewise.
48278         * stdlib/stdlib.h: Likewise.
48279         * time/time.h: Likewise.
48280         * wcsmbs/wchar.h: Likewise.
48281
48282         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48283         open_by_handle): Add.
48284         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48285         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48286         Augment a few comments.
48287         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48288         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48289         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48290         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48291         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48292         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48293         open_by_handle.
48294
48295         * io/fcntl.h (AT_EMPTY_PATH): Define.
48296
48297 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48298
48299         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48300         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48301         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48302         to...
48303         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48304         * Versions.def: Add GLIBC_2.14.
48305         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48306         Export.
48307
48308 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48309
48310         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48311         round counter.
48312         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48313
48314 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48315
48316         [BZ #12597]
48317         * string/test-strncmp.c (do_page_test): New function.
48318         (check2): Likewise.
48319         (test_main): Call check2.
48320         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48321
48322 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48323
48324         [BZ #12587]
48325         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48326         Handle cache information in CPU leaf 4.
48327         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48328
48329 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48330
48331         [BZ #12583]
48332         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48333         character representation.
48334         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48335
48336 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48337
48338         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48339         END(__isnan) to END(__isnanf) to match function entry point/label
48340         EALIGN(__isnanf,...).
48341
48342 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48343
48344         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48345
48346 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48347
48348         [BZ #12510]
48349         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48350         copy from the symbol referenced in the relocation to initialize the
48351         used variable.
48352         Patch by Piotr Bury <pbury@goahead.com>.
48353         * elf/Makefile: Add rules to build and tst-unique3.
48354         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48355         * elf/tst-unique3.cc: New file.
48356         * elf/tst-unique3.h: New file.
48357         * elf/tst-unique3lib.cc: New file.
48358         * elf/tst-unique3lib2.cc: New file.
48359
48360         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48361
48362 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48363
48364         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48365         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48366         to _start.
48367
48368 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48369
48370         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48371         to-be-loaded object along a path to loader is ld.so.
48372
48373 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48374             Ulrich Drepper  <drepper@gmail.com>
48375
48376         * sysdeps/x86_64/memset.S: After aligning destination, code
48377         branches to different locations depending on the value of
48378         misalignment, when multiarch is enabled. Fix this.
48379
48380 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48381
48382         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48383         Set _x86_64_preferred_memory_instruction for AMD processsors.
48384         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48385         Set bit_Prefer_SSE_for_memop for AMD processors.
48386
48387 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48388
48389         * libio/fmemopen.c (fmemopen): Optimize a bit.
48390
48391 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48392
48393         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48394
48395 2011-03-03  Roland McGrath  <roland@redhat.com>
48396
48397         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48398
48399 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48400
48401         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48402         __bzero_ultra1 instead of __memset_ultra1.
48403
48404 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48405             Ulrich Drepper  <drepper@gmail.com>
48406
48407         [BZ #12509]
48408         * include/link.h (struct link_map): Add l_orig_initfini.
48409         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48410         returning unsuccessfully.
48411         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48412         close of a file loaded at startup, restore the original l_initfini
48413         list.
48414         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48415         list, store the pointer.
48416         * elf/Makefile ($(objpfx)noload-mem): New rule.
48417         (noload-ENV): Define.
48418         (tests): Add $(objpfx)noload-mem.
48419         * elf/noload.c: Include <memcheck.h>.
48420         (main): Call mtrace.  Close all opened handles.
48421
48422 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48423
48424         [BZ #12454]
48425         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48426         dependencies are missing.
48427
48428 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48429
48430         Fix __if_freereq crash: Unlike the generic version which uses free,
48431         Hurd needs munmap.
48432         * sysdeps/mach/hurd/ifreq.h: New file.
48433
48434 2011-01-27  Petr Baudis  <pasky@suse.cz>
48435             Ulrich Drepper  <drepper@gmail.com>
48436
48437         [BZ 12445]#
48438         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48439         to extend_alloca().
48440         * stdio-common/bug23.c: New file.
48441         * stdio-common/Makefile (tests): Add bug23.
48442
48443 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48444             Ulrich Drepper  <drepper@gmail.com>
48445
48446         [BZ #12489]
48447         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48448         before performing relro protection.  At old place add assertion
48449         to make sure nothing changed.
48450
48451 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48452             Glauber de Oliveira Costa  <glommer@gmail.com>
48453
48454         * elf/elf.h: Add new ARM TLS relocs.
48455
48456 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48457
48458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48459         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48460         cast from r3.
48461         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48462         'tests' variable.
48463         * sysdeps/wordsize-64/tst-writev.c: New file.
48464
48465 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48466
48467         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48468         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48469         insns in _dl_start to prevent a TOC reference before relocs are
48470         resolved.
48471
48472 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48473
48474         [BZ #12469]
48475         * Makeconfig: Remove RANLIB definition.
48476         * Makerules: Don't use RANLIB.
48477         * aclocal.m4: Remove ranlib test.
48478         * configure.in: No need to check for ranlib.
48479         * elf/rtld-Rules: Don't use RANLIB.
48480
48481 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48482
48483         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48484         protection macro.
48485         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48486         inclusion protection macro.
48487
48488         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48489         SIGRTMIN and SIGRTMAX and print information in that case only when
48490         SIGRTMIN is defined.
48491
48492 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48493
48494         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48495         arginfo fn returning -1.
48496
48497         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48498         and thousands string is zero terminated.
48499
48500 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48501
48502         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48503         sysdeps/unix/sysv/linux/bits/socket.h.
48504
48505 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48506
48507         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48508         (__CPU_COUNT): Remove old macros.
48509         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48510         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48511         (__CPU_ALLOC, __CPU_FREE): Add macros.
48512         (__sched_cpualloc, __sched_cpufree): Add declarations.
48513
48514 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48515
48516         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48517         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48518         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48519         (readdhstai): Return value of addhstaiX call.
48520         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48521         (addgrbyX): Return value returned by cache_addgr.
48522         (readdgrbyname): Return value returned by addgrbyX.
48523         (readdgrbygid): Likewise.
48524         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48525         (addpwbyX): Return value returned by cache_addpw.
48526         (readdpwbyname): Return value returned by addhstbyX.
48527         (readdpwbyuid): Likewise.
48528         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48529         (addservbyX): Return value returned by cache_addserv.
48530         (readdservbyname): Return value returned by addservbyX:
48531         (readdservbyport): Likewise.
48532         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48533         (addhstbyX): Return value returned by cache_addhst.
48534         (readdhstbyname): Return value returned by addhstbyX.
48535         (readdhstbyaddr): Likewise.
48536         (readdhstbynamev6): Likewise.
48537         (readdhstbyaddrv6): Likewise.
48538         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48539         (readdinitgroups): Return value returned by addinitgroupsX.
48540         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48541         (prune_cache): Keep track of timeout value of re-added entries.
48542         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48543         * nscd/nscd.h: Adjust prototypes of readd* functions.
48544
48545 2011-02-04  Roland McGrath  <roland@redhat.com>
48546
48547         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48548         (nis_stats): Likewise.
48549         * nis/nis_modify.c (nis_modify): Likewise.
48550         * nis/nis_remove.c (nis_remove): Likewise.
48551         * nis/nis_add.c (nis_add): Likewise.
48552
48553         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48554
48555         * posix/fnmatch_loop.c: Add some consts.
48556
48557         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48558
48559 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48560
48561         [BZ #12460]
48562         * config.make.in (config-cflags-novzeroupper): Define.
48563         * configure.in: Substitute libc_cv_cc_novzeroupper.
48564         * elf/Makefile (AVX-CFLAGS): Define.
48565         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48566         (CFLAGS-tst-auditmod4a.c): Likewise.
48567         (CFLAGS-tst-auditmod4b.c): Likewise.
48568         (CFLAGS-tst-auditmod6b.c): Likewise.
48569         (CFLAGS-tst-auditmod6c.c): Likewise.
48570         (CFLAGS-tst-auditmod7b.c): Likewise.
48571         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48572
48573 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48574
48575         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48576         function to the callback.
48577         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48578
48579 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48580
48581         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48582         of errno.
48583
48584 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48585
48586         [BZ #11724]
48587         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48588         of constructors.
48589         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48590         of destructors.
48591         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48592
48593         [BZ #11724]
48594         * elf/Makefile: Add rules to build and run new test.
48595         * elf/tst-initorder.c: New file.
48596         * elf/tst-initorder.exp: New file.
48597         * elf/tst-initordera1.c: New file.
48598         * elf/tst-initordera2.c: New file.
48599         * elf/tst-initordera3.c: New file.
48600         * elf/tst-initordera4.c: New file.
48601         * elf/tst-initorderb1.c: New file.
48602         * elf/tst-initorderb2.c: New file.
48603         * elf/tst-order-a1.c: New file.
48604         * elf/tst-order-a2.c: New file.
48605         * elf/tst-order-a3.c: New file.
48606         * elf/tst-order-a4.c: New file.
48607         * elf/tst-order-b1.c: New file.
48608         * elf/tst-order-b2.c: New file.
48609         * elf/tst-order-main.c: New file.
48610         New test case by George Gensure <werkt0@gmail.com>.
48611
48612 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48613
48614         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48615         decoding ACE if AI_CANONIDN.
48616
48617 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48618
48619         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48620
48621 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48622
48623         * version.h (RELEASE): Bump for 2.13 release.
48624         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48625
48626         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48627
48628         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48629         MADV_NOHUGEPAGE.
48630         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48631         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48632         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48633         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48634         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48635         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48636
48637         * posix/getconf.c: Update copyright year.
48638         * catgets/gencat.c: Likewise.
48639         * csu/version.c: Likewise.
48640         * debug/catchsegv.sh: Likewise.
48641         * debug/xtrace.sh: Likewise.
48642         * elf/ldconfig.c: Likewise.
48643         * elf/ldd.bash.in: Likewise.
48644         * elf/sprof.c (print_version): Likewise.
48645         * iconv/iconv_prog.c: Likewise.
48646         * iconv/iconvconfig.c: Likewise.
48647         * locale/programs/locale.c: Likewise.
48648         * locale/programs/localedef.c: Likewise.
48649         * malloc/memusage.sh: Likewise.
48650         * malloc/mtrace.pl: Likewise.
48651         * nscd/nscd.c (print_version): Likewise.
48652         * nss/getent.c: Likewise.
48653
48654         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48655         PF_CAIF, and PF_ALG.
48656         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48657
48658 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48659
48660         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48661         (modules-names): Use them.
48662         (ifunc-test-modules, ifunc-pie-tests): Define.
48663         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48664         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48665         (test-extras): Likewise.
48666         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48667         $(compile-command.c).
48668         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48669         (all-built-dso): Define.
48670         (check-textrel.out, check-execstack.out): Depend on it.
48671
48672         * configure.in: Don't override --enable-multi-arch.
48673
48674 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48675
48676         [BZ #6812]
48677         * nscd/hstcache.c (tryagain): Define.
48678         (cache_addhst): Return tryagain not notfound for temporary errors.
48679         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48680         failed.
48681
48682 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48683
48684         [BZ #10563]
48685         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48686         to make the syscall.
48687         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48688
48689         [BZ #12378]
48690         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48691         and fall back to matching as normal character if the string ends before
48692         the matching ']' is found.  This is what POSIX requires.
48693         * posix/testfnm.c: Adjust test result.
48694         * posix/globtest.sh: Adjust test result.  Add new test.
48695         * posix/tst-fnmatch.input: Likewise.
48696         * posix/tst-fnmatch2.c: Add new test.
48697
48698 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48699
48700         * elf/Makefile (check-execstack): Revert last change.  Depend on
48701         check-execstack.h.
48702         (check-execstack.h): New target.
48703         (generated): Add check-execstack.h.
48704         * elf/check-execstack.c: Include "check-execstack.h".
48705         (main): Revert last change.
48706         (handle_file): Return zero if GNU_STACK is absent and
48707         DEFAULT_STACK_PERMS doesn't include PF_X.
48708
48709 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48710
48711         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48712         in child fails because the descriptor is already closed.
48713         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48714         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48715         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48716
48717         [BZ #12397]
48718         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48719         syscall.
48720
48721         [BZ #10484]
48722         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48723         temporary buffer used to handle multi lookups locally.
48724         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48725
48726 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48727
48728         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48729         loader is ld.so.
48730
48731 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48732
48733         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48734         alignment for SSE2.
48735
48736 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48737
48738         [BZ #12394]
48739         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48740         characters.  When rounding increased number of integer digits recompute
48741         number of groups.
48742         * stdio-common/tst-grouping.c: New file.
48743         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48744
48745 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48746
48747         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48748         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48749
48750         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48751         void.
48752         * bits/select.h: Likewise.
48753
48754 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48755
48756         * po/ja.po: Update from translation team.
48757
48758 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48759
48760         [BZ #11155]
48761         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48762         implementation just like for lxstat, fxstatat, et al.
48763
48764 2010-12-27  Jim Meyering  <meyering@redhat.com>
48765
48766         [BZ #12348]
48767         * posix/regexec.c (build_trtable): Return failure indication upon
48768         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48769
48770 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48771
48772         [BZ #12201]
48773         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48774         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48775         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48776         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48777
48778         [BZ #12207]
48779         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48780
48781         [BZ #12204]
48782         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48783         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48784
48785 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48786
48787         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48788         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48789         script has SORT_BY_INIT_PRIORITY.
48790         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48791         NO_CTORS_DTORS_SECTIONS is defined.
48792         * elf/soinit.c: Likewise.
48793         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48794         NO_CTORS_DTORS_SECTIONS is defined.
48795         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48796         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48797         * sysdeps/sh/init-first.c: Likewise.
48798         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48799
48800 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48801
48802         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48803         always use the slow path.
48804
48805 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48806
48807         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48808         similar rule which adds the sysdep directories to the header search in
48809         order to pick up the correct platform stackinfo.h.
48810         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48811         perform test if it is, otherwise return successfully without testing.
48812         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48813         DEFAULT_STACK_PERMS define in stackinfo.h.
48814         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48815         defined in stackinfo.h.
48816         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48817         DEFAULT_STACK_PERMS defined in stackinfo.h.
48818         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48819         * sysdeps/ia64/stackinfo.h: Likewise.
48820         * sysdeps/s390/stackinfo.h: Likewise.
48821         * sysdeps/sh/stackinfo.h: Likewise.
48822         * sysdeps/sparc/stackinfo.h: Likewise.
48823         * sysdeps/x86_64/stackinfo.h: Likewise.
48824         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48825         PF_X for powerpc64.  Retain PF_X for powerpc32.
48826
48827 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48828
48829         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48830         accurately.
48831         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48832         GETDENTS_64BIT_ALIGNED.
48833
48834 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48835
48836         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48837
48838 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48839
48840         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48841         _GNU_SOURCE.
48842
48843         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48844         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48845         Remove __restrict.
48846         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48847         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48848
48849 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48850
48851         [BZ #11655]
48852         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48853         are initialized.
48854
48855 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48856
48857         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48858
48859 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48860
48861         * po/it.po: Update from translation team.
48862
48863 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48864
48865         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48866         unused codes.
48867
48868 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48869
48870         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48871
48872 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48873
48874         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48875         specially.
48876         (gaih_getanswer_slice): Likewise.
48877
48878 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48879
48880         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48881
48882 2010-05-31  Petr Baudis  <pasky@suse.cz>
48883
48884         [BZ #11149]
48885         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48886         silently even in the chroot mode.
48887
48888 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48889
48890         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48891         last patch a bit.  Pretty printing
48892
48893 2010-05-31  Petr Baudis <pasky@suse.cz>
48894
48895         [BZ #10085]
48896         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48897         initialization of skip_initgroups_dyn.
48898
48899 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48900
48901         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48902         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48903
48904 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48905
48906         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48907
48908 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48909
48910         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48911         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48912         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48913         ($(objpfx)tst-fnmatch-mem): New rule.
48914         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48915         * posix/tst-fnmatch.c (main): Call mtrace.
48916
48917 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48918
48919         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48920         Support Intel processor model 6 and model 0x2c.
48921
48922 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48923
48924         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48925           signed comparison.
48926
48927 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48928
48929         [BZ #12205]
48930         * string/test-strncasecmp.c (check_result): New function.
48931         (do_one_test): Use it.
48932         (check1): New function.
48933         (test_main): Use it.
48934         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48935         Support strcasecmp and strncasecmp.
48936
48937 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48938
48939         [BZ #12194]
48940         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48941         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48942
48943 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48944
48945         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48946         IFUNC support.
48947         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48948         memset-x86-64.
48949         * sysdeps/x86_64/multiarch/bzero.S: New file.
48950         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48951         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48952         * sysdeps/x86_64/multiarch/memset.S: New file.
48953         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48955         Set bit_Prefer_SSE_for_memop for Intel processors.
48956         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48957         Define.
48958         (index_Prefer_SSE_for_memop): Define.
48959         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48960
48961 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48962
48963         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48964         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48965
48966 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48967
48968         [BZ #12191]
48969         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48970         (__x86_64_raw_data_cache_size_half): Likewise.
48971         (__x86_64_raw_shared_cache_size): Likewise.
48972         (__x86_64_raw_shared_cache_size_half): Likewise.
48973
48974         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48975         (__x86_64_raw_data_cache_size_half): Likewise.
48976         (__x86_64_raw_shared_cache_size): Likewise.
48977         (__x86_64_raw_shared_cache_size_half): Likewise.
48978         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48979         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48980         and __x86_64_raw_shared_cache_size_half.  Round
48981         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48982         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48983         to multiple of 256 bytes.
48984
48985 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48986
48987         [BZ #12167]
48988         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48989         of inacessible symlinks.  Verify result of symlink before returning it.
48990         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48991         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48992
48993 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48994
48995         * math/math.h (isinf): Fix typo in comment.
48996
48997 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48998
48999         * po/da.po: Update from translation team.
49000
49001 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49002
49003         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49004         is added to the list.
49005
49006 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49007             Ulrich Drepper  <drepper@gmail.com>
49008
49009         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49010         the global list here.  Move code to...
49011         (_dl_add_to_namespace_list): ...here.  New function.
49012         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49013         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49014         * elf/dl-load.c (lose): Don't remove the element from the list.
49015         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49016         (_dl_map_object): Likewise.
49017
49018 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49019
49020         [BZ #12159]
49021         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49022         into all bytes of SSE register.
49023         Patch by Richard Li <richardpku@gmail.com>.
49024
49025 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49026
49027         [BZ #12140]
49028         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49029         perturbing.
49030
49031 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49032
49033         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49034         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49035         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49036         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49038         submachine.
49039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49040
49041 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49042
49043         * include/dlfcn.h (__RTLD_SECURE): Define.
49044         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49045         mode & __RTLD_SECURE instead.
49046         (open_path): Rename preloaded parameter to secure.
49047         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49048         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49049         * elf/dl-deps.c (openaux): Likewise.
49050         * elf/rtld.c (struct map_args): Remove is_preloaded.
49051         (map_doit): Don't use it.
49052         (dl_main): Likewise.
49053         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49054         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49055
49056 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49057
49058         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49059         (sysd-rules-targets): Remove duplicates.
49060         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49061         rtld-%.$o dependency.
49062
49063 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49064
49065         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49066         _dl_map_object do it.
49067
49068 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49069
49070         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49071         fast fma builtins, define the macros in the C99 standard.
49072         (FP_FAST_FMAF): Likewise.
49073         (FP_FAST_FMAL): Likewise.
49074         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49075
49076         * bits/mathdef.h: Update copyright year.
49077         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49078
49079 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49080
49081         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49082         builtins, define the macros in the C99 standard.
49083         (FP_FAST_FMAF): Likewise.
49084         (FP_FAST_FMAL): Likewise.
49085         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49086         multiply/add.
49087         (FP_FAST_FMAF): Likewise.
49088
49089 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49090
49091         [BZ #3268]
49092         * math/libm-test.inc (fma_test): Some new testcases.
49093         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49094         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49095         y and infinite z.  Do multiplication by C already in long double.
49096         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49097         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49098         y and infinite z.  Do bitwise or of inexact bit into u.d.
49099         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49100         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49101         * sysdeps/i386/fpu/s_fma.S: Removed.
49102         * sysdeps/i386/fpu/s_fmal.S: Removed.
49103
49104 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49105
49106         [BZ #3268]
49107         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49108         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49109         computation is not scheduled after fetestexcept.  Fix value
49110         of minimum denormal long double.
49111
49112 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49113
49114         [BZ #3268]
49115         * math/libm-test.inc (fma_test): Add some more tests.
49116         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49117         correctly.
49118
49119 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49120
49121         * scripts/data/localplt-s390-linux-gnu.data: New file.
49122         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49123
49124 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49125
49126         [BZ #3268]
49127         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49128         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49129         instead of dbl-64.
49130         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49131         inlines.
49132         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49133         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49134         if one of x and y is very large and the other is subnormal.
49135         * sysdeps/s390/fpu/s_fmaf.c: New file.
49136         * sysdeps/s390/fpu/s_fma.c: New file.
49137         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49138         * sysdeps/powerpc/fpu/s_fma.S: New file.
49139         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49140         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49141         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49142
49143 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49144
49145         [BZ #3268]
49146         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49147         fma tests.
49148         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49149         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49150         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49151         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49152         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49153         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49154         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49155
49156 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49157
49158         [BZ #12078]
49159         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49160         * posix/bug-regex31.input: Add test case.
49161
49162 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49163
49164         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49165         * posix/bug-regex31.input: New file.
49166
49167         [BZ #12078]
49168         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49169         (parse_sub_exp): Fix last change, use postorder.
49170
49171         * posix/bug-regex31.c: New file.
49172         * posix/Makefile: Add rules to build and run bug-regex31.
49173
49174         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49175
49176         [BZ #12078]
49177         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49178
49179         [BZ #12108]
49180         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49181         to have entries in sys_siglist.
49182
49183         [BZ #12093]
49184         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49185         be NULL.
49186
49187 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49188
49189         [BZ #3268]
49190         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49191         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49192         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49193         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49194         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49195         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49196         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49197         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49198         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49199         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49200         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49201         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49202         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49203         * math/ftestexcept.c (fetestexcept): Likewise.
49204         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49205         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49206         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49207         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49208         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49209         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49210         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49211
49212 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49213
49214         [BZ #12107]
49215         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49216         newline.
49217
49218 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49219
49220         * string/bug-strstr1.c: New file.
49221         * string/Makefile: Add rules to build and run bug-strstr1.
49222
49223 2010-10-05  Eric Blake  <eblake@redhat.com>
49224
49225         [BZ #12092]
49226         * string/str-two-way.h (two_way_long_needle): Always clear memory
49227         when skipping input due to the shift table.
49228
49229 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49230
49231         [BZ #12005]
49232         * malloc/mcheck.c: Handle large requests.
49233
49234         [BZ #12077]
49235         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49236         for strncmp and strncasecmp.
49237         * string/stratcliff.c: Add tests for strcmp and strncmp.
49238         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49239
49240 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49241
49242         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49243         __set_fpscr.
49244
49245 2010-09-30  Andreas Jaeger  <aj@suse.de>
49246
49247         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49248         (CGROUP_SUPER_MAGIC): Define.
49249         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49250         Handle btrfs and cgroup file systems.
49251         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49252         Likewise.
49253
49254 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49255
49256         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49257         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49258
49259 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49260
49261         [BZ #12067]
49262         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49263         trying to locate the ELF header.
49264
49265 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49266
49267         [BZ #11611]
49268         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49269         Mask out sign-bit copies when constructing f_fsid.
49270
49271 2010-09-24  Petr Baudis <pasky@suse.cz>
49272
49273         * debug/stack_chk_fail_local.c: Add missing licence exception.
49274         * debug/warning-nop.c: Likewise.
49275
49276 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49277
49278         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49279         implementing getdents64 using getdents syscall, set d_type if
49280         __ASSUME_GETDENTS32_D_TYPE.
49281
49282 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49283
49284         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49285         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49286
49287 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49288
49289         [BZ #12037]
49290         * posix/unistd.h: Undo change of feature selection for ftruncate from
49291         2010-01-11.
49292
49293 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49294
49295         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49296         detection.
49297
49298 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49299
49300         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49301         fanotify_mark.
49302         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49303
49304 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49305
49306         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49307         variables after CHECK_SP call.
49308         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49309
49310 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49311             Ulrich Drepper  <drepper@redhat.com>
49312
49313         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49314         re-relocationg ld.so.
49315         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49316         _dl_init_paths call.
49317         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49318         here anymore.
49319
49320 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49321
49322         * resolv/res_init.c (__res_vinit): Count the default server we added.
49323
49324 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49325             Ulrich Drepper  <drepper@redhat.com>
49326
49327         [BZ #11968]
49328         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49329         (____longjmp_chk): Use %ebx for saving value across system call.
49330         Add unwind info.
49331
49332 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49333
49334         * manual/Makefile: Don't mix pattern rules with normal rules.
49335
49336 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49337
49338         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49339         operation.
49340         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49341         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49342         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49343         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49344         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49345         Likewise.
49346
49347 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49348
49349         [BZ #11979]
49350         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49351         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49352
49353 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49354
49355         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49356         * sysdeps/x86_64/addmul_1.S: Likewise.
49357         * sysdeps/x86_64/lshift.S: Likewise.
49358         * sysdeps/x86_64/mul_1.S: Likewise.
49359         * sysdeps/x86_64/rshift.S: Likewise.
49360         * sysdeps/x86_64/sub_n.S: Likewise.
49361         * sysdeps/x86_64/submul_1.S: Likewise.
49362
49363 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49364
49365         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49366         Define __sched_param instead of SCHED_* and sched_param when
49367         <bits/sched.h> is included with __need_schedparam defined.
49368         * bits/sched.h [__need_schedparam]
49369         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49370         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49371         (__defined_schedparam): Define to 1.
49372         (__sched_param): New structure, identical to sched_param.
49373         (__need_schedparam): Undefine.
49374
49375 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49376
49377         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49378         (epoll_create1): Declare.
49379
49380         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49381
49382 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49383
49384         [BZ #7066]
49385         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49386         shifting retval into place.
49387
49388 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49389
49390         * nis/rpcsvc/nis.h: Update copyright notice.
49391         * nis/rpcsvc/nis.x: Likewise.
49392         * nis/rpcsvc/nis_callback.h: Likewise.
49393         * nis/rpcsvc/nis_callback.x: Likewise.
49394         * nis/rpcsvc/nis_object.x: Likewise.
49395         * nis/rpcsvc/nis_tags.h: Likewise.
49396         * nis/rpcsvc/yp.h: Likewise.
49397         * nis/rpcsvc/yp.x: Likewise.
49398         * nis/rpcsvc/ypupd.h: Likewise.
49399         * nis/yp_xdr.c: Likewise.
49400         * nis/ypupdate_xdr.c: Likewise.
49401
49402         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49403         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49404         (pmap_getport): Use __libc_rpc_getport.
49405         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49406         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49407         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49408
49409 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49410
49411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49412         fanotify_mark.
49413
49414 2010-08-27  Roland McGrath  <roland@redhat.com>
49415
49416         * sysdeps/i386/i686/multiarch/Makefile
49417         (CFLAGS-varshift.c): New variable.
49418
49419 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49420
49421         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49422         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49423
49424         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49425
49426         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49427
49428 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49429
49430         * sysdeps/x86_64/strlen.S: Unroll the loop.
49431         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49432         strlen-sse2 strlen-sse2-bsf.
49433         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49434         __strlen_no_bsf if bit_Slow_BSF is set.
49435         (__strlen_sse42): Removed.
49436         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49437         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49438
49439 2010-08-25  Roland McGrath  <roland@redhat.com>
49440
49441         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49442         * sysdeps/x86_64/multiarch/varshift.c: New file.
49443         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49444         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49445         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49446         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49447
49448 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49449
49450         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49451         strlen-sse2 strlen-sse2-bsf.
49452         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49453         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49454         (__strlen_sse2): Removed.
49455         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49456         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49458         bit_Slow_BSF for Atom.
49459         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49460         (index_Slow_BSF): Define.
49461         (HAS_SLOW_BSF): Define.
49462
49463 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49464
49465         [BZ #10851]
49466         * resolv/res_init.c (__res_vinit): When no server address at all
49467         is given default to loopback.
49468
49469 2010-08-24  Roland McGrath  <roland@redhat.com>
49470
49471         * configure.in: Remove config-name.h generation.
49472         * configure: Regenerated.
49473         * config-name.in: File removed.
49474         * scripts/config-uname.sh: New file.
49475         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49476         ($(objdir)config-name.h): New target.
49477
49478         * sunrpc/rpc_parse.h: Avoid nested comment.
49479
49480 2010-08-24  Richard Henderson  <rth@redhat.com>
49481             Ulrich Drepper  <drepper@redhat.com>
49482             H.J. Lu  <hongjiu.lu@intel.com>
49483
49484         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49485         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49486         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49487         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49488         _mm_alignr_epi8 with _mm_loadu_si128.
49489         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49490         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49491         (__m128i_shift_right): Removed.
49492         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49493         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49494         * sysdeps/x86_64/multiarch/varshift.h: New file.
49495         * sysdeps/x86_64/multiarch/varshift.S: New file.
49496
49497 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49498
49499         * configure.in: Move assembler checks to before sysdep dir checking.
49500
49501 2010-08-20  Petr Baudis  <pasky@suse.cz>
49502
49503         * LICENSES: Sync the sunrpc license.
49504
49505 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49506
49507         * sunrpc/auth_des.c: Update copyright notice once again.
49508         * sunrpc/auth_none.c: Likewise.
49509         * sunrpc/auth_unix.c: Likewise.
49510         * sunrpc/authdes_prot.c: Likewise.
49511         * sunrpc/authuxprot.c: Likewise.
49512         * sunrpc/bindrsvprt.c: Likewise.
49513         * sunrpc/clnt_gen.c: Likewise.
49514         * sunrpc/clnt_perr.c: Likewise.
49515         * sunrpc/clnt_raw.c: Likewise.
49516         * sunrpc/clnt_simp.c: Likewise.
49517         * sunrpc/clnt_tcp.c: Likewise.
49518         * sunrpc/clnt_udp.c: Likewise.
49519         * sunrpc/clnt_unix.c: Likewise.
49520         * sunrpc/des_crypt.c: Likewise.
49521         * sunrpc/des_soft.c: Likewise.
49522         * sunrpc/get_myaddr.c: Likewise.
49523         * sunrpc/getrpcport.c: Likewise.
49524         * sunrpc/key_call.c: Likewise.
49525         * sunrpc/key_prot.c: Likewise.
49526         * sunrpc/openchild.c: Likewise.
49527         * sunrpc/pm_getmaps.c: Likewise.
49528         * sunrpc/pm_getport.c: Likewise.
49529         * sunrpc/pmap_clnt.c: Likewise.
49530         * sunrpc/pmap_prot.c: Likewise.
49531         * sunrpc/pmap_prot2.c: Likewise.
49532         * sunrpc/pmap_rmt.c: Likewise.
49533         * sunrpc/rpc/auth.h: Likewise.
49534         * sunrpc/rpc/auth_unix.h: Likewise.
49535         * sunrpc/rpc/clnt.h: Likewise.
49536         * sunrpc/rpc/des_crypt.h: Likewise.
49537         * sunrpc/rpc/key_prot.h: Likewise.
49538         * sunrpc/rpc/netdb.h: Likewise.
49539         * sunrpc/rpc/pmap_clnt.h: Likewise.
49540         * sunrpc/rpc/pmap_prot.h: Likewise.
49541         * sunrpc/rpc/pmap_rmt.h: Likewise.
49542         * sunrpc/rpc/rpc.h: Likewise.
49543         * sunrpc/rpc/rpc_des.h: Likewise.
49544         * sunrpc/rpc/rpc_msg.h: Likewise.
49545         * sunrpc/rpc/svc.h: Likewise.
49546         * sunrpc/rpc/svc_auth.h: Likewise.
49547         * sunrpc/rpc/types.h: Likewise.
49548         * sunrpc/rpc/xdr.h: Likewise.
49549         * sunrpc/rpc_clntout.c: Likewise.
49550         * sunrpc/rpc_cmsg.c: Likewise.
49551         * sunrpc/rpc_common.c: Likewise.
49552         * sunrpc/rpc_cout.c: Likewise.
49553         * sunrpc/rpc_dtable.c: Likewise.
49554         * sunrpc/rpc_hout.c: Likewise.
49555         * sunrpc/rpc_main.c: Likewise.
49556         * sunrpc/rpc_parse.c: Likewise.
49557         * sunrpc/rpc_parse.h: Likewise.
49558         * sunrpc/rpc_prot.c: Likewise.
49559         * sunrpc/rpc_sample.c: Likewise.
49560         * sunrpc/rpc_scan.c: Likewise.
49561         * sunrpc/rpc_scan.h: Likewise.
49562         * sunrpc/rpc_svcout.c: Likewise.
49563         * sunrpc/rpc_tblout.c: Likewise.
49564         * sunrpc/rpc_util.c: Likewise.
49565         * sunrpc/rpc_util.h: Likewise.
49566         * sunrpc/rpcinfo.c: Likewise.
49567         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49568         * sunrpc/rpcsvc/key_prot.x: Likewise.
49569         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49570         * sunrpc/rpcsvc/mount.x: Likewise.
49571         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49572         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49573         * sunrpc/rpcsvc/rex.x: Likewise.
49574         * sunrpc/rpcsvc/rstat.x: Likewise.
49575         * sunrpc/rpcsvc/rusers.x: Likewise.
49576         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49577         * sunrpc/rpcsvc/spray.x: Likewise.
49578         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49579         * sunrpc/rtime.c: Likewise.
49580         * sunrpc/svc.c: Likewise.
49581         * sunrpc/svc_auth.c: Likewise.
49582         * sunrpc/svc_authux.c: Likewise.
49583         * sunrpc/svc_raw.c: Likewise.
49584         * sunrpc/svc_run.c: Likewise.
49585         * sunrpc/svc_simple.c: Likewise.
49586         * sunrpc/svc_tcp.c: Likewise.
49587         * sunrpc/svc_udp.c: Likewise.
49588         * sunrpc/svc_unix.c: Likewise.
49589         * sunrpc/svcauth_des.c: Likewise.
49590         * sunrpc/xcrypt.c: Likewise.
49591         * sunrpc/xdr.c: Likewise.
49592         * sunrpc/xdr_array.c: Likewise.
49593         * sunrpc/xdr_float.c: Likewise.
49594         * sunrpc/xdr_mem.c: Likewise.
49595         * sunrpc/xdr_rec.c: Likewise.
49596         * sunrpc/xdr_ref.c: Likewise.
49597         * sunrpc/xdr_sizeof.c: Likewise.
49598         * sunrpc/xdr_stdio.c: Likewise.
49599
49600         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49601         handling.
49602
49603 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49604
49605         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49606
49607 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49608
49609         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49610         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49611         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49612         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49613         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49614         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49615         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49616         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49617         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49618         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49619         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49620         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49621         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49622         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49623
49624 2010-07-26  Anton Blanchard  <anton@samba.org>
49625
49626         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49627         * malloc/arena.c (heap_trim): Likewise.
49628
49629 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49630
49631         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49632         here.  Not...
49633         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49634         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49635
49636 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49637
49638         * sysdeps/i386/elf/Makefile: New file.
49639
49640 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49641
49642         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49643         from fanotify_init.
49644         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49645         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49646
49647 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49648
49649         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49650         of strncasecmp_l.
49651         * sysdeps/multiarch/strcmp.S: Likewise.
49652
49653 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49654
49655         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49656         strncase_l-nonascii.
49657         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49658         Add strncase_l-ssse3.
49659         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49660         * sysdeps/x86_64/strcmp.S: Likewise.
49661         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49662         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49663         * sysdeps/x86_64/strncase.S: New file.
49664         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49665         * sysdeps/x86_64/strncase_l.S: New file.
49666         * string/Makefile (strop-tests): Add strncasecmp.
49667         * string/test-strncasecmp.c: New file.
49668
49669         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49670         warning.
49671
49672         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49673         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49674
49675 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49676
49677         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49678
49679 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49680
49681         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49682         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49683         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49684
49685 2010-05-01  Alan Modra  <amodra@gmail.com>
49686
49687         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49688         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49689         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49690         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49691         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49692         tidying.  Don't tail-call __sigjmp_save for static lib.
49693         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49694         save location.
49695         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49696         (CALL_MCOUNT): Add eh info, and nop after bl.
49697         (TAIL_CALL_SYSCALL_ERROR): New macro.
49698         (PSEUDO_RET): Use it.
49699         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49700         Correct save location of integer regs and cr.
49701         (_dl_profile_resolve): Correct cr save location.  Delete nops
49702         after bl when SHARED.  Reduce cfi size a little by better
49703         placement of cfi directives.
49704         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49705         make a stack frame.  Instead use parm save area as a temp.
49706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49707         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49709         Don't make a stack frame for parent, use parm save area.
49710         Increase child stack frame to 112 bytes.  Don't save unused reg,
49711         and adjust reg usage.  Set up cfi on error recovery and
49712         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49714         (__makecontext): Add dummy nop after jump to exit.
49715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49716         Use correct parm save area and cr save, reduce stack frame.
49717         Correct cfi for possible PSEUDO_RET frame setup.
49718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49719         Branch to local label emitted by PSEUDO_RET rather than
49720         __syscall_error.
49721
49722 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49723
49724         [BZ #11904]
49725         * locale/programs/locale.c (print_assignment): New function.
49726         (show_locale_vars): Use it.
49727
49728 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49729
49730         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49731         field.
49732         (struct statfs64): Likewise.
49733         (_STATFS_F_FLAGS): Define.
49734         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49735         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49736         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49737         (ST_VALID): Define locally.
49738         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49739         __statvfs_getflags, use the provided value.
49740         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49741         __ASSUME_STATFS_F_FLAGS.
49742
49743         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49744
49745         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49746         Add sys/fanotify.h.
49747         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49748         fanotify_mask for GLIBC_2.13.
49749         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49750         fanotify_init and fanotify_mark.
49751         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49752         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49753
49754         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49755         Add prlimit.
49756         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49757         prlimit64 for GLIBC_2.13.
49758         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49759         prlimit64.
49760         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49761         syscall.
49762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49763         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49764         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49765         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49766         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49767         add prlimit alias.
49768         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49769
49770         [BZ #11903]
49771         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49772         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49773
49774         * nss/Makefile: Add rules to build and run tst-nss-test1.
49775         * shlib-versions: Add entry for libnss_test1.
49776         * nss/nss_test1.c: New file.
49777         * nss/tst-nss-test1.c: New file.
49778
49779         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49780         (__nss_configure_lookup): Set appropriate entry in
49781         __nss_configure_lookup to true.
49782         * nss/nsswitch.h: Define enum with indeces of databases in
49783         databases and __nss_database_custom arrays.  Declare
49784         __nss_database_custom.
49785         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49786         to avoid using nscd when custom rules are installed.
49787         * nss/getXXbyYY_r.c: Likewise.
49788         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49789
49790         * nss/nss_files/files-parse.c: Whitespace fixes.
49791
49792 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49793
49794         [BZ #11883]
49795         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49796         * posix/fnmatch_loop.c: Likewise.
49797
49798 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49799
49800         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49801         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49802         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49803         * Versions.def [GLIBC_2.13]: Add.
49804
49805 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49806
49807         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49808         Also fail if tpwd after pwuid call is NULL.
49809
49810 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49811
49812         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49813         when converting to ms.
49814
49815 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49816
49817         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49818         EOPNOTSUPP errors with ENOTTY.
49819         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49820         EOPNOTSUPP errors with ENOTTY.
49821
49822 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49823
49824         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49825         Add strcasecmp_l-ssse3.
49826         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49827         strcasecmp.
49828         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49829         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49830         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49831
49832 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49833
49834         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49835
49836         * string/Makefile (strop-tests): Add strcasecmp.
49837         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49838         strcasecmp_l-nonascii.
49839         (gen-as-const-headers): Add locale-defines.sym.
49840         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49841         * sysdeps/x86_64/strcasecmp.S: New file.
49842         * sysdeps/x86_64/strcasecmp_l.S: New file.
49843         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49844         * sysdeps/x86_64/locale-defines.sym: New file.
49845         * string/test-strcasecmp.c: New file.
49846
49847         * string/test-strcasestr.c: Test both ends of the range of characters.
49848         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49849
49850 2010-07-29  Roland McGrath  <roland@redhat.com>
49851
49852         [BZ #11856]
49853         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49854
49855 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49856
49857         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49858         for ld.so.
49859
49860 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49861
49862         * manual/memory.texi (Malloc Tunable Parameters): Document
49863         M_PERTURB.
49864
49865 2010-07-26  Roland McGrath  <roland@redhat.com>
49866
49867         [BZ #11840]
49868         * configure.in (-fgnu89-inline check): Set and substitute
49869         gnu89_inline, not libc_cv_gnu89_inline.
49870         * configure: Regenerated.
49871         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49872
49873 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49874
49875         * string/test-strnlen.c: New file.
49876         * string/Makefile (strop-tests): Add strnlen.
49877         * string/tester.c (test_strnlen): Add a few more test cases.
49878         * string/tst-strlen.c: Better error reporting.
49879
49880         * sysdeps/x86_64/strnlen.S: New file.
49881
49882 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49883
49884         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49885         lower-latency instructions.
49886
49887 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49888
49889         * string/test-strcasestr.c: New file.
49890         * string/test-strstr.c: New file.
49891         * string/Makefile (strop-tests): Add strstr and strcasestr.
49892         * string/str-two-way.h: Don't undefine MAX.
49893         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49894
49895 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49896
49897         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49898         strcasestr-nonascii.
49899         (CFLAGS-strcasestr-nonascii.c): Define.
49900         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49901         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49902         Remove unused attribute.
49903
49904 2010-07-20  Roland McGrath  <roland@redhat.com>
49905
49906         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49907         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49908         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49909         like LD_HWCAP_MASK can disable hwcaps.
49910
49911 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49912
49913         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49914
49915 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49916
49917         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49918         call in strcasestr.
49919         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49920         __strcasestr_sse42_nonascii.
49921         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49922         strcasestr-nonascii.c.
49923         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49924
49925 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49926
49927         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49928         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49929         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49930         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49931
49932 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49933
49934         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49935         fcntl.
49936
49937 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49938
49939         [BZ #11577]
49940         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49941         dl_signal_cerror.
49942
49943 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49944
49945         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49946         _PC_PIPE_BUF using F_GETPIPE_SZ.
49947
49948 2010-07-05  Roland McGrath  <roland@redhat.com>
49949
49950         * manual/arith.texi (Rounding Functions): Fix rint description
49951         implicit in round description.
49952
49953 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49954
49955         * elf/Makefile: Fix linking for a few tests to make recent linker
49956         happy.
49957
49958 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49959
49960         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49961         $(common-objpfx)libc_nonshared.a.
49962
49963 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49964
49965         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49966         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49967         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49968         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49969         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49970         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49971         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49972         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49987         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49988         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49989         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49990         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49991         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49992         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49993         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49994         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49995         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49996         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49997         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49998         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50013
50014 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50015
50016         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50017         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50018         * string/memmove.c (memmove): Renamed to ...
50019         (MEMMOVE): ...this.  Default to memmove.
50020         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50021         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50022         (END_CHK): Define.
50023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50024         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50025         mempcpy-ssse3-back memmove-ssse3-back.
50026         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50027         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50028         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50029         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50030         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50031         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50032         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50033         * sysdeps/x86_64/multiarch/memmove.c: New file.
50034         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50035         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50036         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50037         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50038         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50039         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50040         Define.
50041         (index_Fast_Copy_Backward): Define.
50042         (HAS_ARCH_FEATURE): Define.
50043         (HAS_FAST_REP_STRING): Define.
50044         (HAS_FAST_COPY_BACKWARD): Define.
50045
50046 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50047
50048         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50049         Restore proper fallback handling.
50050
50051 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50052
50053         [BZ #11701]
50054         * posix/group_member.c (__group_member): Correct checking loop.
50055
50056         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50057         OOM in getpwuid_r correctly.  Return error number when the caller
50058         should return, otherwise -1.
50059         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50060         call returning > 0 value.
50061         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50062
50063 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50064
50065         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50066         libc_nonshared.a from targets in modules-names.
50067
50068 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50069
50070         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50071         requires it.
50072
50073 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50074
50075         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50076         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50077         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50078         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50079
50080 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50081
50082         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50083
50084 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50085
50086         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50087         and F_GETPIPE_SZ.
50088         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50089         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50090         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50091         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50092         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50093         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50094
50095 2010-06-14  Roland McGrath  <roland@redhat.com>
50096
50097         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50098
50099 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50100
50101         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50102         __REDIRECT followed by __THROW.
50103         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50104         * posix/getopt.h (getopt): Likewise.
50105
50106 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50107
50108         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50109         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50110         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50111         in AT_FLAGS.
50112         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50113         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50114
50115 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50116
50117         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50118
50119 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50120
50121         [BZ #11640]
50122         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50123         Properly check family and model.
50124
50125 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50126
50127         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50128
50129 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50130
50131         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50132
50133 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50134
50135         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50136         symbol reference.
50137
50138 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50139
50140         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50141         symbol reference.
50142
50143 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50144
50145         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50146         and internal_recvmmsg.
50147         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50148         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50149         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50150         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50151
50152         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50153         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50154         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50155
50156 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50157
50158         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50159
50160 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50161
50162         POWER7 optimizations.
50163         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50164         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50165
50166 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50167
50168         * version.h: Update for 2.13 development version.
50169
50170 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50171
50172         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50173         exceptions.  Return 0.
50174
50175 2010-05-07  Roland McGrath  <roland@redhat.com>
50176
50177         * elf/ldconfig.c (main): Add a const.
50178
50179 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50180
50181         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50182         (args_options): Add no-idn option.
50183         (ahosts_keys_int): Add idn_flags to ai_flags.
50184         (parse_option): Handle 'i' option to clear idn_flags.
50185
50186         * malloc/malloc.c (_int_free): Possible race in the most recently
50187         added check.  Only act on the data if no current modification
50188         happened.
50189
50190 See ChangeLog.17 for earlier changes.