Remove _POSIX_REGEX_VERSION
[platform/upstream/glibc.git] / ChangeLog
1 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2
3         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4         _SC_REGEX_VERSION.
5
6         * posix/getconf.c (vars): Add _POSIX_IPV6 and
7         _POSIX_RAW_SOCKETS.
8
9 2014-09-13  Allan McRae  <allan@archlinux.org>
10
11         * po/ru.po: Update Russian translation from translation project.
12
13 2014-09-12  Roland McGrath  <roland@hack.frob.com>
14
15         * locale/programs/locale.c (show_locale_vars): Inline local function
16         into its sole call site.  Clean up some style nits.
17         (print_item): New function, broken out of ...
18         (show_info): ... local function here.  Clean up style nits.
19
20         * locale/programs/ld-ctype.c (set_one_default): New function, broken
21         out of ...
22         (set_class_defaults): ... local function set_default here.
23         Define set_default as a macro locally to pass constant parameters.
24         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
25         rather than a shared local.
26
27         * stdlib/rpmatch.c (try): New function, broken out of ...
28         (rpmatch): ... local function here.  Also, prototypify definition.
29
30 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
31
32         * scripts/soversions.awk: Do not handle configuration names.
33         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
34         vendor and os variables to soversions.awk.
35         * configure.ac: Do not modify gnu-* host_os.
36         * configure: Regenerated
37         * shlib-versions: Remove first column with configuration names.
38         * nptl/shlib-versions: Likewise.
39         * nptl_db/shlib-versions: Likewise.
40         * sysdeps/hppa/shlib-versions: Likewise.
41         * sysdeps/m68k/shlib-versions: Likewise.
42         * sysdeps/mach/hurd/shlib-versions: Likewise.
43         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
44         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
45         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
47         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
48         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
49         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
50         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
51         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
52         Likewise.
53         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
54         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
55         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
56         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
57         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
58         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
59         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
60         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
61
62         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
63         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
64         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
65         Regenerated.
66         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
67         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
68         Condition symbol version definitions on [HAVE_ELFV2_ABI].
69
70         * shlib-versions: Remove OS-specific entries.  Moved to files in
71         sysdeps.
72         * sysdeps/mach/hurd/shlib-versions: New file.
73         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
74
75         * nptl/shlib-versions: Remove architecture-specific entries.
76         Moved to files in sysdeps.
77         * shlib-versions: Likewise.
78         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
79         file.
80         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
81         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
82         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
83         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
84
85         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
86         (UDP_NO_CHECK6_RX): Likewise.
87
88 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
89
90         * sysdeps/posix/sysconf.c (__sysconf): Spell
91         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
92
93 2014-08-12  Florian Weimer  <fweimer@redhat.com>
94
95         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
96         loading.
97         * iconv/Versions (__gconv_transliterate): Export for use from
98         gconv modules.
99         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
100         (struct __gconv_trans_data, __gconv_trans_fct,
101         __gconv_trans_context_fct, __gconv_trans_query_fct,
102         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
103         definitions.
104         (struct __gconv_step_data): Remove __trans member.
105         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
106         longer hidden.  Remove unused trans_data argument.
107         * iconv/gconv_int.h (struct trans_struct): Remove definition.
108         (__gconv_translit_find): Remove declaration.
109         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
110         prototype.
111         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
112         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
113         trans_data argument.  Add hidden definition.
114         (__gconv_translit_find): Remove.
115         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
116         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
117         * iconv/skeleton.c: Remove transliteration initialization.
118         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
119         __gconv_step_data initialization.
120         * libio/iofwide.c (__libio_translit_): Remove.
121         (_IO_fwide): Adjust struct __gconv_step_data initialization.
122         * wcsmbs/btowc.c (__btowc): Likewise.
123         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
124         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
125         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
126         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
127         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
128         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
129         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
130         * wcsmbs/wctob.c (wctob): Likewise.
131
132 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
133
134         [BZ #16194]
135         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
136         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
137         register usage.
138         * sysdeps/x86/Makefile: Adjust.
139
140 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
141             Roland McGrath  <roland@hack.frob.com>
142
143         * locale/weight.h: Add include guard.
144         (findidx): Make static rather than auto; take new parameters
145         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
146         * locale/weightwc.h: Likewise.
147         * posix/fnmatch_loop.c
148         (FCT): Change type of EXTRA from int32_t to wint_t.
149         Don't include either header inside the function.
150         Call FINDIDX rather than findidx, and pass new arguments.
151         #undef FINDIDX at the end of the file.
152         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
153         FINDIDX before including fnmatch_loop.c for the non-wide version.
154         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
155         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
156         for the wide version.
157         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
158         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
159         Pass new arguments to findidx.
160         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
161         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
162         Don't #include it inside the function.  Pass new arguments to findidx.
163         * posix/regex_internal.h
164         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
165         (re_string_elem_size_at): Don't #include it inside the function.
166         Pass new arguments to findidx.
167         * string/strcoll_l.c: #include WEIGHT_H at top level.
168         (get_next_seq): Don't #include it inside the function.
169         Pass new arguments to findidx.
170         (get_next_seq_nocache): Likewise.
171         * string/strxfrm_l.c: #include WEIGHT_H at top level.
172         (STRXFRM): Don't #include it inside the function.
173         Pass new arguments to findidx.
174
175 2014-09-11  Florian Weimer  <fweimer@redhat.com>
176
177         [BZ #17344]
178         * malloc/malloc.c (unlink): Turn asserts into a call to
179         malloc_printerr.
180
181 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
182
183         [BZ #17370]
184         * libio/wfileops (do_ftell_wide): Free OUT.
185
186 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
187
188         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
189
190 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
191
192         [BZ #17363]
193         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
194         group if the current group is empty.
195
196 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
197
198         * benchtests/bench-memset.c (test_main): Add more test from size
199         from 32 to 512 bytes.
200         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
201         Add POWER8 memset object.
202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
203         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
204         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
205         implementation.
206         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
207         Likewise.
208         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
209         multiarch POWER8 memset optimization.
210         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
211         POWER8 memset optimization.
212
213         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
214         Remove bzero multiarch objects.
215         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
216         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
217         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
218         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
219         Remove define.
220         [__bzero]: Redefine to specific name.
221         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
222         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
223         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
224         define.
225         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
226         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
227
228 2014-09-10  Florian Weimer  <fweimer@redhat.com>
229
230         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
231         warnings into errors.
232
233         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
234         __cxa_thread_atexit_impl prototype.
235
236 2014-09-09  Steve Ellcey  <sellcey@mips.com>
237
238         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
239         Fix capitalization of error message.
240
241 2014-09-09  Steve Ellcey  <sellcey@mips.com>
242
243         * sysdeps/mips/preconfigure: Modify ABI tests.
244
245 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
246
247         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
248
249 2014-09-07  Roland McGrath  <roland@hack.frob.com>
250             Carlos O'Donell  <carlos@systemhalted.org>
251
252         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
253         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
254         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
255         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
256         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
257         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
258         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
259         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
260         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
261         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
262         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
263         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
264         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
265         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
266         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
267         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
268         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
269         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
270         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
271         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
272         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
273         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
274         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
275         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
276         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
277         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
278         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
279         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
280         Deconditionalize the code that was previously under [RESET_PID].
281         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
282         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
283         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
284         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
285         include sysdep.h.
286
287 2014-09-08  Allan McRae  <allan@archlinux.org>
288
289         * version.h (RELEASE): Set to "development".
290         (VERSION): Set to "2.20.90"
291
292 2014-09-07  Allan McRae  <allan@archlinux.org
293
294         * version.h (RELEASE): Set to "stable".
295         (VERSION): Set to "2.20"
296         * include/features.h (__GLIBC_MINOR__): Set to 20.
297
298         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
299         Liebler.
300
301         * po/ko.po: Update Korean translation from translation project.
302
303 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
304
305         [BZ #17354]
306         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
307         macro for handling signed relocations.
308
309 2014-09-03  Florian Weimer  <fweimer@redhat.com>
310
311         [BZ #17325]
312         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
313         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
314         assert.
315         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
316         * iconvdata/ibm935.c (BODY): Likewise.
317         * iconvdata/ibm937.c (BODY): Likewise.
318         * iconvdata/ibm939.c (BODY): Likewise.
319         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
320         assert.
321         * iconvdata/Makefile (iconv-test.out): Pass module list to test
322         script.
323         * iconvdata/run-iconv-test.sh: New test loop for checking for
324         decoder crashers.
325
326 2014-09-02  Khem Raj  <raj.khem@gmail.com>
327
328         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
329         libm_hidden_ver.
330
331 2014-09-01  Allan McRae  <allan@archlinux.org>
332
333         * po/eo.po: Update Esperanto translation from translation project.
334
335         * po/ca.po: Update Catalan translation from translation project.
336
337 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
338
339         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
340         __proc_dostop call.
341
342 2014-08-27  Mark Wielaard  <mjw@redhat.com>
343
344         [BZ #17319]
345         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
346         to call set_thread_area instead of hand written asm.
347         (__NR_set_thread_area): Removed define.
348         (TLS_FLAG_WRITABLE): Likewise.
349         (__ASSUME_SET_THREAD_AREA): Remove check.
350         (TLS_EBX_ARG): Remove define.
351         (TLS_LOAD_EBX): Likewise.
352
353 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
354
355         Simplify atomicity of socket creation in bind.
356
357         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
358         looking up the name after linking the file.
359
360 2014-08-27  Allan McRae  <allan@archlinux.org>
361
362         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
363
364 2014-08-26  Florian Weimer  <fweimer@redhat.com>
365
366         [BZ #17187]
367         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
368         trans_compare, open_translit, __gconv_translit_find):
369         Remove module loading code.
370
371 2014-08-26  Allan McRae  <allan@archlinux.org>
372
373         * po/vi.po: Update Vietnamese translation from translation project.
374
375         * po/uk.po: Update Ukrainian translation from translation project.
376
377         * po/fr.po: Update French translation from translation project.
378
379         * po/ru.po: Update Russian translation from translation project.
380
381         * po/pl.po: Update Polish translation from translation project.
382
383         * po/cs.po: Update Czech translation from translation project.
384
385         * po/de.po: Update German translation from translation project.
386
387         * po/bg.po: Update Bulgarian translation from translation project.
388
389         * po/sv.po: Update Sweedish translation from translation project.
390
391         * po/nl.po: Update Dutch translation from translation project.
392
393         * po/es.po: Update Spanish translation from translation project.
394
395 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
396
397         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
398
399         * catgets/Makefile (CPPFLAGS-gencat): Remove.
400         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
401         (CPPFLAGS-iconvconfig): Likewise.
402         * timezone/Makefile (CPPFLAGS-zic): Likewise.
403
404         * include/libc-symbols.h: Remove unnecessary check for
405         NOT_IN_libc.
406         * nptl/pthreadP.h: Likewise.
407         * sysdeps/aarch64/setjmp.S: Likewise.
408         * sysdeps/alpha/setjmp.S: Likewise.
409         * sysdeps/arm/sysdep.h: Likewise.
410         * sysdeps/i386/setjmp.S: Likewise.
411         * sysdeps/m68k/setjmp.c: Likewise.
412         * sysdeps/posix/getcwd.c: Likewise.
413         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
414         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
415         * sysdeps/s390/s390-32/setjmp.S: Likewise.
416         * sysdeps/s390/s390-64/setjmp.S: Likewise.
417         * sysdeps/sh/sh3/setjmp.S: Likewise.
418         * sysdeps/sh/sh4/setjmp.S: Likewise.
419         * sysdeps/unix/alpha/sysdep.h: Likewise.
420         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
421         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
422         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
423         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
426         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
427         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
428         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
429         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
430         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
431         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
432         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
433         * sysdeps/x86_64/setjmp.S: Likewise.
434
435 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
436
437         [BZ #17263]
438         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
439         <stdint.h>.
440         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
441         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
442
443 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
444
445         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
446
447         [BZ #17262]
448         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
449         and __x86_64__ when disabling x87 inline functions.
450
451 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
452
453         [BZ #17259]
454         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
455         asm statement with __cpuid_count.
456
457 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
458
459         * configure.ac: Change __ehdr_start code to dereference the struct.
460         Run readelf on the output to look for relocations.
461         * configure: Regenerated.
462
463 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
464
465         [BZ #17261]
466         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
467         value to 0.
468         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
469
470 2014-08-12  Roland McGrath  <roland@hack.frob.com>
471
472         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
473
474 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
475
476         [BZ #16892]
477         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
478         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
479
480 2014-08-12  Sean Anderson  <seanga2@gmail.com>
481
482         * malloc/malloc.c: Fix typo in comment.
483
484 2014-08-09  Allan McRae  <allan@archlinux.org>
485
486         * Regenerate libc.po.
487
488 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
489
490         * intl/tst-gettext2.sh: Check every lang file for creation.
491
492 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
493
494         * sysdeps/aarch64/fpu/math_private.h
495         (libc_feholdsetround_noex_aarch64_ctx): New function.
496
497 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
498
499         * sysdeps/arm/armv6/strcpy.S (strcpy):
500         Fix performance issue in misaligned cases.
501
502 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
503
504         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
505         Move definition from termios.h.
506         (struct termio): Likewise.
507         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
508         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
509         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
510         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
511         Likewise.
512         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
513         Move definition to ioctl-types.h
514         (struct termio): Likewise.
515         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
516         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
517         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
518         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
519         Likewise.
520
521 2014-08-05  Richard Henderson  <rth@redhat.com>
522
523         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
524         exceptions.
525         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
526         Add fraiseexcpt.
527         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
528         Use __feraiseexcept.
529         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
530         Protect libm symbols with IS_IN_libm.
531
532         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
533
534 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
535
536         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
537
538 2014-08-04  Will Newton  <will.newton@linaro.org>
539
540         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
541         file.
542
543 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
544
545         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
546         variants for each function.
547
548 2014-08-04  Roland McGrath  <roland@hack.frob.com>
549
550         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
551         appended ...
552         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
553         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
554         appended ...
555         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
556         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
557         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
558         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
559         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
560         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
561         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
562         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
563         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
564         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
565         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
566         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
567         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
568         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
569         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
570         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
571         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
572         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
573         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
574         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
575         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
576         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
577         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
578         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
579         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
580         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
581         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
582         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
583         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
584         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
585         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
586         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
587         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
588         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
589         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
590         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
591         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
592         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
593         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
594         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
595         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
596         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
597         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
598         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
599         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
600         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
601         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
602         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
603         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
604         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
605         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
606         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
607         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
608         Update #include.
609         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
610         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
611
612 2014-08-04  Roland McGrath  <roland@hack.frob.com>
613
614         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
615         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
616         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
617         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
618         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
619         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
620
621 2014-08-04  Roland McGrath  <roland@hack.frob.com>
622
623         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
624         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
625         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
626         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
627
628 2014-08-04  Roland McGrath  <roland@hack.frob.com>
629
630         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
631         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
632         (__libc_vfork): Define function under this name.
633         (__vfork): Define as an alias.
634         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
635         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
636
637 2014-08-04  Roland McGrath  <roland@hack.frob.com>
638
639         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
640         that was previously under [RESET_PID].
641         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
642
643 2014-08-04  Andreas Schwab  <schwab@suse.de>
644
645         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
646
647 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
648
649         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
650         (main): Likewise.
651
652 2014-08-01  Roland McGrath  <roland@hack.frob.com>
653
654         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
655
656 2014-08-01  Richard Henderon  <rth@redhat.com>
657
658         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
659         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
660         typo in exact zero test.
661         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
662         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
663         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
664
665 2014-08-01  Roland McGrath  <roland@hack.frob.com>
666
667         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
668         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
669         * sysdeps/arm/sysdep.h: ... here.
670         [!__ASSEMBLER__]: Include <stdint.h>.
671
672 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
673
674         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
675         (HAVE_WCTYPE_H): Likewise.
676         (HAVE_ISWCTYPE): Likewise.
677         (ENABLE_NLS): Likewise.
678         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
679         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
680
681         * posix/regex_internal.c: Check if DEBUG is defined and is
682         set.
683
684         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
685         (HAVE_MBSRTOWCS): Likewise.
686         * posix/fnmatch.c: Include string.h unconditionally.
687
688 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
689
690         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
691         reversal.
692
693 2014-07-31  Roland McGrath  <roland@hack.frob.com>
694
695         * sysdeps/generic/safe-fatal.h: New file.
696         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
697         * nptl/forward.c: Include it.
698         (__pthread_unwind): Use __safe_fatal as default action, rather
699         than a bogus use of INTERNAL_SYSCALL that could never work.
700
701         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
702         * configure.ac (libc_cv_builtin_trap): New test.
703         * configure: Regenerated.
704         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
705         (ABORT_INSTRUCTION): Define using __builtin_trap.
706
707         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
708         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
709         * sysdeps/nptl/nptl-signals.h: New file.
710         * nptl/pthreadP.h: Include <nptl-signals.h>.
711
712 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
713
714         * sysdeps/s390/s390-64/utf16-utf32-z9.c
715         (ONE_DIRECTION): Define.
716         * sysdeps/s390/s390-64/utf8-utf16-z9.c
717         (ONE_DIRECTION): Define.
718         * sysdeps/s390/s390-64/utf8-utf32-z9.c
719         (ONE_DIRECTION): Define.
720
721 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
722
723         * sysdeps/s390/Makefile: Delete file.
724         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
725         * sysdeps/s390/__longjmp.c: Delete file.
726         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
727         Remove fields __flags and __reserved.
728         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
729         and add versioning.
730         * sysdeps/s390/rtld-__longjmp.c: Delete file.
731         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
732         * sysdeps/s390/rtld-setjmp.S: Likewise.
733         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
734         * sysdeps/s390/s390-32/__longjmp.c: ... here.
735         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
736         * sysdeps/s390/s390-32/setjmp.S: ... here.
737         Add versioning.
738         (__sigsetjmp): Remove setting __flags field.
739         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
740         * sysdeps/s390/s390-64/__longjmp.c: ... here.
741         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
742         * sysdeps/s390/s390-64/setjmp.S: ... here.
743         Add versioning.
744         (__sigsetjmp): Remove setting __flags field.
745         * sysdeps/s390/setjmp.S: Delete file.
746         * sysdeps/s390/sigjmp.c: Likewise.
747         * sysdeps/s390/v1-longjmp.c: Likewise.
748         * sysdeps/s390/v1-setjmp.h: Likewise.
749         * sysdeps/s390/v1-sigjmp.c: Likewise.
750         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
751         Remove v1-longjmp_chk.
752         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
753         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
754         Include debug/longjmp_chk.c and add versioning.
755         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
756         Include nptl/pt-longjmp.c and add versioning.
757         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
758         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
759         Include __longjmp.c.
760         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
761         Move to ...
762         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
763         (__getcontext): Remove setting __flags field.
764         Add versioning.
765         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
766         Don't restore upper high grps.
767         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
768         Likewise.
769         (__swapcontext): Remove setting uc_flags field.
770         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
771         Delete file.
772         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
773         Include __longjmp.c.
774         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
775         Move to ...
776         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
777         (__getcontext): Remove setting __flags field.
778         Add versioning.
779         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
780         (__swapcontext): Remove setting uc_flags field.
781         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
782         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
783         Remove fields uc_high_gprs and __reserved.
784         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
785         New file with reverted content.
786         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
787         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
788         Regenerated.
789         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
790         Regenerated.
791
792 2014-07-31  Andreas Schwab  <schwab@suse.de>
793
794         * config.h.in (HAVE_IFUNC): Define to 0.
795         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
796         definedness.
797
798 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
799
800         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
801         memmove-avx-unaligned, memcpy-avx-unaligned and
802         mempcpy-avx-unaligned.
803         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
804         Add tests for AVX memcpy functions.
805         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
806         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
807         memcpy_chk.
808         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
809         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
810         memmove_chk.
811         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
812         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
813         mempcpy_chk.
814         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
815         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
816         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
817
818 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
819
820         [BZ #17213]
821         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
822         powerpc64le.
823
824 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
825
826         [BZ #16839]
827         * manual/llio.texi: Add section about open file description locks.
828         * manual/examples/ofdlocks.c: Example of open file description
829         lock usage.
830         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
831         F_OFD_SETLK, and F_OFD_SETLKW.
832
833 2014-07-23  Allan McRae  <allan@archlinux.org>
834
835         * po/es.po: Update Spanish translation from translation project.
836
837 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
838
839         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
840
841 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
842
843         [BZ #17078]
844         * sysdeps/arm/dl-machine.h (elf_machine_rela)
845         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
846         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
847
848 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
849
850         [BZ #17088]
851         * math/fesetenv.c (__fesetenv)
852         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
853         * math/feupdateenv.c (__feupdateenv)
854         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
855
856         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
857         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
858         (__ASSUME_SOCKETCALL): Do not define.
859
860         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
861         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
862         (__ASSUME_SOCKETCALL): Do not define.
863         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
864         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
865         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
866         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
867         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
868         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
869         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
870         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
871
872         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
873         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
874         (__ASSUME_SOCKETCALL): Do not define.
875         (__ASSUME_IPC64): Define unconditionally.
876         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
877         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
878         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
879         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
880         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
881         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
882         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
883         Likewise.
884
885         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
886         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
887         (__ASSUME_SOCKETCALL): Do not define.
888         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
889         (__ASSUME_FUTEX_LOCK_PI): Likewise.
890         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
891         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
892         (__ASSUME_REQUEUE_PI): Define unconditionally.
893         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
894         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
895         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
896         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
897         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
898         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
899
900         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
901         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
902         (__ASSUME_SOCKETCALL): Do not define.
903         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
904         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
905         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
906         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
907         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
908         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
909
910         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
911         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
912         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
913         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
914         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
915         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
916         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
917         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
918         (__ASSUME_GETCPU_SYSCALL): Likewise.
919
920         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
921         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
922         cases for individual architectures.
923         * sysdeps/gnu/configure: Regenerated.
924         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
925         LIBC_SLIBDIR_RTLDDIR.
926         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
927         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
928         LIBC_SLIBDIR_RTLDDIR.
929         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
931         LIBC_SLIBDIR_RTLDDIR.
932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
933         Regenerated.
934         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
935         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
936         file.
937         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
938         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
939         file.
940         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
941         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
942         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
943         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
944
945         * sysdeps/aarch64/shlib-versions: Move to ...
946         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
947         * sysdeps/alpha/shlib-versions: Move to ...
948         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
949         * sysdeps/arm/shlib-versions: Move to ...
950         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
951         * sysdeps/hppa/shlib-versions: Move all contents except for
952         libgcc_s entry to ...
953         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
954         entry from ...
955         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
956         * sysdeps/ia64/shlib-versions: Move to ...
957         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
958         entry from ...
959         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
960         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
961         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
962         * sysdeps/microblaze/shlib-versions: Move to ...
963         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
964         * sysdeps/mips/shlib-versions: Move to ...
965         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
966         entry from ...
967         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
968         * sysdeps/tile/shlib-versions: Move to ...
969         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
970         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
971         from ...
972         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
973         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
974         entry from ...
975         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
976
977 2014-07-17  Will Newton  <will.newton@linaro.org>
978
979         * sysdeps/arm/bits/atomic.h
980         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
981         (__arch_compare_and_exchange_bool_16_int): Likewise.
982         (__arch_compare_and_exchange_bool_64_int): Likewise.
983
984         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
985         into an #else block.
986
987 2014-07-16  Roland McGrath  <roland@hack.frob.com>
988
989         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
990         just Linux configurations.  Test empirically that the compiler sets
991         __ARM_EABI__, rather than using the tuple to decide.
992         * sysdeps/arm/preconfigure: Regenerated.
993         * sysdeps/unix/sysv/linux/arm/configure: File removed.
994         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
995         contents appended ...
996         * sysdeps/arm/configure.ac: ... here.
997         * sysdeps/arm/configure: Regenerated.
998
999 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1000
1001         * nptl/pthread_kill.c: New file.
1002         * nptl/pthread_sigmask.c: New file.
1003         * nptl/pthread_sigqueue.c: New file.
1004
1005         * sysdeps/nptl/lowlevellock.h: New file.
1006         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1007         * sysdeps/nptl/lowlevellock-futex.h: New file.
1008
1009         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1010         Remove dead declarations.
1011
1012 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1013
1014         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1015         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1016         config-cflags-avx2.
1017         * sysdeps/x86_64/configure.ac: Likewise.
1018         * sysdeps/i386/configure: Regenerated.
1019         * sysdeps/x86_64/configure: Likewise.
1020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1021         memset-avx2 only if config-cflags-avx2 is yes.
1022         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1023         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1024         defined.
1025         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1026         only if HAVE_AVX2_SUPPORT is defined.
1027         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1028
1029 2014-07-14  Alan Modra  <amodra@gmail.com>
1030
1031         [BZ #17153]
1032         * elf/elf.h (DT_PPC64_NUM): Correct value.
1033         * NEWS: Add to fixed bug list.
1034
1035 2014-07-13  Jim Meyering  <meyering@fb.com>
1036
1037         [BZ 17150]
1038         regex: don't deref NULL upon heap allocation failure
1039         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1040         failure in one more place.
1041         To trigger the segfault, configure grep -with-included-regex,
1042         build it, and run these commands:
1043         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1044
1045 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1046
1047         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1048
1049 2014-07-11  Richard Henderson  <rth@redhat.com>
1050
1051         * sysdeps/aarch64/libm-test-ulps: Update.
1052
1053 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1054
1055         [BZ #17135]
1056         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1057         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1058         (__nptl_setxid): Initialize error member.  Call
1059         __nptl_setxid_error.
1060         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1061         * nptl/descr.h (struct xid_command): Add error member.
1062         * nptl/tst-setuid3.c: New file.
1063         * nptl/Makefile (tests): Add it.
1064
1065 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1066
1067         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1068         New define.
1069         (__lll_trylock): Use __lll_base_trylock.
1070         (__lll_cond_trylock): Likewise.
1071
1072 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1073
1074         * nptl/pthread_create.c (start_thread): Use atomic_or and
1075         lll_futex_wake directly rather than lll_robust_dead.
1076         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1077         (lll_robust_dead): Macro removed.
1078         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1079         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1080         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1081         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1082         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1083         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1084         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1085         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1086         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1087         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1088         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1089         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1090         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1091         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1092         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1093
1094         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1095         Use atomic_compare_and_exchange_val_acq directly rather than
1096         lll_robust_trylock.
1097         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1098         (__lll_robust_trylock, lll_robust_trylock): Removed.
1099         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1100         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1101         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1102         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1103         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1104         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1105         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1106         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1107         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1108         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1109         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1110         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1111         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1112         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1113
1114 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1115
1116         * manual/locale.texi (Locale Names): New section documenting
1117         locale name syntax.  Adjust menu and node chaining accordingly.
1118         (Choosing Locale): Reference Locale Names, Locale Categories.
1119         Mention setting LC_ALL=C.  Reflect that name syntax is now
1120         documented.
1121         (Locale Categories): New section title.  Reference Locale Names.
1122         LC_ALL is an environment variable, but not a category.
1123         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1124         description, now in Locale Name.  Reference that section.  Locale
1125         name syntax is now documented.
1126
1127 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1128
1129         [BZ #17137]
1130         * locale/findlocale.c (name_present, valid_locale_name): New
1131         functions.
1132         (_nl_find_locale): Use the loc_name variable to store name
1133         candidates.  Call name_present and valid_locale_name to check and
1134         validate locale names.  Return an error if the locale is invalid.
1135
1136 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1137
1138         * locale/setlocale.c (setlocale): Use strdup for allocating
1139         composite name copy.
1140
1141 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1142
1143         Sync up with gnulib.
1144         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1145         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1146         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1147         and _GL_ARG_NONNULL.
1148         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1149         [!_LIBC]: Include code for Windows and Cygwin.
1150         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1151         Include prototype for int strerror_r.
1152         [!_LIBC] (is_open): New function.
1153         (flush_stdout): New function.
1154         (print_errno_message): Use it.
1155         (error): Likewise.
1156         (error_at_line): Likewise.
1157         (error_tail) Add function attribute macros.  Use
1158         __builtin_expect.
1159
1160         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1161
1162         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1163
1164         * io/ftw.c: Include sys/param.h unconditionally.
1165
1166         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1167
1168         [BZ #17125]
1169         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1170         libc_freeres_ptr.
1171         (freecache): New function to free CACHE on exit.
1172
1173         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1174         initialization.
1175
1176 2014-07-09  David S. Miller  <davem@davemloft.net>
1177
1178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1179
1180         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1181         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1182         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1183         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1184         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1185         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1186         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1187         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1188         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1189         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1190         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1191         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1192         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1193
1194 2014-07-09  Andreas Schwab  <schwab@suse.de>
1195
1196         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1197         output.
1198         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1199         (do_test): Likewise.
1200
1201         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1202
1203 2014-07-09  Will Newton  <will.newton@linaro.org>
1204
1205         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1206         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1207         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1208         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1209         * sysdeps/hppa/start.S (_start): Likewise.
1210
1211 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1212
1213         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1214
1215         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1216         defined.
1217
1218 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1219
1220         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1221         after checking that it is non-NULL.
1222
1223         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1224
1225 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1226
1227         * sysdeps/powerpc/memmove.c: Remove file.
1228         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1229         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1230         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1231         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1232         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1233         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1234         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1235         string memmove instead of removed powerpc one.
1236
1237         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1238         [weak_alias]: Fix compiler warning due trailing data.
1239         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1240         [weak_alias]: Likewise.
1241         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1242         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1243
1244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1245         (__libc_ifunc_impl_list): Add memmove functions.
1246
1247 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1248
1249         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1250         Remove code.
1251         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1252         Likewise
1253         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1254         Likewise
1255         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1256         Likewise
1257         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1258         Likewise
1259         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1260         Likewise
1261         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1262         Likewise
1263         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1264         Likewise
1265         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1266         Likewise
1267         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1268         Likewise
1269         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1270         Likewise
1271         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1272         Likewise
1273         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1274         Likewise
1275         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1276         Likewise
1277         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1278         Likewise
1279         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1280         Likewise
1281         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1282         Likewise
1283
1284 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1285
1286         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1287         to avoid alignment traps in non-cacheable memory.
1288         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1289
1290         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1291         multiarch objects.
1292         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1293         file: multiarch power7 memmove.
1294         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1295         multiarch default memmove.
1296         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1297         multiarch memove for powerpc32/power4.
1298
1299         * string/bcopy.c: Use full path to include memmove.c.
1300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1301         multiarch objects.
1302         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1303         bcopy for powerpc64.
1304         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1305         bcopy for powerpc64.
1306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1307         and memmove implementations.
1308         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1309         optimized multiarch memmove for POWER7/powerpc64.
1310         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1311         default multiarch memmove for powerpc64.
1312         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1313         multiarch for powerpc64.
1314         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1315         for POWER7/powerpc64.
1316         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1317         memmove for POWER7/powerpc64.
1318
1319         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1320         glibc default one.
1321
1322         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1323         __ELF_NATIVE_CLASS equal to 64.
1324
1325 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1326
1327         * sysdeps/nptl/lowlevellock.h: File removed.
1328
1329         * NEWS: NPTL is no longer an add-on!
1330         * nptl/internaltypes.h: Moved ...
1331         * sysdeps/nptl/internaltypes.h: ... here.
1332         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1333         * sysdeps/nptl/fork.c: Likewise.
1334         * sysdeps/nptl/gai_misc.h: Likewise.
1335         * sysdeps/nptl/librt-cancellation.c: Likewise.
1336         * sysdeps/nptl/jmp-unwind.c: Likewise.
1337         * sysdeps/nptl/setxid.h: Likewise.
1338         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1339         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1340         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1341         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1342         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1343         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1344         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1345         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1346         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1347         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1348         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1349         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1350         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1351         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1352         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1353         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1354         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1355         * nptl/Makeconfig: Moved ...
1356         * sysdeps/nptl/Makeconfig: ... here.
1357         * nptl/configure: File removed.
1358         * nptl/ANNOUNCE: File removed.
1359         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1360         * sysdeps/unix/sysv/linux/configure: Regenerated.
1361
1362         * nptl/Makefile (routines): Add libc_pthread_init,
1363         libc_multiple_threads, register-atfork and unregister-atfork.
1364         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1365         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1366         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1367         pthread-pi-defines.sym, structsem.sym.
1368         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1369         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1370         [$(subdir) = nptl] (tests): Add tst-setgetname.
1371         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1372         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1373         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1374         [!LIBC_SIGACTION]: Remove aliases.
1375         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1376         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1377         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1378         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1379         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1380         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1381         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1382         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1383         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1384         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1385         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1386         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1387         __libc_allocate_rtsig_private.
1388         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1389         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1390         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1391         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1392         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1393         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1394         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1395         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1396         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1397         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1398         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1399         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1400         * nptl/internaltypes.h: ... here.
1401         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1402         * sysdeps/nptl/jmp-unwind.c: ... here.
1403         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1404         * nptl/libc-lowlevellock.c: ... here.
1405         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1406         * nptl/libc_multiple_threads.c: ... here.
1407         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1408         * nptl/libc_pthread_init.c: ... here.
1409         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1410         * nptl/lowlevelbarrier.sym: ... here.
1411         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1412         * nptl/lowlevelcond.sym: ... here.
1413         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1414         * nptl/lowlevellock.c: ... here.
1415         * nptl/lowlevellock.h: Moved ...
1416         * sysdeps/nptl/lowlevellock.h: ... here.
1417         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1418         * nptl/lowlevelrobustlock.c: ... here.
1419         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1420         * nptl/lowlevelrobustlock.sym: ... here.
1421         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1422         * nptl/lowlevelrwlock.sym: ... here.
1423         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1424         * nptl/pt-fork.c: ... here.
1425         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1426         * nptl/pthread-pi-defines.sym: ... here.
1427         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1428         * nptl/pthread_attr_getaffinity.c: ... here.
1429         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1430         * nptl/pthread_attr_setaffinity.c: ... here.
1431         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1432         * nptl/pthread_mutex_cond_lock.c: ... here.
1433         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1434         Update #include.
1435         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1436         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1437         * nptl/pthread_once.c: ... here, replacing old file.
1438         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1439         * nptl/pthread_yield.c: ... here.
1440         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1441         * nptl/register-atfork.c: ... here.
1442         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1443         * nptl/sem_post.c: ... here.
1444         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1445         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1446         * nptl/sem_timedwait.c: ... here.
1447         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1448         * nptl/sem_trywait.c: ... here.
1449         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1450         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1451         * nptl/sem_wait.c: ... here.
1452         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1453         * nptl/structsem.sym: ... here.
1454         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1455         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1456         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1457         * nptl/unregister-atfork.c: ... here.
1458         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1459         * nptl/unwindbuf.sym: ... here.
1460         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1461         * sysdeps/nptl/fork.c: ... here.
1462         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1463         * sysdeps/nptl/fork.h: ... here.
1464         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1465         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1466         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1467         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1468         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1469         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1470         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1471         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1472         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1473         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1474         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1475         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1476         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1477         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1478         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1479         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1480         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1481         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1482         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1483         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1484         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1485         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1486         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1487         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1488         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1489         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1490         * sysdeps/unix/sysv/linux/raise.c: ... here.
1491         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1492         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1493         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1494         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1495         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1496         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1497         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1498         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1499         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1500         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1501         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1502         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1503         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1504         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1505         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1506
1507 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1508
1509         * sysdeps/generic/memcopy.h: Add comment for
1510         MEMCPY_OK_FOR_FWD_MEMMOVE.
1511
1512 2014-07-04  Will Newton  <will.newton@linaro.org>
1513
1514         * string/memchr.c: Merge from gnulib.
1515         [_LIBC]: Remove conditionals.
1516         (__ptr_t): Remove define.
1517         (LONG_MAX_32_BITS): Likewise.
1518         (LONG_MAX): Likewise.
1519         (MEMCHR): Use ANSI prototype and optimize algorithm.
1520
1521         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1522
1523 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1524
1525         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1526         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1527
1528         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1529         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1530         in a bare environment with no <stdlib.h> installed.
1531         * sysdeps/nptl/configure: Regenerated.
1532
1533         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1534
1535         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1536         AC_EGREP_CPP for kernel header checks, so they only succeed if
1537         including <linux/version.h> actually works right.
1538         * sysdeps/unix/sysv/linux/configure: Regenerated.
1539
1540         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1541         value so it's not diagnosed as unused.
1542
1543         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1544         thing) with "ifeq ($(subdir),rt)".
1545
1546 2014-07-03  Richard Henderson  <rth@redhat.com>
1547
1548         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1549         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1550         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1551
1552         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1553         (math_force_eval): New.
1554
1555         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1556         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1557
1558         * sysdeps/alpha/fpu/s_round.c: Remove file.
1559         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1560
1561         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1562         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1563         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1564         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1565         (_dl_start, print_statistics): Likewise.
1566         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1567         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1568
1569         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1570         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1571         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1572         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1573         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1574         (HP_SMALL_TIMING_AVAIL): Define.
1575         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1576         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1577         (HP_SMALL_TIMING_AVAIL): Define.
1578         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1579         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1580
1581         * sysdeps/aarch64/hp-timing.h: New file.
1582
1583         * sysdeps/generic/hp-timing.h: Remove dead comment.
1584         * sysdeps/generic/hp-timing-common.h: New file.
1585         * sysdeps/alpha/hp-timing.h: Include it.
1586         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1587         * sysdeps/i386/i686/hp-timing.h: Likewise.
1588         * sysdeps/ia64/hp-timing.h: Likewise.
1589         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1590         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1591         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1592         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1593         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1594         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1595         (hp_timing_t): New.
1596
1597         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1598         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1599         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1600         * elf/rtld.c (_dl_start_final): Likewise.
1601         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1602         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1603         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1604         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1605         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1606         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1607         (HP_TIMING_DIFF_INIT): Remove.
1608         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1609         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1610         (HP_TIMING_DIFF_INIT): Remove.
1611         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1612         * sysdeps/i386/i686/hp-timing.c: Remove file.
1613         * sysdeps/x86_64/hp-timing.c: Remove file.
1614         * sysdeps/ia64/hp-timing.c: Remove file.
1615         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1616         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1617         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1618         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1619
1620         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1621         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1622         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1623         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1624         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1625         (HP_TIMING_ACCUM): Remove.
1626         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1627         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1628         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1629
1630         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1631         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1632         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1633         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1634         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1635         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1636         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1637         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1638
1639         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1640
1641 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1642
1643         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1644
1645 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1646
1647         Sync up with gettext.
1648         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1649         [_MSC_VER]: Include malloc.h
1650         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1651         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1652         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1653         TEMP_FAILURE_RETRY.  Cast return of alloca.
1654         [!_LIBC] Call gl_rwlock_init.
1655         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1656
1657 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1658
1659         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1660         before checking its value.
1661
1662 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1663
1664         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1665
1666         * debug/memcpy_chk.c: Don't include pagecopy.h.
1667         * debug/mempcpy_chk.c: Likewise.
1668         * string/memcpy.c: Likewise.
1669         * string/memmove.c: Likewise.
1670         * sysdeps/powerpc/memmove.c: Likewise.
1671         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1672         definition of PAGE_COPY_FWD_MAYBE here...
1673         * sysdeps/generic/pagecopy.h: ... from here.
1674         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1675
1676 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1677             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1678
1679         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1681         optimizations.
1682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1683         (__libc_ifunc_impl_list): Likewise.
1684         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1685         multiarch strcat for PPC64.
1686         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1687         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1688
1689 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1690
1691         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1692
1693 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1694
1695         * intl/loadmsgcat.c: Remove declaration of
1696         get_sysdep_segment_value.
1697         (get_sysdep_segment_value): Use ISO C style.
1698         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1699         semicolon.  Fix typo and formatting in comment.
1700         (_nl_unload_domain): Use ISO C style.
1701
1702         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1703
1704 2014-07-02  Will Newton  <will.newton@linaro.org>
1705
1706         * malloc/obstack.c: Merge from gnulib master.
1707         [HAVE_CONFIG_H]: Remove conditional code.
1708         [!_LIBC]: Include config.h.
1709         [!ELIDE_CODE]: Don't include inttypes.h, include
1710         stdint.h unconditionally.
1711         (print_and_abort): Mark as _Noreturn.
1712         (_obstack_allocated_p): Mark as __attribute_pure__.
1713         (obstack_free): Rename to __obstack_free.
1714         [!__attribute__]: Remove conditional code.
1715         * malloc/obstack.h: Merge from gnulib master.
1716         [__cplusplus]: Move conditional down.
1717         [!__attribute_pure__]: Define __attribute_pure__ here
1718         if it is not already defined.
1719         (_obstack_memory_used): Mark as __attribute_pure__.
1720         [!__obstack_free]: Define as obstack_free.
1721         [__GNUC__]: Remove check for ancient NeXT gcc.
1722
1723 2014-07-02  Will Newton  <will.newton@linaro.org>
1724             Paul Eggert  <eggert@cs.ucla.edu>
1725
1726         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1727
1728 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1729
1730         * resolv/gethnamaddr.c: Add comment warning that the file is
1731         not maintained.
1732
1733 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1734
1735         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1736         entries.
1737
1738         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1739         entry for aio_cancel and aio_cancel64.
1740         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1741         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1742         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1743         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1744         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1745         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1746         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1747         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1748         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1749         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1750         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1751         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1752         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1753
1754 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1755
1756         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1757         * nptl/pthread_mutex_lock.c: Likewise.
1758         * nptl/pthread_mutex_timedlock.c: Likewise.
1759         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1760
1761 2014-07-01  Richard henderson  <rth@redhat.com>
1762
1763         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1764         (__isnan, __isnanl): Remove.
1765         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1766
1767         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1768
1769 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1770
1771         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1772
1773 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1774
1775         * resolv/nss_dns/dns-host.c (getanswer_r)
1776         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1777
1778 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1779
1780         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1781         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1782         undefine.
1783         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1784         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1785
1786 2014-07-01  Roland McGrath <roland@hack.frob.com>
1787
1788         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1789         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1790
1791         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1792         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1793
1794         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1795         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1796         ... here.
1797         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1798         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1799
1800         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1801         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1802         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1803         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1804
1805         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1806         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1807         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1808         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1809         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1810         Moved ...
1811         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1812         ... here.
1813         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1814         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1815         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1816         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1817         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1818         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1819         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1820         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1821         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1822         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1823         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1824         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1825         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1826         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1827         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1828         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1829         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1830         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1831         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1832         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1833         ... here.
1834         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1835         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1836         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1837         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1838         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1839         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1840         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1841         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1842
1843 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1844
1845         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1846         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1847         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1848         Add sysdep.
1849
1850 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1851
1852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1853
1854 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1855
1856         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1857         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1858
1859         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1860
1861         * sysdeps/arm/libm-test-ulps: Regenerated.
1862
1863 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1864             Roland McGrath <roland@hack.frob.com>
1865
1866         * test-skeleton.c (signal_handler): Kill the whole process group
1867         before killing the child individually.
1868         (main): Report any failure on `setpgid'.
1869
1870 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1871
1872         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1873         from _TLS_H to _ARM_NPTL_TLS_H.
1874         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1875         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1876
1877 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1878
1879         [BZ #16539]
1880         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1881         (__expm1l): Return argument unchanged when small but not
1882         subnormal.
1883
1884         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1885         include macro name.
1886         (_FP_UNPACK_RAW_1_P): Likewise.
1887         (_FP_PACK_RAW_1): Likewise.
1888         (_FP_PACK_RAW_1_P): Likewise.
1889         (_FP_MUL_MEAT_1_wide): Likewise.
1890         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1891         (_FP_MUL_MEAT_1_hard): Likewise.
1892         (_FP_DIV_MEAT_1_imm): Likewise.
1893         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1894         (_FP_DIV_MEAT_1_udiv): Likewise.
1895         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1896         (_FP_UNPACK_RAW_2): Likewise.
1897         (_FP_UNPACK_RAW_2_P): Likewise.
1898         (_FP_PACK_RAW_2): Likewise.
1899         (_FP_PACK_RAW_2_P): Likewise.
1900         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1901         (_FP_MUL_MEAT_2_wide): Likewise.
1902         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1903         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1904         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1905         (_FP_MUL_MEAT_2_gmp): Likewise.
1906         (_FP_DIV_MEAT_2_udiv): Likewise.
1907         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1908         (_FP_FRAC_SRL_4): Likewise.
1909         (_FP_FRAC_SRST_4): Likewise.
1910         (_FP_FRAC_SRS_4): Likewise.
1911         (_FP_UNPACK_RAW_4): Likewise.
1912         (_FP_UNPACK_RAW_4_P): Likewise.
1913         (_FP_PACK_RAW_4): Likewise.
1914         (_FP_PACK_RAW_4_P): Likewise.
1915         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1916         (_FP_MUL_MEAT_4_wide): Likewise.
1917         (_FP_MUL_MEAT_4_gmp): Likewise.
1918         (umul_ppppmnnn): Likewise.
1919         (_FP_DIV_MEAT_4_udiv): Likewise.
1920         (__FP_FRAC_ADD_4): Likewise.
1921         (__FP_FRAC_SUB_3): Likewise.
1922         (__FP_FRAC_SUB_4): Likewise.
1923         (__FP_FRAC_DEC_3): Likewise.
1924         (__FP_FRAC_DEC_4): Likewise.
1925         (__FP_FRAC_ADDI_4): Likewise.
1926         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1927         (_FP_FRAC_SRL_8): Likewise.
1928         (_FP_FRAC_SRS_8): Likewise.
1929
1930         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1931         include macro name.
1932         (FP_UNPACK_RAW_EP): Likewise.
1933         (FP_PACK_RAW_E): Likewise.
1934         (FP_PACK_RAW_EP): Likewise.
1935         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1936         (_FP_ISSIGNAN): Likewise.
1937         (_FP_ADD_INTERNAL): Likewise.
1938         (_FP_FMA): Likewise.
1939         (_FP_CMP): Likewise.
1940         (_FP_SQRT): Likewise.
1941         (_FP_TO_INT): Likewise.
1942         (_FP_FROM_INT): Likewise.
1943         (FP_EXTEND): Likewise.
1944         (_FP_DIV_MEAT_N_loop): Likewise.
1945
1946 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1947
1948         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1949         throughout.
1950
1951 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1952
1953         [BZ #17097]
1954         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1955         result with correct sign in case of exponents that produce
1956         overflow except for X very close to 1.
1957
1958 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1959
1960         mktime: merge #if/#ifdef usage from glibc
1961         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1962         as that works with both Glibc's and Gnulib's style.
1963         See thread starting at Siddhesh Poyarekar's bug report at:
1964         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1965
1966 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1967
1968         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1969         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1970         * sysdeps/tile/tilegx/memmove.c: Remove file.
1971
1972 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1973
1974         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1975         abi-name definition.
1976         * scripts/soversions.awk: Do not handle or generate ABI lines.
1977         * shlib-versions: Remove ABI entries.
1978         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1979         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1980
1981 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1982
1983         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1984         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1985         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1986         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1987         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1988         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1989         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1990         Moved ...
1991         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1992         ... here.
1993         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1994         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1995         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1996         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1997         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1998         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1999         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2000         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2001         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2002         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2003         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2004         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2005         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2006         Moved ...
2007         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2009         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2010         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2011         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2013         Moved ...
2014         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2015         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2016         Moved ...
2017         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2019         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2021         Moved ...
2022         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2023         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2024         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2025         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2026         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2027         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2028         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2030         Moved ...
2031         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2032         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2033         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2034         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2035         Moved ...
2036         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2037         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2038         Moved ...
2039         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2040         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2041         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2042         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2043         Moved ...
2044         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2045         ... here.
2046         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2047         Identical file removed.
2048         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2049         Moved ...
2050         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2051         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2052         Identical file removed.
2053         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2054         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2055         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2056         Moved ...
2057         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2058         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2059         Identical file removed.
2060         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2061         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2062         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2063         Identical file removed.
2064         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2065         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2066         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2067         Identical file removed.
2068         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2069         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2070         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2071         Identical file removed.
2072         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2073         Moved ...
2074         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2075         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2076         Identical file removed.
2077         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2078         Moved ...
2079         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2080         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2081         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2082         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2083         Identical file removed.
2084         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2085         Moved ...
2086         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2087         ... here.
2088         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2089         Identical file removed.
2090         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2091         Moved ...
2092         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2093         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2094         Identical file removed.
2095         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2096         Moved ...
2097         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2098         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2099         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2100         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2101         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2102         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2103         Moved ...
2104         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2105         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2106         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2107
2108         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2109         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2110         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2111         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2112         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2113
2114 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2115
2116         [BZ #17092]
2117         * nscd/nscd.c (monitor_child): Return exit status of child
2118         instead of return value from wait syscall.
2119
2120 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2121
2122         * configure.ac (libc_commonpagesize): Remove variable.
2123         (libc_relro_required): Likewise.
2124         (libc_cv_z_relro): Remove configure test.
2125         * configure: Regenerated.
2126         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2127         variable.
2128         (libc_relro_required): Likewise.
2129         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2130         (libc_relro_required): Likewise.
2131         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2132         (libc_relro_required): Likewise.
2133         * sysdeps/arm/preconfigure: Regenerated.
2134         * sysdeps/ia64/preconfigure: Remove file.
2135         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2136         variable.
2137         (libc_relro_required): Likewise.
2138
2139         [BZ #16561]
2140         [BZ #16562]
2141         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2142         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2143         recompute overflowing results in original rounding mode.
2144         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2145         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2146         recompute overflowing results in original rounding mode.
2147         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2148         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2149         recompute overflowing results in original rounding mode.
2150         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2151         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2152         recompute overflowing results in original rounding mode.
2153         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2154         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2155         recompute overflowing results in original rounding mode.
2156         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2157         (libc_feholdsetround_ctx): New macro.
2158         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2159         * sysdeps/i386/fpu/libm-test-ulps: Update.
2160         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2161
2162 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2163
2164         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2165         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2166         corresponding .cpsetup call.
2167
2168 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2169
2170         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2171         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2172         * sysdeps/arm/Makefile [$(subdir) = csu]
2173         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2174         (static-only-routines): Add aeabi_read_tp here.
2175         (shared-only-routines): Add libc-aeabi_read_tp here.
2176         (CFLAGS-libc-start.c): Add -fexceptions here.
2177         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2178         (sysdep_routines, static-only-routines, shared-only-routines):
2179         Don't add to these here.
2180         (CFLAGS-libc-start.c): Likewise.
2181
2182         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2183         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2184         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2185         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2186         * sysdeps/arm/Makefile [$(subdir) = rt]
2187         (librt-sysdep_routines, librt-shared-only-routines):
2188         Append rt-aeabi_unwind_cpp_pr1 here.
2189         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2190         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2191         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2192         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2193         Append nptl-aeabi_unwind_cpp_pr1 here.
2194         (tests): Filter out tst-cleanupx4 here.
2195         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2196         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2197         Don't do those here.
2198
2199 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2200
2201         * scripts/list-sources.sh: Do not handle ports specially.
2202
2203 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2204
2205         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2206         * sysdeps/arm/feupdateenv.c: Likewise.
2207
2208         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2209
2210 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2211
2212         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2213         trailing whitespace removed.
2214         * scripts/config.guess: Update to version 2014-03-23.
2215         * scripts/config.sub: Update to version 2014-05-01
2216         * scripts/install-sh: Update to version 2013-12-25.23.
2217         * scripts/move-if-change: Update from gnulib.
2218
2219 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2220
2221         * debug/memmove_chk.c: Remove pagecopy.h include.
2222
2223 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2224
2225         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2226         identical to gnulib mktime.
2227
2228 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2229
2230         * configure.ac: Do not test for machine being rs6000.  Do not test
2231         for powerpc*-*soft.
2232         * configure: Regenerated.
2233
2234         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2235         test.
2236         * configure: Regenerated.
2237         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2238         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2239         Remove configure test.
2240         * sysdeps/arm/configure: Regenerated.
2241         * sysdeps/nptl/configure.ac: Do not check
2242         libc_cv_asm_cfi_directives.
2243         * sysdeps/nptl/configure: Regenerated.
2244         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2245         * sysdeps/x86_64/nptl/configure: Remove generated file.
2246         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2247         unconditional.
2248         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2249
2250 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2251
2252         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2253         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2254         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2255         it is defined.
2256
2257         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2258         instead of whether it is defined.
2259         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2260         * sysdeps/hppa/dl-machine.h: Likewise.
2261         * sysdeps/ia64/dl-machine.h: Likewise.
2262         * sysdeps/m68k/dl-machine.h: Likewise.
2263         * sysdeps/microblaze/dl-machine.h: Likewise.
2264         * sysdeps/mips/dl-machine.: Likewise.
2265         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2266         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2267         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2268         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2269         * sysdeps/sh/dl-machine.h: Likewise.
2270         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2271         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2272         * sysdeps/tile/dl-machine.h: Likewise.
2273         * sysdeps/x86_64/dl-machine.h: Likewise.
2274
2275         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2276         code.
2277         (verify_persistent_db): Likewise.
2278
2279 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2280
2281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2282         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2284         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2286         Moved ...
2287         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2288         ... here.
2289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2290         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2292         Identical file removed.
2293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2294         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2296         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2298         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2300         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2302         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2304         Moved ...
2305         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2307         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2309         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2311         Moved ...
2312         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2314         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2316         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2318         Identical file removed.
2319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2320         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2322         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2324         Moved ...
2325         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2326         ... here.
2327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2328         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2330         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2332         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2334         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2336         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2338         Moved ...
2339         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2341         Moved ...
2342         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2344         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2346         Moved ...
2347         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2349         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2350
2351         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2352         folded into ...
2353         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2354         * sysdeps/unix/sysv/linux/s390/Versions
2355         (libpthread: GLIBC_2.19): New version set.
2356         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2357         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2358         (librt: GLIBC_2.3.3): New version set.
2359         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2360         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2361         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2362         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2363         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2364         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2365         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2366         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2367         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2368         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2369         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2370         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2371         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2372         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2373         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2374         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2375         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2376         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2377         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2378         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2379         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2380         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2381         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2382         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2383         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2384         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2385         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2386         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2387         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2388         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2389         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2390         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2391         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2392         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2393         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2394         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2395         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2396         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2397         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2398         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2399         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2400         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2401         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2402         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2403         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2404
2405         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2406         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2407         (__libc_vfork): Define the function under this name.
2408         [!NOT_IN_libc] (__vfork): Make this an alias.
2409         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2410         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2411         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2412         (__libc_vfork): Define the function under this name.
2413         [!NOT_IN_libc] (__vfork): Make this an alias.
2414         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2415         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2416         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2417         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2418         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2419         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2420
2421         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2422         code that was previously under [RESET_PID].
2423         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2424         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2425         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2426
2427         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2428         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2429         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2430         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2431         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2432         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2433         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2434         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2435         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2436         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2437         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2438         Moved ...
2439         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2440         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2441         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2442         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2443         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2444         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2445         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2446         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2447         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2448         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2449         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2450         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2451         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2452         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2453         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2454         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2455         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2456         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2457         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2458         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2459         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2460         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2461         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2462         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2463         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2464         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2465         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2466         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2467         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2468
2469 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2470
2471         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2472         that was previously under [RESET_PID].
2473         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2474
2475 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2476
2477         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2478         not undefine and redefine.
2479         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2480         [O_CLOEXEC]: Make code unconditional.
2481         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2482         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2483         <kernel-features.h>.
2484         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2485         conditional variable definition.
2486         (shm_open) [O_CLOEXEC]: Make code unconditional.
2487         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2488         code.
2489
2490         * configure.ac (USE_REGPARMS): Don't define here.
2491         * configure: Regenerated.
2492         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2493         * sysdeps/i386/configure: Regenerated.
2494
2495         * nptl/createthread.c: Don't include kernel-features.h.
2496         * nptl/pthread_cancel.c: Likewise.
2497         * nptl/pthread_condattr_setclock.c: Likewise.
2498         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2499         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2500         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2501         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2502         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2503         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2504         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2505         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2506         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2507         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2508         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2509         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2510         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2511         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2512         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2513         * nscd/gai.c: Likewise.
2514         * nss/nss_db/db-open.c: Likewise.
2515         * sysdeps/generic/ldsodefs.h: Likewise.
2516         * sysdeps/sh/nptl/tls.h: Likewise.
2517         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2518         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2519         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2520         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2521         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2522         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2523         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2524         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2525         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2526         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2527         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2528         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2529         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2530         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2531         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2532         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2533         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2534         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2535         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2536         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2537         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2538         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2539         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2540         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2541         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2542         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2543         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2544         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2545         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2546         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2547         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2548         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2549         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2550         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2551         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2552         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2553         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2554         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2555         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2556         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2557         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2558         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2559         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2560         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2561         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2562         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2563         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2564         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2565         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2566         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2567         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2568         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2569         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2570         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2571         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2572         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2573         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2574         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2597         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2598         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2599         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2600         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2601         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2602         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2603         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2604         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2605         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2606         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2607         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2608         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2609         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2610         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2611         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2612         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2613         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2614         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2615         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2616         * sysdeps/unix/sysv/linux/system.c: Likewise.
2617         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2618         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2619         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2620         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2621         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2622         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2623         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2624
2625         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2626         * configure: Regenerated.
2627         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2628
2629         * configure.ac (base_machine): Do not set specially for particular
2630         machines here.
2631         * configure: Regenerated.
2632         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2633         settings from configure.ac.
2634         * sysdeps/i386/preconfigure: New file.
2635         * sysdeps/s390/preconfigure: Likewise.
2636         * sysdeps/sh/preconfigure: Likewise.
2637         * sysdeps/sparc/preconfigure: Likewise.
2638
2639 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2640
2641         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2642         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2643         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2644         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2645         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2646         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2647         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2648         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2649         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2650         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2651         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2652         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2653         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2654         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2655         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2656         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2657         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2658         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2659         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2660
2661         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2662         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2663         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2664         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2665         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2666         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2667         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2668         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2669         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2670         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2671         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2672         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2673         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2674         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2675         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2676         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2677         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2678         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2679         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2680         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2681         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2682         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2683         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2684         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2685         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2686         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2687         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2688         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2689         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2690         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2691         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2692         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2693         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2694         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2695         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2696         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2697         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2698         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2699
2700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2701         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2703         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2705         Moved ...
2706         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2707         ... here.
2708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2709         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2711         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2713         Moved ...
2714         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2716         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2718         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2720         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2722         Moved ...
2723         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2725         Moved ...
2726         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2727         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2728         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2730         Moved ...
2731         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2733         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2735         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2737         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2738         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2739         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2741         Moved ...
2742         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2743         ... here.
2744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2745         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2747         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2748         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2749         Moved ...
2750         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2752         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2754         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2756         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2758         Moved ...
2759         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2761         Moved ...
2762         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2764         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2766         Moved ...
2767         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2769         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2771         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2772
2773 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2774
2775         * timezone/checktab.awk: Update from tzcode 2014e.
2776         * timezone/private.h: Likewise.
2777         * timezone/tzfile.h: Likewise.
2778         * timezone/zdump.c: Likewise.
2779         * timezone/zic.c: Likewise.
2780
2781         * sysdeps/unix/sysv/linux/kernel-features.h
2782         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2783         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2784         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2785         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2786         Remove conditional code.
2787
2788 2014-06-25  Will Newton  <will.newton@linaro.org>
2789
2790         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2791         (_dl_arm_cap_flags): Add HWCAP2 values.
2792         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2793         (_DL_HWCAP_COUNT): Increase to 37.
2794         (_DL_HWCAP_LAST): New define.
2795         (_DL_HWCAP2_LAST): New define.
2796         (_dl_procinfo): Add support for printing
2797         AT_HWCAP2 entries.
2798         (_dl_string_hwcap): Use _dl_hwcap_string.
2799
2800 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2801
2802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2803
2804 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2805
2806         * README: Do not mention ports directory.
2807
2808         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2809         Remove macro.
2810         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2811         <kernel-features.h>.
2812         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2813         conditional variable definition.
2814         (__futimes): Update comment.
2815         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2816         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2817
2818         [BZ #16560]
2819         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2820         arguments close to 0.
2821         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2822         Likewise.
2823         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2824         Likewise.
2825         * math/auto-libm-test-in: Add more tests of exp10.
2826         * math/auto-libm-test-out: Regenerated.
2827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2828
2829         * sysdeps/unix/sysv/linux/kernel-features.h
2830         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2831         * sysdeps/unix/sysv/linux/readv.c: Do not include
2832         <kernel-features.h>.
2833         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2834         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2835         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2836         unconditional.
2837         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2838         conditional code.
2839         * sysdeps/unix/sysv/linux/writev.c: Do not include
2840         <kernel-features.h>.
2841         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2842         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2843         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2844         unconditional.
2845         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2846         conditional code.
2847
2848 2014-06-25  Will Newton  <will.newton@linaro.org>
2849
2850         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2851         comment changes throughout the file.  Remove checks
2852         for HAVE_*_H definitions that are not required.
2853         (__gen_tempname): Call abort if an unknown kind value is
2854         passed.
2855
2856 2014-06-25  Andreas Schwab  <schwab@suse.de>
2857
2858         [BZ #17086]
2859         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2860         scalbln, scalblnf, scalblnl in libc.
2861
2862 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2863
2864         [BZ #17086]
2865         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2866         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2867         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2868
2869 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2870
2871         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2872         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2873         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2874         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2875         Update #include.
2876         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2877         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2878         Update #include.
2879         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2880         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2881         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2882         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2883         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2884         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2885         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2886         * sysdeps/x86/bits/semaphore.h: ... here.
2887         * sysdeps/x86/nptl/elide.h: Moved ...
2888         * sysdeps/x86/elide.h: ... here.
2889         * sysdeps/x86_64/nptl/Implies: File removed.
2890         * sysdeps/i386/nptl/Implies: File removed.
2891
2892 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2893
2894         [BZ #16539]
2895         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2896         return the argument for normal arguments with exponent below -64.
2897         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2898         Likewise.
2899         * math/auto-libm-test-in: Add another test of expm1.
2900         * math/auto-libm-test-out: Regenerated.
2901
2902         [BZ #16287]
2903         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2904         calling __erfcl for arguments at least 16.
2905         * math/auto-libm-test-in: Add more tests of erf.
2906         * math/auto-libm-test-out: Regenerated.
2907
2908         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2909         individual architectures.
2910         * sysdeps/unix/sysv/linux/configure: Regenerated.
2911         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2912         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2913         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2914         (ldd_rewrite_script): Define variable.
2915         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2917         file.
2918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2919         generated file.
2920         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2921         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2922         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2923         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2924         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2925         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2926         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2927         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2928
2929 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2930
2931         [BZ #17084]
2932         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2933         Rename member __data.d to __data.__elision_data.
2934
2935 2014-06-24  Wilco  <wdijkstr@arm.com>
2936
2937         * NEWS: Add 16918 to fixed bug list.
2938
2939 2014-06-24  Wilco  <wdijkstr@arm.com>
2940
2941         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2942
2943 2014-06-24  Wilco  <wdijkstr@arm.com>
2944
2945         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2946         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2947         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2948         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2949         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2950         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2951         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2952         Use _FPU_MASK_RM.
2953
2954 2014-06-24  Wilco  <wdijkstr@arm.com>
2955
2956         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2957
2958 2014-06-24  Wilco  <wdijkstr@arm.com>
2959
2960         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2961         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2962         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2963         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2964
2965 2014-06-24  Wilco  <wdijkstr@arm.com>
2966
2967         [BZ #16918]
2968         * sysdeps/arm/feupdateenv.c (feupdateenv):
2969         Rewrite to reduce FPSCR accesses and fix return value.
2970
2971 2014-06-24  Wilco  <wdijkstr@arm.com>
2972
2973         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2974         Optimize to avoid unnecessary FPSCR writes.
2975         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2976         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2977         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2978         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2979
2980 2014-06-24  Wilco  <wdijkstr@arm.com>
2981
2982         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2983         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2984         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2985         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2986         Call libc_fetestexcept_vfp.
2987         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2988         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2989         __SOFTFP__ ifdef so that they can be built for softfp.
2990
2991 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2992
2993         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2994         argument type signed char.
2995
2996         * Makerules (check-abi): Dump diff of symlist if the test
2997         fails.
2998
2999 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3000
3001         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3002         using abort.
3003
3004         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3005         Remove unused variable ST.
3006
3007 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3008
3009         [BZ #16354]
3010         [BZ #17061]
3011         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3012         small arguments before calling __expm1.
3013         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3014         small arguments before calling __expm1f.
3015         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3016         small arguments before calling __expm1l.
3017         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3018         Likewise.
3019         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3020         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3021         spurious underflow for some cosh tests.
3022         * math/auto-libm-test-out: Regenerated.
3023         * sysdeps/i386/fpu/libm-test-ulps: Update.
3024
3025         [BZ #17050]
3026         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3027         (__ieee754_y1): Set errno if return value overflows.
3028         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3029         (__ieee754_y1f): Set errno if return value overflows.
3030         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3031         (__ieee754_y1l): Set errno if return value overflows.
3032         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3033         (__ieee754_y1l): Set errno if return value overflows.
3034         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3035         * math/auto-libm-test-out: Regenerated.
3036
3037         * math/gen-auto-libm-tests.c: Document use of
3038         ignore-zero-inf-sign.
3039         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3040         (input_flags): Add ignore-zero-inf-sign.
3041         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3042         * math/gen-libm-test.pl (generate_testfile): Handle
3043         ignore-zero-inf-sign.
3044         * math/auto-libm-test-in: Mark some cpow tests with
3045         ignore-zero-inf-sign and some with xfail-rounding.
3046         * math/auto-libm-test-out: Regenerated.
3047         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3048         * sysdeps/i386/fpu/libm-test-ulps: Update.
3049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3050
3051         [BZ #16315]
3052         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3053         overflowing or underflowing operations take place with sign of
3054         result.
3055         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3056         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3057         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3058         (__ieee754_pow): Recompute overflowing and underflowing results in
3059         original rounding mode.
3060         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3061         (__powl_helper): Allow negative argument X and scale negated value
3062         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3063         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3064         overflowing or underflowing operations take place with sign of
3065         result.
3066         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3067         Include <math.h>.
3068         * math/auto-libm-test-in: Add more tests of pow.
3069         * math/auto-libm-test-out: Regenerated.
3070         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3071         (pow_tonearest_test_data): Remove.
3072         (pow_test_tonearest): Likewise.
3073         (pow_towardzero_test_data): Likewise.
3074         (pow_test_towardzero): Likewise.
3075         (pow_downward_test_data): Likewise.
3076         (pow_test_downward): Likewise.
3077         (pow_upward_test_data): Likewise.
3078         (pow_test_upward): Likewise.
3079         (main): Don't call removed functions.
3080         * sysdeps/i386/fpu/libm-test-ulps: Update.
3081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3082
3083 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3084
3085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3086         Moved ...
3087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3089         Moved ...
3090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3092         Moved ...
3093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3095         Moved ...
3096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3098         File removed.
3099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3100         File removed.
3101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3102         File removed.
3103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3104         File removed.
3105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3106         File removed.
3107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3108         File removed.
3109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3110         File removed.
3111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3112         File removed.
3113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3114         File removed.
3115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3116         File removed.
3117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3118         File removed.
3119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3120         File removed.
3121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3122         Moved ...
3123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3125         Moved ...
3126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3127         ... here.
3128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3129         Moved ...
3130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3132         Moved ...
3133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3135         Moved ...
3136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3138         Moved ...
3139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3141         Moved ...
3142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3144         Moved ...
3145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3147         Moved ...
3148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3151         ... here.
3152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3153         Moved ...
3154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3156         Moved ...
3157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3158         ... here.
3159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3160         Moved ...
3161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3162         ... here.
3163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3164         Moved ...
3165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3166         ... here.
3167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3168         Moved ...
3169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3171         Moved ...
3172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3176         Moved ...
3177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3178         ... here.
3179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3180         Moved ...
3181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3182         ... here.
3183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3184         Moved ...
3185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3187         Moved ...
3188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3190         Moved ...
3191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3193         Moved ...
3194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3196         Moved ...
3197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3198         ... here.
3199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3200         Moved ...
3201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3203         Moved ...
3204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3206         Moved ...
3207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3209         Moved ...
3210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3214         Moved ...
3215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3217         Moved ...
3218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3220         Moved ...
3221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3222         ... here.
3223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3224         Moved ...
3225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3226         ... here.
3227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3228         Moved ...
3229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3230         ... here.
3231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3232         Moved ...
3233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3235         Moved ...
3236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3238         Moved ...
3239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3241         Moved ...
3242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3243         ... here.
3244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3245         Moved ...
3246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3247         ... here.
3248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3249         Moved ...
3250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3251         ... here.
3252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3253         Moved ...
3254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3256         Moved ...
3257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3258
3259 2014-06-23  Will Newton  <will.newton@linaro.org>
3260             Wilco  <wdijkstr@arm.com>
3261
3262         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3263         implementation.  Include get-rounding-mode.h.
3264         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3265         [!libc_feholdsetround_noex_ctx]: Define
3266         libc_feholdsetround_noex_ctx.
3267         [!libc_feholdsetround_noexf_ctx]: Define
3268         libc_feholdsetround_noexf_ctx.
3269         [!libc_feholdsetround_noexl_ctx]: Define
3270         libc_feholdsetround_noexl_ctx.
3271         (libc_feholdsetround_ctx): New function.
3272         (libc_feresetround_ctx): New function.
3273         (libc_feholdsetround_noex_ctx): New function.
3274         (libc_feresetround_noex_ctx): New function.
3275
3276 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3277
3278         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3279         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3280         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3281         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3282         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3283         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3284
3285         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3286         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3287         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3288         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3289         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3290         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3291         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3292         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3293         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3294         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3295         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3296         Moved ...
3297         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3298         ... here.
3299         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3300         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3301         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3302         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3303         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3304         Moved ...
3305         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3306         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3307         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3308         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3309         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3310         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3311         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3312         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3313         Moved ...
3314         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3315         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3316         Moved ...
3317         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3318         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3319         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3320         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3321         Moved ...
3322         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3323         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3324         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3325         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3326         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3327         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3328         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3329         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3330         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3331         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3332         Moved ...
3333         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3334         ... here.
3335         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3336         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3337         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3338         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3339         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3340         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3341         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3342         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3343         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3344         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3345         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3346         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3347         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3348         Moved ...
3349         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3350         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3351         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3352         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3353         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3354         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3355         Moved ...
3356         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3357         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3358         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3359         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3360         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3361
3362         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3363         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3364         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3365         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3366         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3367         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3368         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3369         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3370         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3371         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3372         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3373         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3374         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3375         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3376         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3377         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3378         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3379         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3380         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3381         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3382         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3383         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3384         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3385         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3386         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3387         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3388         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3389         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3390
3391 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3392
3393         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3394         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3395         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3396         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3397         (IPV6_PMTUDISC_INTERFACE): Likewise.
3398         (IPV6_PMTUDISC_OMIT): Likewise.
3399
3400 2014-06-23  Andreas Schwab  <schwab@suse.de>
3401
3402         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3403         Remove unused errout label.
3404
3405 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3406
3407         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3408         macro: hardware supports Vector Crypto instructions.
3409
3410 2014-06-23  Will Newton  <will.newton@linaro.org>
3411
3412         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3413         rather than __builtin_expect.
3414
3415         * elf/dl-lookup.c (undefined_msg): Remove variable.
3416         (_dl_lookup_symbol_x): Replace undefined_msg with string
3417         literal.
3418
3419         * elf/dl-lookup.c (do_lookup_unique): New function.
3420         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3421         to a separate function.
3422
3423 2014-06-23  Andreas Schwab  <schwab@suse.de>
3424
3425         [BZ #17079]
3426         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3427         before reading the next line.
3428
3429 2014-06-23  Will Newton  <will.newton@linaro.org>
3430
3431         * test-skeleton.c (signal_handler): Use printf and %m
3432         rather than perror.  Use printf rather than fprintf to
3433         stderr.  Use puts rather than fputs to stderr.
3434         (main): Likewise.
3435
3436 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3437
3438         * nscd/nscd.c (thread_info_t): Remove typedef.
3439         (thread_info): Remove variable.
3440
3441 2014-06-21  Allan McRae  <allan@archlinux.org>
3442
3443         * NEWS: Mention CVE-2014-4043.
3444
3445 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3446
3447         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3448         * nptl/smp.h: ... here.
3449
3450         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3451
3452         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3453         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3454         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3455         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3456
3457         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3458         * nptl/stack-aliasing.h: New file.
3459         * sysdeps/i386/i686/stack-aliasing.h: New file.
3460         * sysdeps/i386/i686/nptl/Makefile: File removed.
3461         * sysdeps/x86_64/stack-aliasing.h: New file.
3462         * sysdeps/x86_64/nptl/Makefile
3463         (CFLAGS-pthread_create.c): Variable removed.
3464
3465         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3466         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3467         old file.
3468         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3469         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3470         old file.
3471
3472 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3473
3474         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3475         (__ASSUME_SIGFRAME_V2): Remove macro.
3476         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3477         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3478         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3479         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3480         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3481         Declare as function.  Remove conditional macro definitions.
3482         (__default_rt_sa_restorer): Likewise.
3483         (__default_sa_restorer_v1): Remove declaration.
3484         (__default_sa_restorer_v2): Likewise.
3485         (__default_rt_sa_restorer_v1): Likewise.
3486         (__default_rt_sa_restorer_v2): Likewise.
3487         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3488         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3489         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3490
3491 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3492
3493         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3494         (libpthread-routines): Add sysdep.
3495         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3496         * sysdeps/unix/sysv/linux/sparc/Versions
3497         (libpthread: GLIBC_2.3.3): New version set.
3498         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3499         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3500         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3501         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3502         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3503         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3504         Moved ...
3505         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3506         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3507         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3508         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3509         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3510         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3511         * sysdeps/sparc/nptl/sem_init.c: ... here.
3512         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3513         * sysdeps/sparc/nptl/sem_post.c: ... here.
3514         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3515         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3516         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3517         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3518         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3519         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3520         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3521         (libpthread-routines): Add cpu_relax.
3522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3523         File removed.
3524         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3525         (librt: GLIBC_2.3.3): New version set.
3526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3527         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3528         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3529         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3532         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3534         Moved ...
3535         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3537         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3539         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3541         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3543         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3545         Moved ...
3546         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3547         Update #include.
3548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3549         Moved ...
3550         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3551         Update #include.
3552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3553         Moved ...
3554         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3555         Update #include.
3556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3557         Moved ...
3558         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3559         Update #include.
3560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3561         Moved ...
3562         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3563         Update #include.
3564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3565         Moved ...
3566         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3567         Update #include.
3568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3569         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3571         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3573         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3575         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3577         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3579         Moved ...
3580         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3582         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3584         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3585
3586 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3587
3588         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3589         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3590         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3591         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3592         * nscd/nscd.c: Likewise.
3593         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3594         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3595         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3596         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3597
3598         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3599         <kernel-features.h>.
3600         (init_mq_netlink): Remove conditional have_sock_cloexec
3601         definitions.  Remove code conditional on have_sock_cloexec < 0.
3602         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3603         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3604         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3605         <kernel-features.h>.
3606         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3607         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3608
3609 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3610
3611         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3612         Add tests for memset_chk and memset.
3613
3614         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3615         with AVX2_Usable.
3616
3617 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3618
3619         [BZ #16046]
3620         * elf/tst-dl-iter-static.c: New file.
3621         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3622
3623         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3624         error.
3625
3626 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3627
3628         * sysdeps/unix/sysv/linux/kernel-features.h
3629         (__ASSUME_F_GETOWN_EX): Remove macro.
3630         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3631         <kernel-features.h>.
3632         (miss_F_GETOWN_EX): Remove variable or macro.
3633         (do_fcntl): Do not check miss_F_GETOWN_EX.
3634         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3635
3636         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3637         Remove macro.
3638         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3639         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3640         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3641
3642         * sysdeps/unix/sysv/linux/kernel-features.h
3643         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3644         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3645         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3646         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3647
3648 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3649
3650         [BZ #17075]
3651         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3652         Fix calculation of the symbol's value.
3653         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3654         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3655         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3656         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3657         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3658         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3659         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3660         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3661         (modules-names): Add `tst-armtlsdescmod',
3662         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3663         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3664         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3665         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3666         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3667         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3668         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3669         ($(objpfx)tst-armtlsdescloc): New dependency.
3670         ($(objpfx)tst-armtlsdescextnow): Likewise.
3671         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3672         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3673         TLS scheme support.
3674         * sysdeps/arm/configure: Regenerate.
3675
3676 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3677
3678         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3679         (__atfct_seterrno_2): Likewise.
3680         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3681         <kernel-features.h>.
3682         (__ASSUME_ATFCTS): Do not undefine and redefine.
3683         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3684         (__have_atfcts): Remove conditional definition.
3685         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3686         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3687         unreachable if [__ASSUME_ATFCTS].
3688         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3689         not undefine and redefine.
3690         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3691         <kernel-features.h>.
3692         (faccessat) [__NR_faccessat]: Make code unconditional.
3693         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3694         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3695         <kernel-features.h>.
3696         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3697         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3698         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3699         <kernel-features.h>.
3700         (fchownat) [__NR_fchownat]: Make code unconditional.
3701         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3702         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3703         <kernel-features.h>.
3704         (futimesat) [__NR_futimesat]: Make code unconditional.
3705         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3706         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3707         <kernel-features.h>.
3708         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3709         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3710         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3711         <kernel-features.h>.
3712         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3713         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3714         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3715         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3716         <kernel-features.h>.
3717         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3718         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3719         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3720         <kernel-features.h>.
3721         (linkat) [__NR_linkat]: Make code unconditional.
3722         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3723         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3724         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3725         <kernel-features.h>.
3726         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3727         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3728         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3729         <kernel-features.h>.
3730         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3731         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3732         * sysdeps/unix/sysv/linux/openat.c: Do not include
3733         <kernel-features.h>.
3734         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3735         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3736         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3737         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3738         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3739         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3740         <kernel-features.h>.
3741         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3742         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3743         result of INLINE_SYSCALL directly, not via int variable.
3744         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3745         <kernel-features.h>.
3746         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3747         (renameat) [__NR_renameat]: Make code unconditional.
3748         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3749         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3750         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3751         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3752         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3753         (__ASSUME_ATFCTS): Do not undefine and redefine.
3754         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3755         <kernel-features.h>.
3756         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3757         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3758         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3759         <kernel-features.h>.
3760         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3761         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3762         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3763         (__ASSUME_ATFCTS): Do not undefine and redefine.
3764         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3765         <kernel-features.h>.
3766         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3767         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3768         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3769         <kernel-features.h>.
3770         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3771         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3772
3773 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3774
3775         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3776
3777 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3778
3779         [BZ #17069]
3780         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3781         constructed tree before returning error.
3782         * posix/bug-regexp36.c: Expand test case.
3783
3784 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3785
3786         [BZ #6803]
3787         * math/libm-test.inc (scalbln_test_date):
3788         Add errno expectations.
3789         * math/w_scalblnf.c: New File.
3790         Add wrapper which checks for setting errno to ERANGE.
3791         Add weak_alias for corresponding scalbln function.
3792         * math/w_scalbln.c: Likewise.
3793         * math/w_scalblnl.c: Likewise.
3794         * math/Makefile (libm-calls): Add w_scalbln.
3795         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3796         Remove weak_alias for corresponding scalbln function.
3797         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3798         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3799         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3800         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3801         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3802         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3803         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3804         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3805         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3806         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3807         Remove long_double_symbol for scalblnl function in libm, libc.
3808         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3809         Add wrapper which checks for setting errno to ERANGE.
3810         Add long_double_symbol for scalblnl function in libm, libc.
3811         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3812         Remove long_double_symbol for scalblnl in libm.
3813         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3814         Add wrapper which checks for setting errno to ERANGE.
3815         Add long_double_symbol for scalblnl function in libm.
3816         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3817         Do not use wrapper because of own implementation.
3818
3819 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3820
3821         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3822         3 bytes for __pad1 for x32.
3823         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3824
3825 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3826             H.J. Lu  <hongjiu.lu@intel.com>
3827
3828         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3829         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3830         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3831         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3832         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3833
3834 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3835
3836         [BZ #17069]
3837         * posix/regcomp.c (parse_expression): Deallocate partially
3838         constructed tree before returning error.
3839         * posix/Makefile.c (tests): Add bug-regex36.
3840         (generated): Add bug-regex36.mtrace.
3841         (tests-special): Add $(objpfx)bug-regex36-mem.out
3842         (bug-regex36-ENV): New variable.
3843         ($(objpfx)bug-regex36-mem.out): New rule.
3844         * posix/bug-regex36.c: New file.
3845
3846 2014-06-19  Will Newton  <will.newton@linaro.org>
3847
3848         * malloc/malloc.c (systrim): If extra is zero then return
3849         early.
3850
3851 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3852
3853         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3854
3855 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3856
3857         * sysdeps/aarch64/strchr.S: New file.
3858
3859 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3860
3861         [BZ #17022]
3862         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3863         from arguments -2 or below.
3864         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3865         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3866
3867 2014-06-18  Andreas Schwab  <schwab@suse.de>
3868
3869         [BZ #17062]
3870         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3871         of a bracket expr not to run off the end of the string.
3872         * posix/Makefile (tests): Add tst-fnmatch3.
3873         * posix/tst-fnmatch3.c: New file.
3874
3875 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3876
3877         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3878         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3879         [$(cross-compiling) = no]: Likewise.
3880         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3881         [$(cross-compiling) = no]: Likewise.
3882
3883 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3884
3885         [BZ #17031]
3886         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3887         double, adjusted for any remainder from the high double.
3888         * math/libm-test.inc (nearbyint): Add tests.
3889         (rint): Likewise.
3890
3891 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3892
3893         * nptl/sysdeps/powerpc/Makefile: Moved ...
3894         * sysdeps/powerpc/nptl/Makefile: ... here.
3895         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3896         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3897         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3898         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3899         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3900         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3901         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3902         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3903         * nptl/sysdeps/powerpc/tls.h: Moved ...
3904         * sysdeps/powerpc/nptl/tls.h: ... here.
3905
3906 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3907
3908         [BZ #16681]
3909         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3910         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3911         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3912         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3913         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3914         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3915         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3916         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3917         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3918
3919 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3920
3921         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3922
3923 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3924
3925         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3926         defined operator.
3927
3928         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3929         $TIMEOUTFACTOR.
3930
3931 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3932
3933         [BZ #17058]
3934         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3935         non-executed part of the test.
3936
3937 2014-06-16  Andreas Schwab  <schwab@suse.de>
3938
3939         * string/bits/string2.h (strdup, strndup): Update feature guard.
3940
3941 2014-06-14  David S. Miller  <davem@davemloft.net>
3942
3943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3944
3945 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3946
3947         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3948         that was previously under [RESET_PID].
3949         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3950
3951         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3952         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3953         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3954         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3955         (__libc_vfork): New strong alias.
3956         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3957
3958 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3959
3960         * sysdeps/generic/elide.h: New file.
3961
3962 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3963
3964         * Makefile (installed-headers): Adjust path of pthread.h header.
3965
3966 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3967
3968         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3969         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3970         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3971         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3972
3973         * nptl/sysdeps/s390/Makefile: Moved ...
3974         * sysdeps/s390/nptl/Makefile: ... here.
3975         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3976         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3977         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3978         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3979         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3980         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3981         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3982         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3983         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3984         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3985         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3986         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3987         * nptl/sysdeps/s390/tls.h: Moved ...
3988         * sysdeps/s390/nptl/tls.h: ... here.
3989
3990         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3991         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3992
3993 2014-06-13  David S. Miller  <davem@davemloft.net>
3994
3995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3996         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3998         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4000         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4002         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4003         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4004         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4005         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4006         Remove RESET_PID cpp guards.
4007         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4008         Remove RESET_PID cpp guards.
4009         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4010
4011 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4012
4013         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4014         __sp to uintptr_t.
4015
4016 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4017
4018         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4019         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4020         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4021         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4022         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4023         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4024         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4025         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4026         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4027         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4028         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4029         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4030         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4031         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4032         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4033         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4034         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4035         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4036         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4037         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4038
4039         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4040         (pthread_rwlock_rdlock): Add elision.
4041         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4042         (pthread_rwlock_wrlock): Add elision.
4043         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4044         (pthread_rwlock_trywrlock): Add elision.
4045         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4046         (pthread_rwlock_tryrdlock): Add elision.
4047         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4048         (pthread_rwlock_tryrdlock): Add elision unlock.
4049         * nptl/sysdeps/pthread/pthread.h:
4050         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4051         (PTHREAD_RWLOCK_INITIALIZER,
4052         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4053         Handle new elision field.
4054         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4055         * sysdeps/arm/nptl/bits/pthreadtypes.h
4056         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4057         * sysdeps/sh/nptl/bits/pthreadtypes.h
4058         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4059         * sysdeps/tile/nptl/bits/pthreadtypes.h
4060         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4061         * sysdeps/a/nptl/bits/pthreadtypes.h
4062         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4063         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4064         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4065         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4066         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4067         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4068         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4069         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4070         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4071         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4072         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4073         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4074         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4075         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4076         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4077         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4078         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4079         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4080         (elision_init): Set try_xbegin to zero when no RTM.
4081         * sysdeps/x86/nptl/bits/pthreadtypes.h
4082         (pthread_rwlock_t): Change __pad1 to __rwelision.
4083         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4084
4085 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4086
4087         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4088         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4089         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4090         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4091
4092 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4093
4094         [BZ #16996]
4095         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4096         that the cached result has been set before returning it.
4097
4098 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4099
4100         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4101         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4102         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4103         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4104         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4105         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4106
4107         * nptl/sysdeps/sparc/Makefile: Moved ...
4108         * sysdeps/sparc/nptl/Makefile: ... here.
4109         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4110         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4111         * nptl/sysdeps/sparc/tls.h: Moved ...
4112         * sysdeps/sparc/nptl/tls.h: ... here.
4113         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4114         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4115         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4116         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4117         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4118         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4119         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4120         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4121         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4122         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4123         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4124         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4125         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4126         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4127         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4128         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4129         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4130         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4131         Update #include.
4132         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4133         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4134         Update #include.
4135         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4136         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4137         Update #include.
4138         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4139         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4140         Update #include.
4141
4142         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4143
4144         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4145         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4146
4147         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4148         (struct list_links): Type removed.
4149         (struct thread_node, struct timer_node): Replace struct list_links
4150         with struct list_head.
4151         (list_unlink_ip): Likewise.
4152         * sysdeps/pthread/timer_routines.c
4153         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4154         (list_append, list_insbefore): Likewise.
4155         (list_init): Function removed.
4156         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4157         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4158         * sysdeps/pthread/Makefile: ... here, new file.
4159
4160         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4161         * sysdeps/nptl/Implies: ... here.
4162         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4163         * nptl/sysdeps/pthread/list.h: Moved ...
4164         * include/list.h: ... here.
4165         * nptl/sysdeps/pthread/createthread.c: Moved ...
4166         * nptl/createthread.c: ... here.
4167         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4168         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4169         * nptl/pt-longjmp.c: ... here.
4170         * nptl/sysdeps/pthread/Makefile: Moved ...
4171         * sysdeps/nptl/Makefile: ... here.
4172         * nptl/sysdeps/pthread/Subdirs: Moved ...
4173         * sysdeps/nptl/Subdirs: ... here.
4174         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4175         * sysdeps/nptl/aio_misc.h: ... here.
4176         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4177         * sysdeps/nptl/bits/libc-lock.h: ... here.
4178         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4179         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4180         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4181         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4182         * nptl/sysdeps/pthread/configure: Moved ...
4183         * sysdeps/nptl/configure: ... here.
4184         * nptl/sysdeps/pthread/configure.ac: Moved ...
4185         * sysdeps/nptl/configure.ac: ... here.
4186         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4187         * sysdeps/nptl/gai_misc.h: ... here.
4188         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4189         * sysdeps/nptl/librt-cancellation.c: ... here.
4190         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4191         * sysdeps/nptl/malloc-machine.h: ... here.
4192         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4193         * sysdeps/nptl/pthread-functions.h: ... here.
4194         * nptl/sysdeps/pthread/pthread.h: Moved ...
4195         * sysdeps/nptl/pthread.h: ... here.
4196         * nptl/sysdeps/pthread/setxid.h: Moved ...
4197         * sysdeps/nptl/setxid.h: ... here.
4198         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4199         * sysdeps/nptl/sigfillset.c: ... here.
4200         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4201         * sysdeps/nptl/tcb-offsets.h: ... here.
4202         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4203         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4204         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4205         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4206         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4207         * sysdeps/pthread/allocalim.h: ... here.
4208         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4209         * sysdeps/pthread/bits/sigthread.h: ... here.
4210         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4211         * sysdeps/pthread/flockfile.c: ... here.
4212         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4213         * sysdeps/pthread/ftrylockfile.c: ... here.
4214         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4215         * sysdeps/pthread/funlockfile.c: ... here.
4216         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4217         * sysdeps/pthread/posix-timer.h: ... here.
4218         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4219         * sysdeps/pthread/timer_create.c: ... here.
4220         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4221         * sysdeps/pthread/timer_delete.c: ... here.
4222         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4223         * sysdeps/pthread/timer_getoverr.c: ... here.
4224         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4225         * sysdeps/pthread/timer_gettime.c: ... here.
4226         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4227         * sysdeps/pthread/timer_routines.c: ... here.
4228         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4229         * sysdeps/pthread/timer_settime.c: ... here.
4230         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4231         * sysdeps/pthread/tst-timer.c: ... here.
4232         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4233         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4234
4235         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4236         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4237
4238         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4239         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4240         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4241         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4242         Update #include target.
4243         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4244         * sysdeps/i386/i686/nptl/Makefile: ... here.
4245         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4246         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4247         Update #include target.
4248         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4249         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4250         * nptl/sysdeps/i386/Makefile: Moved ...
4251         * sysdeps/i386/nptl/Makefile: ... here.
4252         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4253         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4254         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4255         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4256         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4257         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4258         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4259         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4260         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4261         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4262         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4263         * nptl/sysdeps/i386/tls.h: Moved ...
4264         * sysdeps/i386/nptl/tls.h: ... here.
4265
4266         * sysdeps/sh/Makefile [$(subdir) = csu]
4267         (gen-as-const-headers): Add tcb-offsets.sym.
4268         * nptl/sysdeps/sh/Makefile: File removed.
4269         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4270         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4271         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4272         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4273         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4274         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4275         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4276         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4277         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4278         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4279         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4280         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4281         * nptl/sysdeps/sh/tls.h: Moved ...
4282         * sysdeps/sh/nptl/tls.h: ... here.
4283         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4284         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4285         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4286         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4287         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4288         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4289         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4290         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4291         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4292         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4293         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4294         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4295         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4296         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4297         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4298         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4299         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4300         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4301         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4302         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4303         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4304         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4305         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4306         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4307         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4308         Moved ...
4309         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4310         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4311         Moved ...
4312         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4313         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4314         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4315         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4316         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4317         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4318         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4319         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4320         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4321         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4322         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4323         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4324         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4325         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4326         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4327         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4328         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4329         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4330         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4331
4332 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4333
4334         * posix/spawn_faction_addopen.c: Include string.h.
4335
4336 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4337
4338         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4339         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4340         * nptl/sysdeps/x86_64/Makefile: Moved ...
4341         * sysdeps/x86_64/nptl/Makefile: ... here.
4342         * nptl/sysdeps/x86_64/configure: Moved ...
4343         * sysdeps/x86_64/nptl/configure: ... here.
4344         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4345         * sysdeps/x86_64/nptl/configure.ac: ... here.
4346         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4347         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4348         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4349         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4350         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4351         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4352         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4353         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4354         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4355         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4356         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4357         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4358         * nptl/sysdeps/x86_64/tls.h: Moved ...
4359         * sysdeps/x86_64/nptl/tls.h: ... here.
4360         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4361         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4362         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4363         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4364
4365         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4366
4367 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4368
4369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4370
4371 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4372
4373         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4374         type.
4375         [POSIX] (off_t): Likewise.
4376         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4377         [POSIX] (S_ISBLK): Require macro.
4378         [POSIX] (S_ISCHR): Likewise.
4379         [POSIX] (S_ISDIR): Likewise.
4380         [POSIX] (S_ISFIFO): Likewise.
4381         [POSIX] (S_ISREG): Likewise.
4382         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4383         optional-macro.
4384         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4385         type.
4386         [POSIX] (time_t): Likewise.
4387         [POSIX] (timer_t): Likewise.
4388
4389 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4390
4391         [BZ #17048]
4392         * posix/spawn_int.h (struct __spawn_action): Make the path string
4393         non-const to support deallocation.
4394         * posix/spawn_faction_addopen.c
4395         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4396         * posix/spawn_faction_destroy.c
4397         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4398         path in all spawn_do_open actions.
4399         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4400         posix_spawn_file_actions_addopen.
4401
4402 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4403
4404         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4405         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4406         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4407         conditional code always true.
4408         (__libc_vfork): New alias.
4409
4410 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4411
4412         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4413         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4414
4415         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4416
4417         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4418         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4419
4420         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4421         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4422
4423         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4424         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4425
4426 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4427
4428         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4429         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4430         multiarch strcmp for PPC64.
4431         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4432         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4433         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4434         multiarch optimizations.
4435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4436         (__libc_ifunc_impl_list): Likewise.
4437
4438 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4439
4440         * benchtests/scripts/validate_benchout.py: New script.
4441         * benchtests/Makefile (bench-func): Call it.
4442         * benchtests/scripts/benchout.schema.json: New file.
4443
4444 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4445
4446         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4447         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4448         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4449         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4450         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4451         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4452         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4453         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4454         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4455         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4456         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4457         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4458         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4459         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4460         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4461         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4463         Moved ...
4464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4465         ... here.
4466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4467         Moved ...
4468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4470         Moved ...
4471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4472         ... here.
4473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4474         Moved ...
4475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4476         ... here.
4477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4478         Moved ...
4479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4481         Moved ...
4482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4483         ... here.
4484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4485         Moved ...
4486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4487         ... here.
4488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4489         Moved ...
4490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4492         Moved ...
4493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4494         ... here.
4495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4496         Moved ...
4497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4498         ... here.
4499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4500         Moved ...
4501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4502         ... here.
4503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4504         Moved ...
4505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4507         Moved ...
4508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4509         ... here.
4510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4511         Moved ...
4512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4513         ... here.
4514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4515         Moved ...
4516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4517         ... here.
4518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4519         Moved ...
4520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4522         Moved ...
4523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4524         ... here.
4525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4526         Moved ...
4527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4528         ... here.
4529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4530         Moved ...
4531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4533         Moved ...
4534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4535         ... here.
4536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4537         Moved ...
4538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4540         Moved ...
4541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4543         Moved ...
4544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4545         ... here.
4546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4547         Moved ...
4548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4549         ... here.
4550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4551         Moved ...
4552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4553         ... here.
4554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4555         Moved ...
4556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4558         Moved ...
4559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4560         ... here.
4561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4562         Moved ...
4563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4564         ... here.
4565         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4566         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4567         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4568         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4569         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4570         Moved ...
4571         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4572         ... here.
4573         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4574         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4575         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4576         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4577         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4578         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4579         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4580         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4581         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4582         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4583         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4584         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4585         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4586         Moved ...
4587         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4588         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4589         Moved ...
4590         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4591         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4592         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4593         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4594         Moved ...
4595         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4596         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4597         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4598         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4599         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4600         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4601         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4602
4603 2014-06-10  Wilco  <wdijkstr@arm.com>
4604
4605         * math/test-fenv-return.c: New file.
4606         * math/Makefile: Add new test test-fenv-return.
4607
4608 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4609
4610         [BZ #17042]
4611         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4612         when x - 1 is zero.
4613         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4614         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4615         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4616         0.0L for an argument of 1.0L.
4617         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4618         Likewise.
4619         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4620         value when x - 1 is zero.
4621         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4622         * sysdeps/i386/fpu/libm-test-ulps: Update.
4623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4624
4625 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4626
4627         [BZ #15119]
4628         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4629
4630 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4631
4632         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4633         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4634
4635 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4636
4637         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4638         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4639
4640         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4641         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4642
4643         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4644         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4645
4646         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4647         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4648
4649         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4650         if not already defined.
4651         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4652         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4653         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4654         (TLS_INIT_TP): Use it.
4655         (TLS_DEFINE_INIT_TP): New macro.
4656         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4657
4658 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4659
4660         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4661         constant.
4662         [POSIX] (IXANY): Likewise.
4663         [POSIX] (OLCUC): Likewise.
4664         [POSIX || POSIX2008] (CBAUD): Do not allow.
4665         [POSIX || POSIX2008] (DEFECHO): Likewise.
4666         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4667         [POSIX || POSIX2008] (ECHOKE): Likewise.
4668         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4669         [POSIX || POSIX2008] (EXTA): Likewise.
4670         [POSIX || POSIX2008] (EXTB): Likewise.
4671         [POSIX || POSIX2008] (FLUSHO): Likewise.
4672         [POSIX || POSIX2008] (LOBLK): Likewise.
4673         [POSIX || POSIX2008] (PENDIN): Likewise.
4674         [POSIX || POSIX2008] (SWTCH): Likewise.
4675         [POSIX || POSIX2008] (VDISCARD): Likewise.
4676         [POSIX || POSIX2008] (VDSUSP): Likewise.
4677         [POSIX || POSIX2008] (VLNEXT): Likewise.
4678         [POSIX || POSIX2008] (VREPRINT): Likewise.
4679         [POSIX || POSIX2008] (VSTATUS): Likewise.
4680         [POSIX || POSIX2008] (VWERASE): Likewise.
4681         (B*): Change to B[0123456789]*.
4682         * conform/data/time.h-data [POSIX || UNIX98]
4683         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4684         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4685         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4686         [POSIX] (tm_*): Do not allow.
4687
4688 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4689
4690         * Makefile (install): Don't set LANGUAGE.
4691         * Makefile.in (install): Likewise.
4692         * assert/Makefile (test-assert-ENV): Remove variable.
4693         (test-assert-perr-ENV): Likewise.
4694         * elf/Makefile (neededtest4-ENV): Likewise.
4695         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4696         [$(cross-compiling) = no]: Don't set LANGUAGE.
4697         * io/ftwtest-sh (LANG): Remove variable.
4698         * libio/Makefile (tst-widetext-ENV): Likewise.
4699         * manual/install.texi (Running make install): Don't refer to
4700         environment settings for make install.
4701         * INSTALL: Regenerated.
4702         * nptl/tst-tls6.sh: Don't set LANG.
4703         * posix/globtest.sh (LANG): Remove variable.
4704         * string/Makefile (tester-ENV): Likewise.
4705         (inl-tester-ENV): Likewise.
4706         (noinl-tester-ENV): Likewise.
4707         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4708         [$(cross-compiling) = no]: Don't set LANGUAGE.
4709         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4710         without explicit environment settings.
4711
4712 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4713
4714         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4715         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4716         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4717         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4718
4719 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4720
4721         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4722         other files in the crypt directory.
4723         * crypt/crypt.c: Remove duplicate includes.
4724         * crypt/crypt-entry.c: Likewise.
4725         * crypt/crypt_util.c: Likewise.
4726
4727 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4728
4729         * Makeconfig (run-program-env): New variable.
4730         (run-program-prefix-before-env): Likewise.
4731         (run-program-prefix-after-env): Likewise.
4732         (run-program-prefix): Define in terms of new variables.
4733         (built-program-cmd-before-env): New variable.
4734         (built-program-cmd-after-env): Likewise.
4735         (built-program-cmd): Define in terms of new variables.
4736         (test-program-prefix-before-env): New variable.
4737         (test-program-prefix-after-env): Likewise.
4738         (test-program-prefix): Define in terms of new variables.
4739         (test-program-cmd-before-env): New variable.
4740         (test-program-cmd-after-env): Likewise.
4741         (test-program-cmd): Define in terms of new variables.
4742         * Rules (make-test-out): Use $(run-program-env).
4743         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4744         (help): Do not mention environment variables.  Mention
4745         --timeoutfactor option.
4746         (timeoutfactor): New variable.
4747         (blacklist_exports): Remove function.
4748         (exports): Remove variable.
4749         (command): Do not include ${exports}.
4750         * manual/install.texi (Configuring and compiling): Do not mention
4751         test wrappers preserving environment variables.  Mention that last
4752         assignment to a variable must take precedence.
4753         * INSTALL: Regenerated.
4754         * benchtests/Makefile (run-bench): Use $(run-program-env).
4755         * catgets/Makefile ($(objpfx)test1.cat): Use
4756         $(built-program-cmd-before-env), $(run-program-env) and
4757         $(built-program-cmd-after-env).
4758         ($(objpfx)test2.cat): Do not specify environment variables
4759         explicitly.
4760         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4761         $(run-program-env) and $(built-program-cmd-after-env).
4762         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4763         $(run-program-env) and $(test-program-cmd-after-env).
4764         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4765         explicitly.
4766         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4767         run_program_env and test_program_cmd_after_env arguments.
4768         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4769         * elf/tst-pathopt.sh: Use run_program_env argument.
4770         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4771         $(test-wrapper-env) and $(run-program-env).
4772         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4773         run_program_env arguments.
4774         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4775         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4776         $(test-program-prefix-before-env), $(run-program-env) and
4777         $(test-program-prefix-after-env).
4778         ($(objpfx)tst-gettext2.out): Likewise.
4779         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4780         run_program_env and test_program_prefix_after_env arguments.
4781         * intl/tst-gettext2.sh: Likewise.
4782         * intl/tst-gettext4.sh: Do not set environment variables
4783         explicitly.
4784         * intl/tst-gettext6.sh: Likewise.
4785         * intl/tst-translit.sh: Likewise.
4786         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4787         $(test-program-prefix-before-env), $(run-program-env) and
4788         $(test-program-prefix-after-env).
4789         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4790         run_program_env and test_program_prefix_after_env arguments.
4791         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4792         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4793         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4794         explicitly with each use of ${test_wrapper_env}.
4795         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4796         $(test-program-prefix-before-env), $(run-program-env) and
4797         $(test-program-prefix-after-env).
4798         * posix/tst-getconf.sh: Do not set environment variables
4799         explicitly.
4800         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4801         run_program_env and test_program_prefix_after_env arguments.
4802         * stdio-common/tst-printf.sh: Do not set environment variables
4803         explicitly.
4804         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4805         $(test-program-prefix-before-env), $(run-program-env) and
4806         $(test-program-prefix-after-env).
4807         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4808         run_program_env and test_program_prefix_after_env arguments.
4809         Split $test calls into $test_pre and $test.
4810         * timezone/Makefile (build-testdata): Use
4811         $(built-program-cmd-before-env), $(run-program-env) and
4812         $(built-program-cmd-after-env).
4813
4814 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4815
4816         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4817         strlen for non SHARED builds.
4818
4819 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4820
4821         * nptl/allocatestack.c (check_list): Inlined function...
4822         (__reclaim_stacks): ... here.
4823
4824 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4825
4826         [BZ #15698]
4827         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4828         memory overrun.
4829
4830 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4831
4832         * Rules (make-test-out): Include
4833         LOCPATH=$(common-objpfx)localedata in default environment.
4834         * debug/Makefile (tst-chk1-ENV): Remove variable.
4835         (tst-chk2-ENV): Likewise.
4836         (tst-chk3-ENV): Likewise.
4837         (tst-chk4-ENV): Likewise.
4838         (tst-chk5-ENV): Likewise.
4839         (tst-chk6-ENV): Likewise.
4840         (tst-lfschk1-ENV): Likewise.
4841         (tst-lfschk2-ENV): Likewise.
4842         (tst-lfschk3-ENV): Likewise.
4843         (tst-lfschk4-ENV): Likewise.
4844         (tst-lfschk5-ENV): Likewise.
4845         (tst-lfschk6-ENV): Likewise.
4846         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4847         (tst-iconv7-ENV): Likewise.
4848         * intl/Makefile (LOCPATH-ENV): Likewise.
4849         (tst-codeset-ENV): Likewise.
4850         (tst-gettext3-ENV): Likewise.
4851         (tst-gettext5-ENV): Likewise.
4852         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4853         (tst-fopenloc-ENV): Likewise.
4854         (tst-fgetws-ENV): Remove variable.
4855         (tst-ungetwc1-ENV): Likewise.
4856         (tst-ungetwc2-ENV): Likewise.
4857         (bug-ungetwc2-ENV): Likewise.
4858         (tst-swscanf-ENV): Likewise.
4859         (bug-ftell-ENV): Likewise.
4860         (tst-fgetwc-ENV): Likewise.
4861         (tst-fseek-ENV): Likewise.
4862         (tst-ftell-partial-wide-ENV): Likewise.
4863         (tst-ftell-active-handler-ENV): Likewise.
4864         (tst-ftell-append-ENV): Likewise.
4865         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4866         (tst-regexloc-ENV): Likewise.
4867         (bug-regex1-ENV): Likewise.
4868         (tst-regex-ENV): Likewise.
4869         (tst-regex2-ENV): Likewise.
4870         (bug-regex5-ENV): Likewise.
4871         (bug-regex6-ENV): Likewise.
4872         (bug-regex17-ENV): Likewise.
4873         (bug-regex18-ENV): Likewise.
4874         (bug-regex19-ENV): Likewise.
4875         (bug-regex20-ENV): Likewise.
4876         (bug-regex22-ENV): Likewise.
4877         (bug-regex23-ENV): Likewise.
4878         (bug-regex25-ENV): Likewise.
4879         (bug-regex26-ENV): Likewise.
4880         (bug-regex30-ENV): Likewise.
4881         (bug-regex32-ENV): Likewise.
4882         (bug-regex33-ENV): Likewise.
4883         (bug-regex34-ENV): Likewise.
4884         (bug-regex35-ENV): Likewise.
4885         (tst-rxspencer-ENV): Likewise.
4886         (tst-rxspencer-no-utf8-ENV): Likewise.
4887         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4888         (tst-sscanf-ENV): Likewise.
4889         (tst-swprintf-ENV): Likewise.
4890         (tst-swscanf-ENV): Likewise.
4891         (test-vfprintf-ENV): Likewise.
4892         (scanf13-ENV): Likewise.
4893         (bug14-ENV): Likewise.
4894         (tst-grouping-ENV): Likewise.
4895         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4896         (tst-strtod3-ENV): Likewise.
4897         (tst-strtod4-ENV): Likewise.
4898         (tst-strtod5-ENV): Likewise.
4899         (testmb2-ENV): Likewise./
4900         * string/Makefile (tst-strxfrm-ENV): Likewise.
4901         (tst-strxfrm2-ENV): Likewise.
4902         (bug-strcoll1-ENV): Likewise.
4903         (test-strcasecmp-ENV): Likewise.
4904         (test-strncasecmp-ENV): Likewise.
4905         * time/Makefile (tst-strptime-ENV): Likewise.
4906         (tst-ftime_l-ENV): Likewise.
4907         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4908         (tst-mbrtowc-ENV): Likewise.
4909         (tst-wcrtomb-ENV): Likewise.
4910         (tst-mbrtowc2-ENV): Likewise.
4911         (tst-c16c32-1-ENV): Likewise.
4912         (tst-mbsnrtowcs-ENV): Likewise.
4913
4914 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4915
4916         * manual/resource.texi (How to get information about the memory
4917         subsystem?): Fix typo.
4918         Reported by Peon de la Parra Ivan <peon@keba.com>
4919
4920 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4921
4922         [BZ #16882]
4923         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4924         (pthread_spin_lock): Branch out of spin loop to proper location.
4925         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4926         (pthread_spin_lock): Likewise.
4927
4928         * nptl/tst-spin4.c: New test.
4929         * nptl/Makefile (tests): Add tst-spin4.
4930
4931 2014-06-03  Andreas Schwab  <schwab@suse.de>
4932
4933         [BZ #15946]
4934         * resolv/res_send.c (send_dg): Reload file descriptor after
4935         calling reopen.
4936
4937 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4938
4939         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4940
4941 2014-06-03  Richard Henderson  <rth@redhat.com>
4942
4943         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4944         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4945         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4946         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4947         in the SAVE_PID block.
4948         (__libc_vfork): New alias.
4949         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4950
4951         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4952         child in registers, not on the stack.  Remove RESET_PID conditionals.
4953         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4954
4955 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4956
4957         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4958
4959 2014-06-03  Wilco  <wdijkstr@arm.com>
4960
4961         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4962         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4963         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4964         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4965         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4966         Likewise.
4967
4968 2014-06-03  Wilco  <wdijkstr@arm.com>
4969
4970         * sysdeps/aarch64/fpu/math_private.h
4971         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4972         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4973         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4974         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4975         Fix declarations.
4976
4977 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4978
4979         * crypt/crypt-private.h: Include ufc-crypt.h.
4980         (__b64_from_24bit): Declare extern.
4981         * crypt/crypt_util.c(__b64_from_24bit): New function.
4982         (b64t): New static const variable.
4983         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4984         (b64t): Remove variable.
4985         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4986         * crypt/sha256-crypt.c: Include crypt-private.h.
4987         (b64t): Remove variable.
4988         (__sha256_crypt_r): Remove b64_from_24bit and replace
4989         with __b64_from_24bit.
4990         * crypt/sha512-crypt.c: Likewise.
4991
4992 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4993
4994         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4995         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4996         Label the code __libc_vfork rather than __vfork.
4997         [!NOT_IN_libc] (vfork): Define as weak alias.
4998         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4999         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5000         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5001
5002 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5003
5004         * malloc/malloc.c (malloc_info): Fix format specifier for
5005         n_mmaps.
5006
5007 2014-06-02  Wilco  <wdijkstr@arm.com>
5008
5009         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5010         FPCR write.
5011
5012 2014-06-02  Wilco  <wdijkstr@arm.com>
5013
5014         [BZ #17009]
5015         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5016         Rewrite to reduce FPCR/FPSR accesses.
5017
5018 2014-06-01  David S. Miller  <davem@davemloft.net>
5019
5020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5021
5022 2014-05-31  David S. Miller  <davem@davemloft.net>
5023
5024         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5025         to occur in round to nearest mode when |x| >= 2.0
5026
5027 2014-05-30  Richard Henderson  <rth@twiddle.net>
5028
5029         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5030         (PSEUDO_RET_NOERRNO): Remove.
5031         (ret): Don't redefine.
5032         (ret_NOERRNO): Define in terms of ret.
5033         (ret_ERRVAL): Likewise.
5034
5035         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5036         use of PSEUDO_RET; perform the error check directly.
5037
5038 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5039
5040         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5041         with __int128_t.
5042
5043 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5044
5045         * malloc/malloc (malloc_info): Fix formatting.
5046
5047 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5048             Roland McGrath  <roland@hack.frob.com>
5049
5050         * malloc/malloc (malloc_info): Also print mmapped statistics.
5051
5052 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5053
5054         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5055         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5056
5057 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5058
5059         * malloc/malloc.c (malloc_info): Inline mi_arena.
5060
5061 2014-05-29  Richard Henderson  <rth@twiddle.net>
5062
5063         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5064         Remove comma before expanding ASM_ARGS_##nr.
5065         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5066         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5067         of ASM_ARGS_##nr.
5068         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5069         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5070         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5071         (ASM_ARGS_1): Add leading comma.
5072
5073         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5074         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5075         to __errno_location.
5076         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5077         Remove the expected plt for __errno_location.
5078
5079         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5080         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5081         call to __read_tp.
5082
5083         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5084         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5085         it and break it down.
5086         (DOCARGS_0, DOCARGS_1): Do nothing.
5087         (DOCARGS_2): Update to store into the new stack frame.
5088         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5089         (UNDOCARGS_1): Update to restore from the new stack frame.
5090         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5091         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5092
5093         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5094         (SINGLE_THREAD_P): New parameter for result regno.
5095         (PSEUDO): Update to match; use cbz instead of beq.
5096
5097         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5098         Use ENTRY to define the _nocancel entry point.  Share the syscall
5099         and syscall error check paths with the cancel path.
5100         (PSEUDO_END): New.
5101
5102         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5103         whitespace; tabs before and after asm mnemonics.
5104
5105 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5106
5107         [BZ #15132]
5108         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5109         Call fstat64 or stat64 internally, depending on arguments passed.
5110         Replace stat buffer argument with file descriptor argument.
5111         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5112         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5113         Pass fd to __internal_statvfs instead of calling fstat64.
5114         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5115         Pass fd to __internal_statvfs64 instead of calling fstat64.
5116         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5117         Pass -1 to __internal_statvfs instead of calling stat64.
5118         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5119         Pass -1 to __internal_statvfs64 instead of calling stat64.
5120
5121 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5122
5123         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5124         that was previously under [RESET_PID].
5125         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5126
5127         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5128         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5129
5130 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5131
5132         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5133
5134         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5135         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5136
5137 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5138
5139         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5140
5141 2014-05-27  Andreas Schwab  <schwab@suse.de>
5142
5143         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5144         TLS_INIT_TP macro.
5145         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5146         * elf/rtld.c (init_tls, dl_main): Likewise.
5147         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5148         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5149         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5150         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5151         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5152         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5153         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5154         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5155         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5156         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5157         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5158         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5159         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5160         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5161         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5162         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5163         * sysdeps/generic/tls.h: Update description.
5164
5165 2014-05-27  Will Newton  <will.newton@linaro.org>
5166
5167         [BZ #16990]
5168         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5169         and restore r2 rather than just restoring.
5170
5171 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5172
5173         [BZ #16724]
5174         * libio/tst-ftell-append.c: New test case.
5175         * libio/Makefile (tests): Add test case.
5176         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5177         append mode.
5178         * libio/wfileops.c (do_ftell_wide): Likewise.
5179
5180 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5181
5182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5183
5184         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5185         ...
5186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5188         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5189         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5190         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5191         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5192         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5193         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5194         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5195         Moved ...
5196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5197         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5198         Moved ...
5199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5200         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5201         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5202         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5203         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5204         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5205         ...
5206         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5207         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5208         Moved ...
5209         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5210         here.
5211         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5212         ...
5213         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5214         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5215         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5216
5217         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5218         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5219         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5220         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5221
5222         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5223         merge into ...
5224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5225         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5226         ...
5227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5228         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5229         ...
5230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5231         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5232         Moved ...
5233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5234         here.
5235         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5236         Moved ...
5237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5238         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5239         Moved ...
5240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5241
5242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5243         conditional [RESET_PID].
5244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5245         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5246         removed.
5247         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5248         removed.
5249
5250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5251         <tcb-offsets.h>.
5252         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5253         (__libc_vfork): New strong alias.
5254         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5255         removed.
5256         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5257         Removed.
5258
5259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5260         <tcb-offsets.h>.
5261         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5262         (__libc_vfork): New strong alias.
5263         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5264         removed.
5265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5266         removed.
5267
5268 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5269
5270         * malloc/malloc.c (mi_arena): New function.
5271         (malloc_info): Remove nested function mi_arena. Call non-nosted
5272         function mi_arena.
5273
5274 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5275
5276         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5277         by insrwi.
5278         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5279         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5280         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5281         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5282         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5283         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5284         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5285
5286 2014-05-26  Andreas Schwab  <schwab@suse.de>
5287
5288         [BZ #16984]
5289         * locale/programs/repertoire.c (repertoire_read): Add slash
5290         between I18NPATH element and file name.
5291         * locale/programs/locfile.c (locfile_read): Likewise.
5292
5293 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5294
5295         * nptl/pthread_mutexattr_settype.c
5296         (__pthread_mutexattr_settype):
5297         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5298
5299 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5300
5301         * nptl/tst-mutex5 (do_test):
5302         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5303
5304 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5305
5306         * benchtests/README: Document 'init' directive.
5307         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5308         BENCH_INIT.
5309         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5310         (parse_file): Recognize 'init' directive.
5311
5312 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5313
5314         [BZ #16796]
5315         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5316         alignment of struct pthread.
5317
5318 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5319
5320         [BZ #16878]
5321         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5322         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5323         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5324         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5325
5326 2014-05-25  Richard Henderson  <rth@twiddle.net>
5327
5328         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5329         (SINGLE_THREAD_P_PIC): Remove.
5330         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5331         (SINGLE_THREAD_P_PIC): Remove.
5332
5333         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5334         branch to syscall error ...
5335         (PSEUDO): ... here.
5336         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5337         from __local_syscall_error to .Lsyscall_error.
5338         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5339         (SYSCALL_ERROR): Update label name.
5340
5341         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5342         Do not use DOARGS/UNDOARGS.
5343         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5344         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5345         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5346         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5347         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5348
5349         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5350         block comment.
5351
5352         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5353         define if !NOT_IN_libc.
5354         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5355         define with non-default symbol versions.
5356
5357 2014-05-23  Richard Henderson  <rth@twiddle.net>
5358
5359         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5360         (vfork, __vfork): Define via compat_symbol.
5361
5362         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5363         [!HAVE_IFUNC] (vfork_compat): Remove.
5364         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5365
5366 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5367
5368         [BZ #16978]
5369         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5370         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5371         variable.
5372
5373 2014-05-23  Richard Henderson  <rth@twiddle.net>
5374
5375         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5376         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5377         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5378         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5379
5380         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5381         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5382         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5383         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5384         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5385         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5386         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5387         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5388         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5389         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5390         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5391         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5392         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5393         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5394         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5395         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5396         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5397         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5398         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5399         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5400         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5401         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5402         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5403         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5404         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5405         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5406         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5407         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5408         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5409         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5410         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5411         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5412         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5413         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5414         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5415         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5416         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5417         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5418         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5419         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5420         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5421         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5422         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5423         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5424         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5425         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5426         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5427         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5428         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5429         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5430         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5431         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5432         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5433         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5434         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5435         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5436
5437         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5438         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5439         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5440         before exiting on error.
5441         (__libc_vfork): New strong alias.
5442         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5443         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5444
5445         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5446         that was previously under [RESET_PID].
5447         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5448
5449         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5450
5451 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5452
5453         [BZ #16977]
5454         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5455         value when x - 1 is zero.
5456         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5457         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5458         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5459         0.0L for an argument of 1.0L.
5460         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5461         Likewise.
5462         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5463         value when x - 1 is zero.
5464         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5465         * sysdeps/i386/fpu/libm-test-ulps: Update.
5466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5467
5468 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5469
5470         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5471         alphasort and versionsort.
5472
5473 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5474
5475         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5476         macro.
5477         [copysignf]: Likewise.
5478
5479 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5480
5481         * crypt/md5-crypt.c: Fix formatting.
5482
5483 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5484
5485         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5486         (b64_from_24bit): New function.
5487
5488 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5489
5490         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5491         libc_hidden_builtin_def to ifunc.
5492         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5493         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5494
5495 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5496
5497         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5498         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5499
5500 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5501
5502         * nscd/Depend (linuxthreads): Remove.
5503         (nptl): Add.
5504         * resolv/Depend (linuxthreads): Remove.
5505         * rt/Depend (linuxthreads): Remove.
5506
5507         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5508         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5509         $(common-objpfx)elf/.
5510         (link-libc-before-gnulib): Likewise.
5511         (elfobjdir): Remove variable.
5512         * Makefile (install): Use $(elf-objpfx) instead of
5513         $(common-objpfx)elf/.
5514         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5515         $(elfobjdir)/.
5516         (link-libc-deps): Likewise.
5517         ($(common-objpfx)libc.so): Likewise.
5518         ($(common-objpfx)linkobj/libc.so): Likewise.
5519         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5520         instead of $(common-objpfx)elf/.
5521         (symbolic-link-list): Likewise.
5522         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5523         [$(cross-compiling) = no]: Likewise.
5524         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5525         $(elfobjdir)/.
5526         (static-gnulib-arch): Likewise.
5527         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5528         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5529         $(common-objpfx)elf/.
5530
5531 2014-05-21  Richard Henderson  <rth@redhat.com>
5532
5533         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5534         (SINGLE_THREAD_P): Use the correct width load.  Fold
5535         into the ldr offset.
5536
5537         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5538         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5539
5540 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5541
5542         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5543         (libgcc_s_resume): Use __attribute_used__.
5544         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5545         Likewise.
5546
5547 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5548
5549         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5550         optimization when used with float constants.
5551
5552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5553
5554 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5555
5556         [BZ #16915]
5557         * locale/nl_langinfo_l.c: Make direct reference to every
5558         _nl_current_CATEGORY symbol.
5559         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5560         (tests-static): Add tst-langinfo-static.
5561         (tests-special): Add tst-langinfo-static.out.
5562         ($(objpfx)tst-langinfo.out): Redirect output.
5563         ($(objpfx)tst-langinfo-static.out): New.
5564         * localedata/tst-langinfo.sh: Send output to stdout.
5565         * localedata/tst-langinfo-static.c: New file.
5566
5567         [BZ #16965]
5568         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5569         when the shift amount is modulo the limb size.
5570
5571 2014-05-20  Richard Henderson  <rth@redhat.com>
5572
5573         [BZ #16967]
5574         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5575         Change type of sa_flags from unsigned int to int.
5576
5577         [BZ #16966]
5578         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5579
5580         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5581
5582 2014-05-20  Will Newton  <will.newton@linaro.org>
5583
5584         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5585         Test the return value of the system call in the nocancel case.
5586
5587 2014-05-20  Will Newton  <will.newton@linaro.org>
5588             Yvan Roux  <yvan.roux@linaro.org>
5589
5590         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5591         #include of asm/ptrace.h.
5592         (PTRACE_GET_THREAD_AREA): Remove #undef.
5593         (PTRACE_GETHBPREGS): Likewise.
5594         (PTRACE_SETHBPREGS): Likewise.
5595         (struct user_regs_struct): New structure.
5596         (struct user_fpsimd_struct): New structure.
5597         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5598         #include of asm/ptrace.h and second #include of sys/user.h.
5599         (PTRACE_GET_THREAD_AREA): Remove #undef.
5600         (PTRACE_GETHBPREGS): Likewise.
5601         (PTRACE_SETHBPREGS): Likewise.
5602         (ELF_NGREG): Use new struct user_regs_struct.
5603         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5604
5605 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5606
5607         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5608         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5609
5610 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5611
5612         [BZ #16958]
5613         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5614         membar to avoid block loads/stores to overlap previous stores.
5615
5616 2014-05-17  Richard Henderson  <rth@redhat.com>
5617
5618         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5619         Create the __##syscall_name##_nocancel entry point.
5620         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5621         Remove; let the sysdep-cancel.h code create it.
5622
5623 2014-05-17  David S. Miller  <davem@davemloft.net>
5624
5625         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5626         Protect with __USE_GNU.
5627         (TIOCSET_TEMPT): Likewise.
5628         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5629         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5630         these are already provided in bits/ioctl-types.h
5631
5632 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5633
5634         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5635         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5636
5637         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5638         Use wait4 regardless of [__NR_waitpid].
5639
5640 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5641
5642         PR libgcc/60166
5643         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5644         (_FP_NANSIGN_Q): Set the quiet bit.
5645
5646 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5647
5648         * benchtests/Makefile
5649         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5650         not $(common-objpfx)math/libm.so.
5651         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5652         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5653         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5654         $(common-objpfx)dlfcn/libdl.so.
5655         ($(objpfx)tst-audit8): Depend on $(libm), not
5656         $(common-objpfx)math/libm.so.
5657         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5658         not $(common-objpfx)dlfcn/libdl.so.
5659         * math/Makefile
5660         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5661         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5662         [$(build-shared) = yes].
5663         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5664         $(common-objpfx)nptl/libpthread.so.
5665         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5666         $(common-objpfx)math/libm.so$(libm.so-version) or
5667         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5668         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5669         $(common-objpfx)dlfcn/libdl.so.
5670         * setjmp/Makefile (link-libm): Remove variable.
5671         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5672         * stdio-common/Makefile (link-libm): Remove variable.
5673         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5674         * stdlib/Makefile (link-libm): Remove variable.
5675         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5676         ($(objpfx)tst-strtod-round): Likewise.
5677         ($(objpfx)tst-tininess): Likewise.
5678         ($(objpfx)tst-strtod-underflow): Likewise.
5679         ($(objpfx)tst-strtod6): Likewise.
5680         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5681         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5682         $(common-objpfx)dlfcn/libdl.so.
5683
5684 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5685
5686         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5687         BSD terminal modes definitions.
5688
5689 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5690
5691         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5692         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5693
5694         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5695         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5696         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5697         Don't do #include_next.
5698         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5699         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5700         Don't do #include_next.
5701         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5702         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5703         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5704         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5705
5706 2014-05-16  Allan McRae  <allan@archlinux.org>
5707
5708         * po/sv.po: Update Swedish translation from translation project.
5709
5710         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5711         in sed expression.
5712
5713 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5714
5715         [BZ #16917]
5716         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5717         errno if the TIOCGPTN ioctl fails with an error different than
5718         EINVAL.
5719         * login/tst-ptsname.c: New file.
5720         * login/Makefile (tests): Add tst-ptsname.
5721
5722         [BZ #16943]
5723         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5724         and prlimit64.
5725
5726 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5727
5728         [BZ #16849]
5729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5730         herrno to return EAI_AGAIN.
5731
5732 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5733
5734         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5735         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5736         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5737         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5738         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5739         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5740         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5741         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5742         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5743         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5744         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5745         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5746         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5747         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5748         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5749         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5750         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5751         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5752         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5753         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5754         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5755         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5756         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5757         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5758         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5759         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5760         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5761         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5762         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5763         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5765         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5767         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5769         Moved ...
5770         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5772         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5774         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5776         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5778         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5780         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5782         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5784         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5786         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5788         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5790         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5792         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5794         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5796         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5798         Moved ...
5799         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5801         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5803         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5805         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5807         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5809         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5811         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5813         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5815         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5817         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5819         Moved ...
5820         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5822         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5823
5824         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5825         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5826         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5827         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5828         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5829         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5830         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5831         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5832         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5833         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5834         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5835         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5836         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5837         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5838         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5839         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5840         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5841         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5842         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5843         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5844         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5845         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5846         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5847         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5848         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5849         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5850         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5851         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5852         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5853         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5854         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5855
5856         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5857         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5858
5859         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5860         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5861         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5862         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5863         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5864         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5865         Moved ...
5866         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5867         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5868         Moved ...
5869         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5870         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5871         Moved ...
5872         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5873         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5874         Moved ...
5875         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5876         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5877         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5878         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5879         Moved ...
5880         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5881         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5882         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5883         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5884         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5885         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5886         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5887         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5888         Moved ...
5889         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5890         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5891         Moved ...
5892         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5893         ... here.
5894         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5895         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5896         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5897         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5898         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5899         Moved ...
5900         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5901         ... here.
5902         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5903         Moved ...
5904         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5905         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5906         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5907         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5908         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5909         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5910         Moved ...
5911         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5912         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5913         Moved ...
5914         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5915         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5916         Moved ...
5917         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5918         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5919         Moved ...
5920         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5921         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5922         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5923         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5924         Moved ...
5925         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5926         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5927         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5928         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5929         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5930         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5931         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5932         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5933         Moved ...
5934         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5935         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5936         Moved ...
5937         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5938         ... here.
5939         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5940         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5941         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5942         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5943         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5944         Moved ...
5945         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5946         ... here.
5947         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5948         Moved ...
5949         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5950         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5951         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5952         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5953         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5954         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5955         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5956         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5957         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5958         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5959         Moved ...
5960         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5961         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5962         Moved ...
5963         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5964         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5965         Moved ...
5966         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5967         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5968         Moved ...
5969         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5970         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5971         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5972         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5973         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5974         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5975         Moved ...
5976         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5977         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5978         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5979         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5980         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5981         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5982         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5983         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5984         Moved ...
5985         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5986         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5987         Moved ...
5988         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5989         ... here.
5990         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5991         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5992         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5993         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5994         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5995         Moved ...
5996         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5997         ... here.
5998         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5999         Moved ...
6000         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6001         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6002         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6003         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6004         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6005         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6006         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6007         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6008         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6009         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6010         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6011
6012         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6013         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6014
6015         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6016         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6017
6018         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6019         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6020         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6021         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6022         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6023         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6024         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6025         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6026         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6027         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6028         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6029         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6030         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6031         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6032         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6033         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6034         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6035         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6036         Moved ...
6037         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6038         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6039         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6040         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6041         Moved ...
6042         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6043         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6044         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6045         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6046         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6047         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6048         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6049         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6050         Moved ...
6051         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6052         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6053         Moved ...
6054         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6055         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6056         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6057         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6058         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6059         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6060         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6061         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6062         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6063         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6064         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6065         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6066         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6067         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6068         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6069         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6070         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6071
6072         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6073         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6074         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6075         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6076         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6077
6078         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6079         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6080         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6081         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6082         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6083         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6084         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6085         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6086         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6087         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6088
6089         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6090         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6091
6092         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6093         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6094         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6095         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6096         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6097         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6098         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6099         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6100         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6101         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6102         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6103         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6104         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6105         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6106         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6107         Update #include.
6108         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6109         Likewise.
6110         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6111         Likewise.
6112         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6113         Likewise.
6114         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6115         Likewise.
6116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6117         Likewise.
6118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6119         Likewise.
6120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6121         Likewise.
6122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6123         Likewise.
6124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6125         Likewise.
6126         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6127         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6128         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6129         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6130         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6131         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6132         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6133         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6134         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6135         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6136         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6137         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6138         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6139         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6140         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6141
6142         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6143         that was previously under [RESET_PID].
6144         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6145         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6146         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6147
6148         * sysdeps/i386/nptl/Implies: New file.
6149         * sysdeps/x86_64/nptl/Implies: New file.
6150         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6151         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6152         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6153         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6154
6155         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6156         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6157         (__libc_vfork): New strong alias.
6158         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6159         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6160
6161         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6162         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6163         (__libc_vfork): New strong alias.
6164         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6165         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6166
6167         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6168         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6169         (__libc_vfork): New strong alias.
6170         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6171         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6172         * nptl/pt-vfork.c: New file.
6173         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6174         (libpthread: GLIBC_2.20): New version set (empty).
6175
6176 2014-05-14  Will Newton  <will.newton@linaro.org>
6177
6178         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6179         rather than #if.
6180
6181 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6182
6183         [BZ #16564]
6184         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6185         arguments with exponent 65 or above.
6186         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6187         arguments 0x1p113L or above.
6188         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6189         to arguments 0x1p107L or above.
6190         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6191         positive arguments with exponent 65 or above.
6192         * math/auto-libm-test-in: Add more tests of log1p.
6193         * math/auto-libm-test-out: Regenerated.
6194
6195         [BZ #16928]
6196         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6197         non-finite arguments is +0.
6198         * math/s_cacosf.c (__cacosf): Likewise.
6199         * math/s_cacosl.c (__cacosl): Likewise.
6200         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6201         * sysdeps/i386/fpu/libm-test-ulps: Update.
6202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6203
6204         [BZ #16927]
6205         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6206         value.
6207         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6208         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6209         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6210         for explicit high bit of mantissa when testing for argument equal
6211         to 1.
6212         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6213         * sysdeps/i386/fpu/libm-test-ulps: Update.
6214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6215
6216         [BZ #16516]
6217         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6218         (__erf): Scale by 16 instead of 8 in potentially underflowing
6219         case.  Ensure exception if result actually underflows.
6220         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6221         (__erff): Scale by 16 instead of 8 in potentially underflowing
6222         case.  Ensure exception if result actually underflows.
6223         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6224         (efx8): Remove variable.
6225         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6226         case.  Ensure exception if result actually underflows.
6227         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6228         (efx8): Remove variable.
6229         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6230         case.  Ensure exception if result actually underflows.
6231         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6232         (efx8): Remove variable.
6233         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6234         case.  Ensure exception if result actually underflows.
6235         * math/auto-libm-test-in: Add more tests of erf.
6236         * math/auto-libm-test-out: Regenerated.
6237
6238 2014-05-14  Andreas Schwab  <schwab@suse.de>
6239
6240         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6241         Remove code conditionalized on USE___THREAD.
6242
6243         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6244         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6245         not definedness.
6246
6247 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6248
6249         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6250         Define unconditionally.
6251         (__ASSUME_O_CLOEXEC): Likewise.
6252         (__ASSUME_SOCK_CLOEXEC): Likewise.
6253         (__ASSUME_IN_NONBLOCK): Likewise.
6254         (__ASSUME_PIPE2): Likewise.
6255         (__ASSUME_EVENTFD2): Likewise.
6256         (__ASSUME_SIGNALFD4): Likewise.
6257         (__ASSUME_DUP3): Likewise.
6258         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6259         (__ASSUME_DUP3): Do not define.
6260         (__ASSUME_EVENTFD2): Likewise.
6261         (__ASSUME_IN_NONBLOCK): Likewise.
6262         (__ASSUME_O_CLOEXEC): Likewise.
6263         (__ASSUME_PIPE2): Likewise.
6264         (__ASSUME_SIGNALFD4): Likewise.
6265         (__ASSUME_SOCK_CLOEXEC): Likewise.
6266         (__ASSUME_UTIMES): Undefine.
6267         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6268         (__ASSUME_UTIMES): Do not define.
6269         (__ASSUME_O_CLOEXEC): Likewise.
6270         (__ASSUME_SOCK_CLOEXEC): Likewise.
6271         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6272         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6273         0x020621].
6274         (__ASSUME_PIPE2): Likewise.
6275         (__ASSUME_EVENTFD2): Likewise.
6276         (__ASSUME_SIGNALFD4): Likewise.
6277         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6278         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6279         Do not define.
6280         (__ASSUME_EVENTFD2): Likewise.
6281         (__ASSUME_SIGNALFD4): Likewise.
6282         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6283         (__ASSUME_32BITUIDS): Likewise.
6284         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6285         (__ASSUME_IPC64): Likewise.
6286         (__ASSUME_ST_INO_64_BIT): Likewise.
6287         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6288         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6289         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6290         (__ASSUME_UTIMES): Do not define.
6291         (__ASSUME_PSELECT): Likewise.
6292         (__ASSUME_PPOLL): Likewise.
6293         (__ASSUME_O_CLOEXEC): Likewise.
6294         (__ASSUME_SOCK_CLOEXEC): Likewise.
6295         (__ASSUME_IN_NONBLOCK): Likewise.
6296         (__ASSUME_PIPE2): Likewise.
6297         (__ASSUME_EVENTFD2): Likewise.
6298         (__ASSUME_SIGNALFD4): Likewise.
6299         (__ASSUME_DUP3): Likewise.
6300         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6301         (__ASSUME_UTIMES): Likewise.
6302         (__ASSUME_O_CLOEXEC): Likewise.
6303         (__ASSUME_SOCK_CLOEXEC): Likewise.
6304         (__ASSUME_IN_NONBLOCK): Likewise.
6305         (__ASSUME_PIPE2): Likewise.
6306         (__ASSUME_EVENTFD2): Likewise.
6307         (__ASSUME_SIGNALFD4): Likewise.
6308         (__ASSUME_DUP3): Likewise.
6309         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6310         (__ASSUME_UTIMES): Likewise.
6311         (__ASSUME_O_CLOEXEC): Likewise.
6312         (__ASSUME_SOCK_CLOEXEC): Likewise.
6313         (__ASSUME_IN_NONBLOCK): Likewise.
6314         (__ASSUME_PIPE2): Likewise.
6315         (__ASSUME_EVENTFD2): Likewise.
6316         (__ASSUME_SIGNALFD4): Likewise.
6317         (__ASSUME_DUP3): Likewise.
6318         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6319         Likewise.
6320         (__ASSUME_UTIMES): Likewise.
6321         (__ASSUME_EVENTFD2): Likewise.
6322         (__ASSUME_SIGNALFD4): Likewise.
6323         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6324         (__ASSUME_O_CLOEXEC): Likewise.
6325         (__ASSUME_SOCK_CLOEXEC): Likewise.
6326         (__ASSUME_IN_NONBLOCK): Likewise.
6327         (__ASSUME_PIPE2): Likewise.
6328         (__ASSUME_EVENTFD2): Likewise.
6329         (__ASSUME_SIGNALFD4): Likewise.
6330         (__ASSUME_DUP3): Likewise.
6331         (__ASSUME_UTIMES): Undefine.
6332
6333         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6334         feclearexcept.  Remove symbol versioning code.
6335         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6336         symbol versioning code.
6337         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6338         symbol versioning code.
6339         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6340         feupdateenv.  Remove symbol versioning code.
6341         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6342         fegetexceptflag.  Remove symbol versioning code.
6343         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6344         fesetexceptflag.  Remove symbol versioning code.
6345         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6346         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6347         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6348         (__posix_fadvise64_l32): Remove prototype.
6349         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6350         code.
6351
6352 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6353
6354         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6355         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6356         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6357         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6358
6359 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6360
6361         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6362         current working directory
6363
6364 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6365
6366         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6367         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6368         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6369         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6370         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6371         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6372         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6373         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6374         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6375         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6376         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6377         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6378         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6379         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6380         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6381         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6382         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6383         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6384         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6385         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6386         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6387         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6388         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6389         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6390         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6391         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6392         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6393         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6394         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6395         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6396         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6397         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6398         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6399         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6400         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6401         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6402         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6403         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6404         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6405         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6406         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6407         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6408
6409         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6410         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6411
6412         * sysdeps/unix/sysv/linux/arm/Makefile
6413         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6414         Add rt-aeabi_unwind_cpp_pr1.
6415         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6416         Add nptl-aeabi_unwind_cpp_pr1.
6417         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6418         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6419         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6420         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6421         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6422         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6423
6424         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6425         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6426         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6427         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6428
6429         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6430         Deconditionalize the code that was previously under [RESET_PID].
6431         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6432
6433         * sysdeps/generic/exit-thread.h: New file.
6434         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6435         * include/unistd.h (__exit_thread): Remove declaration.
6436         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6437         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6438         * csu/libc-start.c: Include <exit-thread.h>.
6439         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6440         * nptl/pthread_create.c: Include <exit-thread.h>.
6441         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6442         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6443         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6444         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6445         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6446         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6447         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6448         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6449         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6450         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6451         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6452         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6453         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6454         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6455         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6456         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6457         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6458
6459 2014-05-13  Andreas Schwab  <schwab@suse.de>
6460
6461         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6462
6463 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6464
6465         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6466         (__ASSUME_UTIMES): Do not condition on kernel version.
6467         (__ASSUME_PSELECT): Define unconditionally.
6468         (__ASSUME_PPOLL): Likewise.
6469         (__ASSUME_ATFCTS): Likewise.
6470         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6471         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6472         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6473         (__ASSUME_UTIMENSAT): Define unconditionally.
6474         (__ASSUME_PRIVATE_FUTEX): Likewise.
6475         (__ASSUME_FALLOCATE): Likewise.
6476         (__ASSUME_O_CLOEXEC): Likewise.
6477         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6478         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6479         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6480         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6481         (__ASSUME_IN_NONBLOCK): Likewise.
6482         (__ASSUME_PIPE2): Likewise.
6483         (__ASSUME_EVENTFD2): Likewise.
6484         (__ASSUME_SIGNALFD4): Likewise.
6485         (__ASSUME_DUP3): Likewise.
6486         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6487         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6488         (__ASSUME_AT_RANDOM): Likewise.
6489         (__ASSUME_PREADV): Likewise.
6490         (__ASSUME_PWRITEV): Likewise.
6491         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6492         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6493         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6494         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6495         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6496         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6497         (__ASSUME_O_CLOEXEC): Define unconditionally.
6498         (__ASSUME_PSELECT): Do not undefine conditionally.
6499         (__ASSUME_PPOLL): Likewise.
6500         (__ASSUME_ATFCTS): Likewise.
6501         (__ASSUME_SET_ROBUST_LIST): Likewise.
6502         (__ASSUME_UTIMENSAT): Likewise.
6503         (__ASSUME_FDATASYNC): Define unconditionally.
6504         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6505         (__ASSUME_SIGFRAME_V2): Likewise.
6506         )__ASSUME_EVENTFD2): Likewise.
6507         (__ASSUME_SIGNALFD4): Likewise.
6508         (__ASSUME_PSELECT): Do not undefine conditionally.
6509         (__ASSUME_PPOLL): Likewise.
6510         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6511         (__ASSUME_PSELECT): Define unconditionally.
6512         (__ASSUME_PPOLL): Likewise.
6513         (__ASSUME_O_CLOEXEC): Likewise.
6514         (__ASSUME_SOCK_CLOEXEC): Likewise.
6515         (__ASSUME_IN_NONBLOCK): Likewise.
6516         (__ASSUME_PIPE2): Likewise.
6517         (__ASSUME_EVENTFD2): Likewise.
6518         (__ASSUME_SIGNALFD4): Likewise.
6519         (__ASSUME_DUP3): Likewise.
6520         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6521         (__ASSUME_O_CLOEXEC): Likewise.
6522         (__ASSUME_SOCK_CLOEXEC): Likewise.
6523         (__ASSUME_IN_NONBLOCK): Likewise.
6524         (__ASSUME_PIPE2): Likewise.
6525         (__ASSUME_EVENTFD2): Likewise.
6526         (__ASSUME_SIGNALFD4): Likewise.
6527         (__ASSUME_DUP3): Likewise.
6528         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6529         (__ASSUME_EVENTFD2): Likewise.
6530         (__ASSUME_SIGNALFD4): Likewise.
6531         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6532
6533 2014-05-12  Andreas Schwab  <schwab@suse.de>
6534
6535         [BZ #16932]
6536         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6537         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6538         than maximum RPC packet size.
6539         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6540         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6541         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6542         (_nss_nis_getservbyport_r): Likewise.
6543
6544 2014-05-12  Will Newton  <will.newton@linaro.org>
6545
6546         * malloc/Makefile (tests): Add tst-mallopt.
6547         * malloc/tst-mallopt.c: New file.
6548
6549 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6550
6551         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6552         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6553
6554 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6555
6556         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6557         (tst-tlsmod6.so): Likewise.
6558
6559 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6560
6561         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6562
6563 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6564
6565         [BZ #16064]
6566         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6567         and <dl-procinfo.h>.
6568         (__fegetenv): Save SSE state in envp->__eip if supported.
6569         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6570         envp->__eip if supported.
6571         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6572         and <dl-procinfo.h>.
6573         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6574         __data_offset and __data_selector in environment to 0.  Set SSE
6575         state if supported.
6576         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6577         test-fenv-sse.
6578         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6579         -mfpmath=sse.
6580         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6581
6582 2014-05-09  Will Newton  <will.newton@linaro.org>
6583
6584         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6585         and libc_relro_required for ARM.
6586         * sysdeps/arm/preconfigure: Regenerate.
6587
6588 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6589             Stefan Liebler  <stli@linux.vnet.ibm.com>
6590
6591         * config.make.in (enable-lock-elision): New Makefile variable.
6592         * configure.ac: Likewise.
6593         * configure: Regenerate.
6594         * sysdeps/s390/configure.ac:
6595         Add check for gcc transactions support.
6596         * sysdeps/s390/configure: Regenerate.
6597         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6598         Build elision files if enabled.
6599         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6600         Add lock elision support for s390.
6601         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6602         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6603         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6604         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6605         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6606         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6607         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6608         Likewise.
6609         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6610         Likewise.
6611         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6612         Likewise.
6613         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6614         Likewise.
6615         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6616         (__lll_timedlock_elision, __lll_lock_elision)
6617         (__lll_unlock_elision, __lll_trylock_elision)
6618         (lll_timedlock_elision, lll_lock_elision)
6619         (lll_unlock_elision, lll_trylock_elision): Add.
6620         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6621         (pthread_mutex_t): Add lock elision support for s390.
6622
6623 2014-05-14  Wilco  <wdijkstr@arm.com>
6624
6625         * sysdeps/arm/fclrexcpt.c: Cleanup.
6626         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6627         * sysdeps/arm/feenablxcpt.c: Cleanup.
6628         * sysdeps/arm/fegetenv.c: Cleanup.
6629         * sysdeps/arm/fegetexcept.c: Cleanup.
6630         * sysdeps/arm/fegetround.c: Cleanup.
6631         * sysdeps/arm/feholdexcpt.c: Cleanup.
6632         * sysdeps/arm/fesetenv.c: Cleanup.
6633         * sysdeps/arm/fesetround.c: Cleanup.
6634         * sysdeps/arm/feupdateenv.c: Cleanup.
6635         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6636         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6637         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6638         * sysdeps/arm/ftestexcept.c: Cleanup.
6639         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6640         * sysdeps/arm/setfpucw.c: Cleanup.
6641
6642 2014-05-09  Will Newton  <will.newton@linaro.org>
6643
6644         * sysdeps/arm/armv7/strcmp.S: New file.
6645         * NEWS: Mention addition of ARMv7 optimized strcmp.
6646
6647 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6648
6649         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6650         look for %.ac rather than %.in.
6651
6652         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6653         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6654         * sysdeps/mach/hurd/configure: Regenerated.
6655         * sysdeps/unix/sysv/linux/configure: Regenerated.
6656
6657         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6658
6659 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6660
6661         [BZ# 16922]
6662         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6663         (LONG_SUB): Ditto.
6664         (PTR_SUB): Ditto.
6665
6666 2014-05-07  Andreas Schwab  <schwab@suse.de>
6667
6668         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6669         when skipping over non-matching result from nscd.
6670
6671 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6672
6673         [BZ #16876]
6674         * nptl/sockperf.c (client): Check socket return value.
6675
6676         [BZ #16877]
6677         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6678         nscd security class.
6679
6680 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6681
6682         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6683         * sysdeps/arm/unwind.h: ... here.
6684
6685 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6686
6687         [BZ# 16916]
6688         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6689         Define.
6690
6691 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6692
6693         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6694         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6695         multiarch strncpy for PPC64.
6696         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6697         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6699         multiarch optimizations.
6700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6701         (__libc_ifunc_impl_list): Likewise.
6702         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6703         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6704         multiarch stpncpy for PPC64.
6705         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6706         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6707
6708 2014-05-06  Andreas Schwab  <schwab@suse.de>
6709
6710         [BZ #16912]
6711         * gmon/mcount.c (_MCOUNT_DECL): Use
6712         atomic_compare_and_exchange_bool_acq instead of
6713         catomic_compare_and_exchange_bool_acq.
6714
6715 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6716
6717         * elf/Makefile (others, install-bin): Remove pldd.
6718         (pldd-modules): Variable removed.
6719         ($(objpfx)pldd): Target removed.
6720         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6721         (others, install-bin): Append pldd here.
6722         ($(objpfx)pldd): New target.
6723
6724         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6725         to 0, so the first #if test emitted later doesn't see it undefined.
6726         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6727         * sysdeps/gnu/errlist.c: Regenerated.
6728
6729 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6730
6731         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6732         [libc_hidden_builtin_def]: Define to empty value.
6733         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6734         [libc_hidden_builtin_def]: Likewise.
6735         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6736         [libc_hidden_builtin_def]: Likewise.
6737         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6738         [libc_hidden_builtin_def]: Likewise.
6739         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6740         __redirect_memcpy and define ifunc as default hidden symbol.
6741         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6742         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6743
6744 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6745
6746         * locale/iso-4217.def: Reintroduce XDR currency.
6747
6748 2014-05-04  Allan McRae  <allan@archlinux.org>
6749
6750         * po/eo.po: Update Esperanto translation from translation project.
6751
6752 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6753
6754         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6755         and FEATURE_INDEX_MAX to 1.
6756         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6757
6758 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6759
6760         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6761         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6762         * iconvdata/big5.c (ONE_DIRECTION): Define.
6763         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6764         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6765         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6766         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6767         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6768         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6769         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6770         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6771         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6772         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6773         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6774         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6775         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6776         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6777         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6778         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6779         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6780         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6781         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6782         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6783         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6784         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6785         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6786         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6787         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6788         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6789         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6790         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6791         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6792         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6793         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6794         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6795         * iconvdata/johab.c (ONE_DIRECTION): Define.
6796         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6797         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6798         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6799         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6800         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6801         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6802         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6803         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6804         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6805         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6806
6807 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6808
6809         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6810         (_IO_JUMPS_OFFSET): Define to 0.
6811
6812         * nptl/sysdeps/pthread/bits/libc-lock.h
6813         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6814         (__libc_lock_define_initialized_recursive): Always define using
6815         initializer.  Modern compilers treat uninitialized (implicit zero) and
6816         explicit zero initializers the same (i.e. put the datum in bss).
6817
6818 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6819
6820         * nscd/nscd-client.h: Include <string.h>.
6821
6822 2014-05-01  David S. Miller  <davem@davemloft.net>
6823
6824         [BZ #16885]
6825         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6826         multiple zero bytes exist at the end of a string.
6827         Reported by Aurelien Jarno <aurelien@aurel32.net>
6828
6829         * string/test-strcmp.c (check): Add explicit test for situations where
6830         there are multiple zero bytes after the first.
6831
6832 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6833
6834         [BZ #16890]
6835         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6836         when compiling wprintf.
6837         * stdio-common/tstdiomisc.c (t3): New function.
6838         (main): Call it.
6839
6840 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6841
6842         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6843         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6844         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6845         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6846
6847 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6848
6849         * stdlib/longlong.h: Updated from GCC.
6850
6851 2014-05-01  Will Newton  <will.newton@linaro.org>
6852             Bernard Ogden  <bernie.ogden@linaro.org>
6853
6854         * NEWS: Update fixed bug list.
6855
6856         [BZ #15119]
6857         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6858
6859 2014-04-30  David S. Miller  <davem@davemloft.net>
6860
6861         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6862         (libc_feholdexcept_setround_sparc_ctx): New function.
6863         (libc_fesetenv_sparc_ctx): Likewise.
6864         (libc_feupdateenv_sparc_ctx): Likewise.
6865         (libc_feholdsetround_sparc_ctx): Likewise.
6866         (libc_feholdexcept_setround_ctx): Define.
6867         (libc_feholdexcept_setroundf_ctx): Likewise.
6868         (libc_feholdexcept_setroundl_ctx): Likewise.
6869         (libc_fesetenv_ctx): Likewise.
6870         (libc_fesetenvf_ctx): Likewise.
6871         (libc_fesetenvl_ctx): Likewise.
6872         (libc_feupdateenv_ctx): Likewise.
6873         (libc_feupdateenvf_ctx): Likewise.
6874         (libc_feupdateenvl_ctx): Likewise.
6875         (libc_feresetround_ctx): Likewise.
6876         (libc_feresetroundf_ctx): Likewise.
6877         (libc_feresetroundl_ctx): Likewise.
6878         (libc_feholdsetround_ctx): Likewise.
6879         (libc_feholdsetroundf_ctx): Likewise.
6880         (libc_feholdsetroundl_ctx): Likewise.
6881
6882         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6883         with __USE_GNU instead of XOPEN cpp guards.
6884
6885         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6886         0.
6887
6888         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6889         with XOPEN cpp guards.
6890
6891 2014-04-30  Julian Brown  <julian@codesourcery.com>
6892
6893         [BZ #16888]
6894         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6895         handling.
6896
6897 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6898
6899         [BZ #9894]
6900         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6901         Change to 2.6.32.
6902         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6903         * sysdeps/unix/sysv/linux/configure: Regenerated.
6904         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6905         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6906         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6907         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6908         * README: Update reference to required Linux kernel version.
6909         * manual/install.texi (Linux): Update reference to required Linux
6910         kernel headers version.
6911         * INSTALL: Regenerated.
6912
6913         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6914         header inclusion.
6915         [POSIX] (limits.h): Likewise.
6916         [POSIX] (math.h): Likewise.
6917         [POSIX] (sys/wait.h): Likewise.
6918         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6919         function.
6920         [POSIX] (stddef.h): Do not allow header inclusion.
6921
6922 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6923
6924         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6925
6926 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6927
6928         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6929         Return immediately after lll_futex_wake.
6930
6931 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6932
6933         [BZ #16791]
6934         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6935         structure.
6936         (datahead_init_pos): Call datahead_init_common early.
6937         (datahead_init_neg): Likewise.
6938
6939         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6940         datahead_init_neg): New functions.
6941         * nscd/aicache.c (addhstaiX): Use them.
6942         * nscd/grpcache.c (cache_addgr): Likewise.
6943         * nscd/hstcache.c (cache_addhst): Likewise.
6944         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6945         * nscd/netgroupcache.c (do_notfound): Likewise.
6946         (addgetnetgrentX): Likewise.
6947         (addinnetgrX): Likewise.
6948         * nscd/pwdcache.c (cache_addpw): Likewise.
6949         * nscd/servicescache.c (cache_addserv): Likewise.
6950
6951 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6952             Atsushi Onoe  <atsushi@onoe.org>
6953
6954         [BZ #14308]
6955         [BZ #12994]
6956         [BZ #13651]
6957         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6958         one response is valid.
6959         * resolv/res_send.c (send_dg): Check for validity of other
6960         response if the current response is a referral.
6961
6962 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6963
6964         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6965
6966 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6967
6968         [BZ #16823]
6969         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6970         Always divide by positive zero when computing -Inf result.
6971         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6972         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6973
6974 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6975
6976         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6977         FPSCR if value do not change.
6978         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6979         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6980         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6981         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6982         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6983         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6984         function.
6985
6986 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6987
6988         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6989         * sysdeps/unix/sysv/linux/hppa: Move directory from
6990         ports/systeps/unix/sysv/linux/hppa.
6991         * README: Update listing for hppa-*-linux-gnu.
6992
6993 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6994
6995         [BZ #16754]
6996         * manual/stdio.texi (Hook functions): Fix types of stream hook
6997         functions.
6998         [BZ #16854]
6999         * socket/sys/socket.h: Fix typo in comment.
7000
7001 2014-04-28  Wilco  <wdijkstr@arm.com>
7002
7003         * sysdeps/arm/fenv_private.h: New file.
7004         * sysdeps/arm/math_private.h: New file.
7005         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7006
7007 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7008
7009         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7010         with __int128_t.
7011         (La_x86_64_retval): Likewise.
7012
7013 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7014
7015         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7016         fpsr if value didn't change.
7017         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7018         to fpcr if value didn't change.
7019         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7020         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7021         fpsr or fpcr if value didn't change.
7022         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7023         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7024         fpcr if value didn't change.
7025         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7026         to fpsr if value didn't change.
7027
7028 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7029
7030         * nptl/tst-sem3.c: Use test-skeleton.c
7031         (main): Rename to do_test.  Use return instead of
7032         exit.
7033         * nptl/tst-sem4.c: Use test-skeleton.c
7034         (main): Rename to do_test.
7035
7036 2014-04-22  David S. Miller  <davem@davemloft.net>
7037
7038         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7039         (struct sigaction): New struct member __glibc_reserved0, change
7040         type of sa_flags to int.
7041
7042 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7043
7044         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7045         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7046
7047 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7048
7049         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7050         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7051
7052 2014-04-22  Will Newton  <will.newton@linaro.org>
7053             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7054
7055         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7056         (__longjmp): Add longjmp and longjmp_target SystemTap
7057         probes.
7058         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7059         (__sigsetjmp): Add setjmp SystemTap probe.
7060
7061 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7062
7063         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7064         match manual order.
7065
7066 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7067
7068         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7069
7070         * sysdeps/powerpc/fpu/fenv_private.h
7071         (libc_feholdexcept_setroundl_ctx): Define to
7072         libc_feholdexcept_setround_ppc_ctx.
7073         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7074         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7075         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7076         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7077
7078 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7079
7080         * sysdeps/aarch64/math-tests.h: New file.
7081
7082 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7083
7084         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7085         New.
7086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7087         Check and set bit_AVX2_Usable.
7088         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7089         macro.
7090         (bit_AVX2): Likewise.
7091         (index_AVX2_Usable): Likewise.
7092         (CPUID_AVX2): Likewise.
7093         (HAS_AVX2): Likewise.
7094
7095 2014-04-17  Will Newton  <will.newton@linaro.org>
7096
7097         * manual/setjmp.texi (System V contexts): Add note that
7098         calling setcontext on a context created by a call to a
7099         signal handler is undefined.  Update text to note that
7100         setcontext from a signal handler is possible but not
7101         recommended.
7102
7103         [BZ #16629]
7104         * stdlib/tst-setcontext.c: Include signal.h.
7105         (main): Check that the signal stack before and
7106         after swapcontext is the same.
7107
7108         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7109         Re-implement to restore registers in user code and avoid
7110         rt_sigreturn system call.
7111
7112 2014-04-17  Wilco  <wdijkstr@arm.com>
7113
7114         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7115         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7116         * math/test-fenv.c: Skip exception trap tests on targets which only
7117         support non-stop mode.
7118
7119 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7120             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7121
7122         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7123         (libc_feholdsetround_aarch64_ctx)
7124         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7125         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7126         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7127         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7128         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7129         (libc_feresetround_noexl_ctx): Define.
7130
7131 2014-04-16  Richard Henderson  <rth@redhat.com>
7132
7133         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7134
7135         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7136         unwind tables.
7137
7138         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7139         const from the non-libc, non-ldso copy.
7140
7141         * sysdeps/alpha/libm-test-ulps: Regenerate.
7142
7143 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7144             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7145
7146         * sysdeps/aarch64/fpu/math_private.h: New file.
7147
7148 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7149
7150         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7151
7152 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7153
7154         [BZ #16275]
7155         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7156         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7157         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7158         Intel MPX bound registers before _dl_profile_fixup.
7159         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7160         registers after _dl_profile_fixup.  Save and restore bound
7161         registers bnd0/bnd1 when calling _dl_call_pltexit.
7162         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7163         (LR_BND_OFFSET): Likewise.
7164         (LRV_BND0_OFFSET): Likewise.
7165         (LRV_BND1_OFFSET): Likewise.
7166
7167 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7168
7169         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7170         to...
7171         * sysdeps/mach/hurd/i386/tls.h: ... here.
7172         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7173         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7174         fields.
7175
7176 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7177
7178         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7179
7180 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7181
7182         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7183
7184 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7185
7186         [BZ #14770]
7187         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7188         * sysdeps/s390/configure: Regenerate.
7189
7190         [BZ #16824]
7191         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7192         Set round-to-nearest internally to reduce error accumulation.
7193
7194 2014-04-16  Alan Modra  <amodra@gmail.com>
7195
7196         [BZ #16740]
7197         [BZ #16619]
7198         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7199         * math/libm-test.inc (frexp_test_data): Add tests.
7200         * NEWS: Update fixed bug list.
7201
7202 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7203
7204         * benchtests/Makefile: Depend on libraries in build directory.
7205         (bench-math): Separate out math tests.
7206         (bench-pthread): Separate out pthread tests.
7207         (bench): Include math and pthread tests.
7208
7209 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7210
7211         [BZ #16831]
7212         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7213         _dl_debug_initialize.
7214
7215         * configure.ac: Remove SELinux header check.
7216         * configure: Regenerate.
7217         * nscd/selinux.c (perms): Array of const char* to permission names.
7218         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7219         default policy. Call string_to_security_class and string_to_av_perm to
7220         translate strings. Enforce default policy and call avs_has_perm with
7221         results of translated strings.
7222
7223 2014-04-13  David S. Miller  <davem@davemloft.net>
7224
7225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7226
7227 2014-04-12  Allan McRae  <allan@archlinux.org>
7228
7229         [BZ #16838]
7230         * manual/string.texi (Collation Functions): Fix qsort argument
7231         order in example.
7232         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7233
7234 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7235
7236         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7237         Make the test a no-op if there are no exceptions defined.
7238
7239 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7240
7241         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7242         enable-hardcoded-path-in-tests
7243
7244 2014-04-11  Will Newton  <will.newton@linaro.org>
7245
7246         * benchtests/Makefile (extra-objs): Add json-lib.o.
7247         (bench-func): Tidy up JSON output.
7248         * benchtests/bench-skeleton.c: Include json-lib.h.
7249         (main): Use JSON library functions to do output of
7250         benchmark results.
7251         * benchtests/bench-timing-type.c (main): Output the
7252         timing type simply, leaving formatting to the user.
7253         * benchtests/json-lib.c: New file.
7254         * benchtests/json-lib.h: Likewise.
7255
7256 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7257
7258         [BZ #15215]
7259         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7260         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7261         memory barriers.  Add comments.
7262         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7263         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7264         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7265         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7266         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7267         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7268
7269 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7270
7271         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7272         * sysdeps/s390/s390-64/configure.ac: ... this ...
7273         * sysdeps/s390/configure.ac: ... to here.
7274         * sysdeps/s390/s390-32/configure: Delete file.
7275         * sysdeps/s390/s390-64/configure: Delete file.
7276         * sysdeps/s390/configure: Regenerate.
7277
7278 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7279
7280         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7281
7282 2014-04-11  Will Newton  <will.newton@linaro.org>
7283
7284         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7285         to zero if it is not defined elsewhere.  (mtrim): Test
7286         the value of MALLOC_DEBUG with #if rather than #ifdef.
7287
7288 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7289
7290         * benchtests/pthread_once-inputs: New file.
7291         * benchtests/pthread_once-source.c: New file.
7292         * benchtests/README: Update documentation.
7293
7294 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7295             H.J. Lu  <hongjiu.lu@intel.com>
7296
7297         [BZ #16275]
7298         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7299         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7300         * sysdeps/x86_64/configure: Regenerated.
7301         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7302         macro.
7303         (REGISTER_SAVE_RAX): Likewise.
7304         (REGISTER_SAVE_RCX): Likewise.
7305         (REGISTER_SAVE_RDX): Likewise.
7306         (REGISTER_SAVE_RSI): Likewise.
7307         (REGISTER_SAVE_RDI): Likewise.
7308         (REGISTER_SAVE_R8): Likewise.
7309         (REGISTER_SAVE_R9): Likewise.
7310         (REGISTER_SAVE_BND0): Likewise.
7311         (REGISTER_SAVE_BND1): Likewise.
7312         (REGISTER_SAVE_BND2): Likewise.
7313         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7314         bound registers when calling _dl_fixup.
7315
7316 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7317
7318         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7319         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7320         of its definition.
7321         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7322         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7323         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7324         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7325         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7326         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7327         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7328
7329 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7330
7331         [BZ #15514]
7332         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7333         pathconf(_PC_NAME_MAX).
7334
7335 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7336
7337         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7338         Remove macro usage.
7339         (__PTHREAD_SPINS): Move definition to ...
7340         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7341         (__PTHREAD_SPINS): ... here.
7342         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7343         (__PTHREAD_SPIN): Likewise.
7344         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7345         (__PTHREAD_SPIN): Likewise.
7346         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7347         (__PTHREAD_SPIN): Likewise.
7348         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7349         (__PTHREAD_SPIN): Likewise.
7350         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7351         (__PTHREAD_SPIN): Likewise.
7352         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7353         (__PTHREAD_SPIN): Likewise.
7354         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7355         (__PTHREAD_SPIN): Likewise.
7356         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7357         (__PTHREAD_SPIN): Likewise.
7358         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7359         (__PTHREAD_SPIN): Likewise.
7360         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7361         (__PTHREAD_SPIN): Likewise.
7362         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7363         (__PTHREAD_SPIN): Likewise.
7364         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7365         (__PTHREAD_SPIN): Likewise.
7366
7367         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7368         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7369         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7370         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7371         imply folder.
7372         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7373         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7374         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7375         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7376         correct imply path.
7377         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7378         strlen symbol for non multi-arch builds.
7379         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7380         missing hidden_def and weak_alias.
7381
7382 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7383
7384         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7385
7386 2014-04-07  Will Newton  <will.newton@linaro.org>
7387
7388         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7389         and contents.  [!_LIBC] Remove #ifndef and contents.
7390         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7391         * string/memccpy.c (__memccpy): Use ANSI prototype.
7392         * string/memfrob.c (memfrob): Likewise.
7393         * string/strcoll.c (STRCOLL): Likewise.
7394         * string/strlen.c (strlen): Likewise.
7395         * string/strtok.c (STRTOK): Likewise.
7396         * string/strcat.c: Remove unused #include of memcopy.h.
7397         (strcat): Use ANSI prototype.
7398         * string/strchr.c: Remove unused #include of memcopy.h.
7399         (strchr): Use ANSI prototype.
7400         * string/strcmp.c: Remove unused #include of memcopy.h.
7401         (strcmp): Use ANSI prototype.
7402         * string/strcpy.c: Remove unused #include of memcopy.h.
7403         (strcpy): Use ANSI prototype.
7404
7405 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7406
7407         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7408         * config.make.in (config-extra-cppflags): Set it from
7409         libc_extra_cppflags.
7410         * configure.ac (libc_extra_cflags): Make it accumulate over
7411         configure fragments.
7412         (libc_extra_cppflags): New flag.
7413         * configure. Regenerate.
7414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7415         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7416         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7418
7419         [BZ #16815]
7420         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7421         result for FE_DOWNWARD rounding mode.
7422         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7423         Likewise.
7424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7425
7426 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7427
7428         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7429         in function argument name.
7430
7431 2014-04-03  David Svoboda  <svoboda@cert.org>
7432
7433         [BZ #5666]
7434         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7435         explicitly.
7436
7437 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7438
7439         * elf/dl-unmap-segments.h: New file.
7440         * sysdeps/generic/ldsodefs.h
7441         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7442         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7443         * elf/dl-fptr.c: Likewise.
7444         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7445         * sysdeps/aarch64/tlsdesc.c: Likewise.
7446         * sysdeps/arm/tlsdesc.c: Likewise.
7447         * sysdeps/i386/tlsdesc.c: Likewise.
7448         * sysdeps/tile/dl-runtime.c: Likewise.
7449         * sysdeps/x86_64/tlsdesc.c: Likewise.
7450         * elf/dl-load.h: New file.
7451         * elf/dl-load.c: Include it.
7452         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7453         Macros moved to dl-load.h.
7454         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7455         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7456         Use _dl_unmap_segments in place of __munmap.
7457         Break out segment-mapping loop into ...
7458         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7459
7460 2014-04-03  Will Newton  <will.newton@linaro.org>
7461
7462         * elf/dl-lookup.c (do_lookup_x): Remove comment
7463         referring to nested function and move variable
7464         declarations down to before first use.
7465
7466 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7467
7468         [BZ #16799]
7469         [BZ #16800]
7470         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7471         with 0 numerator.
7472         * math/s_catanf.c (__catanf): Likewise.
7473         * math/s_catanh.c (__catanh): Likewise.
7474         * math/s_catanhf.c (__catanhf): Likewise.
7475         * math/s_catanhl.c (__catanhl): Likewise.
7476         * math/s_catanl.c (__catanl): Likewise.
7477         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7478         by positive zero when computing -Inf result.
7479         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7480         (catanh_test): Likewise.
7481         * sysdeps/i386/fpu/libm-test-ulps: Update.
7482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7483
7484         [BZ #16789]
7485         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7486         instead of using underflowing value in computing result.
7487         * math/s_clog10.c (__clog10): Likewise.
7488         * math/s_clog10f.c (__clog10f): Likewise.
7489         * math/s_clog10l.c (__clog10l): Likewise.
7490         * math/s_clogf.c (__clogf): Likewise.
7491         * math/s_clogl.c (__clogl): Likewise.
7492         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7493         (clog10_test): Likewise.
7494         * sysdeps/i386/fpu/libm-test-ulps: Update.
7495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7496
7497 2014-04-02  Alan Modra  <amodra@gmail.com>
7498
7499         [BZ #16739]
7500         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7501         output when value is near a power of two.  Use int64_t for lx and
7502         remove casts.  Use decimal rather than hex exponent constants.
7503         Don't use long double multiplication when double will suffice.
7504         * math/libm-test.inc (nextafter_test_data): Add tests.
7505         * NEWS: Add 16739 and 16786 to bug list.
7506
7507         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7508
7509         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7510
7511 2014-04-01  Will Newton  <will.newton@linaro.org>
7512
7513         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7514         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7515
7516 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7517
7518         [BZ #13347]
7519         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7520         * nptl/tst-setuid2.c: New file.
7521         * nptl/Makefile (xtests): Add tst-setuid2.
7522
7523 2014-04-01  Alan Modra  <amodra@gmail.com>
7524
7525         [BZ #16786]
7526         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7527
7528 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7529
7530         [BZ #6803]
7531         [BZ #6804]
7532         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7533         set errno as appropriate.
7534         * math/w_scalbf.c (__scalbf): Likewise.
7535         * math/w_scalbl.c (__scalbl): Likewise.
7536         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7537         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7538         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7539         Add more NaN tests.
7540
7541         [BZ #16349]
7542         * math/w_atan2.c: Include <errno.h>.
7543         (__atan2): Set errno for result underflowing to zero.
7544         * math/w_atan2f.c: Include <errno.h>.
7545         (__atan2f): Set errno for result underflowing to zero.
7546         * math/w_atan2l.c: Include <errno.h>.
7547         (__atan2l): Set errno for result underflowing to zero.
7548         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7549         tests.
7550         * math/auto-libm-test-out: Regenerated.
7551
7552 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7553
7554         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7555         Encode instruction correctly in little endian.
7556         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7557         Likewise.
7558         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7559         Likewise.
7560         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7561         Likewise.
7562         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7563         Likewise.
7564
7565 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7566
7567         [BZ #9894]
7568         * sysdeps/unix/sysv/linux/kernel-features.h
7569         [__sparc__ && !__arch64__ && !__sparc_v9__]
7570         (__ASSUME_SET_ROBUST_LIST): Do not define.
7571         [__sparc__ && !__arch64__ && !__sparc_v9__]
7572         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7573         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7574         Likewise.
7575         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7576         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7577         (__ASSUME_REQUEUE_PI): Likewise.
7578         (__ASSUME_SET_ROBUST_LIST): Likewise.
7579         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7580         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7581         Undefine.
7582         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7583         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7584         Likewise.
7585         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7586         Likewise.
7587         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7588         Likewise.
7589         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7590         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7591         Undefine.
7592         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7593         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7594         Likewise.
7595
7596         [BZ #16648]
7597         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7598         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7599         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7600
7601 2014-03-31  Will Newton  <will.newton@linaro.org>
7602
7603         * benchtests/Makefile (bench): Add ffs and ffsll to list
7604         of tests.
7605         * benchtests/ffs-inputs: New file.
7606         * benchtests/ffsll-inputs: Likewise.
7607
7608 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7609
7610         [BZ #16770]
7611         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7612         too large before casting to int.
7613         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7614         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7615         * math/libm-test.inc (scalb_test_data): Add more tests.
7616
7617 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7618
7619         * benchtests/Makefile (DETAILED_OPT): New make option.
7620         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7621         set.
7622         * benchtests/bench-skeleton.c: Include stdbool.h.
7623         (main): Store and print timings per input.
7624         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7625         member to each argument value.
7626         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7627         (_print_arg_data): Initialize per-input timing to 0.
7628
7629         * benchtests/Makefile (timing-type): New binary.
7630         (bench-clean): Also remove bench-timing-type.
7631         (bench): New target for timing-type.
7632         (bench-func): Print output in JSON format.
7633         * benchtests/bench-skeleton.c (main): Print output in JSON
7634         format.
7635         * benchtests/bench-timing-type.c: New file.
7636         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7637         (TIMING_PRINT_STATS): Remove.
7638         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7639         name separately.
7640
7641         * benchtests/bench-modf.c: Remove.
7642         * benchtests/modf-inputs: New inputs file.
7643
7644 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7645
7646         [BZ #16362]
7647         * math/s_clog10.c (M_PI_LOG10E): New macro.
7648         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7649         imaginary parts are 0.
7650         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7651         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7652         imaginary parts are 0.
7653         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7654         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7655         imaginary parts are 0.
7656         * math/libm-test.inc (clog10_test_data): Update expected results
7657         for when real and imaginary parts are 0.
7658
7659 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7660
7661         * elf/dl-load.c: Finish conversion of __builtin_expect into
7662         __glibc_{un}likely.
7663
7664 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7665
7666         [BZ #16348]
7667         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7668         1+x for argument with exponent below -67.
7669         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7670         Likewise.
7671         * math/auto-libm-test-in: Add more tests of exp.
7672         * math/auto-libm-test-out: Regenerated.
7673
7674 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7675
7676         [BZ #16759]
7677         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7678         (nscd_getnetgrent): Use it.
7679
7680         [BZ #16760]
7681         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7682         of stpcpy.
7683
7684 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7685
7686         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7687         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7688         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7689         (lll_robust_unlock): Remove out of line section. Use cfi
7690         intrinsics.
7691         (LLL_STUB_UNWIND_INFO*): Remove.
7692         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7693         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7694         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7695         (lll_robust_unlock): Remove out of line section. Use cfi
7696         intrinsics.
7697         (LLL_STUB_UNWIND_INFO*): Remove.
7698
7699 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7700
7701         [BZ #16758]
7702         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7703         blank values.
7704
7705 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7706
7707         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7708
7709 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7710
7711         [BZ #16198]
7712         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7713         fnstenv.
7714         * math/test-fenv-preserve.c: New file.
7715         * math/Makefile (tests): Add test-fenv-preserve.
7716
7717 2014-03-26  Will Newton <will.newton@linaro.org>
7718
7719         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7720
7721 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7722
7723         * scripts/versionlist.awk: Partition the version sets and emit all
7724         GLIBC_* (sorted) before all others (sorted).
7725
7726 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7727
7728         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7729         GLIBC_2.2.5 version.
7730
7731 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7732
7733         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7734         calls.
7735
7736         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7737         previous change.
7738
7739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7740
7741 2014-03-25  Andreas Schwab  <schwab@suse.de>
7742
7743         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7744         label to be used after in6ailist is initialized.
7745
7746 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7747
7748         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7749         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7750
7751 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7752
7753         [BZ #16357]
7754         [BZ #16599]
7755         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7756         min_plus_half.
7757         (fp_formats): Update initializers.
7758         (init_fp_formats): Initialize new field.
7759         (output_for_one_input_case): Allow underflow for results up to
7760         min_plus_half.
7761         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7762         * math/auto-libm-test-in: Don't mark some underflows from asin and
7763         atanh as spurious.
7764         * math/auto-libm-test-out: Regenerated.
7765         * sysdeps/i386/fpu/libm-test-ulps: Update.
7766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7767
7768 2014-03-25  Andreas Schwab  <schwab@suse.de>
7769
7770         * libio/Makefile (tst-ftell-partial-wide-ENV)
7771         (tst-ftell-active-handler-ENV): Define.
7772
7773 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7774
7775         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7776
7777 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7778
7779         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7780
7781 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7782
7783         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7784         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7785         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7786
7787 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7788
7789         [BZ #16634]
7790         * elf/dl-load.c (open_verify): Add mode parameter.
7791         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7792         (open_path): Change from boolean 'secure' to complete flag 'mode'
7793         (_dl_map_object): Adjust.
7794         * elf/Makefile (tests): Add tst-dlopen-aout.
7795         * elf/tst-dlopen-aout.c: New test.
7796
7797 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7798
7799         [BZ #16714]
7800         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7801         (struct stat): Rename member pad0 to __glibc_reserved0.
7802
7803         [BZ #16712]
7804         * sysdeps/s390/s390-32/bits/wordsize.h
7805         (__WORDSIZE32_SIZE_ULONG): New define.
7806         * sysdeps/s390/s390-64/bits/wordsize.h
7807         (__WORDSIZE32_SIZE_ULONG): Likewise.
7808         * sysdeps/generic/stdint.h (SIZE_MAX):
7809         Define as UL if __WORDSIZE32_SIZE_ULONG.
7810
7811         [BZ #16713]
7812         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7813         (__glibc_reserved0): New variable.
7814         (sa_flags): Change type to int.
7815
7816         * posix/Makefile (before-compile): Use += before-compile instead
7817         of a :=.
7818
7819         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7820         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7821
7822 2014-03-20  Andreas Schwab  <schwab@suse.de>
7823
7824         [BZ #16743]
7825         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7826         non-matching result from nscd.
7827
7828 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7829
7830         * scripts/bench.py: Moved to ...
7831         * benchtests/scripts/bench.py: ... here.
7832         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7833
7834 2014-03-24  Andreas Schwab  <schwab@suse.de>
7835
7836         [BZ #16002]
7837         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7838         alloca_account and account alloca use for struct in6ailist.
7839
7840 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7841
7842         [BZ #16284]
7843         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7844         rounding mode to recompute results that overflow to infinity or
7845         underflow to zero.
7846         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7847         bug 16284.
7848         * math/auto-libm-test-out: Regenerated.
7849         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7850         (ccosh_test): Likewise.
7851         (csin_test_data): Use plus_oflow.
7852         (csin_test): Use ALL_RM_TEST.
7853         (csinh_test_data): Use plus_oflow.
7854         (csinh_test): Use ALL_RM_TEST.
7855         * sysdeps/i386/fpu/libm-test-ulps: Update.
7856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7857
7858 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7859
7860         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7861         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7862         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7863
7864         [BZ #16731]
7865         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7866         when x - 1 is zero.
7867         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7868         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7869         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7870         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7871         argument is 1.
7872         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7873         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7874         zero.
7875         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7876         * sysdeps/i386/fpu/libm-test-ulps: Update.
7877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7878
7879 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7880
7881         * scripts/bench.pl: Remove file.
7882         * scripts/bench.py: New benchmark script.
7883         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7884         * benchtests/README: Mention python dependency.
7885         * scripts/pylintrc: New file.
7886         * scripts/pylint: New file.
7887
7888         * bits/mathdef.h: Use #ifdef instead of #if.
7889         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7890         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7891         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7892         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7893         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7894         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7895
7896 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7897             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7898
7899         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7900         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7901         and strpbrk-ppc64 objects.
7902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7903         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7904         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7905         multiarch strpbrk for POWER7.
7906         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7907         multiarch strpbrk for PPC64.
7908         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7909         ifunc selector.
7910         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7911         strpbrk for POWER7.
7912
7913 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7914
7915         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7916         (atan_test): Likewise.
7917         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7918         (atanh_test): Use ALL_RM_TEST.
7919         (atan2_test_data): Likewise.
7920         (cabs_test): Likewise.
7921         (cacosh_test): Likewise.
7922         (carg_test): Likewise.
7923         (casin_test): Likewise.
7924         (casinh_test): Likewise.
7925         (cbrt_test): Likewise.
7926         (csqrt_test): Likewise.
7927         (erf_test): Likewise.
7928         (erfc_test): Likewise.
7929         (pow10_test): Likewise.
7930         (exp2_test): Likewise.
7931         (hypot_test): Likewise.
7932         (j0_test): Likewise.
7933         (j1_test): Likewise.
7934         (lgamma_test): Likewise.
7935         (gamma_test): Likewise.
7936         (sincos_test): Likewise.
7937         (tanh_test): Likewise.
7938         (y0_test): Likewise.
7939         (y1_test): Likewise.
7940         * sysdeps/i386/fpu/libm-test-ulps: Update.
7941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7942
7943 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7944
7945         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7946         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7947         and strcspn-ppc64 objects.
7948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7949         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7950         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7951         multiarch strcspn for POWER7.
7952         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7953         multiarch strcspn for PPC64.
7954         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7955         ifunc selector.
7956         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7957         strcspn for POWER7.
7958
7959 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7960
7961         * math/gen-libm-test.pl (generate_testfile): Expect only function
7962         name as argument to AUTO_TESTS_* and pass results for all rounding
7963         modes to parse_args.
7964         (parse_auto_input): Separate inputs of automatic tests from
7965         outputs before storing in %auto_tests.
7966         * math/libm-test.inc (acos_test_data): Update call to
7967         AUTO_TESTS_f_f.
7968         (acos_test): Use ALL_RM_TEST.
7969         (acos_tonearest_test_data): Remove.
7970         (acos_test_tonearest): Likewise.
7971         (acos_towardzero_test_data): Likewise.
7972         (acos_test_towardzero): Likewise.
7973         (acos_downward_test_data): Likewise.
7974         (acos_test_downward): Likewise.
7975         (acos_upward_test_data): Likewise.
7976         (acos_test_upward): Likewise.
7977         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7978         (asin_test_data): Likewise.
7979         (asin_test): Use ALL_RM_TEST.
7980         (asin_tonearest_test_data): Remove.
7981         (asin_test_tonearest): Likewise.
7982         (asin_towardzero_test_data): Likewise.
7983         (asin_test_towardzero): Likewise.
7984         (asin_downward_test_data): Likewise.
7985         (asin_test_downward): Likewise.
7986         (asin_upward_test_data): Likewise.
7987         (asin_test_upward): Likewise.
7988         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7989         (atan_test_data): Likewise.
7990         (atanh_test_data): Likewise.
7991         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7992         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7993         (carg_test_data): Likewise.
7994         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7995         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7996         (ccosh_test_data): Likewise.
7997         (cexp_test_data): Likewise.
7998         (clog_test_data): Likewise.
7999         (clog10_test_data): Likewise.
8000         (cos_test_data): Update call to AUTO_TESTS_f_f.
8001         (cos_test): Use ALL_RM_TEST.
8002         (cos_tonearest_test_data): Remove.
8003         (cos_test_tonearest): Likewise.
8004         (cos_towardzero_test_data): Likewise.
8005         (cos_test_towardzero): Likewise.
8006         (cos_downward_test_data): Likewise.
8007         (cos_test_downward): Likewise.
8008         (cos_upward_test_data): Likewise.
8009         (cos_test_upward): Likewise.
8010         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8011         (cosh_test): Use ALL_RM_TEST.
8012         (cosh_tonearest_test_data): Remove.
8013         (cosh_test_tonearest): Likewise.
8014         (cosh_towardzero_test_data): Likewise.
8015         (cosh_test_towardzero): Likewise.
8016         (cosh_downward_test_data): Likewise.
8017         (cosh_test_downward): Likewise.
8018         (cosh_upward_test_data): Likewise.
8019         (cosh_test_upward): Likewise.
8020         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8021         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8022         (ctan_test_data): Likewise.
8023         (ctan_test): Use ALL_RM_TEST.
8024         (ctan_tonearest_test_data): Remove.
8025         (ctan_test_tonearest): Likewise.
8026         (ctan_towardzero_test_data): Likewise.
8027         (ctan_test_towardzero): Likewise.
8028         (ctan_downward_test_data): Likewise.
8029         (ctan_test_downward): Likewise.
8030         (ctan_upward_test_data): Likewise.
8031         (ctan_test_upward): Likewise.
8032         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8033         (ctanh_test): Use ALL_RM_TEST.
8034         (ctanh_tonearest_test_data): Remove.
8035         (ctanh_test_tonearest): Likewise.
8036         (ctanh_towardzero_test_data): Likewise.
8037         (ctanh_test_towardzero): Likewise.
8038         (ctanh_downward_test_data): Likewise.
8039         (ctanh_test_downward): Likewise.
8040         (ctanh_upward_test_data): Likewise.
8041         (ctanh_test_upward): Likewise.
8042         (erf_test_data): Update call to AUTO_TESTS_f_f.
8043         (erfc_test_data): Likewise.
8044         (exp_test_data): Likewise.
8045         (exp_test): Use ALL_RM_TEST.
8046         (exp_tonearest_test_data): Remove.
8047         (exp_test_tonearest): Likewise.
8048         (exp_towardzero_test_data): Likewise.
8049         (exp_test_towardzero): Likewise.
8050         (exp_downward_test_data): Likewise.
8051         (exp_test_downward): Likewise.
8052         (exp_upward_test_data): Likewise.
8053         (exp_test_upward): Likewise.
8054         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8055         (exp10_test): Use ALL_RM_TEST.
8056         (exp10_tonearest_test_data): Remove.
8057         (exp10_test_tonearest): Likewise.
8058         (exp10_towardzero_test_data): Likewise.
8059         (exp10_test_towardzero): Likewise.
8060         (exp10_downward_test_data): Likewise.
8061         (exp10_test_downward): Likewise.
8062         (exp10_upward_test_data): Likewise.
8063         (exp10_test_upward): Likewise.
8064         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8065         (expm1_test_data): Likewise.
8066         (expm1_test): Use ALL_RM_TEST.
8067         (expm1_tonearest_test_data): Remove.
8068         (expm1_test_tonearest): Likewise.
8069         (expm1_towardzero_test_data): Likewise.
8070         (expm1_test_towardzero): Likewise.
8071         (expm1_downward_test_data): Likewise.
8072         (expm1_test_downward): Likewise.
8073         (expm1_upward_test_data): Likewise.
8074         (expm1_test_upward): Likewise.
8075         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8076         (fma_test): Use ALL_RM_TEST.
8077         (fma_towardzero_test_data): Remove.
8078         (fma_test_towardzero): Likewise.
8079         (fma_downward_test_data): Likewise.
8080         (fma_test_downward): Likewise.
8081         (fma_upward_test_data): Likewise.
8082         (fma_test_upward): Likewise.
8083         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8084         (j0_test_data): Update call to AUTO_TESTS_f_f.
8085         (j1_test_data): Likewise.
8086         (jn_test_data): Update call to AUTO_TESTS_if_f.
8087         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8088         (log_test_data): Update call to AUTO_TESTS_f_f.
8089         (log10_test_data): Likewise.
8090         (log1p_test_data): Likewise.
8091         (log2_test_data): Likewise.
8092         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8093         (pow_tonearest_test_data): Likewise.
8094         (sin_test_data): Update call to AUTO_TESTS_f_f.
8095         (sin_test): Use ALL_RM_TEST.
8096         (sin_tonearest_test_data): Remove.
8097         (sin_test_tonearest): Likewise.
8098         (sin_towardzero_test_data): Likewise.
8099         (sin_test_towardzero): Likewise.
8100         (sin_downward_test_data): Likewise.
8101         (sin_test_downward): Likewise.
8102         (sin_upward_test_data): Likewise.
8103         (sin_test_upward): Likewise.
8104         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8105         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8106         (sinh_test): Use ALL_RM_TEST.
8107         (sinh_tonearest_test_data): Remove.
8108         (sinh_test_tonearest): Likewise.
8109         (sinh_towardzero_test_data): Likewise.
8110         (sinh_test_towardzero): Likewise.
8111         (sinh_downward_test_data): Likewise.
8112         (sinh_test_downward): Likewise.
8113         (sinh_upward_test_data): Likewise.
8114         (sinh_test_upward): Likewise.
8115         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8116         (sqrt_test): Use ALL_RM_TEST.
8117         (sqrt_tonearest_test_data): Remove.
8118         (sqrt_test_tonearest): Likewise.
8119         (sqrt_towardzero_test_data): Likewise.
8120         (sqrt_test_towardzero): Likewise.
8121         (sqrt_downward_test_data): Likewise.
8122         (sqrt_test_downward): Likewise.
8123         (sqrt_upward_test_data): Likewise.
8124         (sqrt_test_upward): Likewise.
8125         (tan_test_data): Update call to AUTO_TESTS_f_f.
8126         (tan_test): Use ALL_RM_TEST.
8127         (tan_tonearest_test_data): Remove.
8128         (tan_test_tonearest): Likewise.
8129         (tan_towardzero_test_data): Likewise.
8130         (tan_test_towardzero): Likewise.
8131         (tan_downward_test_data): Likewise.
8132         (tan_test_downward): Likewise.
8133         (tan_upward_test_data): Likewise.
8134         (tan_test_upward): Likewise.
8135         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8136         (tgamma_test_data): Likewise.
8137         (y0_test_data): Likewise.
8138         (y1_test_data): Likewise.
8139         (yn_test_data): Update call to AUTO_TESTS_if_f.
8140         (main): Do not call removed functions.
8141
8142 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8143
8144         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8145         (ldexp_test_data): Remove.
8146         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8147         scalbn_test_data.
8148         (scalb_test): Use ALL_RM_TEST.
8149
8150 2014-03-19  Andreas Schwab  <schwab@suse.de>
8151
8152         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8153
8154 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8155
8156         [BZ #16649]
8157         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8158         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8159         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8160         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8161         (__ASSUME_PREADV): Undefine.
8162         (__ASSUME_PWRITEV): Likewise.
8163
8164 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8165
8166         * bits/mman-linux.h: Add comment about non-Linux use.
8167         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8168         bits/mman-linux.h resting place.
8169
8170         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8171         * bits/mman-linux.h: ... here.
8172
8173 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8174
8175         * conform/conformtest.pl: Add standard definition when calling C
8176         preprocessor on data files.
8177         (checknamespace): Remove unused variable.
8178
8179 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8180
8181         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8182         minus_oflow, plus_uflow and minus_uflow in expected results.
8183         * math/libm-test.inc (scalbn_test_data): Add more tests of
8184         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8185         minus_uflow.
8186         (scalbn_test): Use ALL_RM_TEST.
8187         (scalbln_test_data): Add more tests of negative arguments.  Use
8188         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8189         (scalbln_test): Use ALL_RM_TEST.
8190
8191 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8192
8193         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8194
8195 2014-03-18  Will Newton  <will.newton@linaro.org>
8196
8197         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8198         inaccurate comment.
8199
8200 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8201
8202         * Makerules [!subdir] (check-abi): Exit with error status if a
8203         test failed.
8204
8205 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8206
8207         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8208         for rint.  Include results for all rounding modes.
8209         (nearbyint_test): Use ALL_RM_TEST.
8210         (rint_test_data): Include all tests used for nearbyint.
8211
8212 2014-03-17  Will Newton  <will.newton@linaro.org>
8213
8214         * nptl/sysdeps/pthread/pthread.h: Revert previous
8215         change.
8216
8217         * sysdeps/generic/ldsodefs.h: Revert previous
8218         change.
8219
8220         * libio/genops.c: Revert previous change.
8221         * libio/libioP.h: Likewise.
8222         * stdio-common/vfprintf.c: Likewise.
8223
8224         * sysdeps/generic/math_private.h: Revert previous
8225         change.
8226
8227         * sysdeps/generic/math_private.h: Check whether
8228         HAVE_RM_CTX is defined with #ifdef rather
8229         than #if.
8230
8231         * argp/argp-fmtstream.h: Check whether
8232         __STRICT_ANSI__ is defined with #ifdef rather
8233         than #if.
8234         * argp/argp.h: Likewise.
8235
8236         * libio/genops.c: Check whether
8237         _IO_JUMPS_OFFSET is defined with #ifdef rather
8238         than #if.
8239         * libio/libioP.h: Likewise.
8240         * stdio-common/vfprintf.c: Likewise.
8241
8242         * sysdeps/generic/ldsodefs.h: Check whether
8243         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8244         than #if.
8245
8246         * nptl/sysdeps/pthread/pthread.h: Check
8247         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8248         its value.
8249
8250 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8251
8252         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8253         setting O_APPEND.
8254         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8255         test case.
8256
8257         [BZ #16680]
8258         * libio/fileops.c (_IO_file_open): Seek to end of file but
8259         don't cache the offset.
8260         (get_file_offset): Remove function.
8261         (do_ftell): Use cached offset when available.
8262         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8263         don't cache the offset.
8264         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8265         case.
8266         (do_one_test): Call it.
8267         (do_ftell_test): Fix up expected old offset for a+ mode.
8268         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8269         available.
8270
8271         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8272         up test status with function return status.
8273         (do_write_test): Likewise.
8274         (do_append_test): Likewise.
8275
8276         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8277         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8278         Remove.
8279
8280 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8281
8282         * math/gen-libm-test.pl (parse_args): Handle results specified for
8283         each rounding mode separately.
8284         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8285         tests and results from lrint_tonearest_test_data,
8286         lrint_towardzero_test_data, lrint_downward_test_data and
8287         lrint_upward_test_data.
8288         (lrint_test): Use ALL_RM_TEST.
8289         (lrint_tonearest_test_data): Remove.
8290         (lrint_test_tonearest): Likewise.
8291         (lrint_towardzero_test_data): Likewise.
8292         (lrint_test_towardzero): Likewise.
8293         (lrint_downward_test_data): Likewise.
8294         (lrint_test_downward): Likewise.
8295         (lrint_upward_test_data): Likewise.
8296         (lrint_test_upward): Likewise.
8297         (llrint_test_data): Merge in per-rounding-mode tests and results
8298         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8299         llrint_downward_test_data and llrint_upward_test_data.
8300         (llrint_test): Use ALL_RM_TEST.
8301         (llrint_tonearest_test_data): Remove.
8302         (llrint_test_tonearest): Likewise.
8303         (llrint_towardzero_test_data): Likewise.
8304         (llrint_test_towardzero): Likewise.
8305         (llrint_downward_test_data): Likewise.
8306         (llrint_test_downward): Likewise.
8307         (llrint_upward_test_data): Likewise.
8308         (llrint_test_upward): Likewise.
8309         (rint_test_data): Merge in per-rounding-mode tests and results
8310         from rint_tonearest_test_data, rint_towardzero_test_data,
8311         rint_downward_test_data and rint_upward_test_data.  Add
8312         per-rounding-mode results for tests not in those arrays.
8313         (rint_test): Use ALL_RM_TEST.
8314         (rint_tonearest_test_data): Remove.
8315         (rint_test_tonearest): Likewise.
8316         (rint_towardzero_test_data): Likewise.
8317         (rint_test_towardzero): Likewise.
8318         (rint_downward_test_data): Likewise.
8319         (rint_test_downward): Likewise.
8320         (rint_upward_test_data): Likewise.
8321         (rint_test_upward): Likewise.
8322         (main): Don't call removed functions.
8323
8324 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8325
8326         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8327         "Compiled on ..." crapola.  It is anti-useful.
8328
8329 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8330
8331         * scripts/evaluate-test.sh: Handle fourth argument to determine
8332         whether test run should stop on failure.
8333         * Makeconfig (stop-on-test-failure): New variable.
8334         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8335         $(stop-on-test-failure).
8336         * Makefile (tests): Give a summary of results from testing and
8337         exit with failure status if they include an ERROR or FAIL.
8338         (xtests): Likewise.
8339         * manual/install.texi (Configuring and compiling): Mention
8340         stop-on-test-failure=y.
8341         * INSTALL: Regenerated.
8342
8343 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8344
8345         * scripts/versionlist.awk: New file.
8346         * Makerules [$(build-shared) = yes]
8347         (postclean-generated): Add Versions.def, not Versions.def.v and
8348         Versions.def.v.i.
8349         ($(common-objpfx)Versions.def.v.i): Target removed.
8350         ($(common-objpfx)Versions.def): New target.
8351         ($(common-objpfx)Versions.all): Depend on that rather that
8352         $(common-objpfx)Versions.def.v.
8353         * Versions.def: File removed.
8354
8355         * Makeconfig (+gccwarn): Add -Wundef.
8356         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8357         a dl-sysdep.h breaking its contract.
8358         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8359         * include/stackinfo.h: New file.
8360         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8361         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8362         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8363         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8364         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8365         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8366         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8367         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8368         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8369         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8370         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8371         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8372         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8373         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8374         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8375
8376 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8377
8378         [BZ #16707]
8379         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8380         implementation.
8381         * math/libm-test.inc (round_test_data): Add more tests.
8382
8383         [BZ #16706]
8384         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8385         implementation.
8386         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8387
8388         [BZ #16701]
8389         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8390         implementation.
8391         * math/libm-test.inc (ceil_test_data): Add more tests.
8392
8393         * math/libm-test.inc (trunc_test_data): Add more tests related to
8394         BZ#16414.
8395
8396 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8397
8398         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8399         with #if rather than #ifdef.
8400         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8401
8402 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8403
8404         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8405         first.  Disable AVX-512 GCC support if assembler doesn't support
8406         it.
8407         * sysdeps/x86_64/configure: Regenerated.
8408
8409 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8410
8411         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8412         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8413         (__old_pthread_attr_setstack): Likewise.
8414         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8415         [!_STACK_GROWS_DOWN]: Likewise.
8416
8417 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8418
8419         * config.make.in (have-bash2): Delete.
8420         * configure.ac (libc_cv_have_bash2): Delete.
8421         * configure: Regenerate.
8422         * elf/Makefile (common-ldd-rewrite): Rename to ...
8423         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8424         (sh-ldd-rewrite): Delete.
8425         (bash-ldd-rewrite): Delete.
8426         (have-bash2): Delete checks.
8427         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8428         ldd-rewrite.
8429
8430         * config.make.in (have-ksh): Delete.
8431         (KSH): Delete.
8432         * configure.ac (libc_cv_have_ksh): Delete.
8433         * configure: Regenerate.
8434
8435         * elf/Makefile: Delete $(have-ksh) check.
8436         ($(objpfx)sotruss): Change KSH to BASH.
8437         * elf/sotruss.ksh: Rename to ...
8438         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8439         function style to match POSIX.  Drop ksh vim mode setting.
8440
8441         * manual/time.texi (Specifying the Time Zone with TZ): Change
8442         Tuesday to Thursday.
8443
8444         * debug/tst-longjmp_chk2.c: Update header comment.
8445         (stackoverflow_handler): Add comment.  Call assert on pass value.
8446
8447 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8448
8449         [BZ #16194]
8450         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8451         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8452         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8453         (La_x86_64_vector): Add zmm.
8454         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8455         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8456         ($(objpfx)tst-audit10): New target.
8457         ($(objpfx)tst-audit10.out): Likewise.
8458         (tst-audit10-ENV): New.
8459         (AVX512-CFLAGS): Likewise.
8460         (CFLAGS-tst-audit10.c): Likewise.
8461         (CFLAGS-tst-auditmod10a.c): Likewise.
8462         (CFLAGS-tst-auditmod10b.c): Likewise.
8463         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8464         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8465         * sysdeps/x86_64/configure: Regenerated.
8466         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8467         AVX-512 zmm register support.
8468         (_dl_x86_64_save_sse): Likewise.
8469         (_dl_x86_64_restore_sse): Likewise.
8470         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8471         size vector registers.
8472         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8473         (ZMM_SIZE): Likewise.
8474         * sysdeps/x86_64/tst-audit10.c: New file.
8475         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8476         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8477
8478 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8479
8480         * configure.ac (HAVE_EHDR_START): New check.
8481         * configure: Regenerated.
8482         * config.h.in (HAVE_EHDR_START): New #undef.
8483         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8484         assuming the lowest-addressed segment maps the start of the file.
8485
8486 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8487
8488         * INSTALL: Regenerated.
8489
8490 2014-03-13  Will Newton  <will.newton@linaro.org>
8491
8492         * manual/setjmp.texi (System V contexts): Improve
8493         clarity and grammar of documentation.
8494
8495 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8496
8497         [BZ #16381]
8498         * elf/Makefile (tests): Add tst-pie2.
8499         (tests-pie): Add tst-pie2.
8500         * elf/tst-pie2.c: New file.
8501         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8502         for ET_EXEC.
8503         * elf/rtld.c (map_doit): Load executable as lt_executable.
8504         (dl_main): Likewise.
8505
8506 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8507
8508         [BZ #16642]
8509         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8510         (__ASSUME_PSELECT): Undefine.
8511
8512 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8513
8514         [BZ #16689]
8515         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8516         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8517         static build.
8518         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8519         selector for static builds.
8520
8521 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8522
8523         [BZ #16695]
8524         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8525         key in the buffer.
8526
8527 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8528
8529         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8530         IFUNC selector for static builds.
8531
8532 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8533
8534         * sysdeps/mips/math_private.h [__mips_hard_float]
8535         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8536         libc_feresetround_mips_ctx.
8537         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8538         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8539         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8540
8541         [BZ #16677]
8542         * math/s_nextafter.c (__nextafter): Do not return value from
8543         overflowing computation.
8544         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8545         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8546         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8547         Likewise.
8548         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8549         Likewise.
8550         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8551         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8552
8553 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8554
8555         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8556         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8557         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8558         the new mov targetting sp.
8559
8560 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8561
8562         [BZ #16683]
8563         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8564         Define it for static builds as well.
8565         (NO_BZERO_IMPL): Likewise.
8566
8567 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8568
8569         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8570         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8571         multiarch strspn for PPC64.
8572         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8573         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8575         (__libc_ifunc_impl_list): Likewise.
8576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8577         multiarch optimizations
8578         * string/strspn.c (strspn): Using macro to redefine symbol name.
8579
8580 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8581             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8582
8583         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8584         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8585         multiarch strncat for PPC64.
8586         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8587         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8589         (__libc_ifunc_impl_list): Likewise.
8590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8591         multiarch optimizations
8592
8593 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8594
8595         [BZ #16639]
8596         * nscd/nscd.service: Make service type forking.
8597
8598 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8599
8600         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8601         sign in non default rounding modes.
8602         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8603
8604 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8605
8606         * math/libm-test.inc (ALL_RM_TEST): New macro.
8607         (ceil_test): Use ALL_RM_TEST.
8608         (cimag_test): Likewise.
8609         (conj_test): Likewise.
8610         (copysign_test): Likewise.
8611         (cproj_test): Likewise.
8612         (creal_test): Likewise.
8613         (fabs_test): Likewise.
8614         (floor_test): Likewise.
8615         (fmax_test): Likewise.
8616         (fmin_test): Likewise.
8617         (fmod_test): Likewise.
8618         (fpclassify_test): Likewise.
8619         (frexp_test): Likewise.
8620         (ilogb_test): Likewise.
8621         (isfinite_test): Likewise.
8622         (finite_test): Likewise.
8623         (isgreater_test): Likewise.
8624         (isgreaterequal_test): Likewise.
8625         (isinf_test): Likewise.
8626         (isless_test): Likewise.
8627         (islessequal_test): Likewise.
8628         (islessgreater_test): Likewise.
8629         (isnan_test): Likewise.
8630         (isnormal_test): Likewise.
8631         (issignaling_test): Likewise.
8632         (isunordered_test): Likewise.
8633         (logb_test): Likewise.
8634         (logb_downward_test_data): Remove.
8635         (logb_test_downward): Likewise.
8636         (lround_test): Use ALL_RM_TEST.
8637         (llround_test): Likewise.
8638         (modf_test): Likewise.
8639         (nexttoward_test): Likewise.
8640         (remainder_test): Likewise.
8641         (drem_test): Likewise.
8642         (remainder_tonearest_test_data): Likewise.
8643         (remainder_test_tonearest): Likewise.
8644         (drem_test_tonearest): Likewise.
8645         (remainder_towardzero_test_data): Likewise.
8646         (remainder_test_towardzero): Likewise.
8647         (drem_test_towardzero): Likewise.
8648         (remainder_downward_test_data): Likewise.
8649         (remainder_test_downward): Likewise.
8650         (drem_test_downward): Likewise.
8651         (remainder_upward_test_data): Likewise.
8652         (remainder_test_upward): Likewise.
8653         (drem_test_upward): Likewise.
8654         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8655         (round_test): Use ALL_RM_TEST.
8656         (signbit_test): Likewise.
8657         (trunc_test): Likewise.
8658         (significand_test): Likewise.
8659         (main): Don't call removed functions.
8660
8661 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8662
8663         [BZ #16674]
8664         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8665         || __USE_XOPEN2K8].
8666         (ILL_ILLOPN): Likewise.
8667         (ILL_ILLADR): Likewise.
8668         (ILL_ILLTRP): Likewise.
8669         (ILL_PRVOPC): Likewise.
8670         (ILL_PRVREG): Likewise.
8671         (ILL_COPROC): Likewise.
8672         (ILL_BADSTK): Likewise.
8673         (FPE_INTDIV): Likewise.
8674         (FPE_INTOVF): Likewise.
8675         (FPE_FLTDIV): Likewise.
8676         (FPE_FLTOVF): Likewise.
8677         (FPE_FLTUND): Likewise.
8678         (FPE_FLTRES): Likewise.
8679         (FPE_FLTINV): Likewise.
8680         (FPE_FLTSUB): Likewise.
8681         (SEGV_MAPERR): Likewise.
8682         (SEGV_ACCERR): Likewise.
8683         (BUS_ADRALN): Likewise.
8684         (BUS_ADRERR): Likewise.
8685         (BUS_OBJERR): Likewise.
8686         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8687         (TRAP_TRACE): Likewise.
8688         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8689         __USE_XOPEN2K8].
8690         (CLD_KILLED): Likewise.
8691         (CLD_DUMPED): Likewise.
8692         (CLD_TRAPPED): Likewise.
8693         (CLD_STOPPED): Likewise.
8694         (CLD_CONTINUED): Likewise.
8695         (POLL_IN): Likewise.
8696         (POLL_OUT): Likewise.
8697         (POLL_MSG): Likewise.
8698         (POLL_ERR): Likewise.
8699         (POLL_PRI): Likewise.
8700         (POLL_HUP): Likewise.
8701         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8702         Likewise.
8703         (ILL_ILLOPN): Likewise.
8704         (ILL_ILLADR): Likewise.
8705         (ILL_ILLTRP): Likewise.
8706         (ILL_PRVOPC): Likewise.
8707         (ILL_PRVREG): Likewise.
8708         (ILL_COPROC): Likewise.
8709         (ILL_BADSTK): Likewise.
8710         (FPE_INTDIV): Likewise.
8711         (FPE_INTOVF): Likewise.
8712         (FPE_FLTDIV): Likewise.
8713         (FPE_FLTOVF): Likewise.
8714         (FPE_FLTUND): Likewise.
8715         (FPE_FLTRES): Likewise.
8716         (FPE_FLTINV): Likewise.
8717         (FPE_FLTSUB): Likewise.
8718         (SEGV_MAPERR): Likewise.
8719         (SEGV_ACCERR): Likewise.
8720         (BUS_ADRALN): Likewise.
8721         (BUS_ADRERR): Likewise.
8722         (BUS_OBJERR): Likewise.
8723         (BUS_MCEERR_AR): Likewise.
8724         (BUS_MCEERR_AO): Likewise.
8725         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8726         (TRAP_TRACE): Likewise.
8727         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8728         __USE_XOPEN2K8].
8729         (CLD_KILLED): Likewise.
8730         (CLD_DUMPED): Likewise.
8731         (CLD_TRAPPED): Likewise.
8732         (CLD_STOPPED): Likewise.
8733         (CLD_CONTINUED): Likewise.
8734         (POLL_IN): Likewise.
8735         (POLL_OUT): Likewise.
8736         (POLL_MSG): Likewise.
8737         (POLL_ERR): Likewise.
8738         (POLL_PRI): Likewise.
8739         (POLL_HUP): Likewise.
8740         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8741         (ILL_ILLOPN): Likewise.
8742         (ILL_ILLADR): Likewise.
8743         (ILL_ILLTRP): Likewise.
8744         (ILL_PRVOPC): Likewise.
8745         (ILL_PRVREG): Likewise.
8746         (ILL_COPROC): Likewise.
8747         (ILL_BADSTK): Likewise.
8748         (FPE_INTDIV): Likewise.
8749         (FPE_INTOVF): Likewise.
8750         (FPE_FLTDIV): Likewise.
8751         (FPE_FLTOVF): Likewise.
8752         (FPE_FLTUND): Likewise.
8753         (FPE_FLTRES): Likewise.
8754         (FPE_FLTINV): Likewise.
8755         (FPE_FLTSUB): Likewise.
8756         (SEGV_MAPERR): Likewise.
8757         (SEGV_ACCERR): Likewise.
8758         (BUS_ADRALN): Likewise.
8759         (BUS_ADRERR): Likewise.
8760         (BUS_OBJERR): Likewise.
8761         (BUS_MCEERR_AR): Likewise.
8762         (BUS_MCEERR_AO): Likewise.
8763         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8764         (TRAP_TRACE): Likewise.
8765         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8766         __USE_XOPEN2K8].
8767         (CLD_KILLED): Likewise.
8768         (CLD_DUMPED): Likewise.
8769         (CLD_TRAPPED): Likewise.
8770         (CLD_STOPPED): Likewise.
8771         (CLD_CONTINUED): Likewise.
8772         (POLL_IN): Likewise.
8773         (POLL_OUT): Likewise.
8774         (POLL_MSG): Likewise.
8775         (POLL_ERR): Likewise.
8776         (POLL_PRI): Likewise.
8777         (POLL_HUP): Likewise.
8778         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8779         Likewise.
8780         (ILL_ILLOPN): Likewise.
8781         (ILL_ILLADR): Likewise.
8782         (ILL_ILLTRP): Likewise.
8783         (ILL_PRVOPC): Likewise.
8784         (ILL_PRVREG): Likewise.
8785         (ILL_COPROC): Likewise.
8786         (ILL_BADSTK): Likewise.
8787         (ILL_BADIADDR): Likewise.
8788         (ILL_BREAK): Likewise.
8789         (FPE_INTDIV): Likewise.
8790         (FPE_INTOVF): Likewise.
8791         (FPE_FLTDIV): Likewise.
8792         (FPE_FLTOVF): Likewise.
8793         (FPE_FLTUND): Likewise.
8794         (FPE_FLTRES): Likewise.
8795         (FPE_FLTINV): Likewise.
8796         (FPE_FLTSUB): Likewise.
8797         (FPE_DECOVF): Likewise.
8798         (FPE_DECDIV): Likewise.
8799         (FPE_DECERR): Likewise.
8800         (FPE_INVASC): Likewise.
8801         (FPE_INVDEC): Likewise.
8802         (SEGV_MAPERR): Likewise.
8803         (SEGV_ACCERR): Likewise.
8804         (SEGV_PSTKOVF): Likewise.
8805         (BUS_ADRALN): Likewise.
8806         (BUS_ADRERR): Likewise.
8807         (BUS_OBJERR): Likewise.
8808         (BUS_MCEERR_AR): Likewise.
8809         (BUS_MCEERR_AO): Likewise.
8810         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8811         (TRAP_TRACE): Likewise.
8812         (TRAP_BRANCH): Likewise.
8813         (TRAP_HWBKPT): Likewise.
8814         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8815         __USE_XOPEN2K8].
8816         (CLD_KILLED): Likewise.
8817         (CLD_DUMPED): Likewise.
8818         (CLD_TRAPPED): Likewise.
8819         (CLD_STOPPED): Likewise.
8820         (CLD_CONTINUED): Likewise.
8821         (POLL_IN): Likewise.
8822         (POLL_OUT): Likewise.
8823         (POLL_MSG): Likewise.
8824         (POLL_ERR): Likewise.
8825         (POLL_PRI): Likewise.
8826         (POLL_HUP): Likewise.
8827         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8828         (ILL_ILLOPN): Likewise.
8829         (ILL_ILLADR): Likewise.
8830         (ILL_ILLTRP): Likewise.
8831         (ILL_PRVOPC): Likewise.
8832         (ILL_PRVREG): Likewise.
8833         (ILL_COPROC): Likewise.
8834         (ILL_BADSTK): Likewise.
8835         (FPE_INTDIV): Likewise.
8836         (FPE_INTOVF): Likewise.
8837         (FPE_FLTDIV): Likewise.
8838         (FPE_FLTOVF): Likewise.
8839         (FPE_FLTUND): Likewise.
8840         (FPE_FLTRES): Likewise.
8841         (FPE_FLTINV): Likewise.
8842         (FPE_FLTSUB): Likewise.
8843         (SEGV_MAPERR): Likewise.
8844         (SEGV_ACCERR): Likewise.
8845         (BUS_ADRALN): Likewise.
8846         (BUS_ADRERR): Likewise.
8847         (BUS_OBJERR): Likewise.
8848         (BUS_MCEERR_AR): Likewise.
8849         (BUS_MCEERR_AO): Likewise.
8850         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8851         (TRAP_TRACE): Likewise.
8852         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8853         __USE_XOPEN2K8].
8854         (CLD_KILLED): Likewise.
8855         (CLD_DUMPED): Likewise.
8856         (CLD_TRAPPED): Likewise.
8857         (CLD_STOPPED): Likewise.
8858         (CLD_CONTINUED): Likewise.
8859         (POLL_IN): Likewise.
8860         (POLL_OUT): Likewise.
8861         (POLL_MSG): Likewise.
8862         (POLL_ERR): Likewise.
8863         (POLL_PRI): Likewise.
8864         (POLL_HUP): Likewise.
8865         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8866         (ILL_ILLOPN): Likewise.
8867         (ILL_ILLADR): Likewise.
8868         (ILL_ILLTRP): Likewise.
8869         (ILL_PRVOPC): Likewise.
8870         (ILL_PRVREG): Likewise.
8871         (ILL_COPROC): Likewise.
8872         (ILL_BADSTK): Likewise.
8873         (FPE_INTDIV): Likewise.
8874         (FPE_INTOVF): Likewise.
8875         (FPE_FLTDIV): Likewise.
8876         (FPE_FLTOVF): Likewise.
8877         (FPE_FLTUND): Likewise.
8878         (FPE_FLTRES): Likewise.
8879         (FPE_FLTINV): Likewise.
8880         (FPE_FLTSUB): Likewise.
8881         (SEGV_MAPERR): Likewise.
8882         (SEGV_ACCERR): Likewise.
8883         (BUS_ADRALN): Likewise.
8884         (BUS_ADRERR): Likewise.
8885         (BUS_OBJERR): Likewise.
8886         (BUS_MCEERR_AR): Likewise.
8887         (BUS_MCEERR_AO): Likewise.
8888         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8889         (TRAP_TRACE): Likewise.
8890         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8891         __USE_XOPEN2K8].
8892         (CLD_KILLED): Likewise.
8893         (CLD_DUMPED): Likewise.
8894         (CLD_TRAPPED): Likewise.
8895         (CLD_STOPPED): Likewise.
8896         (CLD_CONTINUED): Likewise.
8897         (POLL_IN): Likewise.
8898         (POLL_OUT): Likewise.
8899         (POLL_MSG): Likewise.
8900         (POLL_ERR): Likewise.
8901         (POLL_PRI): Likewise.
8902         (POLL_HUP): Likewise.
8903         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8904         (ILL_ILLOPN): Likewise.
8905         (ILL_ILLADR): Likewise.
8906         (ILL_ILLTRP): Likewise.
8907         (ILL_PRVOPC): Likewise.
8908         (ILL_PRVREG): Likewise.
8909         (ILL_COPROC): Likewise.
8910         (ILL_BADSTK): Likewise.
8911         (FPE_INTDIV): Likewise.
8912         (FPE_INTOVF): Likewise.
8913         (FPE_FLTDIV): Likewise.
8914         (FPE_FLTOVF): Likewise.
8915         (FPE_FLTUND): Likewise.
8916         (FPE_FLTRES): Likewise.
8917         (FPE_FLTINV): Likewise.
8918         (FPE_FLTSUB): Likewise.
8919         (SEGV_MAPERR): Likewise.
8920         (SEGV_ACCERR): Likewise.
8921         (BUS_ADRALN): Likewise.
8922         (BUS_ADRERR): Likewise.
8923         (BUS_OBJERR): Likewise.
8924         (BUS_MCEERR_AR): Likewise.
8925         (BUS_MCEERR_AO): Likewise.
8926         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8927         (TRAP_TRACE): Likewise.
8928         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8929         __USE_XOPEN2K8].
8930         (CLD_KILLED): Likewise.
8931         (CLD_DUMPED): Likewise.
8932         (CLD_TRAPPED): Likewise.
8933         (CLD_STOPPED): Likewise.
8934         (CLD_CONTINUED): Likewise.
8935         (POLL_IN): Likewise.
8936         (POLL_OUT): Likewise.
8937         (POLL_MSG): Likewise.
8938         (POLL_ERR): Likewise.
8939         (POLL_PRI): Likewise.
8940         (POLL_HUP): Likewise.
8941         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8942         (ILL_ILLOPN): Likewise.
8943         (ILL_ILLADR): Likewise.
8944         (ILL_ILLTRP): Likewise.
8945         (ILL_PRVOPC): Likewise.
8946         (ILL_PRVREG): Likewise.
8947         (ILL_COPROC): Likewise.
8948         (ILL_BADSTK): Likewise.
8949         (ILL_DBLFLT): Likewise.
8950         (ILL_HARDWALL): Likewise.
8951         (FPE_INTDIV): Likewise.
8952         (FPE_INTOVF): Likewise.
8953         (FPE_FLTDIV): Likewise.
8954         (FPE_FLTOVF): Likewise.
8955         (FPE_FLTUND): Likewise.
8956         (FPE_FLTRES): Likewise.
8957         (FPE_FLTINV): Likewise.
8958         (FPE_FLTSUB): Likewise.
8959         (SEGV_MAPERR): Likewise.
8960         (SEGV_ACCERR): Likewise.
8961         (BUS_ADRALN): Likewise.
8962         (BUS_ADRERR): Likewise.
8963         (BUS_OBJERR): Likewise.
8964         (BUS_MCEERR_AR): Likewise.
8965         (BUS_MCEERR_AO): Likewise.
8966         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8967         (TRAP_TRACE): Likewise.
8968         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8969         __USE_XOPEN2K8].
8970         (CLD_KILLED): Likewise.
8971         (CLD_DUMPED): Likewise.
8972         (CLD_TRAPPED): Likewise.
8973         (CLD_STOPPED): Likewise.
8974         (CLD_CONTINUED): Likewise.
8975         (POLL_IN): Likewise.
8976         (POLL_OUT): Likewise.
8977         (POLL_MSG): Likewise.
8978         (POLL_ERR): Likewise.
8979         (POLL_PRI): Likewise.
8980         (POLL_HUP): Likewise.
8981         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8982         (ILL_ILLOPN): Likewise.
8983         (ILL_ILLADR): Likewise.
8984         (ILL_ILLTRP): Likewise.
8985         (ILL_PRVOPC): Likewise.
8986         (ILL_PRVREG): Likewise.
8987         (ILL_COPROC): Likewise.
8988         (ILL_BADSTK): Likewise.
8989         (FPE_INTDIV): Likewise.
8990         (FPE_INTOVF): Likewise.
8991         (FPE_FLTDIV): Likewise.
8992         (FPE_FLTOVF): Likewise.
8993         (FPE_FLTUND): Likewise.
8994         (FPE_FLTRES): Likewise.
8995         (FPE_FLTINV): Likewise.
8996         (FPE_FLTSUB): Likewise.
8997         (SEGV_MAPERR): Likewise.
8998         (SEGV_ACCERR): Likewise.
8999         (BUS_ADRALN): Likewise.
9000         (BUS_ADRERR): Likewise.
9001         (BUS_OBJERR): Likewise.
9002         (BUS_MCEERR_AR): Likewise.
9003         (BUS_MCEERR_AO): Likewise.
9004         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9005         (TRAP_TRACE): Likewise.
9006         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9007         __USE_XOPEN2K8].
9008         (CLD_KILLED): Likewise.
9009         (CLD_DUMPED): Likewise.
9010         (CLD_TRAPPED): Likewise.
9011         (CLD_STOPPED): Likewise.
9012         (CLD_CONTINUED): Likewise.
9013         (POLL_IN): Likewise.
9014         (POLL_OUT): Likewise.
9015         (POLL_MSG): Likewise.
9016         (POLL_ERR): Likewise.
9017         (POLL_PRI): Likewise.
9018         (POLL_HUP): Likewise.
9019         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9020         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9021
9022         [BZ #16670]
9023         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9024         before #include of <time.h>.
9025         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9026         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9027         (test-xfail-UNIX98/sched.h/conform): Likewise.
9028
9029 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9030
9031         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9032         error absence of trapping exception support.
9033         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9034
9035 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9036
9037         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9038         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9039         * timezone/Makefile (testdata): Move definition above include of
9040         Rules.
9041         (test-zones): New variable.
9042         (tests-special): Add zone files.
9043         (build-testdata): Use $(evaluate-test).
9044
9045         * elf/Makefile (tests-special): Rename tests to end with .out.
9046         ($(objpfx)noload-mem): Likewise.
9047         ($(objpfx)tst-leaks1-mem): Likewise.
9048         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9049         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9050         $(objpfx)test-iconvconfig.out.
9051         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9052         set -e inside subshell and redirect output to file.
9053         * iconvdata/Makefile (generated): Rename tests to end with .out.
9054         Correct type.
9055         (tests-special): Rename tests to end with .out.
9056         ($(objpfx)mtrace-tst-loading): Likewise.
9057         * intl/Makefile (generated): Likewise.
9058         (tests-special): Likewise.
9059         ($(objpfx)mtrace-tst-gettext): Likewise.
9060         * misc/Makefile (generated): Likewise.
9061         (tests-special): Likewise.
9062         ($(objpfx)tst-error1-mem): Likewise.
9063         * nptl/Makefile (tests-special): Likewise.
9064         ($(objpfx)tst-stack3-mem): Likewise.
9065         (generated): Likewise.
9066         * posix/Makefile (generated): Likewise.
9067         (tests-special): Likewise.
9068         (xtests-special): Likewise.
9069         ($(objpfx)tst-fnmatch-mem): Likewise.
9070         ($(objpfx)bug-regex2-mem): Likewise.
9071         ($(objpfx)bug-regex14-mem): Likewise.
9072         ($(objpfx)bug-regex21-mem): Likewise.
9073         ($(objpfx)bug-regex31-mem): Likewise.
9074         ($(objpfx)tst-vfork3-mem): Likewise.
9075         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9076         ($(objpfx)tst-pcre-mem): Likewise.
9077         ($(objpfx)tst-boost-mem): Likewise.
9078         ($(objpfx)bug-ga2-mem): Likewise.
9079         ($(objpfx)bug-glob2-mem): Likewise.
9080         * resolv/Makefile (generate): Likewise.
9081         (tests-special): Likewise.
9082         (xtests-special): Likewise.
9083         (generated): Likewise.
9084         ($(objpfx)mtrace-tst-leaks): Likewise.
9085         ($(objpfx)mtrace-tst-leaks2): Likewise.
9086
9087         * scripts/merge-test-results.sh: New file.
9088         * Makefile (tests-special-notdir): New variable.
9089         (tests): Run merge-test-results.sh.
9090         (xtests): Likewise.
9091         * Rules (tests-special-notdir): New variable.
9092         (xtests-special-notdir): Likewise.
9093         (tests): Run merge-test-results.sh
9094         (xtests): Likewise.
9095
9096         * Makeconfig (test-xfail-name): New variable.
9097         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9098         compute variable name for expected failures.
9099         * conform/Makefile (conformtest-headers-data): New variable.
9100         (conformtest-standards): Likewise.
9101         (conformtest-headers-ISO): Likewise.
9102         (conformtest-headers-ISO99): Likewise.
9103         (conformtest-headers-ISO11): Likewise.
9104         (conformtest-headers-POSIX): Likewise.
9105         (conformtest-headers-XPG3): Likewise.
9106         (conformtest-headers-XPG4): Likewise.
9107         (conformtest-headers-UNIX98): Likewise.
9108         (conformtest-headers-XOPEN2K): Likewise.
9109         (conformtest-headers-POSIX2008): Likewise.
9110         (conformtest-headers-XOPEN2K8): Likewise.
9111         (conformtest-header-list-base): Likewise.
9112         (conformtest-header-list-tests): Likewise.
9113         (conformtest-header-base): Likewise.
9114         (conformtest-header-tests): Likewise.
9115         (tests-special): Add $(conformtest-header-list-tests).  If
9116         [$(fast-check) && !$(cross-compiling)], add
9117         $(conformtest-header-tests) instead of
9118         $(objpfx)run-conformtest.out.
9119         (generated): Add $(conformtest-header-list-base).  If
9120         [$(fast-check) && !$(cross-compiling)], add
9121         $(conformtest-header-base).  Remove previous setting.
9122         ($(conformtest-header-list-tests)): New target.
9123         (test-xfail-run-conformtest): Remove variable.
9124         ($(objpfx)run-conformtest.out): Remove target.
9125         (test-xfail-ISO11/complex.h/conform): New variable.
9126         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9127         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9128         (test-xfail-XPG3/varargs.h/conform): Likewise.
9129         (test-xfail-XPG4/varargs.h/conform): Likewise.
9130         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9131         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9132         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9133         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9134         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9135         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9136         (test-xfail-XPG3/ftw.h/conform): Likewise.
9137         (test-xfail-XPG3/grp.h/conform): Likewise.
9138         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9139         (test-xfail-XPG3/limits.h/conform): Likewise.
9140         (test-xfail-XPG3/pwd.h/conform): Likewise.
9141         (test-xfail-XPG3/search.h/conform): Likewise.
9142         (test-xfail-XPG3/signal.h/conform): Likewise.
9143         (test-xfail-XPG3/stdio.h/conform): Likewise.
9144         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9145         (test-xfail-XPG3/string.h/conform): Likewise.
9146         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9147         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9148         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9149         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9150         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9151         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9152         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9153         (test-xfail-XPG3/termios.h/conform): Likewise.
9154         (test-xfail-XPG3/time.h/conform): Likewise.
9155         (test-xfail-XPG3/unistd.h/conform): Likewise.
9156         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9157         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9158         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9159         (test-xfail-XPG4/netdb.h/conform): Likewise.
9160         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9161         (test-xfail-XPG4/signal.h/conform): Likewise.
9162         (test-xfail-XPG4/stdio.h/conform): Likewise.
9163         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9164         (test-xfail-XPG4/stropts.h/conform): Likewise.
9165         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9166         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9167         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9168         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9169         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9170         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9171         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9172         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9173         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9174         (test-xfail-XPG4/termios.h/conform): Likewise.
9175         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9176         (test-xfail-XPG4/unistd.h/conform): Likewise.
9177         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9178         (test-xfail-POSIX/sched.h/conform): Likewise.
9179         (test-xfail-POSIX/signal.h/conform): Likewise.
9180         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9181         (test-xfail-POSIX/tar.h/conform): Likewise.
9182         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9183         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9184         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9185         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9186         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9187         (test-xfail-UNIX98/sched.h/conform): Likewise.
9188         (test-xfail-UNIX98/signal.h/conform): Likewise.
9189         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9190         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9191         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9192         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9193         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9194         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9195         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9196         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9197         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9198         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9199         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9200         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9201         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9202         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9203         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9204         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9205         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9206         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9207         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9208         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9209         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9210         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9211         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9212         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9213         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9214         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9215         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9216         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9217         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9218         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9219         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9220         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9221         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9222         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9223         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9224         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9225         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9226         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9227         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9228         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9229         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9230         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9231         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9232         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9233         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9234         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9235         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9236         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9237         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9238         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9239         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9240         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9241         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9242         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9243         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9244         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9245         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9246         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9247         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9248         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9249         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9250         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9251         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9252         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9253         (conformtest-cc-flags): Likewise.
9254         ($(conformtest-header-tests): New target.
9255         * conform/check-header-lists.sh: New file.
9256         * conform/run-conformtest.sh: Remove.
9257
9258         * conform/conformtest.pl: Allow ' and \ in values given for
9259         constants.
9260         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9261         inclusion.
9262         [POSIX] (sys/types.h): Likewise.
9263         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9264         inclusion.
9265         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9266         inclusion.
9267         * conform/data/signal.h-data (SIGIO): Remove expectation.
9268         [XPG3] (SIGBUS): Do not expect.
9269         [POSIX || XPG3] (SIGPOLL): Likewise.
9270         [POSIX || XPG3] (SIGPROF): Likewise.
9271         [POSIX || XPG3] (SIGSYS): Likewise.
9272         [XPG3] (SIGTRAP): Likewise.
9273         [POSIX || XPG3] (SIGURG): Likewise.
9274         [POSIX || XPG3] (SIGVTALRM): Likewise.
9275         [POSIX || XPG3] (SIGXCPU): Likewise.
9276         [POSIX || XPG3] (SIGXFSZ): Likewise.
9277         [POSIX] (SA_SIGINFO): Expect.
9278         [XPG3] (siginfo_t): Do not expect type or contents.
9279         [POSIX] (si_pid): Do not expect element.
9280         [POSIX] (si_uid): Likewise.
9281         [POSIX] (si_addr): Likewise.
9282         [POSIX] (si_status): Likewise.
9283         [POSIX] (si_band): Likewise.
9284         [XPG4] (si_value): Likewise.
9285         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9286         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9287         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9288         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9289         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9290         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9291         [POSIX || XPG3] (ILL_COPROC): Likewise.
9292         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9293         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9294         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9295         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9296         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9297         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9298         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9299         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9300         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9301         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9302         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9303         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9304         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9305         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9306         [POSIX || XPG3] (CLD_EXITED): Likewise.
9307         [POSIX || XPG3] (CLD_KILLED): Likewise.
9308         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9309         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9310         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9311         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9312         [POSIX || XPG3] (POLL_IN): Likewise.
9313         [POSIX || XPG3] (POLL_OUT): Likewise.
9314         [POSIX || XPG3] (POLL_MSG): Likewise.
9315         [POSIX || XPG3] (POLL_ERR): Likewise.
9316         [POSIX || XPG3] (POLL_PRI): Likewise.
9317         [POSIX || XPG3] (POLL_HUP): Likewise.
9318         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9319         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9320         (SIG*): Do not allow.
9321         [XPG3] (si_*): Likewise.
9322         [XPG3] (SI_*): Likewise.
9323         [XPG3 || XPG4] (sigev_*): Likewise.
9324         [XPG3 || XPG4] (SIGEV_*): Likewise.
9325         [XPG3 || XPG4] (sival_*): Likewise.
9326         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9327         [POSIX || XPG3] (BUS_*): Likewise.
9328         [POSIX || XPG3] (CLD_*): Likewise.
9329         [POSIX || XPG3] (FPE_*): Likewise.
9330         [POSIX || XPG3] (ILL_*): Likewise.
9331         [POSIX || XPG3] (POLL_*): Likewise.
9332         [POSIX || XPG3] (SEGV_*): Likewise.
9333         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9334         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9335         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9336         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9337         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9338         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9339         Specify type and value.
9340         (TVERSLEN): Likewise.
9341         (REGTYPE): Likewise.
9342         (AREGTYPE): Likewise.
9343         (LNKTYPE): Likewise.
9344         (SYMTYPE): Likewise.
9345         (CHRTYPE): Likewise.
9346         (BLKTYPE): Likewise.
9347         (DIRTYPE): Likewise.
9348         (FIFOTYPE): Likewise.
9349         (CONTTYPE): Likewise.
9350         (TSUID): Likewise.
9351         (TSGID): Likewise.
9352         (TSVTX): Likewise.
9353         (TUREAD): Likewise.
9354         (TUWRITE): Likewise.
9355         (TUEXEC): Likewise.
9356         (TGREAD): Likewise.
9357         (TGWRITE): Likewise.
9358         (TGEXEC): Likewise.
9359         (TOREAD): Likewise.
9360         (TOWRITE): Likewise.
9361         (TOEXEC): Likewise.
9362         [POSIX] (TSVTX): Expect constant.
9363
9364 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9365
9366         * Makefile (tests): Change dependencies to ....
9367         (tests-special): ... additions to this variable.
9368         (tests): Depend on $(tests-special).
9369         * Makerules (check-abi-list): New variable.
9370         (check-abi): Depend on $(check-abi-list).
9371         [$(subdir) = elf] (tests-special): Add
9372         $(objpfx)check-abi-libc.out.
9373         [$(build-shared) = yes && subdir] (tests-special): Add
9374         $(check-abi-list).
9375         [$(build-shared) = yes && subdir] (tests): Do not depend on
9376         check-abi.
9377         * Rules (tests): Depend on $(tests-special).
9378         (xtests): Depend on $(xtests-special).
9379         * catgets/Makefile (tests): Change dependencies to ....
9380         (tests-special): ... additions to this variable.
9381         * conform/Makefile (tests): Change dependencies to ....
9382         (tests-special): ... additions to this variable.
9383         * elf/Makefile (tests): Change dependencies to ....
9384         (tests-special): ... additions to this variable.
9385         * grp/Makefile (tests): Change dependencies to ....
9386         (tests-special): ... additions to this variable.
9387         * iconv/Makefile (xtests): Change dependencies to ....
9388         (xtests-special): ... additions to this variable.
9389         * iconvdata/Makefile (tests): Change dependencies to ....
9390         (tests-special): ... additions to this variable.
9391         * intl/Makefile (tests): Change dependencies to ....
9392         (tests-special): ... additions to this variable.  Also add
9393         $(objpfx)tst-gettext.out.
9394         * io/Makefile (tests): Change dependencies to ....
9395         (tests-special): ... additions to this variable.
9396         * libio/Makefile (tests): Change dependencies to ....
9397         (tests-special): ... additions to this variable.
9398         * malloc/Makefile (tests): Change dependencies to ....
9399         (tests-special): ... additions to this variable.
9400         * misc/Makefile (tests): Change dependencies to ....
9401         (tests-special): ... additions to this variable.
9402         * nptl/Makefile (tests): Change dependencies to ....
9403         (tests-special): ... additions to this variable.
9404         * nptl_db/Makefile (tests): Change dependencies to ....
9405         (tests-special): ... additions to this variable.
9406         * posix/Makefile (tests): Change dependencies to ....
9407         (tests-special): ... additions to this variable.
9408         (xtests): Change dependencies to ....
9409         (xtests-special): ... additions to this variable.
9410         * resolv/Makefile (tests): Change dependencies to ....
9411         (tests-special): ... additions to this variable.
9412         (xtests): Change dependencies to ....
9413         (xtests-special): ... additions to this variable.
9414         * stdio-common/Makefile (tests): Change dependencies to ....
9415         (tests-special): ... additions to this variable.
9416         (do-tst-unbputc): Remove target.
9417         (do-tst-printf): Likewise.
9418         * stdlib/Makefile (tests): Change dependencies to ....
9419         (tests-special): ... additions to this variable.
9420         * string/Makefile (tests): Change dependencies to ....
9421         (tests-special): ... additions to this variable.
9422         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9423         (tests-special): ... additions to this variable.
9424
9425         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9426         whole file.
9427         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9428         whole file.
9429         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9430         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9431
9432         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9433         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9434         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9435         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9436         * conform/data/libgen.h-data [XPG3]: Likewise.
9437         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9438         * conform/data/ndbm.h-data [XPG3]: Likewise.
9439         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9440         * conform/data/netdb.h-data [XPG3]: Likewise.
9441         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9442         * conform/data/poll.h-data [XPG3]: Likewise.
9443         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9444         * conform/data/strings.h-data [XPG3]: Likewise.
9445         * conform/data/stropts.h-data [XPG3]: Likewise.
9446         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9447         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9448         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9449         Likewise.
9450         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9451         * conform/data/sys/time.h-data [XPG3]: Likewise.
9452         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9453         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9454         * conform/data/sys/un.h-data [XPG3]: Likewise.
9455         * conform/data/syslog.h-data [XPG3]: Likewise.
9456         * conform/data/ucontext.h-data [XPG3]: Likewise.
9457         * conform/data/utmpx.h-data [XPG3]: Likewise.
9458         * conform/data/varargs.h-data [UNIX98]: Enable file.
9459
9460         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9461
9462         * math/libm-test.inc (struct test_f_f_data): Move expected results
9463         into structure for each rounding mode.
9464         (struct test_ff_f_data): Likewise.
9465         (struct test_ff_f_data_nexttoward): Likewise.
9466         (struct test_fi_f_data): Likewise.
9467         (struct test_fl_f_data): Likewise.
9468         (struct test_if_f_data): Likewise.
9469         (struct test_fff_f_data): Likewise.
9470         (struct test_c_f_data): Likewise.
9471         (struct test_f_f1_data): Likewise.
9472         (struct test_fF_f1_data): Likewise.
9473         (struct test_ffI_f1_data): Likewise.
9474         (struct test_c_c_data): Likewise.
9475         (struct test_cc_c_data): Likewise.
9476         (struct test_f_i_data): Likewise.
9477         (struct test_ff_i_data): Likewise.
9478         (struct test_f_l_data): Likewise.
9479         (struct test_f_L_data): Likewise.
9480         (struct test_fFF_11_data): Likewise.
9481         (RM_): New macro.
9482         (RM_FE_DOWNWARD): Likewise.
9483         (RM_FE_TONEAREST): Likewise.
9484         (RM_FE_TOWARDZERO): Likewise.
9485         (RM_FE_UPWARD): Likewise.
9486         (RUN_TEST_LOOP_f_f): Update references to expected results.
9487         (RUN_TEST_LOOP_2_f): Likewise.
9488         (RUN_TEST_LOOP_fff_f): Likewise.
9489         (RUN_TEST_LOOP_c_f): Likewise.
9490         (RUN_TEST_LOOP_f_f1): Likewise.
9491         (RUN_TEST_LOOP_fF_f1): Likewise.
9492         (RUN_TEST_LOOP_fI_f1): Likewise.
9493         (RUN_TEST_LOOP_ffI_f1): Likewise.
9494         (RUN_TEST_LOOP_c_c): Likewise.
9495         (RUN_TEST_LOOP_cc_c): Likewise.
9496         (RUN_TEST_LOOP_f_i): Likewise.
9497         (RUN_TEST_LOOP_f_i_tg): Likewise.
9498         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9499         (RUN_TEST_LOOP_f_b): Likewise.
9500         (RUN_TEST_LOOP_f_b_tg): Likewise.
9501         (RUN_TEST_LOOP_f_l): Likewise.
9502         (RUN_TEST_LOOP_f_L): Likewise.
9503         (RUN_TEST_LOOP_fFF_11): Likewise.
9504         * math/gen-libm-test.pl (parse_args): Output four copies of
9505         expected results for each test.
9506
9507         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9508         (__ASSUME_UTIMES): Remove.
9509         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9510         (__ASSUME_UTIMES): Likewise.
9511
9512         * math/gen-auto-libm-tests.c: Update comment on output format.
9513         (output_for_one_input_case): Generate before-rounding and
9514         after-rounding information as conditions on output flags not
9515         floating-point format.
9516         * math/auto-libm-test-out: Regenerated.
9517         * math/gen-libm-test.pl (cond_value): New function.
9518         (or_cond_value): Use cond_value.
9519         (generate_testfile): Handle conditional exceptions.
9520
9521 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9522
9523         * math/libm-test.inc (max_valid_error): New variable.
9524         (init_max_error): Take new argument specifying whether function
9525         results are exactly determined.  Set max_valid_error and bound
9526         other variables for errors based on this argument.
9527         (set_max_error): Do not record results above max_valid_error.
9528         (check_float_internal): Only accept errors of up to 0.5ulps if
9529         also at most max_valid_error.
9530         (START): Take new argument EXACT and pass it to init_max_error.
9531         (acos_test): Update call to START.
9532         (acos_test_tonearest): Likewise.
9533         (acos_test_towardzero): Likewise.
9534         (acos_test_downward): Likewise.
9535         (acos_test_upward): Likewise.
9536         (acosh_test): Likewise.
9537         (asin_test): Likewise.
9538         (asin_test_tonearest): Likewise.
9539         (asin_test_towardzero): Likewise.
9540         (asin_test_downward): Likewise.
9541         (asin_test_upward): Likewise.
9542         (asinh_test): Likewise.
9543         (atan_test): Likewise.
9544         (atanh_test): Likewise.
9545         (atan2_test): Likewise.
9546         (cabs_test): Likewise.
9547         (cacos_test): Likewise.
9548         (cacosh_test): Likewise.
9549         (carg_test): Likewise.
9550         (casin_test): Likewise.
9551         (casinh_test): Likewise.
9552         (catan_test): Likewise.
9553         (catanh_test): Likewise.
9554         (cbrt_test): Likewise.
9555         (ccos_test): Likewise.
9556         (ccosh_test): Likewise.
9557         (ceil_test): Likewise.
9558         (cexp_test): Likewise.
9559         (cimag_test): Likewise.
9560         (clog_test): Likewise.
9561         (clog10_test): Likewise.
9562         (conj_test): Likewise.
9563         (copysign_test): Likewise.
9564         (cos_test): Likewise.
9565         (cos_test_tonearest): Likewise.
9566         (cos_test_towardzero): Likewise.
9567         (cos_test_downward): Likewise.
9568         (cos_test_upward): Likewise.
9569         (cosh_test): Likewise.
9570         (cosh_test_tonearest): Likewise.
9571         (cosh_test_towardzero): Likewise.
9572         (cosh_test_downward): Likewise.
9573         (cosh_test_upward): Likewise.
9574         (cpow_test): Likewise.
9575         (cproj_test): Likewise.
9576         (creal_test): Likewise.
9577         (csin_test): Likewise.
9578         (csinh_test): Likewise.
9579         (csqrt_test): Likewise.
9580         (ctan_test): Likewise.
9581         (ctan_test_tonearest): Likewise.
9582         (ctan_test_towardzero): Likewise.
9583         (ctan_test_downward): Likewise.
9584         (ctan_test_upward): Likewise.
9585         (ctanh_test): Likewise.
9586         (ctanh_test_tonearest): Likewise.
9587         (ctanh_test_towardzero): Likewise.
9588         (ctanh_test_downward): Likewise.
9589         (ctanh_test_upward): Likewise.
9590         (erf_test): Likewise.
9591         (erfc_test): Likewise.
9592         (exp_test): Likewise.
9593         (exp_test_tonearest): Likewise.
9594         (exp_test_towardzero): Likewise.
9595         (exp_test_downward): Likewise.
9596         (exp_test_upward): Likewise.
9597         (exp10_test): Likewise.
9598         (exp10_test_tonearest): Likewise.
9599         (exp10_test_towardzero): Likewise.
9600         (exp10_test_downward): Likewise.
9601         (exp10_test_upward): Likewise.
9602         (pow10_test): Likewise.
9603         (exp2_test): Likewise.
9604         (expm1_test): Likewise.
9605         (expm1_test_tonearest): Likewise.
9606         (expm1_test_towardzero): Likewise.
9607         (expm1_test_downward): Likewise.
9608         (expm1_test_upward): Likewise.
9609         (fabs_test): Likewise.
9610         (fdim_test): Likewise.
9611         (floor_test): Likewise.
9612         (fma_test): Likewise.
9613         (fma_test_towardzero): Likewise.
9614         (fma_test_downward): Likewise.
9615         (fma_test_upward): Likewise.
9616         (fmax_test): Likewise.
9617         (fmin_test): Likewise.
9618         (fmod_test): Likewise.
9619         (fpclassify_test): Likewise.
9620         (frexp_test): Likewise.
9621         (hypot_test): Likewise.
9622         (ilogb_test): Likewise.
9623         (isfinite_test): Likewise.
9624         (finite_test): Likewise.
9625         (isgreater_test): Likewise.
9626         (isgreaterequal_test): Likewise.
9627         (isinf_test): Likewise.
9628         (isless_test): Likewise.
9629         (islessequal_test): Likewise.
9630         (islessgreater_test): Likewise.
9631         (isnan_test): Likewise.
9632         (isnormal_test): Likewise.
9633         (issignaling_test): Likewise.
9634         (isunordered_test): Likewise.
9635         (j0_test): Likewise.
9636         (j1_test): Likewise.
9637         (jn_test): Likewise.
9638         (ldexp_test): Likewise.
9639         (lgamma_test): Likewise.
9640         (gamma_test): Likewise.
9641         (lrint_test): Likewise.
9642         (lrint_test_tonearest): Likewise.
9643         (lrint_test_towardzero): Likewise.
9644         (lrint_test_downward): Likewise.
9645         (lrint_test_upward): Likewise.
9646         (llrint_test): Likewise.
9647         (llrint_test_tonearest): Likewise.
9648         (llrint_test_towardzero): Likewise.
9649         (llrint_test_downward): Likewise.
9650         (llrint_test_upward): Likewise.
9651         (log_test): Likewise.
9652         (log10_test): Likewise.
9653         (log1p_test): Likewise.
9654         (log2_test): Likewise.
9655         (logb_test): Likewise.
9656         (logb_test_downward): Likewise.
9657         (lround_test): Likewise.
9658         (llround_test): Likewise.
9659         (modf_test): Likewise.
9660         (nearbyint_test): Likewise.
9661         (nextafter_test): Likewise.
9662         (nexttoward_test): Likewise.
9663         (pow_test): Likewise.
9664         (pow_test_tonearest): Likewise.
9665         (pow_test_towardzero): Likewise.
9666         (pow_test_downward): Likewise.
9667         (pow_test_upward): Likewise.
9668         (remainder_test): Likewise.
9669         (drem_test): Likewise.
9670         (remainder_test_tonearest): Likewise.
9671         (drem_test_tonearest): Likewise.
9672         (remainder_test_towardzero): Likewise.
9673         (drem_test_towardzero): Likewise.
9674         (remainder_test_downward): Likewise.
9675         (drem_test_downward): Likewise.
9676         (remainder_test_upward): Likewise.
9677         (drem_test_upward): Likewise.
9678         (remquo_test): Likewise.
9679         (rint_test): Likewise.
9680         (rint_test_tonearest): Likewise.
9681         (rint_test_towardzero): Likewise.
9682         (rint_test_downward): Likewise.
9683         (rint_test_upward): Likewise.
9684         (round_test): Likewise.
9685         (scalb_test): Likewise.
9686         (scalbn_test): Likewise.
9687         (scalbln_test): Likewise.
9688         (signbit_test): Likewise.
9689         (sin_test): Likewise.
9690         (sin_test_tonearest): Likewise.
9691         (sin_test_towardzero): Likewise.
9692         (sin_test_downward): Likewise.
9693         (sin_test_upward): Likewise.
9694         (sincos_test): Likewise.
9695         (sinh_test): Likewise.
9696         (sinh_test_tonearest): Likewise.
9697         (sinh_test_towardzero): Likewise.
9698         (sinh_test_downward): Likewise.
9699         (sinh_test_upward): Likewise.
9700         (sqrt_test): Likewise.
9701         (sqrt_test_tonearest): Likewise.
9702         (sqrt_test_towardzero): Likewise.
9703         (sqrt_test_downward): Likewise.
9704         (sqrt_test_upward): Likewise.
9705         (tan_test): Likewise.
9706         (tan_test_tonearest): Likewise.
9707         (tan_test_towardzero): Likewise.
9708         (tan_test_downward): Likewise.
9709         (tan_test_upward): Likewise.
9710         (tanh_test): Likewise.
9711         (tgamma_test): Likewise.
9712         (trunc_test): Likewise.
9713         (y0_test): Likewise.
9714         (y1_test): Likewise.
9715         (yn_test): Likewise.
9716         (significand_test): Likewise.
9717
9718         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9719         individual tests in comment.
9720         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9721         (prev_max_error): New variable.
9722         (prev_real_max_error): Likewise.
9723         (prev_imag_max_error): Likewise.
9724         (compare_ulp_data): Don't refer to test names in comment.
9725         (find_test_ulps): Remove function.
9726         (find_function_ulps): Likewise.
9727         (find_complex_function_ulps): Likewise.
9728         (init_max_error): Take function name as argument.  Look up ulps
9729         for that function.
9730         (print_ulps): Remove function.
9731         (print_max_error): Use prev_max_error instead of calling
9732         find_function_ulps.
9733         (print_complex_max_error): Use prev_real_max_error and
9734         prev_imag_max_error instead of calling find_complex_function_ulps.
9735         (check_float_internal): Take max_ulp parameter instead of calling
9736         find_test_ulps.  Don't call print_ulps.
9737         (check_float): Update call to check_float_internal.
9738         (check_complex): Update calls to check_float_internal.
9739         (START): Pass argument to init_max_error.
9740         * math/gen-libm-test.pl (%results): Don't include "kind"
9741         information.
9742         (parse_ulps): Don't handle ulps of individual tests.
9743         (print_ulps_file): Likewise.
9744         (output_ulps): Likewise.
9745         * math/README.libm-test: Update.
9746         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9747         individual tests.
9748         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9749         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9750         * sysdeps/arm/libm-test-ulps: Likewise.
9751         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9752         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9753         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9754         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9755         * sysdeps/microblaze/libm-test-ulps: Likewise.
9756         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9757         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9758         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9759         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9760         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9761         * sysdeps/sh/libm-test-ulps: Likewise.
9762         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9763         * sysdeps/tile/libm-test-ulps: Likewise.
9764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9765
9766 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9767
9768         * math/libm-test.inc (print_complex_max_error): Check separately
9769         whether real and imaginary errors are within allowed range and
9770         pass 0 to print_complex_function_ulps instead of value within
9771         allowed range.
9772
9773 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9774
9775         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9776         formatting.
9777         (get_handles_fopen): Likewise.
9778         (do_write_test): Likewise.
9779
9780         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9781
9782         * libio/fileops.c (do_ftell): Use cached offset when
9783         available.
9784         * libio/iofwide.c (do_ftell_wide): Likewise.
9785         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9786         _IO_file_attach.
9787         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9788
9789         [BZ #16532]
9790         * libio/libioP.h (get_file_offset): New function.
9791         * libio/fileops.c (get_file_offset): Likewise.
9792         (do_ftell): Likewise.
9793         (_IO_new_file_seekoff): Split out ftell logic.
9794         * libio/wfileops.c (do_ftell_wide): Likewise.
9795         (_IO_wfile_seekoff): Split out ftell logic.
9796         * libio/tst-ftell-active-handler.c: New test case.
9797         * libio/Makefile (tests): Add it.
9798
9799 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9800
9801         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9802         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9803
9804 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9805
9806         [BZ #16639]
9807         * nscd/connections.c (nscd_init): Call do_exit.
9808         (start_threads): Call do_exit and notify_parent.
9809         (begin_drop_privileges): Call do_exit.
9810         (finish_drop_privileges): Likewise.
9811         * nscd/selinux.c (preserve_capabilities): Likewise.
9812         (install_real_capabilities): Likewise.
9813         (nscd_selinux_enabled): Likewise.
9814         (avc_create_thread): Likewise.
9815         (avc_alloc_lock): Likewise.
9816         (nscd_avc_init): Likewise.
9817         * nscd/nscd.c (parent_fd): New static variable.
9818         (main): Create a pipe between parent and child processes.
9819         Skip closing parent_fd.
9820         (monitor_child): New function.
9821         (do_exit): Likewise.
9822         (notify_parent): Likewise.
9823         * nscd/nscd.h (notify_parent): Likewise.
9824         (do_exit): Likewise.
9825
9826 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9827
9828         * malloc/malloc.c (__libc_calloc): Revert last change.
9829
9830 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9831
9832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9833
9834 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9835
9836         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9837         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9838         implementation.
9839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9840         (__libc_ifunc_impl_list): Likewise.
9841         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9842         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9843         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9844         * string/strrchr.c: Define STRRCHR.
9845
9846 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9847
9848         * benchtest/bench-strtok.c (simple_strtok): Delete.
9849         (strtok_string): Use as benchmark.
9850         * string/strtok (STRTOK): New macro.
9851
9852 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9853
9854         * manual/threads.texi: Add header and standard comments to all
9855         functions.
9856
9857         * elf/dl-lookup.c (check_match): New function.
9858         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9859         (do_lookup_x): Remove nested function check_match. Use non-nested
9860         function check_match.
9861
9862 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9863
9864         * csu/Makefile (generated, before-compile): Use += rather than =.
9865         * catgets/Makefile (generated, generated-dirs): Likewise.
9866         * debug/Makefile (generated): Likewise.
9867         * dlfcn/Makefile (generated): Likewise.
9868         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9869         * iconvdata/Makefile (before-compile, generated): Likewise.
9870         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9871         * libio/Makefile (generated): Likewise.
9872         * malloc/Makefile (generated): Likewise.
9873         * manual/Makefile (generated, generated-dirs): Likewise.
9874         * misc/Makefile (generated): Likewise.
9875         * posix/Makefile (generated): Likewise.
9876         * resolv/Makefile (generated): Likewise.
9877         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9878         * timezone/Makefile (generated, generated-dirs): Likewise.
9879
9880         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9881
9882 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9883
9884         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9885         power8 implementation.
9886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9887         file: POWER8 llround ifunc implementation.
9888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9889         (__lllround): Add POWER8 implementation.
9890         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9891         POWER8 llround implementation.
9892
9893         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9894         power8 implementation.
9895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9896         file: POWER8 llrint ifunc implementation.
9897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9898         Add POWER8 implementation.
9899         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9900         POWER8 llrint implementation.
9901
9902         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9903         power8 implementation.
9904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9905         file: POWER8 finite ifunc implementation.
9906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9907         Add POWER8 implementation.
9908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9909         Likewise.
9910         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9911         POWER8 finite implementation.
9912         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9913
9914         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9915         power8 implementation.
9916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9917         file: POWER8 isinf ifunc implementation.
9918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9919         POWER8 implementation.
9920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9921         Likewise.
9922         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9923         isinf implementation.
9924         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9925
9926         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9927         (INIT_ARCH): Add hwcap2 initialization.
9928         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9929         power8 implementation.
9930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9931         file: POWER8 isnan ifunc implementation.
9932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9933         POWER8 implementation.
9934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9935         Likewise.
9936         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9937         isnan implementation.
9938         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9939
9940 2014-02-27  Joey Ye  <joey.ye@arm.com>
9941
9942         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9943         (_FP_NANFRAC_Q): Set to zero.
9944
9945 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9946
9947         [BZ #16623]
9948         * math/auto-libm-test-in: New test inputs.
9949         * math/auto-libm-test-out: Regenerate.
9950         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9951         and DA.
9952         (__cos): Likewise.
9953         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9954
9955 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9956
9957         * scripts/evaluate-test.sh: Take new argument indicating whether
9958         failure is expected.
9959         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9960         indicating whether failure is expected.
9961         * conform/Makefile (test-xfail-run-conformtest): New variable.
9962         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9963         level.
9964         * posix/Makefile (test-xfail-annexc): New variable.
9965         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9966
9967 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9968
9969         * argp/Makefile: Include Makeconfig immediately after defining
9970         subdir.
9971         * assert/Makefile: Likewise.
9972         * benchtests/Makefile: Likewise.
9973         * catgets/Makefile: Likewise.
9974         * conform/Makefile: Likewise.
9975         * crypt/Makefile: Likewise.
9976         * csu/Makefile: Likewise.
9977         (all): Remove target.
9978         * ctype/Makefile: Include Makeconfig immediately after defining
9979         subdir.
9980         * debug/Makefile: Likewise.
9981         * dirent/Makefile: Likewise.
9982         * dlfcn/Makefile: Likewise.
9983         * gmon/Makefile: Likewise.
9984         * gnulib/Makefile: Likewise.
9985         * grp/Makefile: Likewise.
9986         * gshadow/Makefile: Likewise.
9987         * hesiod/Makefile: Likewise.
9988         * hurd/Makefile: Likewise.
9989         (all): Remove target.
9990         * iconvdata/Makefile: Include Makeconfig immediately after
9991         defining subdir.
9992         * inet/Makefile: Likewise.
9993         * intl/Makefile: Likewise.
9994         * io/Makefile: Likewise.
9995         * libio/Makefile: Likewise.
9996         (all): Remove target.
9997         * locale/Makefile: Include Makeconfig immediately after defining
9998         subdir.
9999         * login/Makefile: Likewise.
10000         * mach/Makefile: Likewise.
10001         (all): Remove target.
10002         * malloc/Makefile: Include Makeconfig immediately after defining
10003         subdir.
10004         (all): Remove target.
10005         * manual/Makefile: Include Makeconfig immediately after defining
10006         subdir.
10007         * math/Makefile: Likewise.
10008         * misc/Makefile: Likewise.
10009         * nis/Makefile: Likewise.
10010         * nss/Makefile: Likewise.
10011         * po/Makefile: Likewise.
10012         (all): Remove target.
10013         * posix/Makefile: Include Makeconfig immediately after defining
10014         subdir.
10015         * pwd/Makefile: Likewise.
10016         * resolv/Makefile: Likewise.
10017         * resource/Makefile: Likewise.
10018         * rt/Makefile: Likewise.
10019         * setjmp/Makefile: Likewise.
10020         * shadow/Makefile: Likewise.
10021         * signal/Makefile: Likewise.
10022         * socket/Makefile: Likewise.
10023         * soft-fp/Makefile: Likewise.
10024         * stdio-common/Makefile: Likewise.
10025         * stdlib/Makefile: Likewise.
10026         * streams/Makefile: Likewise.
10027         * string/Makefile: Likewise.
10028         * sunrpc/Makefile: Likewise.
10029         (all): Remove target.
10030         * sysvipc/Makefile: Include Makeconfig immediately after defining
10031         subdir.
10032         * termios/Makefile: Likewise.
10033         * time/Makefile: Likewise.
10034         * timezone/Makefile: Likewise.
10035         (all): Remove target.
10036         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10037         subdir.
10038         * wctype/Makefile: Likewise.
10039
10040 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10041
10042         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10043         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10044         (libc_feholdexcept_setround_mips): Ditto.
10045         (libc_feholdsetround): New.
10046         (libc_feholdsetroundf): New.
10047         (libc_feholdsetroundl): New.
10048         (libc_feupdateenv_test_mips): New.
10049         (libc_feupdateenv_test): New.
10050         (libc_feupdateenv_testf): New.
10051         (libc_feupdateenv_testl): New.
10052         (libc_feresetround): New.
10053         (libc_feresetroundf): New.
10054         (libc_feresetroundl): New.
10055         (libc_fetestexcept_mips): New.
10056         (libc_fetestexcept): New.
10057         (libc_fetestexceptf): New.
10058         (libc_fetestexceptl): New.
10059         (HAVE_RM_CTX): New.
10060         (libc_feholdexcept_setround_mips_ctx): New.
10061         (libc_feholdexcept_setround_ctx): New.
10062         (libc_feholdexcept_setroundf_ctx): New.
10063         (libc_feholdexcept_setroundl_ctx): New.
10064         (libc_fesetenv_mips_ctx): New.
10065         (libc_fesetenv_ctx): New.
10066         (libc_fesetenv_ctxf): New.
10067         (libc_fesetenv_ctxl): New.
10068         (libc_feupdateenv_mips_ctx): New.
10069         (libc_feupdateenv_ctx): New.
10070         (libc_feupdateenvf_ctx): New.
10071         (libc_feupdateenvl_ctx): New.
10072         (libc_feholdsetround_mips_ctx): New.
10073         (libc_feholdsetround_ctx): New.
10074         (libc_feholdsetroundf_ctx): New.
10075         (libc_feholdsetroundl_ctx): New.
10076         (libc_feresetround_mips_ctx): New.
10077         (libc_feresetround_ctx): New.
10078         (libc_feresetroundf_ctx): New.
10079         (libc_feresetroundl_ctx): New.
10080
10081 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10082
10083         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10084
10085         * manual/ipc.texi: New file.
10086         * manual/Makefile (chapters): Add ipc.
10087         * manual/job.texi: Add "Inter-Process Communication" to next.
10088         * manual/process.texi: Add "Inter-Process Communication" to prev.
10089
10090 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10091
10092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10093
10094 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10095
10096         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10097
10098         * manual/arith.texi: Fix spaces after sentences.
10099         * manual/charset.texi: Likewise.
10100         * manual/errno.texi: Likewise.
10101         * manual/install.texi: Likewise.
10102         * manual/llio.texi: Likewise.
10103         * manual/locale.texi: Likewise.
10104         * manual/maint.texi: Likewise.
10105         * manual/math.texi: Likewise.
10106         * manual/memory.texi: Likewise.
10107         * manual/message.texi: Likewise.
10108         * manual/probes.texi: Likewise.
10109         * manual/resource.texi: Likewise.
10110         * manual/signal.texi: Likewise.
10111         * manual/socket.texi: Likewise.
10112         * manual/stdio.texi: Likewise.
10113         * manual/string.texi: Likewise.
10114         * manual/time.texi: Likewise.
10115         * manual/users.texi: Likewise.
10116
10117 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10118
10119         [BZ #16632]
10120         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10121         _DEFAULT_SOURCE is defined.
10122
10123 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10124             Carlos O'Donell  <carlos@redhat.com>
10125
10126         [BZ #16613]
10127         * elf/dl-tls.c (_dl_count_modids): New function.
10128         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10129         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10130         audit library and increment generation counter.
10131         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10132         * elf/tst-audit9.c: New file.
10133         * elf/tst-auditmod9a.c: New file.
10134         * elf/tst-auditmod9b.c: New file.
10135         * elf/Makefile: Add rules to build and run tst-audit9.
10136
10137 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10138
10139         [BZ #15347]
10140         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10141
10142 2014-02-25  Will Newton  <will.newton@linaro.org>
10143
10144         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10145         (__longjmp): Restore sp and lr before restoring callee
10146         saved registers.  Add longjmp and longjmp_target
10147         SystemTap probe point.
10148         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10149         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10150         Define to zero to match jmpbuf layout.
10151         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10152         (__sigsetjmp): Save sp and lr before saving callee
10153         saved registers.  Add setjmp SystemTap probe point.
10154
10155 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10156
10157         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10158
10159 2014-02-24  Andreas Schwab  <schwab@suse.de>
10160
10161         [BZ #15804]
10162         * elf/pldd.c (wait_for_ptrace_stop): New function.
10163         (main): Call it after attaching.
10164
10165 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10166
10167         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10168         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10169         Versions files is now verboten.
10170         * hurd/Versions (libc: GLIBC_2.0):
10171         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10172         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10173         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10174         * mach/Versions: Likewise.
10175
10176         * csu/Versions: Remove unused %include.
10177         * resolv/Versions: Likewise.
10178
10179 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10180
10181         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10182         ($(objpfx)check-local-headers.out): Likewise.
10183         ($(objpfx)begin-end-check.out): Likewise.
10184         * Makerules (check-abi-%.out): Likewise.
10185         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10186         ($(objpfx)test2.cat): Likewise.
10187         ($(objpfx)de/libc.cat): Likewise.
10188         ($(objpfx)test-gencat.out): Likewise.
10189         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10190         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10191         ($(objpfx)noload-mem): Likewise.
10192         ($(objpfx)tst-pathopt.out): Likewise.
10193         ($(objpfx)tst-rtld-load-self.out): Likewise.
10194         ($(objpfx)tst-array1-cmp.out): Likewise.
10195         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10196         ($(objpfx)tst-array2-cmp.out): Likewise.
10197         ($(objpfx)tst-array3-cmp.out): Likewise.
10198         ($(objpfx)tst-array4-cmp.out): Likewise.
10199         ($(objpfx)tst-array5-cmp.out): Likewise.
10200         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10201         ($(objpfx)check-textrel.out): Likewise.
10202         ($(objpfx)check-execstack.out): Likewise.
10203         ($(objpfx)check-localplt.out): Likewise.
10204         ($(objpfx)order2-cmp.out): Likewise.
10205         ($(objpfx)tst-leaks1-mem): Likewise.
10206         ($(objpfx)tst-leaks1-static-mem): Likewise.
10207         ($(objpfx)tst-initorder-cmp.out): Likewise.
10208         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10209         ($(objpfx)tst-unused-dep.out): Likewise.
10210         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10211         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10212         * iconv/Makefile (test-iconvconfig): Likewise.
10213         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10214         ($(objpfx)iconv-test.out): Likewise.
10215         ($(objpfx)tst-tables.out): Likewise.
10216         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10217         ($(objpfx)tst-gettext.out): Likewise.
10218         ($(objpfx)tst-translit.out): Likewise.
10219         ($(objpfx)tst-gettext2.out): Likewise.
10220         ($(objpfx)tst-gettext4.out): Likewise.
10221         ($(objpfx)tst-gettext6.out): Likewise.
10222         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10223         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10224         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10225         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10226         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10227         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10228         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10229         ($(objpfx)wordexp-tst.out): Likewise.
10230         ($(objpfx)annexc.out): Likewise.
10231         ($(objpfx)tst-fnmatch-mem): Likewise.
10232         ($(objpfx)bug-regex2-mem): Likewise.
10233         ($(objpfx)bug-regex14-mem): Likewise.
10234         ($(objpfx)bug-regex21-mem): Likewise.
10235         ($(objpfx)bug-regex31-mem): Likewise.
10236         ($(objpfx)tst-vfork3-mem): Likewise.
10237         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10238         ($(objpfx)tst-pcre-mem): Likewise.
10239         ($(objpfx)tst-boost-mem): Likewise.
10240         ($(objpfx)tst-getconf.out): Likewise.
10241         ($(objpfx)bug-ga2-mem): Likewise.
10242         ($(objpfx)bug-glob2-mem): Likewise.
10243         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10244         ($(objpfx)mtrace-tst-leaks2): Likewise.
10245         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10246         ($(objpfx)tst-printf.out): Likewise.
10247         ($(objpfx)tst-setvbuf1.out): Likewise.
10248         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10249         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10250         ($(objpfx)tst-fmtmsg.out): Likewise.
10251         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10252         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10253
10254         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10255         * bits/sigaction.h [__USE_MISC]: Likewise.
10256         * bits/waitstatus.h: Update #endif comments.
10257         * ctype/ctype.h: Likewise.
10258         * dirent/dirent.h: Likewise.
10259         [__USE_MISC]: Remove redundant conditionals.
10260         * grp/grp.h: Update #endif comments.
10261         [__USE_GNU]: Remove redundant conditionals.
10262         [__USE_MISC]: Likewise.
10263         * inet/netinet/in.h [__USE_GNU]: Likewise.
10264         * io/sys/stat.h [__USE_MISC]: Likewise.
10265         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10266         * libio/bits/stdio.h: Update #endif comments.
10267         [__USE_MISC]: Remove redundant conditionals.
10268         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10269         * libio/stdio.h: Update #endif comments.
10270         [__USE_MISC]: Remove redundant conditionals.
10271         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10272         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10273         * math/math.h: Update #else and #endif comments.
10274         [__USE_MISC]: Remove redundant conditionals.
10275         * misc/sys/uio.h: Update #endif comments.
10276         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10277         * posix/glob.h [__USE_MISC]: Likewise.
10278         * posix/sys/types.h: Update #endif comments.
10279         [__USE_MISC]: Remove redundant conditionals.
10280         * posix/sys/wait.h: Update #endif comments.
10281         [__USE_MISC]: Remove redundant conditionals.
10282         * posix/unistd.h: Update #endif comments.
10283         [__USE_MISC]: Remove redundant conditionals.
10284         * pwd/pwd.h [__USE_GNU]: Likewise.
10285         [__USE_MISC]: Likewise.
10286         * resolv/netdb.h [__USE_GNU]: Likewise.
10287         * signal/signal.h: Update #endif comments.
10288         [__USE_MISC]: Remove redundant conditionals.
10289         * stdlib/stdlib.h: Update #else and #endif comments.
10290         [__USE_MISC]: Remove redundant conditionals.
10291         [__USE_GNU]: Likewise.
10292         * string/bits/string2.h [__USE_MISC]: Likewise.
10293         * string/string.h: Update #endif comments.
10294         [__USE_MISC]: Remove redundant conditionals.
10295         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10296         Likewise.
10297         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10298         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10299         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10300         Likewise.
10301         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10302         Likewise.
10303         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10304         comments.
10305         [__USE_MISC]: Remove redundant conditionals.
10306         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10307         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10308         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10309         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10310         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10311         Likewise.
10312         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10313         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10314         Likewise.
10315         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10316         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10317         Likewise.
10318         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10319         Likewise.
10320         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10321         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10322         Likewise.
10323         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10324         Likewise.
10325         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10326         * sysdeps/x86/bits/string.h: Update #endif comments.
10327         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10328         conditionals.
10329         * time/sys/time.h: Update #endif comments.
10330         * time/time.h: Likewise.
10331         [__USE_MISC]: Remove redundant conditionals.
10332
10333 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10334
10335         [BZ #16600]
10336         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10337
10338 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10339
10340         * Versions.def (librt): Add GLIBC_2.17.
10341
10342 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10343
10344         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10345         synonym for _SYS_AUXV_H to allow direct inclusion.
10346         * sysdeps/sparc/bits/hwcap.h: Likewise.
10347         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10348         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10349         * sysdeps/sparc/sysdep.h: Likewise.
10350
10351 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10352
10353         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10354
10355 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10356
10357         * benchtests/bench-strrchr.c: Print length instead of position.
10358
10359 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10360
10361         [BZ #16611]
10362         * sysdeps/unix/sysv/linux/kernel-features.h
10363         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10364         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10365         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10366         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10367         Likewise.
10368         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10369         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10370         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10371         (__ASSUME_SENDMMSG): Define instead of using previous
10372         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10373         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10374         (__ASSUME_SENDMMSG_SYSCALL): Define.
10375         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10376         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10377         Likewise.
10378         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10379         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10380         Likewise.
10381         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10382         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10383         Likewise.
10384         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10385         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10386         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10387         [__ASSUME_SENDMMSG]: Change conditionals to
10388         [__ASSUME_SENDMMSG_SOCKETCALL].
10389         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10390         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10391         Define.
10392         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10393         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10394         Likewise.
10395         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10396         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10397         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10398         [!__ASSUME_SENDMMSG]: Change conditional to
10399         [!__ASSUME_SENDMMSG_SOCKETCALL].
10400         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10401         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10402         Define.
10403
10404         [BZ #16610]
10405         * sysdeps/unix/sysv/linux/kernel-features.h
10406         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10407         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10408         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10409         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10410         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10411         [__i386__ || __sparc__]
10412         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10413         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10414         (__ASSUME_RECVMMSG): Define instead of using previous
10415         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10416         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10417         (__ASSUME_RECVMMSG_SYSCALL): Define.
10418         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10419         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10420         Likewise.
10421         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10422         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10423         Likewise.
10424         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10425         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10426         Likewise.
10427         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10428         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10429         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10430         [__ASSUME_RECVMMSG]: Change condition to
10431         [__ASSUME_RECVMMSG_SOCKETCALL].
10432         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10433         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10434         Define.
10435         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10436         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10437         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10438         Likewise.
10439         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10440         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10441         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10442         [!__ASSUME_RECVMMSG]: Change condition to
10443         [!__ASSUME_RECVMMSG_SOCKETCALL].
10444         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10445         (__ASSUME_RECVMMSG_SYSCALL): Define.
10446
10447         [BZ #16609]
10448         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10449         __powerpc__ || __s390__ || __sh__ || __sparc__]
10450         (__ASSUME_SOCKETCALL): Define.
10451         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10452         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10453         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10454         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10455         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10456         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10457         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10458         (__ASSUME_ACCEPT4): Define instead of using previous
10459         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10460         __powerpc__ || __sparc__ || __s390__)] condition.
10461         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10462         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10463         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10464         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10465         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10466         [!__ASSUME_ACCEPT4]: Change condition to
10467         [!__ASSUME_ACCEPT4_SOCKETCALL].
10468         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10469         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10470         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10471         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10472         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10473         __ASSUME_ACCEPT4_SYSCALL.
10474         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10475         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10476         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10477         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10478         __ASSUME_ACCEPT4_SYSCALL.
10479         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10480         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10481         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10482         [__ASSUME_ACCEPT4]: Change condition to
10483         [__ASSUME_ACCEPT4_SOCKETCALL].
10484         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10485         (__ASSUME_SOCKETCALL): Define.
10486         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10487         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10488         (__ASSUME_SOCKETCALL): Define.
10489         (__ASSUME_ACCEPT4): Remove.
10490         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10491         Define.
10492         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10493         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10494         Likewise.
10495         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10496         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10497
10498         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10499         macro.
10500         (HWCAP_ARM_LPAE): Likewise.
10501         (HWCAP_ARM_EVTSTRM): Likewise.
10502         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10503         Add vpfd32, lpae and evtstrm.
10504         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10505         Increase to 22.
10506
10507 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10508
10509         * math/auto-libm-test-in: Add tests of clog10.
10510         * math/auto-libm-test-out: Regenerated.
10511         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10512         * sysdeps/i386/fpu/libm-test-ulps: Update.
10513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10514
10515 2014-02-18  Andreas Schwab  <schwab@suse.de>
10516
10517         [BZ #16574]
10518         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10519         Store non-zero if the second buffer was newly allocated.
10520         (send_dg): Likewise.
10521         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10522         to send_vc and send_dg.
10523         (res_nsend): Pass NULL for ansp2_malloced.
10524         * resolv/res_query.c (__libc_res_nquery): Add parameter
10525         answerp2_malloced and pass it down to __libc_res_nsend.
10526         (res_nquery): Pass additional NULL to __libc_res_nquery.
10527         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10528         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10529         second answer buffer if answerp2_malloced was set.
10530         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10531         (__libc_res_nquerydomain): Add parameter
10532         answerp2_malloced and pass it down to __libc_res_nquery.
10533         (res_nquerydomain): Pass additional NULL to
10534         __libc_res_nquerydomain.
10535         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10536         additional NULL to __libc_res_nsend and __libc_res_nquery.
10537         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10538         additional NULL to __libc_res_nsearch.
10539         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10540         parameter of __libc_res_nsearch to check for separately allocated
10541         second buffer.
10542         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10543         __libc_res_nquery.
10544         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10545         additional NULL to __libc_res_nquery.
10546         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10547         __libc_res_nsearch.
10548         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10549         * include/resolv.h: Update prototypes of __libc_res_nquery,
10550         __libc_res_nsearch, __libc_res_nsend.
10551
10552 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10553
10554         * math/auto-libm-test-in: Add tests of fma.
10555         * math/auto-libm-test-out: Regenerated.
10556         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10557         (fma_towardzero_test_data): Likewise.
10558         (fma_downward_test_data): Likewise.
10559         (fma_upward_test_data): Likewise.
10560         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10561         mpc_mode.
10562         (rounding_modes): Add values for new field.
10563         (func_calc_method): Add value mpfr_fff_f.
10564         (func_calc_desc): Add mpfr_fff_f union field.
10565         (test_function): Add field exact_args.
10566         (FUNC): Add macro argument EXACT_ARGS.
10567         (FUNC_mpfr_f_f): Update call to FUNC.
10568         (FUNC_mpfr_f_f): Likewise.
10569         (FUNC_mpfr_ff_f): Likewise.
10570         (FUNC_mpfr_if_f): Likewise.
10571         (FUNC_mpc_c_f): Likewise.
10572         (FUNC_mpc_c_c): Likewise.
10573         (test_functions): Add fma.  Update calls to FUNC.
10574         (handle_input_arg): Add argument exact_args.
10575         (add_test): Update call to handle_input_arg.
10576         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10577         (output_for_one_input_case): Update call to calc_generic_results.
10578         Recalculate exact zero results in each rounding mode.
10579
10580         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10581         non-negative before setting low bit.
10582         * math/auto-libm-test-in: Mark one asin test possibly having
10583         spurious underflow.
10584         * math/auto-libm-test-out: Regenerated.
10585         * sysdeps/i386/fpu/libm-test-ulps: Update.
10586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10587
10588 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10589
10590         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10591         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10592         ports/sysdeps/unix/sysv/linux/microblaze.
10593         * README: Add missing listing for microblaze*-*-linux-gnu.
10594
10595 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10596
10597         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10598         duplicate code
10599
10600 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10601
10602         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10603         * sysdeps/unix/sysv/linux/ia64: Move directory from
10604         ports/sysdeps/unix/sysv/linux/ia64.
10605         * README: Update listing for ia64-*-linux-gnu.
10606
10607 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10608             Joseph Myers  <joseph@codesourcery.com>
10609
10610         * Makeconfig (test-name): New variable.
10611         (evaluate-test): Likewise.
10612         * Makerules (do-test-clean): Remove .test-result files.
10613         (common-mostlyclean): Likewise.
10614         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10615         * scripts/evaluate-test.sh: New file.
10616
10617 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10618
10619         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10620         separate $(objpfx)tst-fopenloc-cmp.out and
10621         $(objpfx)tst-fopenloc-mem.out targets.
10622         (tests): Update dependencies.
10623         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10624         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10625         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10626         (tst-rxspencer-no-utf8-ARGS): New variable.
10627         (tst-rxspencer-no-utf8-ENV): Likewise.
10628         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10629         instead of $(objpfx)tst-rxspencer-mem.
10630         ($(objpfx)tst-rxspencer-mem): Change target to
10631         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10632         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10633         * posix/tst-rxspencer-no-utf8.c: New file.
10634
10635         * elf/Makefile ($(objpfx)order.out): Remove rule.
10636         [$(run-built-tests) = yes] (tests): Depend on
10637         $(objpfx)order-cmp.out.
10638         ($(objpfx)order-cmp.out): New rule.
10639         [$(run-built-tests) = yes] (tests): Depend on
10640         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10641         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10642         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10643         $(objpfx)tst-array5-static-cmp.out.
10644         ($(objpfx)tst-array1.out): Remove rule.
10645         ($(objpfx)tst-array1-cmp.out): New rule.
10646         ($(objpfx)tst-array1-static.out): Remove rule.
10647         ($(objpfx)tst-array1-static-cmp.out): New rule.
10648         ($(objpfx)tst-array2.out): Remove rule.
10649         ($(objpfx)tst-array2-cmp.out): New rule.
10650         ($(objpfx)tst-array3.out): Remove rule.
10651         ($(objpfx)tst-array3-cmp.out): New rule.
10652         ($(objpfx)tst-array4.out): Remove rule.
10653         ($(objpfx)tst-array4-cmp.out): New rule.
10654         ($(objpfx)tst-array5.out): Remove rule.
10655         ($(objpfx)tst-array5-cmp.out): New rule.
10656         ($(objpfx)tst-array5-static.out): Remove rule.
10657         ($(objpfx)tst-array5-static-cmp.out): New rule.
10658         [$(run-built-tests) = yes] (tests): Depend on
10659         $(objpfx)order2-cmp.out.
10660         ($(objpfx)order2.out): Remove rule.
10661         ($(objpfx)order2-cmp.out): New rule.
10662         ($(objpfx)tst-initorder.out): Remove rule.
10663         [$(run-built-tests) = yes] (tests): Depend on
10664         $(objpfx)tst-initorder-cmp.out.
10665         ($(objpfx)tst-initorder-cmp.out): New rule.
10666         ($(objpfx)tst-initorder2.out): Remove rule.
10667         [$(run-built-tests) = yes] (tests): Depend on
10668         $(objpfx)tst-initorder2-cmp.out.
10669         ($(objpfx)tst-initorder2-cmp.out): New rule.
10670         [$(run-built-tests) = yes] (tests): Depend on
10671         $(objpfx)tst-unused-dep-cmp.out.
10672         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10673         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10674         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10675         on $(objpfx)tst-setvbuf1-cmp.out.
10676         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10677         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10678         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10679         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10680         ($(objpfx)tst-svc.out): Remove rule.
10681         ($(objpfx)tst-svc-cmp.out): New rule.
10682
10683 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10684
10685         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10686         * ctype/ctype.h [__USE_MISC]: Likewise.
10687         * dirent/dirent.h [__USE_MISC]: Likewise.
10688         * grp/grp.h [__USE_MISC]: Likewise.
10689         * io/fcntl.h [__USE_MISC]: Likewise.
10690         * io/sys/stat.h [__USE_MISC]: Likewise.
10691         * libio/stdio.h [__USE_MISC]: Likewise.
10692         * posix/unistd.h [__USE_MISC]: Likewise.
10693         * pwd/pwd.h [__USE_MISC]: Likewise.
10694         * stdlib.h [__USE_MISC]: Likewise.
10695         * string/bits/string2.h [__USE_MISC]: Likewise.
10696         * string/string.h [__USE_MISC]: Likewise.
10697         * time/time.h [__USE_MISC]: Likewise.
10698
10699 2014-02-13  Andreas Schwab  <schwab@suse.de>
10700
10701         [BZ #16574]
10702         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10703         second answer buffer if it was separately allocated.
10704
10705 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10706
10707         * sysdeps/mips/math-tests.h: Include <features.h>.
10708         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10709         (ROUNDING_TESTS_long_double): Do not define.
10710         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10711         (EXCEPTION_TESTS_long_double): Likewise.
10712         * sysdeps/mips/mips64/libm-test-ulps: Update.
10713
10714         * include/features.h (__USE_BSD): Remove macro definitions.
10715         (__USE_SVID): Likewise.
10716         (_BSD_SOURCE): Likewise.
10717         (_SVID_SOURCE): Likewise.
10718         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10719         from definition of _DEFAULT_SOURCE.
10720         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10721         [_DEFAULT_SOURCE].
10722         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10723         * bits/mman.h [__USE_BSD]: Likewise.
10724         * bits/termios.h [__USE_BSD]: Likewise.
10725         * bits/waitstatus.h [__USE_BSD]: Likewise.
10726         * ctype/ctype.h [__USE_SVID]: Likewise.
10727         * dirent/dirent.h [__USE_BSD]: Likewise.
10728         * grp/grp.h [__USE_SVID]: Likewise.
10729         [__USE_BSD]: Likewise.
10730         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10731         * io/fcntl.h [__USE_BSD]: Likewise.
10732         * io/ftw.h [__USE_BSD]: Likewise.
10733         * io/sys/stat.h [__USE_BSD]: Likewise.
10734         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10735         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10736         * libio/stdio.h [__USE_SVID]: Likewise.
10737         [__USE_BSD]: Likewise.
10738         * math/math.h [__USE_SVID]: Likewise.
10739         [__USE_BSD]: Likewise.
10740         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10741         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10742         * misc/search.h [__USE_SVID]: Likewise.
10743         * misc/sys/mman.h [__USE_BSD]: Likewise.
10744         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10745         * misc/sys/uio.h [__USE_BSD]: Likewise.
10746         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10747         * posix/glob.h [__USE_BSD]: Likewise.
10748         * posix/regex.h [__USE_BSD]: Likewise.
10749         * posix/sys/types.h [__USE_BSD]: Likewise.
10750         [__USE_SVID]: Likewise.
10751         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10752         * posix/sys/wait.h [__USE_BSD]: Likewise.
10753         [__USE_SVID]: Likewise.
10754         * posix/unistd.h [__USE_BSD]: Likewise.
10755         [__USE_SVID]: Likewise.
10756         * pwd/pwd.h [__USE_SVID]: Likewise.
10757         * resolv/netdb.h [__USE_BSD]: Likewise.
10758         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10759         * signal/signal.h [__USE_BSD]: Likewise.
10760         [__USE_SVID]: Likewise.
10761         * socket/sys/socket.h [__USE_BSD]: Likewise.
10762         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10763         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10764         [__USE_SVID]: Likewise.
10765         * string/bits/string2.h [__USE_BSD]: Likewise.
10766         [__USE_SVID]: Likewise.
10767         * string/bits/string3.h [__USE_BSD]: Likewise.
10768         * string/endian.h [__USE_BSD]: Likewise.
10769         * string/string.h [__USE_SVID]: Likewise.
10770         [__USE_BSD]: Likewise.
10771         * string/strings.h [__USE_BSD]: Likewise.
10772         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10773         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10774         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10775         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10776         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10777         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10778         Likewise.
10779         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10780         Likewise.
10781         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10782         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10783         Likewise.
10784         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10785         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10786         Likewise.
10787         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10788         Likewise.
10789         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10790         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10791         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10792         Likewise.
10793         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10794         Likewise.
10795         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10796         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10797         * termios/termios.h [__USE_BSD]: Likewise.
10798         * time/sys/time.h [__USE_BSD]: Likewise.
10799         * time/time.h [__USE_BSD]: Likewise.
10800         [__USE_SVID]: Likewise.
10801
10802         * Makefile (subdir_targets): Remove subdir_lint.out.
10803
10804         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10805         (do-tst-printf): Likewise.
10806         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10807         $(objpfx)tst-printf.out.
10808
10809         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10810
10811         * Makerules (check-abi-%): Change target to
10812         $(objpfx)check-abi-%.out.
10813         (check-abi target): Update dependencies.
10814         (check-abi-pattern variable): Redirect output of diff to $@.
10815         (check-abi variable): Likewise.
10816         * elf/Makefile (check-abi): Update dependencies.
10817
10818         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10819         unused.
10820         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10821         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10822         subnormal range.
10823         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10824         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10825         value has largest subnormal exponent.
10826         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10827         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10828         * sysdeps/aarch64/soft-fp/sfp-machine.h
10829         (_FP_TININESS_AFTER_ROUNDING): New macro.
10830         * sysdeps/alpha/soft-fp/sfp-machine.h
10831         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10832         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10833         Likewise.
10834         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10835         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10836         * sysdeps/mips/soft-fp/sfp-machine.h
10837         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10838         * sysdeps/powerpc/soft-fp/sfp-machine.h
10839         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10840         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10841         Likewise.
10842         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10843         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10844         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10845         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10846         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10847         Likewise.
10848
10849 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10850
10851         [BZ #16545]
10852         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10853         model 1.
10854
10855 2014-02-12  Richard Henderson  <rth@redhat.com>
10856
10857         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10858         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10859         * sysdeps/unix/sysv/linux/alpha: Move directory from
10860         ports/sysdeps/unix/sysv/linux/alpha.
10861         * README: Update listing for alpha-*-linux-gnu.
10862
10863 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10864
10865         * include/features.h: Update comment documenting feature test
10866         macros.
10867         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10868         _DEFAULT_SOURCE.
10869         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10870         (_SVID_SOURCE): Likewise.
10871         (_DEFAULT_SOURCE): Update description of default features.
10872         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10873         with _GNU_SOURCE.
10874         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10875         (S_ISVTX): Likewise.
10876         * manual/math.texi (Mathematical Constants): Likewise.
10877         * manual/signal.texi (Interrupted Primitives): Likewise.
10878         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10879         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10880         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10881         Don't refer to _SVID_SOURCE in warning text.
10882
10883         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10884
10885         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10886         already defined.
10887         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10888         * sysdeps/mips/dl-lookup.c: Remove.
10889         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10890
10891 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10892
10893         [BZ #16447]
10894         * math/auto-libm-test-in: Add testcase for expl.
10895         * math/auto-libm-test-out: Regenerate.
10896         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10897         calculation of unsafe.
10898         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10899
10900 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10901
10902         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10903         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10904         ports/sysdeps/unix/sysv/linux/aarch64.
10905         * README: Update listing for aarch64*-*-linux-gnu.
10906
10907 2014-02-11  Will Newton  <will.newton@linaro.org>
10908
10909         * manual/probes.texi (Mathematical Function Probes): Use
10910         "triggered" instead of "hit".
10911
10912         * manual/probes.texi (Internal Probes): Add documentation
10913         of setjmp, longjmp and longjmp_target probes.
10914
10915         * include/stap-probe.h: Add comment about probe argument
10916         format.
10917
10918         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10919         definition.  (tr_where, tr_freehook, tr_mallochook,
10920         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10921
10922 2014-02-11  David S. Miller  <davem@davemloft.net>
10923
10924         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10925         processing int_tests.
10926
10927 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10928
10929         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10930         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10931         * sysdeps/unix/sysv/linux/mips: Move directory from
10932         ports/sysdeps/unix/sysv/linux/mips.
10933         * README: Update listing for mips-*-linux-gnu and
10934         mips64-*-linux-gnu.
10935
10936 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10937
10938         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10939         * sysdeps/unix/sysv/linux/m68k: Move directory from
10940         ports/sysdeps/unix/sysv/linux/m68k.
10941         * README: Update listing for m68k-*-linux-gnu.
10942
10943 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10944
10945         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10946         * sysdeps/unix/sysv/linux/generic: Move directory from
10947         ports/sysdeps/unix/sysv/linux/generic.
10948         * sysdeps/unix/sysv/linux/tile: Move directory from
10949         ports/sysdeps/unix/sysv/linux/tile.
10950         * README: Update listing for tile*-*-linux-gnu.
10951
10952 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10953
10954         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10955         __builtin_expect.
10956         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10957         * catgets/open_catalog.c (__open_catalog): Likewise.
10958         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10959         * debug/confstr_chk.c: Likewise.
10960         * debug/fread_chk.c (__fread_chk): Likewise.
10961         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10962         * debug/getgroups_chk.c: Likewise.
10963         * debug/mbsnrtowcs_chk.c: Likewise.
10964         * debug/mbsrtowcs_chk.c: Likewise.
10965         * debug/mbstowcs_chk.c: Likewise.
10966         * debug/memcpy_chk.c: Likewise.
10967         * debug/memmove_chk.c: Likewise.
10968         * debug/mempcpy_chk.c: Likewise.
10969         * debug/memset_chk.c: Likewise.
10970         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10971         * debug/strcat_chk.c (__strcat_chk): Likewise.
10972         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10973         * debug/strncat_chk.c (__strncat_chk): Likewise.
10974         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10975         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10976         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10977         * debug/wcpncpy_chk.c: Likewise.
10978         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10979         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10980         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10981         * debug/wcsncpy_chk.c: Likewise.
10982         * debug/wcsnrtombs_chk.c: Likewise.
10983         * debug/wcsrtombs_chk.c: Likewise.
10984         * debug/wcstombs_chk.c: Likewise.
10985         * debug/wmemcpy_chk.c: Likewise.
10986         * debug/wmemmove_chk.c: Likewise.
10987         * debug/wmempcpy_chk.c: Likewise.
10988         * debug/wmemset_chk.c: Likewise.
10989         * dirent/scandirat.c (SCANDIRAT): Likewise.
10990         * dlfcn/dladdr1.c (dladdr1): Likewise.
10991         * dlfcn/dladdr.c (dladdr): Likewise.
10992         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10993         * dlfcn/dlerror.c (__dlerror): Likewise.
10994         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10995         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10996         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10997         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10998         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10999         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11000         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11001         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11002         Likewise.
11003         * elf/dl-conflict.c: Likewise.
11004         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11005         * elf/dl-dst.h: Likewise.
11006         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11007         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11008         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11009         * elf/dl-init.c (call_init, _dl_init): Likewise.
11010         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11011         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11012         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11013         Likewise.
11014         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11015         Likewise.
11016         * elf/dl-minimal.c (__libc_memalign): Likewise.
11017         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11018         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11019         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11020         * elf/dl-sym.c (do_sym): Likewise.
11021         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11022         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11023         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11024         * elf/dl-writev.h (_dl_writev): Likewise.
11025         * elf/ldconfig.c (search_dir): Likewise.
11026         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11027         (dl_main): Likewise.
11028         * elf/setup-vdso.h (setup_vdso): Likewise.
11029         * grp/compat-initgroups.c (compat_call): Likewise.
11030         * grp/fgetgrent.c (fgetgrent): Likewise.
11031         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11032         * grp/putgrent.c (putgrent): Likewise.
11033         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11034         Likewise.
11035         * hurd/hurdinit.c: Likewise.
11036         * iconvdata/8bit-gap.c (struct): Likewise.
11037         * iconvdata/ansi_x3.110.c : Likewise.
11038         * iconvdata/big5.c : Likewise.
11039         * iconvdata/big5hkscs.c : Likewise.
11040         * iconvdata/cp1255.c: Likewise.
11041         * iconvdata/cp1258.c : Likewise.
11042         * iconvdata/cp932.c : Likewise.
11043         * iconvdata/euc-cn.c: Likewise.
11044         * iconvdata/euc-jisx0213.c : Likewise.
11045         * iconvdata/euc-jp.c: Likewise.
11046         * iconvdata/euc-jp-ms.c : Likewise.
11047         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11048         * iconvdata/gb18030.c : Likewise.
11049         * iconvdata/gbbig5.c (const): Likewise.
11050         * iconvdata/gbgbk.c: Likewise.
11051         * iconvdata/gbk.c : Likewise.
11052         * iconvdata/ibm1364.c : Likewise.
11053         * iconvdata/ibm930.c : Likewise.
11054         * iconvdata/ibm932.c: Likewise.
11055         * iconvdata/ibm933.c : Likewise.
11056         * iconvdata/ibm935.c : Likewise.
11057         * iconvdata/ibm937.c : Likewise.
11058         * iconvdata/ibm939.c : Likewise.
11059         * iconvdata/ibm943.c: Likewise.
11060         * iconvdata/iso_11548-1.c: Likewise.
11061         * iconvdata/iso-2022-cn.c : Likewise.
11062         * iconvdata/iso-2022-cn-ext.c : Likewise.
11063         * iconvdata/iso-2022-jp-3.c: Likewise.
11064         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11065         * iconvdata/iso-2022-kr.c : Likewise.
11066         * iconvdata/iso646.c (gconv_end): Likewise.
11067         * iconvdata/iso_6937-2.c : Likewise.
11068         * iconvdata/iso_6937.c : Likewise.
11069         * iconvdata/iso8859-1.c: Likewise.
11070         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11071         * iconvdata/shift_jisx0213.c : Likewise.
11072         * iconvdata/sjis.c : Likewise.
11073         * iconvdata/t.61.c : Likewise.
11074         * iconvdata/tcvn5712-1.c : Likewise.
11075         * iconvdata/tscii.c: Likewise.
11076         * iconvdata/uhc.c : Likewise.
11077         * iconvdata/unicode.c (gconv_end): Likewise.
11078         * iconvdata/utf-16.c (gconv_end): Likewise.
11079         * iconvdata/utf-32.c (gconv_end): Likewise.
11080         * iconvdata/utf-7.c (base64): Likewise.
11081         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11082         * iconv/gconv_close.c (__gconv_close): Likewise.
11083         * iconv/gconv_open.c (__gconv_open): Likewise.
11084         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11085         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11086         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11087         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11088         (ucs4le_internal_loop_single): Likewise.
11089         * iconv/iconv.c (iconv): Likewise.
11090         * iconv/iconv_close.c: Likewise.
11091         * iconv/loop.c (SINGLE): Likewise.
11092         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11093         * include/atomic.h: Likewise.
11094         * inet/inet6_option.c (option_alloc): Likewise.
11095         * intl/bindtextdom.c (set_binding_values): Likewise.
11096         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11097         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11098         * intl/localealias.c (read_alias_file): Likewise.
11099         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11100         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11101         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11102         * libio/fmemopen.c (fmemopen): Likewise.
11103         * libio/iofgets.c (_IO_fgets): Likewise.
11104         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11105         * libio/iofgetws.c (fgetws): Likewise.
11106         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11107         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11108         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11109         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11110         * locale/findlocale.c (_nl_find_locale): Likewise.
11111         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11112         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11113         Likewise.
11114         * locale/setlocale.c (setlocale): Likewise.
11115         * login/programs/pt_chown.c (main): Likewise.
11116         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11117         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11118         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11119         (mmap, mmap64, mremap, munmap): Likewise.
11120         * math/e_exp2l.c: Likewise.
11121         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11122         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11123         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11124         * math/s_catan.c (__catan): Likewise.
11125         * math/s_catanf.c (__catanf): Likewise.
11126         * math/s_catanh.c (__catanh): Likewise.
11127         * math/s_catanhf.c (__catanhf): Likewise.
11128         * math/s_catanhl.c (__catanhl): Likewise.
11129         * math/s_catanl.c (__catanl): Likewise.
11130         * math/s_ccosh.c (__ccosh): Likewise.
11131         * math/s_ccoshf.c (__ccoshf): Likewise.
11132         * math/s_ccoshl.c (__ccoshl): Likewise.
11133         * math/s_cexp.c (__cexp): Likewise.
11134         * math/s_cexpf.c (__cexpf): Likewise.
11135         * math/s_cexpl.c (__cexpl): Likewise.
11136         * math/s_clog10.c (__clog10): Likewise.
11137         * math/s_clog10f.c (__clog10f): Likewise.
11138         * math/s_clog10l.c (__clog10l): Likewise.
11139         * math/s_clog.c (__clog): Likewise.
11140         * math/s_clogf.c (__clogf): Likewise.
11141         * math/s_clogl.c (__clogl): Likewise.
11142         * math/s_csin.c (__csin): Likewise.
11143         * math/s_csinf.c (__csinf): Likewise.
11144         * math/s_csinh.c (__csinh): Likewise.
11145         * math/s_csinhf.c (__csinhf): Likewise.
11146         * math/s_csinhl.c (__csinhl): Likewise.
11147         * math/s_csinl.c (__csinl): Likewise.
11148         * math/s_csqrt.c (__csqrt): Likewise.
11149         * math/s_csqrtf.c (__csqrtf): Likewise.
11150         * math/s_csqrtl.c (__csqrtl): Likewise.
11151         * math/s_ctan.c (__ctan): Likewise.
11152         * math/s_ctanf.c (__ctanf): Likewise.
11153         * math/s_ctanh.c (__ctanh): Likewise.
11154         * math/s_ctanhf.c (__ctanhf): Likewise.
11155         * math/s_ctanhl.c (__ctanhl): Likewise.
11156         * math/s_ctanl.c (__ctanl): Likewise.
11157         * math/w_pow.c: Likewise.
11158         * math/w_powf.c: Likewise.
11159         * math/w_powl.c: Likewise.
11160         * math/w_scalb.c (sysv_scalb): Likewise.
11161         * math/w_scalbf.c (sysv_scalbf): Likewise.
11162         * math/w_scalbl.c (sysv_scalbl): Likewise.
11163         * misc/error.c (error_tail): Likewise.
11164         * misc/pselect.c (__pselect): Likewise.
11165         * nis/nis_callback.c (__nis_create_callback): Likewise.
11166         * nis/nis_call.c (__nisfind_server): Likewise.
11167         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11168         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11169         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11170         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11171         * nis/nis_lookup.c (nis_lookup): Likewise.
11172         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11173         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11174         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11175         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11176         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11177         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11178         * nis/nss_compat/compat-initgroups.c (add_group)
11179         (internal_getgrent_r): Likewise.
11180         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11181         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11182         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11183         (internal_getspnam_r): Likewise.
11184         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11185         (_nss_nis_getaliasbyname_r): Likewise.
11186         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11187         (_nss_nis_getntohost_r): Likewise.
11188         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11189         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11190         (_nss_nis_getgrgid_r): Likewise.
11191         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11192         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11193         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11194         (_nss_nis_gethostbyname4_r): Likewise.
11195         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11196         (initgroups_netid): Likewise.
11197         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11198         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11199         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11200         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11201         (_nss_nis_getprotobynumber_r): Likewise.
11202         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11203         (_nss_nis_getsecretkey): Likewise.
11204         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11205         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11206         (_nss_nis_getpwuid_r): Likewise.
11207         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11208         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11209         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11210         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11211         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11212         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11213         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11214         Likewise.
11215         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11216         (_nss_nisplus_getntohost_r): Likewise.
11217         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11218         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11219         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11220         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11221         Likewise.
11222         * nis/nss_nisplus/nisplus-initgroups.c
11223         (_nss_nisplus_initgroups_dyn): Likewise.
11224         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11225         (_nss_nisplus_getnetbyaddr_r): Likewise.
11226         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11227         (_nss_nisplus_getprotobynumber_r): Likewise.
11228         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11229         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11230         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11231         Likewise.
11232         * nis/nss_nisplus/nisplus-service.c
11233         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11234         (_nss_nisplus_getservbyport_r): Likewise.
11235         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11236         (_nss_nisplus_getspnam_r): Likewise.
11237         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11238         Likewise.
11239         * nscd/aicache.c (addhstaiX): Likewise.
11240         * nscd/cache.c (cache_search, prune_cache): Likewise.
11241         * nscd/connections.c (register_traced_file, send_ro_fd)
11242         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11243         (main_loop_epoll): Likewise.
11244         * nscd/grpcache.c (addgrbyX): Likewise.
11245         * nscd/hstcache.c (addhstbyX): Likewise.
11246         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11247         * nscd/mem.c (gc, mempool_alloc): Likewise.
11248         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11249         (addinnetgrX): Likewise.
11250         * nscd/nscd-client.h (__nscd_acquire_maplock)
11251         (__nscd_drop_map_ref): Likewise.
11252         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11253         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11254         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11255         Likewise.
11256         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11257         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11258         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11259         (__nscd_get_map_ref): Likewise.
11260         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11261         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11262         Likewise.
11263         * nscd/pwdcache.c (addpwbyX): Likewise.
11264         * nscd/selinux.c (preserve_capabilities): Likewise.
11265         * nscd/servicescache.c (addservbyX): Likewise.
11266         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11267         * posix/fnmatch.c (fnmatch): Likewise.
11268         * posix/getopt.c (_getopt_internal_r): Likewise.
11269         * posix/glob.c (glob, glob_in_dir): Likewise.
11270         * posix/wordexp.c (exec_comm_child): Likewise.
11271         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11272         (getanswer_r, gaih_getanswer_slice): Likewise.
11273         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11274         * resolv/res_init.c: Likewise.
11275         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11276         * resolv/res_query.c (__libc_res_nquery): Likewise.
11277         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11278         Likewise.
11279         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11280         * stdio-common/perror.c (perror): Likewise.
11281         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11282         * stdio-common/tmpnam.c (tmpnam): Likewise.
11283         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11284         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11285         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11286         Likewise.
11287         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11288         * stdlib/putenv.c (putenv): Likewise.
11289         * stdlib/setenv.c (__add_to_environ): Likewise.
11290         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11291         * stdlib/strtol_l.c (INTERNAL): Likewise.
11292         * string/memmem.c (memmem): Likewise.
11293         * string/strerror.c (strerror): Likewise.
11294         * string/strnlen.c (__strnlen): Likewise.
11295         * string/test-memmem.c (simple_memmem): Likewise.
11296         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11297         * sunrpc/pm_getport.c (__get_socket): Likewise.
11298         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11299         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11300         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11301         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11302         Likewise.
11303         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11304         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11305         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11306         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11307         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11308         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11309         Likewise.
11310         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11311         Likewise.
11312         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11313         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11314         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11315         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11316         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11317         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11318         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11319         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11320         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11321         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11322         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11323         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11324         Likewise.
11325         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11326         Likewise.
11327         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11328         Likewise.
11329         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11330         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11331         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11332         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11333         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11334         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11335         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11336         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11337         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11338         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11339         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11340         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11341         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11342         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11343         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11344         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11345         Likewise.
11346         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11347         Likewise.
11348         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11349         Likewise.
11350         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11351         Likewise.
11352         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11353         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11354         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11355         Likewise.
11356         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11357         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11358         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11359         * sysdeps/posix/sleep.c: Likewise.
11360         * sysdeps/posix/tempname.c: Likewise.
11361         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11362         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11363         Likewise.
11364         * sysdeps/powerpc/powerpc32/dl-machine.h
11365         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11366         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11367         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11368         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11369         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11370         Likewise.
11371         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11372         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11373         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11374         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11375         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11376         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11377         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11378         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11379         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11380         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11381         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11382         (elf_machine_lazy_rel): Likewise.
11383         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11384         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11385         (elf_machine_lazy_rel): Likewise.
11386         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11387         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11388         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11389         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11390         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11391         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11392         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11393         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11394         Likewise.
11395         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11396         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11397         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11398         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11399         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11400         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11401         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11402         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11403         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11404         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11405         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11406         Likewise.
11407         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11408         (__posix_fallocate64_l64): Likewise.
11409         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11410         (posix_fallocate): Likewise.
11411         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11412         Likewise.
11413         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11414         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11415         (getifaddrs_internal): Likewise.
11416         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11417         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11418         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11419         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11420         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11421         (__posix_fallocate64_l64): Likewise.
11422         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11423         Likewise.
11424         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11425         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11426         (__get_clockfreq): Likewise.
11427         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11428         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11429         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11430         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11431         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11432         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11433         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11434         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11435         Likewise.
11436         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11437         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11438         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11439         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11440         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11441         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11442         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11443         Likewise.
11444         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11445         (posix_fallocate): Likewise.
11446         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11447         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11448         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11449         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11450         (elf_machine_rela, elf_machine_rela_relative)
11451         (elf_machine_lazy_rel): Likewise.
11452         * time/asctime.c (asctime_internal): Likewise.
11453         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11454         * time/tzset.c (__tzset_parse_tz): Likewise.
11455         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11456         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11457         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11458         * wcsmbs/wcsmbsload.h: Likewise.
11459
11460         [BZ #15894]
11461         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11462
11463         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11464         (arena_get2): Remove THREAD_STATS conditionals.
11465         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11466         (__malloc_stats, int): Likewise.
11467
11468 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11469
11470         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11471         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11472
11473         * manual/setjmp.texi: Fix typos/grammar errors.
11474
11475         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11476         Only return early when n is <= 0.  Delete unused return statement.
11477
11478         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11479         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11480         * debug/tst-longjmp_chk3.c: New file.
11481
11482         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11483         (test_main): Replace code with set_fortify_handler call.
11484         * debug/test-strcpy_chk.c: Likewise.
11485         * debug/tst-chk1.c: Likewise.
11486         * debug/tst-longjmp_chk.c: Likewise.
11487         * test-skeleton.c: Include fcntl.h & paths.h
11488         (set_fortify_handler): Define.
11489
11490         * debug/tst-longjmp_chk.c: Add header comment and include
11491         ../test-skeleton.c.
11492         (do_test): Mark static.
11493         (TEST_FUNCTION): Define.
11494
11495         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11496         (IP_PMTUDISC_INTERFACE): Likewise.
11497         (IP_MULTICAST_IF): Likewise.
11498         (IP_MULTICAST_TTL): Likewise.
11499         (IP_MULTICAST_LOOP): Likewise.
11500         (IP_ADD_MEMBERSHIP): Likewise.
11501         (IP_DROP_MEMBERSHIP): Likewise.
11502         (IP_UNBLOCK_SOURCE): Likewise.
11503         (IP_BLOCK_SOURCE): Likewise.
11504         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11505         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11506         (IP_MSFILTER): Likewise.
11507         (MCAST_JOIN_GROUP): Likewise.
11508         (MCAST_BLOCK_SOURCE): Likewise.
11509         (MCAST_UNBLOCK_SOURCE): Likewise.
11510         (MCAST_LEAVE_GROUP): Likewise.
11511         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11512         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11513         (MCAST_MSFILTER): Likewise.
11514         (IP_MULTICAST_ALL): Likewise.
11515         (IP_UNICAST_IF): Likewise.
11516
11517         * timezone/Makefile: Delete $(have-ksh) check.
11518         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11519         * timezone/tzselect.ksh: Add +x mode bits.
11520
11521         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11522         (ANON_INODE_FS_MAGIC): Likewise.
11523         (BDEVFS_MAGIC): Likewise.
11524         (BINFMTFS_MAGIC): Likewise.
11525         (BTRFS_TEST_MAGIC): Likewise.
11526         (CRAMFS_MAGIC_WEND): Likewise.
11527         (DEBUGFS_MAGIC): Likewise.
11528         (ECRYPTFS_SUPER_MAGIC): Likewise.
11529         (EXT3_SUPER_MAGIC): Likewise.
11530         (EXT4_SUPER_MAGIC): Likewise.
11531         (FUTEXFS_SUPER_MAGIC): Likewise.
11532         (HOSTFS_SUPER_MAGIC): Likewise.
11533         (HUGETLBFS_MAGIC): Likewise.
11534         (MINIX3_SUPER_MAGIC): Likewise.
11535         (MTD_INODE_FS_MAGIC): Likewise.
11536         (NILFS_SUPER_MAGIC): Likewise.
11537         (OPENPROM_SUPER_MAGIC): Likewise.
11538         (PIPEFS_MAGIC): Likewise.
11539         (PSTOREFS_MAGIC): Likewise.
11540         (QNX6_SUPER_MAGIC): Likewise.
11541         (RAMFS_MAGIC): Likewise.
11542         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11543         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11544         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11545         (SECURITYFS_MAGIC): Likewise.
11546         (SELINUX_MAGIC): Likewise.
11547         (SMACK_MAGIC): Likewise.
11548         (SOCKFS_MAGIC): Likewise.
11549         (SQUASHFS_MAGIC): Likewise.
11550         (STACK_END_MAGIC): Likewise.
11551         (TMPFS_MAGIC): Likewise.
11552         (USBDEVICE_SUPER_MAGIC): Likewise.
11553         (V9FS_MAGIC): Likewise.
11554         (XENFS_SUPER_MAGIC): Likewise.
11555         (CRAMFS_MAGIC): Fix typo in comment.
11556         (EXT2_SUPER_MAGIC): Update comment.
11557         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11558
11559 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11560
11561         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11562         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11563         * sysdeps/unix/sysv/linux/arm: Move directory from
11564         ports/sysdeps/unix/sysv/linux/arm.
11565         * README: Update listing for arm-*-linux-gnueabi.
11566
11567         * README: Remove mention of am33.
11568
11569 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11570
11571         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11572         than the comma operator, to avoid "rhs of comma has no effect"
11573         compiler warnings.
11574         (__sigfillset, __sigandset, __sigorset): Likewise.
11575         * include/signal.h (__sigemptyset): Likewise.
11576         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11577
11578 2014-02-07  Allan McRae  <allan@archlinux.org>
11579
11580         * version.h (RELEASE): Set to "development".
11581         (VERSION): Set to "2.19.90"
11582         * NEWS: Add 2.20 section.
11583
11584 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11585
11586         [BZ #16529]
11587         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11588
11589 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11590
11591         * manual/contrib.texi: Update entry for Carlos O'Donell,
11592         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11593
11594 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11595
11596         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11597
11598         * sysdeps/unix/sysv/linux/kernel-features.h
11599         [__LINUX_KERNEL_VERSION >= 0x020621]
11600         (__ASSUME_PROC_PID_TASK_COMM): Define.
11601
11602 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11603
11604         [BZ #16398]
11605         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11606         conversion when destination buffer does not have enough space.
11607         * libio/tst-ftell-partial-wide.c: New test case.
11608         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11609
11610         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11611         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11612         Leonard and Allan McRae.
11613
11614 2014-02-04  David S. Miller  <davem@davemloft.net>
11615
11616         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11617         32-bit.
11618
11619 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11620
11621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11622         New file
11623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11624         New file
11625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11626         New file.
11627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11628         New file.
11629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11630         New file.
11631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11632         New file.
11633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11634         New file.
11635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11636         New file.
11637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11638         New file.
11639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11640         New file.
11641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11642         New file.
11643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11644         New file.
11645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11646         New file.
11647
11648 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11649
11650         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11651         * shlib-versions: Likewise.
11652
11653 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11654             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11655
11656         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11657         (abilist-pattern): New variable, set to %-le.abilist.
11658
11659         * Makerules (abilist-pattern): New variable.
11660         (vpath): Use $(abilist-pattern) in place of %.abilist.
11661         (check-abi-% pattern rule): Likewise.
11662         (check-abi, update-abi): Likewise.
11663
11664 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11665
11666         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11667
11668 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11669
11670         * manual/startup.texi: Add next, previous, and top entries for
11671         the `Program Arguments' and `Environment Variables' nodes.
11672
11673 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11674
11675         * manual/macros.texi: Add comments before MTASC-safety macros.
11676
11677         * manual/users.texi: Document MTASC-safety properties.
11678
11679         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11680         (pthread_getspecific, pthread_setspecific): Format with
11681         @deftypefun, and add @safety note.
11682         * manual/signal.texi: Move comments that analyze the above
11683         functions to their home place.
11684
11685 2014-02-03  Allan McRae  <allan@archlinux.org>
11686
11687         * po/sl.po: Update Slovenian translation from translation project.
11688
11689 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11690
11691         * manual/time.texi (timegm): Add missing blank after @c.
11692         Reported by Joseph Myers <joseph@codesourcery.com>.
11693
11694 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11695
11696         * manual/check-safety.sh: New.
11697         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11698
11699         * manual/terminal.texi: Document MTASC-safety properties.
11700
11701         * manual/filesys.texi: Document MTASC-safety properties.
11702
11703         * manual/errno.texi: Document MTASC-safety properties.
11704
11705         * manual/intro.texi: Document safety identifiers and
11706         conditionals.
11707
11708         * manual/string.texi (wcstok): Fix prototype.
11709         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11710
11711         * manual/time.texi: Document MTASC-safety properties.
11712
11713         * manual/string.texi: Document MTASC-safety properties.
11714
11715         * manual/threads.texi: Document MTASC-safety properties.
11716
11717         * manual/stdio.texi: Document MTASC-safety properties.
11718
11719         * manual/syslog.texi: Document MTASC-safety properties.
11720
11721         * manual/sysinfo.texi: Document MTASC-safety properties.
11722
11723         * manual/startup.texi: Document MTASC-safety properties.
11724
11725         * manual/socket.texi: Document MTASC-safety properties.
11726
11727         * manual/signal.texi: Document MTASC-safety properties.
11728
11729 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11730
11731         * manual/setjmp.texi: Document MTASC-safety properties.
11732
11733         * manual/search.texi: Document MTASC-safety properties.
11734
11735         * manual/resource.texi: Document MTASC-safety properties.
11736
11737         * manual/process.texi: Document MTASC-safety properties.
11738
11739         * manual/platform.texi: Document MTASC-safety properties.
11740
11741         * manual/pipe.texi: Document MTASC-safety properties.
11742
11743         * manual/pattern.texi: Document MTASC-safety properties.
11744
11745         * manual/message.texi: Document MTASC-safety properties.
11746
11747         [BZ #12751]
11748         * manual/memory.texi: Document MTASC-safety properties.
11749
11750         * manual/math.texi: Document MTASC-safety properties.
11751
11752         * manual/locale.texi: Document MTASC-safety properties.
11753
11754         * manual/llio.texi: Document MTASC-safety properties.
11755
11756         * manual/libdl.texi: New.
11757
11758         * manual/lang.texi: Document MTASC-safety properties.
11759
11760         * manual/job.texi: Document MTASC-safety properties.
11761
11762         * manual/getopt.texi: Document MTASC-safety properties.
11763
11764         * manual/ctype.texi: Document MTASC-safety properties.
11765
11766 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11767
11768         [BZ #16046]
11769         * csu/libc-tls.c (static_map): Remove variable.
11770         (__libc_setup_tls): Use main executable's link map for TLS data.
11771         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11772         casing for LM_ID_BASE and GL(dl_nns).
11773         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11774         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11775         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11776         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11777         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11778         member.
11779         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11780         l_phnum members.
11781
11782 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11783
11784         * manual/debug.texi: Document MTASC-safety properties.
11785
11786 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11787
11788         [BZ #16510]
11789         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11790         of __x86_64__ when disabling x87 inline functions.
11791
11792 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11793
11794         * manual/charset.texi: Document MTASC-safety properties.
11795
11796         * manual/crypt.texi: Document MTASC-safety properties.
11797
11798         * manual/conf.texi: Document MTASC-safety properties.
11799
11800         * manual/arith.texi: Document MTASC-safety properties.
11801
11802         * manual/argp.texi: Document MTASC-safety properties.
11803
11804         * manual/macros.texi: Introduce macros to document multi
11805         thread, asynchronous signal and asynchronous cancellation
11806         safety properties.
11807         * manual/intro.texi: Introduce the properties themselves.
11808
11809 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11810
11811         * sysdeps/sh/sh4/Makefile: New file.
11812
11813 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11814
11815         * math/gen-libm-test.pl ($srcdir): New variable.
11816         ($auto_input): Use it.
11817
11818 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11819
11820         [BZ #16506]
11821         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11822         access beyond array bounds when parsing netgroups file.
11823
11824         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11825         the old buffer before realloc.
11826
11827 2014-01-27  Allan McRae  <allan@archlinux.org>
11828
11829         * po/fr.po: Update French translation from translation project.
11830
11831 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11832
11833         * sysdeps/sh/libm-test-ulps: Regenerate.
11834
11835 2014-01-24  David S. Miller  <davem@davemloft.net>
11836
11837         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11838
11839 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11840
11841         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11842         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11843
11844 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11845
11846         [BZ #16474]
11847         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11848         string pointers after reallocation.
11849
11850 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11851
11852         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11853         __SH4A__ instead of __SH_FPU_ANY__.
11854
11855 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11856
11857         * sysdeps/sh/fpu_control.h: New file.
11858         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11859         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11860         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11861         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11862         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11863         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11864         * sysdeps/sh/sys/ucontext.h: Remove.
11865         * sysdeps/sh/sys: Remove directory.
11866
11867 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11868
11869         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11870         s390/sys/ucontext.h.
11871         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11872         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11873
11874 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11875
11876         [BZ #15605]
11877         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11878
11879 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11880
11881         [BZ#16431]
11882         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11883         Adjust the vDSO correctly for internal calls.
11884         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11885
11886 2014-01-20  Allan McRae  <allan@archlinux.org>
11887
11888         * po/ca.po: Update Catalan translation from translation project.
11889
11890 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11891
11892         * sysdeps/s390/sotruss-lib.c: New file.
11893
11894 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11895
11896         [BZ#16430]
11897         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11898         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11899         local calls issues by not having a PLT stub required for IFUNC calls.
11900         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11901
11902 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11903
11904         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11905         * math/test-fpucw-static.c: Likewise.
11906
11907 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11908
11909         [BZ #16453]
11910         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11911
11912 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11913
11914         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11915         implementation for powerpc.
11916
11917 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11918
11919         [BZ #14782]
11920         * sysdeps/posix/system.c (__libc_system): Do not enable
11921         asynchronous cancellation.
11922
11923 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11924
11925         [BZ #16427]
11926         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11927         handling only for numbers special also in the IEEE case.
11928
11929 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11930
11931         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11932
11933 2014-01-11  Allan McRae  <allan@archlinux.org>
11934
11935         * po/bg.po: Update Bulgarian translation from translation project.
11936
11937         * po/de.po: Update German translation from translation project.
11938
11939 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11940
11941         * sysdeps/generic/gcc-compat.h: New file.
11942
11943 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11944
11945         * benchtests/asin-inputs: Correct slow inputs.
11946         * benchtests/acos-inputs: Likewise.
11947
11948 2014-01-10  Allan McRae  <allan@archlinux.org>
11949
11950         * po:sv.po: Update Swedish translation from translation project.
11951
11952         * po/vi.po: Update Vietnamese translation from translation project.
11953
11954         * po/eo.po: Update Esperanto translation from translation project.
11955
11956         * po/cs.po: Update Czech translation from translation project.
11957
11958         * po/nl.po: Update Dutch translation from translation project.
11959
11960         * po/pl.po: Update Polish translation from translation project.
11961
11962         * po/ru.po: Update Russian translation from translation project.
11963
11964         * po/uk.po: Update Ukrainian translation from translation project.
11965
11966 2014-01-08  Brooks Moses  <bmoses@google.com>
11967
11968         * elf/dl-load.c: Fix comment typo.
11969
11970 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11971
11972         * po/header.pot: Rename to...
11973         * po/pot.header: ... this.
11974         * po/Makefile: Use pot.header.
11975
11976 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11977             Maxim Kuvyrkov  <maxim@kugelworks.com>
11978
11979         [BZ #16394]
11980         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11981         SRC and DEST against LEN.
11982
11983 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11984
11985         [BZ #16414]
11986         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11987         implementation.
11988         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11989
11990 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11991
11992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11993
11994 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11995
11996         [BZ #16408]
11997         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11998         for large positive arguments.
11999
12000 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12001
12002         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12003
12004         * math/auto-libm-test-in: Mark various tests with
12005         xfail-rounding:ldbl-128ibm.
12006         * math/auto-libm-test-out: Regenerated.
12007
12008         [BZ #16407]
12009         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12010         Increase overflow threshold.
12011
12012 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12013
12014         [BZ #14286]
12015         * stdio-common/vfprintf.c: Check for integer overflow.
12016
12017 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12018
12019         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12020         the first argument and return value of __tls_get_addr_internal.
12021
12022 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12023
12024         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12025         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12026
12027 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12028
12029         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12030         * sysdeps/s390/rtld-global-offsets.sym: New file.
12031         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12032         GLIBC_2.19 symbol.
12033         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12034         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12035         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12036         ... this.
12037         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12038         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12039         ... this.
12040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12041         Regenerate.
12042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12043         Regenerate.
12044         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12045         halfs of GPRs for high_gprs contexts.
12046         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12047         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12048         field.
12049         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12050         uc_flags field.
12051         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12052         64 bit versions:
12053         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12054         for high GPRs (uc_high_gprs) and for future extensions
12055         (__reserved).
12056         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12057         for future extensions (__reserved).
12058         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12059         64 bit versions:
12060         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12061         SC_HIGHGPRS offset definition.
12062         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12063         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12064
12065         * Versions.def: Add GLIBC_2.19 for libpthread.
12066         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12067         siglongjmp for libpthread with GLIBC_2.19 symver.
12068         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12069         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12070         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12071         * sysdeps/s390/__longjmp.c: New file.
12072         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12073         * sysdeps/s390/longjmp.c: New file.
12074         * sysdeps/s390/setjmp.S: New file.
12075         * sysdeps/s390/sigjmp.S: New file.
12076         * sysdeps/s390/v1-longjmp.c: New file.
12077         * sysdeps/s390/v1-setjmp.h: New file.
12078         * sysdeps/s390/v1-sigjmp.c: New file.
12079         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12080         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12081         GLIBC_2.19 version.
12082         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12083         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12084         versioned symbols for ____longjmp_chk.
12085         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12086         Likewise.
12087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12088         Regenerate.
12089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12090         Regenerate.
12091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12092         Regenerate.
12093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12094         Regenerate.
12095         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12096         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12097         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12098         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12099         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12100         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12101         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12102         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12103         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12104         * sysdeps/s390/rtld-__longjmp.c: New file.
12105         * sysdeps/s390/rtld-setjmp.S: New file.
12106
12107 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12108
12109         [BZ #16400]
12110         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12111         Return -__logl (x) for small positive arguments without evaluating
12112         a polynomial.
12113
12114 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12115
12116         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12117         Rename to ...
12118         (__ptrace_peeksiginfo_args): ... this.
12119         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12120         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12121         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12122
12123 2014-01-06  Allan McRae  <allan@archlinux.org>
12124
12125         * inet/netinet/in.h: Fix typo in comment.
12126
12127 2014-01-05  Andreas Jaeger  <aj@suse.de>
12128
12129         * sysdeps/i386/fpu/libm-test-ulps: Update.
12130
12131 2014-01-05  Allan McRae  <allan@archlinux.org>
12132
12133         * po/libc.pot: Regenerated.
12134
12135         * malloc/memusagestat.c: Fix gettext call formatting.
12136
12137 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12138
12139         * nscd/nscd.c: Improve usage() output.
12140
12141 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12142
12143         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12144         * sysdeps/unix/sysv/linux/configure: Regenerated.
12145         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12146         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12147
12148 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12149
12150         [BZ #16390]
12151         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12152         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12153
12154 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12155
12156         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12157         extra tokens at end of #undef directive.
12158         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12159         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12160         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12161
12162 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12163
12164         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12165
12166         * math/auto-libm-test-in: Mark various tests with
12167         xfail-rounding:ldbl-128ibm.
12168         * math/auto-libm-test-out: Regenerated.
12169
12170 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12171
12172         [BZ #16386]
12173         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12174         numbers with subnormal high part when calculating exponent.
12175
12176         [BZ #16385]
12177         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12178         fabs.
12179
12180         [BZ #16384]
12181         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12182         M_LN2l.
12183         (__ieee754_acoshl): Use __log1pl not __log1p.
12184
12185 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12186
12187         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12188         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12189         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12190         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12191         (reused_arena, arena_get2): Convert to GNU style.
12192         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12193         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12194         (memalign_check, __malloc_set_state): Likewise.
12195         * malloc/mallocbug.c (main): Likewise.
12196         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12197         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12198         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12199         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12200         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12201         (__posix_memalign, malloc_info): Likewise.
12202         * malloc/malloc.h: Likewise.
12203         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12204         (mallochook, memalignhook, reallochook, mabort): Likewise.
12205         * malloc/mcheck.h: Likewise.
12206         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12207         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12208         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12209         * malloc/morecore.c (__default_morecore): Likewise.
12210         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12211         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12212         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12213         (print_and_abort): Likewise.
12214         * malloc/obstack.h: Likewise.
12215         * malloc/set-freeres.c (__libc_freeres): Likewise.
12216         * malloc/tst-mallocstate.c (main): Likewise.
12217         * malloc/tst-mtrace.c (main): Likewise.
12218         * malloc/tst-realloc.c (do_test): Likewise.
12219
12220 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12221
12222         [BZ #16366]
12223         * nscd/netgroupcache.c (do_notfound): New function.
12224         (addgetnetgrentX): Use it.
12225
12226         [BZ # 16365]
12227         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12228         NSS_STATUS_NOTFOUND.
12229
12230 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12231
12232         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12234
12235 2014-01-01  Allan McRae  <allan@archlinux.org>
12236
12237         * scripts/update-copyrights: Update configure input file suffix.
12238
12239         * NEWS: Update copyright year.
12240         * catgets/gencat.c: Likewise.
12241         * csu/version.c: Likewise.
12242         * debug/catchsegv.sh: Likewise.
12243         * debug/pcprofiledump.c: Likewise.
12244         * debug/xtrace.sh: Likewise.
12245         * elf/ldconfig.c: Likewise.
12246         * elf/ldd.bash.in: Likewise.
12247         * elf/pldd.c: Likewise.
12248         * elf/sotruss.ksh: Likewise.
12249         * elf/sprof.c: Likewise.
12250         * iconv/iconv_prog.c: Likewise.
12251         * iconv/iconvconfig.c: Likewise.
12252         * locale/programs/locale.c: Likewise.
12253         * locale/programs/localedef.c: Likewise.
12254         * login/programs/pt_chown.c: Likewise.
12255         * malloc/memusage.sh: Likewise.
12256         * malloc/memusagestat.c: Likewise.
12257         * malloc/mtrace.pl: Likewise.
12258         * manual/libc.texinfo: Likewise.
12259         * nscd/nscd.c: Likewise.
12260         * nss/getent.c: Likewise.
12261         * nss/makedb.c: Likewise.
12262         * posix/getconf.c: Likewise.
12263         * scripts/test-installation.pl: Likewise.
12264
12265         * All files with FSF copyright notices: Update copyright dates
12266         using scripts/update-copyrights.
12267         * intl/plural.c: Regenerated.
12268         * locale/programs/charmap-kw.h: Likewise.
12269         * locale/programs/locfile-kw.h: Likewise.
12270
12271 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12272
12273         * sysdeps/unix/sysv/linux/configure: Regenerated.
12274         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12275         the linux/fanotify.h header.
12276         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12277         HAVE_LINUX_FANOTIFY_H is defined.
12278
12279 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12280
12281         * benchtests/cos-inputs: New inputs.
12282         * benchtests/sin-inputs: Likewise.
12283
12284         * benchtests/atan-inputs: New inputs. Fix name of multiple
12285         precision fallback inputs.
12286
12287         * benchtests/atanh-inputs: New inputs.
12288         * benchtests/tanh-inputs: Likewise.
12289
12290         * benchtests/acosh-inputs: New inputs.
12291         * benchtests/asinh-inputs: Likewise.
12292
12293         * benchtests/cosh-inputs: New inputs.
12294         * benchtests/sinh-inputs: Likewise.
12295
12296         * benchtests/acos-inputs: Add more inputs.
12297         * benchtests/asin-inputs: Likewise.
12298
12299 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12300
12301         [BZ #16375]
12302         * manual/arith.texi: Fix spelling.
12303         * manual/charset.texi: Likewise.
12304         * manual/errno.texi: Likewise.
12305         * manual/filesys.texi: Likewise.
12306         * manual/lang.texi: Likewise.
12307         * manual/llio.texi: Likewise.
12308         * manual/locale.texi: Likewise.
12309         * manual/message.texi: Likewise.
12310         * manual/resource.texi: Likewise.
12311         * manual/search.texi: Likewise.
12312         * manual/setjmp.texi: Likewise.
12313         * manual/stdio.texi: Likewise.
12314         * manual/string.texi: Likewise.
12315         * manual/sysinfo.texi: Likewise.
12316         * manual/time.texi: Likewise.
12317
12318 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12319
12320         * po/sl.po: New file.
12321
12322 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12323
12324         * .gitignore: Add core/.gdbinit/.gdb_history.
12325
12326 2013-12-27  Allan McRae  <allan@archlinux.org>
12327
12328         [BZ #16369]
12329         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12330         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12331
12332 2013-12-24  Brooks Moses  <bmoses@google.com>
12333
12334         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12335         all compilers that claim C++98 compliance, not just GCC.
12336         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12337         Likewise.
12338
12339 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12340
12341         * NEWS: Restore accidentally deleted bug-fix entries.
12342
12343 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12344             Ondřej Bílka  <neleai@seznam.cz>
12345
12346         [BZ #15073]
12347         * malloc/malloc.c (_int_free): Perform sanity check only if we
12348         have_lock.
12349
12350 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12351
12352         [BZ #12986]
12353         * manual/stdio.texi (String Input Conversions): Clarify that character
12354         classes are not supported.
12355
12356 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12357
12358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12359
12360 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12361
12362         [BZ #16337]
12363         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12364         Calculate results for small negative arguments directly rather
12365         than using reflection formula with special underflow handling.
12366
12367         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12368         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12369         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12370         (fchflags): Likewise.
12371         (revoke): Likewise.
12372         (setlogin): Likewise.
12373         (sigaltstack): Likewise.
12374         (wait4): Likewise.
12375         (sigblock): Remove.
12376         (sigsetmask): Likewise.
12377         (wait3): Likewise.
12378         (waitpid): Likewise.
12379         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12380         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12381         file.
12382         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12383         * sysdeps/unix/bsd/Makefile: ... here.
12384         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12385         * sysdeps/unix/bsd/Versions: ... here.
12386         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12387         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12388         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12389         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12390         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12391         * sysdeps/unix/bsd/sigblock.c: ... here.
12392         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12393         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12394         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12395         * sysdeps/unix/bsd/sigvec.c: ... here.
12396         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12397         * sysdeps/unix/bsd/tcdrain.c: ... here.
12398         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12399         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12400         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12401         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12402         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12403         * sysdeps/unix/bsd/wait.c: ... here.
12404         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12405         * sysdeps/unix/bsd/wait3.c: ... here.
12406         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12407         * sysdeps/unix/bsd/waitpid.c: ... here.
12408
12409 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12410
12411         [BZ #16356]
12412         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12413         round-to-nearest for [!USE_AS_EXPM1L].
12414         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12415         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12416         more tests of exp and exp10.  Expect some exp10 tests to miss
12417         exceptions or fail in directed rounding modes.
12418         * math/auto-libm-test-out: Regenerated.
12419         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12420         (exp10_test_tonearest): New function.
12421         (exp10_towardzero_test_data): New array.
12422         (exp10_test_towardzero): New function.
12423         (exp10_downward_test_data): New array.
12424         (exp10_test_downward): New function.
12425         (exp10_upward_test_data): New array.
12426         (exp10_test_upward): New function.
12427         (main): Call the new functions.
12428         * sysdeps/i386/fpu/libm-test-ulps: Update.
12429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12430
12431 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12432
12433         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12434         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12435         * math/auto-libm-test-out: Regenerated.
12436         * math/libm-test.inc (acosh_test_data): Add more tests.
12437         (atanh_test_data): Likewise.
12438         (ceil_test_data): Likewise.
12439         (copysign_test_data): Likewise.
12440         * sysdeps/i386/fpu/libm-test-ulps: Update.
12441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12442
12443         * timezone/checktab.awk: Update from tzcode 2013i.
12444         * timezone/private.h: Likewise.
12445         * timezone/scheck.c: Likewise.
12446         * timezone/tzfile.h: Likewise.
12447         * timezone/tzselect.ksh: Likewise.
12448         * timezone/zdump.c: Likewise.
12449         * timezone/zic.c: Likewise.
12450
12451         * math/auto-libm-test-in: Add tests of cpow.
12452         * math/auto-libm-test-out: Regenerated.
12453         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12454         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12455         mpc_cc_c.
12456         (func_calc_desc): Add mpc_cc_c union field.
12457         (test_functions): Add cpow.
12458         (special_fill_2pi): New function.
12459         (special_real_inputs): Add 2pi.
12460         (calc_generic_results): Handle mpc_cc_c.
12461         * sysdeps/i386/fpu/libm-test-ulps: Update.
12462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12463
12464         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12465         csqrt, ctan and ctanh.
12466         * math/auto-libm-test-out: Regenerated.
12467         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12468         (TEST_COND_x86): Likewise.
12469         (ccos_test_data): Use AUTO_TESTS_c_c.
12470         (ccosh_test_data): Likewise.
12471         (cexp_test_data): Likewise.
12472         (clog_test_data): Likewise.
12473         (csqrt_test_data): Likewise.
12474         (ctan_test_data): Likewise.
12475         (ctan_tonearest_test_data): Likewise.
12476         (ctan_towardzero_test_data): Likewise.
12477         (ctan_downward_test_data): Likewise.
12478         (ctan_upward_test_data): Likewise.
12479         (ctanh_test_data): Likewise.
12480         (ctanh_tonearest_test_data): Likewise.
12481         (ctanh_towardzero_test_data): Likewise.
12482         (ctanh_downward_test_data): Likewise.
12483         (ctanh_upward_test_data): Likewise.
12484         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12485         mpc_c_c.
12486         (func_calc_desc): Add mpc_c_c union field.
12487         (FUNC_mpc_c_c): New macro.
12488         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12489         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12490         ctanh.
12491         (special_fill_min_subnorm_p120): New function.
12492         (special_real_inputs): Add min_subnorm_p120.
12493         (calc_generic_results): Handle mpc_c_c.
12494         * sysdeps/i386/fpu/libm-test-ulps: Update.
12495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12496
12497 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12498
12499         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12500         (do_sin_slow): New functions.
12501         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12502         (cslow2, csloww1, csloww2): Use the new functions.
12503
12504         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12505         Use M to change sign of result instead of X.  Assume X is
12506         positive.
12507         (csloww1): Likewise.
12508         (__sin): Adjust.
12509         (__cos): Adjust.
12510
12511         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12512         arguments A and DA.
12513         (__sin): Adjust.
12514         (__cos): Likewise.
12515
12516         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12517         (__cos): Likewise.
12518         (sloww1): Don't adjust sign of DX.
12519         (csloww1): Likewise.
12520         (sloww2): Use X directly and don't adjust sign of DX.
12521         (csloww2): Likewise.
12522
12523 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12524
12525         * math/auto-libm-test-in: Add tests of cabs and carg.
12526         * math/auto-libm-test-out: Regenerated.
12527         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12528         (carg_test_data): Likewise.
12529         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12530         mpc_c_f.
12531         (func_calc_desc): Add mpc_c_f union field.
12532         (test_functions): Add cabs and carg.
12533         (calc_generic_results): Handle mpc_c_f.
12534
12535         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12536         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12537         as a macro and a compat symbol.
12538         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12539         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12540         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12541         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12542         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12543         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12544         not use .hidden.
12545         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12546         Likewise.
12547         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12548         Likewise.
12549         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12550         Likewise.
12551         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12552         Likewise.
12553         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12554         Likewise.
12555         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12556         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12557         from GLIBC_2.3.2.
12558
12559 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12560
12561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12562
12563 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12564
12565         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12566         trailing whitespace removed.
12567         * scripts/config.guess: Update to version 2013-11-29.
12568         * scripts/config.sub: Update to version 2013-10-01.
12569
12570         * math/auto-libm-test-in: Add tests of sincos.
12571         * math/auto-libm-test-out: Regenerated.
12572         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12573         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12574         mpfr_f_11.
12575         (func_calc_desc): Add mpfr_f_11 union field.
12576         (test_functions): Add sincos.
12577         (calc_generic_results): Handle mpfr_f_11.
12578         * sysdeps/i386/fpu/libm-test-ulps: Update.
12579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12580
12581 2013-12-19  Andreas Schwab  <schwab@suse.de>
12582
12583         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12584         CALL_MCOUNT.
12585         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12586         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12587         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12588
12589 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12590
12591         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12592         * sysdeps/i386/fpu/libm-test-ulps: Update.
12593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12594
12595         [BZ #16293]
12596         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12597         round-to-nearest mode when using frndint.
12598         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12599         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12600         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12601         Likewise.
12602         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12603         sinh test to fail.
12604         * math/auto-libm-test-out: Regenerated.
12605         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12606         (TEST_COND_x86): Likewise.
12607         (expm1_tonearest_test_data): New array.
12608         (expm1_test_tonearest): New function.
12609         (expm1_towardzero_test_data): New array.
12610         (expm1_test_towardzero): New function.
12611         (expm1_downward_test_data): New array.
12612         (expm1_test_downward): New function.
12613         (expm1_upward_test_data): New array.
12614         (expm1_test_upward): New function.
12615         (main): Run the new test functions.
12616         * sysdeps/i386/fpu/libm-test-ulps: Update.
12617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12618
12619         * include/features.h: Update comment documenting feature test
12620         macros.  Mention _DEFAULT_SOURCE in comment.
12621         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12622         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12623         _BSD_SOURCE and _SVID_SOURCE.
12624         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12625         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12626         !_SVID_SOURCE]: Likewise.
12627         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12628         (__USE_POSIX_IMPLICITLY): Define.
12629         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12630         (_POSIX_SOURCE): Undefine and redefine.
12631         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12632         (_POSIX_C_SOURCE): Likewise.
12633         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12634         (Feature Test Macros): Update documentation of default features.
12635
12636 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12637
12638         * benchtests/Makefile: Add bench-strtok.
12639         * benchtests/bench-strtok.c: New file: strtok benchtest.
12640
12641 2013-12-19  Allan McRae  <allan@archlinux.org>
12642
12643         * manual/install.texi: Suppress menu for plain text output.
12644         * INSTALL: Regenerated.
12645
12646 2013-12-18  Brooks Moses  <bmoses@google.com>
12647
12648         [BZ #15846]
12649         * misc/getauxval.c: Include errno.h.
12650         (__getauxval): Set errno to ENOENT if the requested type is not
12651         found.
12652         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12653         don't declare with __attribute_const__.
12654         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12655         * manual/startup.texi: Document that getauxval sets errno.
12656
12657 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12658
12659         * math/auto-libm-test-in: Add tests of jn and yn.
12660         * math/auto-libm-test-out: Regenerated.
12661         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12662         (yn_test_data): Likewise.
12663         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12664         mpfr_if_f.
12665         (func_calc_desc): Add mpfr_if_f union field.
12666         (FUNC_mpfr_if_f): New macro.
12667         (test_functions): Add jn and yn.
12668         (calc_generic_results): Assert type of second input for
12669         mpfr_ff_f.  Handle mpfr_if_f.
12670         (output_for_one_input_case): Disable all checking for arguments
12671         fitting floating-point types in case of an integer argument.
12672         * sysdeps/i386/fpu/libm-test-ulps: Update.
12673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12674
12675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12676         Don't expect fegetround reference in libm.so.
12677
12678 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12679
12680         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12681         $(config-cflags-nofma).
12682
12683 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12684
12685         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12686         * math/auto-libm-test-out: Regenerated.
12687
12688         [BZ #16338]
12689         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12690         to determine exponent and adjust argument to have exponent of -1.
12691         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12692         log2.
12693         * math/auto-libm-test-out: Regenerated.
12694         * sysdeps/i386/fpu/libm-test-ulps: Update.
12695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12696
12697 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12698
12699         * manual/probes.texi: Remove cases when per-thread arenas are
12700         disabled.
12701
12702 2013-12-18  Andreas Schwab  <schwab@suse.de>
12703
12704         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12705         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12706         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12707         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12708         * sysdeps/i386/i686/multiarch/Makefile: Update.
12709         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12710
12711 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12712
12713         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12714         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12715
12716 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12717
12718         [BZ #15968]
12719         Support TZ transition times < 00:00:00.
12720         This is needed for version-3 tz-format files; it supports time
12721         stamps past 2037 for America/Godthab (the only entry in the tz
12722         database for which this change is relevant).
12723         * manual/time.texi (TZ Variable): Document transition times
12724         from -167:59:59 through -00:00:01.
12725         * time/tzset.c (tz_rule): Time of day is now signed.
12726         (__tzset_parse_tz): Parse negative time of day.
12727
12728         Document TZ transition times >= 25:00:00.
12729         * manual/time.texi (TZ Variable): Document transition times from
12730         25:00:00 through 167:59:59.  These are already supported, and this
12731         support will help with version-3 tz-format files.
12732
12733         * manual/time.texi (TZ Variable): Modernize North America example
12734         to reflect current (i.e., 2007-and-later) daylight saving rules.
12735
12736         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12737
12738 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12739
12740         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12741         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12742         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12743         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12744         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12745         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12746         * sysdeps/unix/bsd/clock.c: Likewise.
12747         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12748         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12749         * sysdeps/unix/bsd/init-posix.c: Likewise.
12750         * sysdeps/unix/bsd/poll.c: Likewise.
12751         * sysdeps/unix/bsd/ptsname.c: Likewise.
12752         * sysdeps/unix/bsd/seekdir.c: Likewise.
12753         * sysdeps/unix/bsd/setegid.c: Likewise.
12754         * sysdeps/unix/bsd/seteuid.c: Likewise.
12755         * sysdeps/unix/bsd/setgid.c: Likewise.
12756         * sysdeps/unix/bsd/setrgid.c: Likewise.
12757         * sysdeps/unix/bsd/setruid.c: Likewise.
12758         * sysdeps/unix/bsd/setsid.c: Likewise.
12759         * sysdeps/unix/bsd/setuid.c: Likewise.
12760         * sysdeps/unix/bsd/sigaction.c: Likewise.
12761         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12762         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12763         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12764         * sysdeps/unix/bsd/telldir.c: Likewise.
12765         * sysdeps/unix/bsd/times.c: Likewise.
12766         * sysdeps/unix/bsd/usleep.c: Likewise.
12767
12768         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12769         ($(objpfx)libbsd-compat.a): Remove rule.
12770
12771         * include/features.h (__FAVOR_BSD): Do not define.
12772         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12773         features conflicting with POSIX.
12774         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12775         (_BSD_SOURCE): Remove description of not being a subset of other
12776         feature test macros.
12777         * manual/job.texi (getpgrp): Do not document BSD version.
12778         (getpgid): Do not document by reference to BSD getpgrp.
12779         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12780         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12781         * signal/signal.h [__FAVOR_BSD]: Likewise.
12782         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12783         instead of making contents conditional on [__FAVOR_BSD].
12784         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12785
12786 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12787
12788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12789
12790 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12791
12792         [BZ #16314]
12793         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12794         values below 2**-450, not 2**-500.
12795         * math/auto-libm-test-in: Don't allow spurious underflow from
12796         hypot.
12797         * math/auto-libm-test-out: Regenerated.
12798
12799         [BZ #16316]
12800         [BZ #16330]
12801         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12802         values of ha and hb and sort them after adjusting subnormal
12803         arguments.
12804         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12805         Likewise.
12806         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12807         values of ea and eb and sort them after adjusting subnormal
12808         arguments.
12809         * math/auto-libm-test-in: Do not expect some hypot tests of
12810         subnormals to fail.  Add more hypot tests.
12811         * math/auto-libm-test-out: Regenerated.
12812
12813 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12814
12815         [BZ #13304]
12816         * sysdeps/sh/s_fma.c: New file.
12817         * sysdeps/sh/s_fmaf.c: New file.
12818         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12819         version.
12820         * sysdeps/sh/Implies: Add sh/soft-fp.
12821
12822 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12823
12824         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12825         level of indirection to members `objname', `errstring', `malloced'.
12826         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12827         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12828         it as the __longjmp argument (just pass 1 instead).
12829         (_dl_catch_error): Initialize C with argument pointers and address of
12830         volatile local ERRCODE rather than copying values out of C at return.
12831
12832 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12833
12834         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12835         * math/auto-libm-test-out: Regenerated.
12836         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12837         (hypot_test_data): Likewise.
12838         (pow_test_data): Likewise.
12839         (pow_tonearest_test_data): Likewise.
12840         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12841         mpfr_ff_f.
12842         (func_calc_desc): Add mpfr_ff_f union field.
12843         (FUNC_mpfr_ff_f): New macro.
12844         (test_functions): Add atan2, hypot and pow.
12845         (special_fill_min): New function.
12846         (special_fill_minus_min): Likewise.
12847         (special_fill_min_subnorm): Likewise.
12848         (special_fill_minus_min_subnorm): Likewise.
12849         (special_real_inputs): Add min, -min, min_subnorm and
12850         -min_subnorm.
12851         (calc_generic_results): Handle mpfr_ff_f.
12852         * sysdeps/i386/fpu/libm-test-ulps: Update.
12853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12854
12855 2013-12-16  Will Newton  <will.newton@linaro.org>
12856
12857         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12858         (Aligned Memory Blocks): Add documentation for aligned_alloc
12859         and suggest it as an alternative to posix_memalign.
12860         (Hooks for Malloc): Document __memalign_hook is also called
12861         for aligned_alloc.  (Summary of Malloc): Add summary for
12862         aligned alloc.  Document __memalign_hook is also called
12863         for aligned_alloc.
12864
12865 2013-12-16  Will Newton  <will.newton@linaro.org>
12866
12867         * manual/memory.texi (Malloc Examples): Clarify default
12868         alignment documentation.  Suggest posix_memalign rather
12869         than memalign or valloc.
12870         (Aligned Memory Blocks): Remove suggestion to use memalign
12871         or valloc.  Remove obsolete comment about BSD.
12872         Document memalign errno values and mark the function obsolete.
12873         Document posix_memalign returned error codes.  Mark valloc
12874         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12875         called for posix_memalign and valloc.
12876         (Summary of Malloc): Add posix_memalign to function summary.
12877         __memalign_hook is also called for posix_memalign and valloc.
12878
12879 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12880
12881         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12882         TAYLOR_SIN.
12883         (__sin): Adjust.
12884         (__cos): Likewise.
12885         (sloww): Use mynumber union.  Expand ternary operator into
12886         if-else statements.
12887         (cslow): use mynumber union.
12888
12889 2013-12-16  Allan McRae  <allan@archlinux.org>
12890
12891         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12892         * configure: Regenerated.
12893
12894         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12895
12896         [BZ #14120]
12897         * configure.ac: Added --enable-maintainer-mode. Check for
12898         autoconf when enabled.
12899         * configure: Regenerated.
12900
12901         * nscd/nscd.service: New file.
12902         * nscd/nscd.tmpfiles: New file.
12903
12904 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12905
12906         [BZ #12100]
12907         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12908         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12909         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12910         (strstr): Add __strstr_sse2_unaligned ifunc.
12911         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12912         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12913         (strcasestr): Remove __strcasestr_sse42 ifunc.
12914         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12915         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12917
12918 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12919
12920         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12921         * sysdeps/sh/bits/fenv.h: ... here.
12922         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12923
12924 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12925
12926         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12927
12928         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12929         hypotf multiarch implementations.
12930         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12931         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12932         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12933         multiarch hypot for PPC64.
12934         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12935         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12936         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12937         multiarch hypotf for PPC64.
12938
12939         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12940         modff multiarch implementations.
12941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12944         multiarch modf for PPC64.
12945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12948         multiarch modff for PPC64.
12949
12950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12951         and logl multiarch implementations.
12952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12955         multiarch logb for PPC64.
12956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12959         multiarch logb for PPC64.
12960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12963         multiarch logb for PPC64.
12964
12965         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12966         isinff multiarch implementation.
12967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12968         file.
12969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12971         multiarch isinf for PPC64.
12972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12973         file.
12974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12975         multiarch isinff for PPC64.
12976
12977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12978         finitef multiarch implementation.
12979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12980         file.
12981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12983         multiarch finite for PPC64.
12984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12985         file.
12986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12987         multiarch finitef for PPC64.
12988
12989         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12990         lrint multiarch implementation.
12991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12992         file.
12993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12995         multiarch llrint for PPC64.
12996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12997         multiarch lrint for PPC64.
12998
12999         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13000         copysignf multiarch implementation.
13001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13002         file.
13003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13004         file.
13005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13006         multiarch copysign for PPC64.
13007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13008         multiarch copysignf for PPC64.
13009
13010         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13011         multiarch implementation.
13012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13013         file.
13014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13015         file.
13016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13017         file.
13018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13019         file.
13020         multiarch llround for PPC64.
13021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13022         multiarch trunc for PPC64.
13023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13024         multiarch truncf for PPC64.
13025
13026         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13027         multiarch implementation.
13028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13029         file.
13030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13031         file.
13032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13033         file.
13034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13035         file.
13036         multiarch llround for PPC64.
13037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13038         multiarch round for PPC64.
13039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13040         multiarch roundf for PPC64.
13041
13042         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13043         multiarch implementation.
13044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13045         file.
13046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13047         file.
13048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13049         file.
13050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13051         file.
13052         multiarch llround for PPC64.
13053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13054         multiarch floor for PPC64.
13055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13056         multiarch floorf for PPC64.
13057
13058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13059         multiarch implementation.
13060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13061         file.
13062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13063         file.
13064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13065         file.
13066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13067         file.
13068         multiarch llround for PPC64.
13069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13070         multiarch ceil for PPC64.
13071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13072         multiarch ceilf for PPC64.
13073
13074         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13075         multiarch implementation.
13076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13077         file.
13078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13079         file.
13080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13081         file.
13082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13083         multiarch llround for PPC64.
13084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13085         multiarch lround for PPC64.
13086
13087         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13088         multiarch implementation.
13089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13092         file.
13093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13096         multiarch isnan for PPC64.
13097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13098         multiarch isnanf for PPC64.
13099
13100         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13101         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13102         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13103         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13104         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13106
13107         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13108         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13109         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13110         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13111
13112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13113         multiarch implementations.
13114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13115         (__libc_ifunc_impl_list): Likewise.
13116         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13117         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13118         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13119         multiarch stpcpy for PPC64.
13120
13121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13122         multiarch implementations.
13123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13124         (__libc_ifunc_impl_list): Likewise.
13125         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13126         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13127         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13128         multiarch strcpy for PPC64.
13129
13130         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13131         redefine function name.
13132         (_wordcopy_fwd_dest_aligned): Likewise.
13133         (_wordcopy_bwd_aligned): Likewise.
13134         (_wordcopy_bwd_dest_aligned): Likewise.
13135         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13136         multiarch implementations.
13137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13138         (__libc_ifunc_impl_list): Likewise.
13139         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13140         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13141         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13142         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13143         multiarch wcscpy for PPC64.
13144
13145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13146         multiarch implementations.
13147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13148         (__libc_ifunc_impl_list): Likewise.
13149         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13150         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13151         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13152         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13153         multiarch wcscpy for PPC64.
13154
13155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13156         multiarch implementations.
13157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13158         (__libc_ifunc_impl_list): Likewise.
13159         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13160         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13161         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13162         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13163         multiarch wcsrchr for PPC64.
13164
13165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13166         multiarch implementations.
13167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13168         (__libc_ifunc_impl_list): Likewise.
13169         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13170         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13171         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13172         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13173         multiarch wcschr for PPC64.
13174
13175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13176         multiarch implementations.
13177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13178         (__libc_ifunc_impl_list): Likewise.
13179         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13180         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13181         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13182         multiarch strchrnul for PPC64.
13183
13184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13185         implementations.
13186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13187         (__libc_ifunc_impl_list): Likewise.
13188         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13189         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13190         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13191         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13192         strchr for PPC64.
13193
13194         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13195         implementations.
13196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13197         (__libc_ifunc_impl_list): Likewise.
13198         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13199         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13200         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13201         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13202         strncmp for PPC64.
13203
13204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13205         multiarch implementations.
13206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13207         (__libc_ifunc_impl_list): Likewise.
13208         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13209         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13210         strncasecmp for PPC64.
13211         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13212         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13213         multiarch strncasecmp_l for PPC64.
13214
13215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13216         multiarch implementations.
13217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13218         (__libc_ifunc_impl_list): Likewise.
13219         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13220         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13221         multiarch strcasecmp for PPC64.
13222         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13223         file.
13224         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13225         multiarch strcasecmp_l for PPC64.
13226
13227         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13228         implementations.
13229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13230         (__libc_ifunc_impl_list): Likewise.
13231         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13232         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13233         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13234         strnlen for PPC64.
13235
13236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13237         implementations.
13238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13239         (__libc_ifunc_impl_list): Likewise.
13240         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13241         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13242         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13243         strlen for PPC64.
13244
13245         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13246         implementations.
13247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13248         (__libc_ifunc_impl_list): Likewise.
13249         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13250         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13251         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13252         rawmemrchr for PPC64.
13253
13254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13255         implementation.
13256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13257         (__libc_ifunc_impl_list): Likewise.
13258         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13259         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13260         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13261         memrchr for PPC64.
13262
13263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13264         implementation.
13265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13266         (__libc_ifunc_impl_list): Likewise.
13267         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13268         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13269         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13270         memchr for PPC64.
13271
13272         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13273         implementation.
13274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13275         (__libc_ifunc_impl_list): Likewise.
13276         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13277         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13278         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13279         mempcpy for PPC64.
13280
13281         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13282         avoid cretion of __bzero symbol.
13283         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13284         Likewise.
13285         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13286         Likewise.
13287         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13288         Likewise.
13289         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13290         multiarch implementations.
13291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13292         (__libc_ifunc_impl_list): Likewise.
13293         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13294         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13295         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13296         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13297         bzero for PPC32.
13298         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13299         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13300         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13301         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13302         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13303         memset for PPC64.
13304         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13305
13306         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13308         implementations.
13309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13310         (__libc_ifunc_impl_list): Likewise.
13311         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13312         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13313         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13314         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13315         memcmp for PPC64.
13316
13317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13318         multiarch for POWER/PPC64.
13319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13320         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13321         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13322         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13323         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13324         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13325         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13326         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13327         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13328         memcpy for PPC64.
13329
13330         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13331         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13332         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13333         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13334         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13335         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13336         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13337         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13338         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13339         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13340         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13341         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13342         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13343         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13344         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13352
13353 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13354
13355         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13356
13357 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13358
13359         * benchtests/Makefile (bench): Add exp2 and log2.
13360         (LDLIBS-bench-exp2): Add -lm.
13361         (LDLIBS-bench-log2): Likewise.
13362         * benchtests/exp2-inputs: New inputs file.
13363         * benchtests/log2-inputs: New inputs file.
13364         * benchtests/log-inputs: Add new inputs.
13365         * benchtests/tan-inputs: Likewise.
13366
13367 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13368
13369         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13370         definition...
13371         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13372         (csloww2): ... from here.
13373
13374         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13375         instead of structures.
13376         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13377         (POLYNOMIAL): Likewise.
13378         (TAYLOR_SLOW): Likewise.
13379         (__sin): Likewise.
13380         (__cos): Likewise.
13381         (slow1): Likewise.
13382         (slow2): Likewise.
13383         (sloww): Likewise.
13384         (sloww1); Likewise.
13385         (sloww2): Likewise.
13386         (bsloww1): Likewise.
13387         (bsloww2): Likewise.
13388         (cslow2): Likewise.
13389         (csloww): Likewise.
13390         (csloww1): Likewise.
13391         (csloww2): Likewise.
13392
13393 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13394
13395         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13396         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13397         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13398         * malloc/hooks.c (realloc_check): Likewise.
13399
13400         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13401         * malloc/arena.c: Remove PER_THREAD conditional.
13402         [!PER_THREAD]: Remove code.
13403         (ptmalloc_unlock_all2): Likewise.
13404         (ptmalloc_init): Likewise.
13405         (_int_new_arena): Likewise.
13406         (arena_get2): Likewise.
13407         * malloc/hooks.c (__malloc_get_state): Likewise.
13408         (__malloc_set_state): Likewise.
13409         * malloc/malloc.c: Likewise.
13410         (struct malloc_state): Likewise.
13411         (struct malloc_par): Likewise.
13412         (__libc_realloc): Likewise.
13413         (__libc_mallopt): Likewise.
13414
13415 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13416
13417         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13418
13419 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13420
13421         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13422         macro to a function.  Check for zero perturb_byte.
13423         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13424
13425         * malloc/malloc.c: (force_reg): Remove.
13426         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13427         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13428         force_reg by atomic_forced_read.
13429         * malloc/arena.c (ptmalloc_init): Likewise.
13430         * malloc/hooks.c (top_check): Likewise.
13431
13432 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13433
13434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13435
13436 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13437
13438         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13439
13440 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13441
13442         * math/auto-libm-test-in: Add tests of lgamma.
13443         * math/auto-libm-test-out: Regenerated.
13444         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13445         (M_LOG_2_SQRT_PIl): Likewise.
13446         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13447         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13448         mpfr_f_f1.
13449         (func_calc_desc): Add mpfr_f_f1 union field.
13450         (ARGS1): New macro.
13451         (ARGS2): Likewise.
13452         (ARGS3): Likewise.
13453         (ARGS4): Likewise.
13454         (RET1): Likewise.
13455         (RET2): Likewise.
13456         (CALC): Likewise.
13457         (FUNC): Likewise.
13458         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13459         (test_functions): Add lgamma.
13460         (calc_generic_results): Handle mpfr_f_f1.
13461         * sysdeps/i386/fpu/libm-test-ulps: Update.
13462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13463
13464 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13465
13466         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13467         __mpn_add_n for PowerPC64/POWER7.
13468         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13469         __mpn_sub_n for PowerPC64/POWER7.
13470
13471         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13472         __mpn_addmul_1 for PowerPC64.
13473         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13474         __mpn_submul_1 for PowerPC64.
13475         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13476         for PowerPC64.
13477         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13478         for PowerPC64.
13479
13480 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13481
13482         [BZ #15089]
13483         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13484
13485 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13486
13487         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13488
13489         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13490         add multiarch folders.
13491         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13492         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13493         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13494         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13495         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13496         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13497         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13498         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13499         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13500         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13501         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13508
13509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13510         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13512         New file.
13513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13514         New file.
13515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13516         multiarch __ieee754_hypot for PowerPC32.
13517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13518         New file.
13519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13520         New file.
13521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13522         multiarch __ieee754_hypotf for PowerPC32.
13523
13524         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13525         long_double_symbol only if __logbl is defined.
13526         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13527         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13528         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13529         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13530         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13531         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13532         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13533         path for implementation.
13534         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13535         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13537         logb, and logbl multiarch implementations for PowerPC32.
13538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13539         file.
13540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13541         file.
13542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13543         multiarch logb for PowerPC32.
13544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13545         file.
13546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13547         file.
13548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13549         multiarch logbf for PowerPC32.
13550         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13552         file.
13553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13554         multiarch logbl implementation for PowerPC32.
13555
13556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13557         and modff multiarch implementations.
13558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13559         New file.
13560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13561         New file.
13562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13563         multiarch modf for PowerPC32.
13564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13565         New file.
13566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13567         New file.
13568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13569         multiarch modff for PowerPC32.
13570
13571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13572         and lrintf multiarch implementations.
13573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13574         New file.
13575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13576         New file.
13577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13578         multiarch lrint for PowerPC32.
13579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13580         file: multiarch lrintf for PowerPC32.
13581
13582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13583         and lroundf multiarch implementations.
13584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13585         New file.
13586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13587         New file.
13588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13589         New file.
13590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13591         multiarch lround for PowerPC32.
13592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13593         file: multiarch lroundf for PowerPC32.
13594
13595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13596         copysign and copysignf multiarch implementations.
13597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13598         New file.
13599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13600         New file.
13601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13602         file: multiarch copysign for PowerPC32.
13603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13604         file: multiarch copysignf for PowerPC32.
13605
13606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13607         and truncf multiarch implementations.
13608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13609         New file.
13610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13611         file.
13612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13613         multiarch trunc for PowerPC32.
13614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13615         New file.
13616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13617         New file.
13618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13619         multiarch truncf for PowerPC32.
13620
13621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13622         and roundf multiarch implementations.
13623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13624         New file.
13625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13626         file.
13627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13628         multiarch round for PowerPC32.
13629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13630         New file.
13631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13632         New file.
13633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13634         multiarch roundf for PowerPC32.
13635
13636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13637         and floorf multiarch implementations.
13638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13639         New file.
13640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13641         file.
13642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13643         multiarch floor for PowerPC32.
13644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13645         New file.
13646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13647         New file.
13648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13649         multiarch floorf for PowerPC32.
13650
13651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13652         and ceilf multiarch implementations.
13653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13654         New file.
13655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13656         file.
13657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13658         multiarch ceil for PowerPC32.
13659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13660         New file.
13661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13662         file.
13663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13664         multiarch ceilf for PowerPC32.
13665
13666         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13667         is defined.
13668         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13669         FINITEF is defined.
13670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13671         and finitef multiarch implementations.
13672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13673         New file.
13674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13675         file.
13676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13677         multiarch finite for PowerPC32.
13678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13679         New file.
13680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13681         file: multiarch finitef for PowerPC32.
13682
13683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13684         and isinff multiarch implementations.
13685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13686         file.
13687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13688         file.
13689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13690         multiarch isinf for PowerPC32.
13691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13692         New file.
13693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13694         multiarch isinff for PowerPC32.
13695
13696         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13697         alias when __isnan is defined.
13698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13699         and isnanf multiarch implementations.
13700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13701         file.
13702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13703         file.
13704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13705         file.
13706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13707         file.
13708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13709         multiarch isnan for PowerPC32.
13710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13711         New file.
13712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13713         New file.
13714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13715         multiarch isnanf for PowerPC32.
13716
13717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13718         and sqrtf multiarch implementations.
13719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13720         file.
13721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13722         file.
13723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13724         multiarch sqrt for PowerPC32.
13725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13726         file.
13727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13728         file.
13729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13730         multiarch sqrtf for PowerPC32.
13731
13732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13733         and llroundf multiarch implementations.
13734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13735         New file.
13736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13737         New file.
13738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13739         New file.
13740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13741         file: multiarch llround for PowerPC32.
13742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13743         file: multiarch llroundf for PowerPC32.
13744
13745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13746         multiarch PowerPC32 fpu implementations.
13747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13748         New file.
13749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13750         New file.
13751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13752         multiarch llrint for PowerPC32.
13753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13754         New file.
13755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13756         New file.
13757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13758         file.
13759
13760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13761
13762         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13763         file.
13764         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13765         file.
13766         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13767         file.
13768         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13769         multiarch wordcopy for PPC32.
13770         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13771         wordcopy objects.
13772         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13773         (__libc_ifunc_impl_list): Likewise.
13774         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13775         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13776         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13777         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13778         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13779         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13780
13781         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13782         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13783         file.
13784         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13785         file.
13786         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13787         file.
13788         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13789         multiarch wcscpy for PPC32.
13790         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13791         multiarch objects.
13792         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13793         (__libc_ifunc_impl_list): Likewise.
13794         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13795         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13796         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13797         sysdeps/powerpc/power6/wcscpy.c.
13798
13799         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13800         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13801         file.
13802         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13803         file.
13804         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13805         file.
13806         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13807         multiarch wcsrchr for PPC32.
13808         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13809         multiarch objects.
13810         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13811         (__libc_ifunc_impl_list): Likewise.
13812         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13813         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13814         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13815         sysdeps/powerpc/power6/wcsrchr.c.
13816
13817         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13818         file.
13819         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13820         file.
13821         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13823         multiarch wcschr for PPc32.
13824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13825         multiarch objects.
13826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13827         (__libc_ifunc_impl_list): Likewise.
13828         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13829         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13830         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13831         sysdeps/powerpc/power6/wcschr.c.
13832
13833         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13834         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13835         file.
13836         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13837         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13838         file: multiarch strchr for PPC32.
13839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13840         multiarch objects.
13841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13842         (__libc_ifunc_impl_list): Likewise.
13843
13844         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13845         name.
13846         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13847         file.
13848         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13849         file.
13850         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13851         multiarch strchrnul for PPC32.
13852         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13853         multiarch objects.
13854         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13855         (__libc_ifunc_impl_list): Likewise.
13856
13857         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13858         file.
13859         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13860         multiarch strncasecmp for PPC32.
13861         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13862         file.
13863         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13864         multiarch strncasecmp_l for PPC32.
13865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13866         strncasecmp multiarch objects.
13867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13868         (__libc_ifunc_impl_list): Likewise.
13869
13870         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13871         file.
13872         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13873         multiarch strncasecmp for PPC32.
13874         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13875         New file.
13876         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13877         multiarch strcasecmp_l for PPC32.
13878         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13879         multiarch objects.
13880         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13881         (__libc_ifunc_impl_list): Likewise.
13882
13883         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13884         file.
13885         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13886         file.
13887         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13888         multiarch strncmp for PPC32.
13889         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13890         multiarch objects.
13891         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13892         (__libc_ifunc_impl_list): Likewise.
13893
13894         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13895         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13896         file.
13897         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13898         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13899         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13900         multiarch objects.
13901         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13902         (__libc_ifunc_impl_list): Likewise.
13903
13904         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13905         file.
13906         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13907         file.
13908         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13909         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13910         multiarch objects.
13911         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13912         (__libc_ifunc_impl_list): Likewise.
13913
13914         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13915         file.
13916         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13917         file.
13918         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13919         multiarch rawmemchr for PPC32.
13920         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13921         multiarch objects.
13922         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13923         (__libc_ifunc_impl_list): Likewise.
13924
13925         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13926         file.
13927         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13928         file.
13929         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13930         file: memrchr multiarch for PPC32.
13931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13932         multiarch objects.
13933         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13934         (__libc_ifunc_impl_list): Likewise.
13935
13936         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13937         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13938         file.
13939         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13940         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13941         multiarch memchr for PPC32.
13942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13943         multiarch objects.
13944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13945         (__libc_ifunc_impl_list): Likewise.
13946
13947         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13948         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13949         file.
13950         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13951         file.
13952         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13953         file: multiarch mempcpy for PPC32.
13954         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13955         multiarch objects.
13956         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13957         (__libc_ifunc_impl_list): Likewise.
13958
13959         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13960         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13961         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13962         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13963         multiarch bzero for PPC32.
13964         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13965         file.
13966         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13967         file.
13968         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13969         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13970         file: multiarch memset for PPC32.
13971         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13972         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13973         memset multiarch objects.
13974         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13975         (__libc_ifunc_impl_list): Likewise.
13976
13977         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13978         file.
13979         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13980         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13981         memcmp for PPC32.
13982         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13983         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13984         multiarch objects.
13985         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13986         (__libc_ifunc_impl_list): Likewise.
13987
13988         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13989         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13990         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13991         file.
13992         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13993         file.
13994         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13995         file.
13996         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13997         multiarch memcpy for PPC32.
13998         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13999         multiarch objects.
14000         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14001         (__libc_ifunc_impl_list): Likewise.
14002
14003         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14004         support multiarch for POWER/PPC32.
14005         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14006         Likewise.
14007         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14009         Implies file to make multiarch folder appers before the fpu and
14010         default folder for power4 configuration.
14011
14012 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14013
14014         * scripts/bench.pl: Append volatile keyword to type.
14015
14016 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14017
14018         * sysdeps/sh/sotruss-lib.c: New file.
14019         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14020
14021 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14022
14023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14024
14025 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14026
14027         [BZ #6810]
14028         * math/w_tgamma.c: Include <errno.h>.
14029         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14030         * math/w_tgammaf.c: Include <errno.h>.
14031         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14032         * math/w_tgammal.c: Include <errno.h>.
14033         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14034         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14035         underflow.  Add more tgamma tests.
14036         * math/auto-libm-test-out: Regenerated.
14037         * sysdeps/i386/fpu/libm-test-ulps: Update.
14038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14039
14040         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14041         sin, sinh, tan, tanh, tgamma, y0 and y1.
14042         * math/auto-libm-test-out: Regenerated.
14043         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14044         (TEST_COND_x86): Likewise.
14045         (M_E2l): Remove macro.
14046         (M_E3l): Likewise.
14047         (M_2_SQRT_PIl): Likewise.
14048         (M_SQRT_PIl): Likewise.
14049         (M_1_DIV_El): Likewise.
14050         (log_test_data): Use AUTO_TESTS_f_f.
14051         (log10_test_data): Likewise.
14052         (log1p_test_data): Likewise.
14053         (log2_test_data): Likewise.
14054         (sin_test_data): Likewise.
14055         (sin_tonearest_test_data): Likewise.
14056         (sin_towardzero_test_data): Likewise.
14057         (sin_downward_test_data): Likewise.
14058         (sin_upward_test_data): Likewise.
14059         (sinh_test_data): Likewise.
14060         (sinh_tonearest_test_data): Likewise.
14061         (sinh_towardzero_test_data): Likewise.
14062         (sinh_downward_test_data): Likewise.
14063         (sinh_upward_test_data): Likewise.
14064         (tan_test_data): Likewise.
14065         (tan_tonearest_test_data): Likewise.
14066         (tan_towardzero_test_data): Likewise.
14067         (tan_downward_test_data): Likewise.
14068         (tan_upward_test_data): Likewise.
14069         (tanh_test_data): Likewise.
14070         (tgamma_test_data): Likewise.
14071         (y0_test_data): Likewise.
14072         (y1_test_data): Likewise.
14073         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14074         (special_real_inputs): Add pi/4.
14075         * sysdeps/i386/fpu/libm-test-ulps: Update.
14076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14077
14078 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14079
14080         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14081         "longjmp_target" static probes.
14082         (__longjmp): Rename to __longjmp_symbol.
14083         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14084         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14085         on which longjmp to generate.
14086         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14087         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14088         probe.
14089         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14090         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14091         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14092         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14093         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14094         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14096         __longjmp_symbol based on which __longjmp to generate.
14097         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14098         probe.
14099         (setjmp): Rename to setjmp_symbol.
14100         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14101         (_setjmp): Rename to _setjmp_symbol.
14102         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14103         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14104         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14105         which setjmp to generate.
14106         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14107         "longjmp_target" static probes.
14108
14109 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14110
14111         * benchtests/README: Add note about output arguments.
14112         * benchtests/bench-sincos.c: Remove file.
14113         * benchtests/sincos-inputs: New file.
14114         * scripts/bench.pl: Identify output arguments and define
14115         static variables for them.
14116
14117         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14118
14119         [BZ #15941]
14120         * Makefile (INSTALL): Add install-plain.texi as the primary
14121         dependency.
14122         * manual/install-plain.texi: New file.
14123         * manual/install.texi: Include node directive only for
14124         non-plaintext output.
14125
14126 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14127
14128         * stdlib/longlong.h: Update from GCC.
14129
14130         [BZ #6807]
14131         [BZ #15901]
14132         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14133         * math/w_j0f.c (y0f): Likewise.
14134         * math/w_j0l.c (__y0l): Likewise.
14135         * math/w_j1.c (y1): Likewise.
14136         * math/w_j1f.c (y1f): Likewise.
14137         * math/w_j1l.c (__y1l): Likewise
14138         * math/w_jn.c (yn): Likewise.
14139         * math/w_jnf.c (ynf): Likewise.
14140         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14141         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14142         value for Bessel function domain errors outside _SVID_ mode.
14143         Adjust sign of return value for yn (negative integer, 0).
14144         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14145         by zero in return for negative x and set sign appropriately for
14146         negative n.
14147         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14148         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14149         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14150         expectations in error cases.
14151         (y1_test_data): Likewise.
14152         (yn_test_data): Likewise.
14153         * sysdeps/i386/fpu/libm-test-ulps: Update.
14154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14155
14156 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14157
14158         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14159         "64" to "64-v1".  Add "64-v2".
14160         (abi-64-options): Rename to ...
14161         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14162         (abi-64-condition): Rename to ...
14163         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14164         (abi-64-ld-soname): Rename to ...
14165         (abi-64-v1-ld-soname): ... this.
14166         (abi-64-v2-options): Define.
14167         (abi-64-v2-condition): Likewise.
14168         (abi-64-v2-ld-soname): Likewise.
14169         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14170         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14174
14175 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14176             Alan Modra  <amodra@gmail.com>
14177
14178         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14179         New versions for use with the ELFv2 ABI.
14180         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14181         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14182         declaration.
14183         (struct La_ppc64v2_retval): Likewise.
14184         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14185         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14186         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14187         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14188         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14189         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14190         Do not save or restore CR.
14191         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14192         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14193         return values for ELFv2 ABI.  Fix location of FPR return registers.
14194         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14195         updated values for _CALL_ELF == 2.
14196         (La_regs, La_retval, int_retval): Likewise.
14197
14198 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14199
14200         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14201         (FRAME_MIN_SIZE_PARM): Likewise.
14202         (FRAME_BACKCHAIN): Likewise.
14203         (FRAME_CR_SAVE): Likewise.
14204         (FRAME_LR_SAVE): Likewise.
14205         (FRAME_TOC_SAVE): Likewise.
14206         (FRAME_PARM_SAVE): Likewise.
14207         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14208         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14209         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14210         (call_mcount_parm_offset): New macro.
14211         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14212         (PROF): Use symbolic stack frame offsets.
14213         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14214         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14215         Redefine in terms of FRAME_MIN_SIZE.
14216         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14217         (_dl_profile_resolve): Likewise.  Update comment.
14218         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14219         symbols stack frame offsets.
14220         (__sigsetjmp): Likewise.
14221         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14222         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14223         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14224         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14225
14226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14227         (FRAME_BACKCHAIN): Remove.
14228         (FRAME_CR_SAVE): Likewise.
14229         (FRAME_LR_SAVE): Likewise.
14230         (FRAME_COMPILER_DW): Likewise.
14231         (FRAME_LINKER_DW): Likewise.
14232         (FRAME_TOC_SAVE): Likewise.
14233         (FRAME_PARM_SAVE): Likewise.
14234         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14235         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14236         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14238         (CHECK_SP): Use symbolic stack frame offsets.
14239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14240         zone" instead of caller's parameter save area for temp storage.
14241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14242         Likewise.  Also, use symbolic stack frame offsets.
14243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14244         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14245         our own stack frame instead of the caller's.
14246         (__socket): Use symbolic stack frame offsets.
14247
14248 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14249             Alan Modra  <amodra@gmail.com>
14250
14251         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14252         Define.
14253         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14254         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14255         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14256         New function.
14257         (elf_machine_fixup_plt): Call it.
14258         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14259         reloc arguments.
14260         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14261         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14262         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14263         r2 before calling target.
14264
14265 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14266             Alan Modra  <amodra@gmail.com>
14267
14268         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14269         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14270         versions of macros to support ELFv2 ABI.
14271         (LOCALENTRY): New macro.
14272         (ENTRY, EALIGN): Use it.
14273         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14274         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14275         fall through into ENTRY entry point.
14276         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14277         Only define if _CALL_ELF != 2.
14278
14279         (elf_machine_matches_host): Verify ABI version matches.
14280         (RTLD_START): Use LOCALENTRY.
14281         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14282         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14283         (PLT_ENTRY_WORDS): New macro.
14284         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14285         (elf_machine_runtime_setup): Support ELFv2 ABI.
14286         (elf_machine_fixup_plt): Likewise.
14287         (elf_machine_plt_conflict): Likewise.
14288         (resolve_ifunc): Likewise.
14289         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14290         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14291         Likewise.
14292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14293         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14295         (makecontext): Support ELFv2 ABI.
14296         * elf/elf.h (EF_PPC64_ABI): Define.
14297
14298 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14299
14300         * sysdeps/powerpc/powerpc64/sysdep.h
14301         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14302         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14303         (ENTRY) [ASSEMBLER]: ... but instead here ...
14304         (EALIGN) [ASSEMBLER]: ... and here.
14305         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14306         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14307         (ENTRY_2) [!ASSEMBLER]: Use it.
14308         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14309         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14310         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14311         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14312         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14314         Use PPC64_LOAD_FUNCPTR.
14315
14316         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14317
14318 2013-12-04  Alan Modra  <amodra@gmail.com>
14319
14320         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14321         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14322         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14323         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14324
14325         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14326         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14327         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14328         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14329         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14330         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14331
14332 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14333
14334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14335         (__makecontext): Fix incorrect CFI when backtracing out of
14336         context created via makecontext.
14337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14338         (__setcontext): Fix incorrect CFI during switch to new context.
14339         (__novec_setcontext): Likewise.
14340
14341 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14342
14343         [BZ #4772]
14344         * time/strptime_l.c (__strptime_internal): Allow modifiers
14345         in strptime.
14346         * time/tst-strptime.c (day_tests): Add testcase.
14347
14348 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14349
14350         * scripts/bench.pl: Skip over blank lines.
14351
14352 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14353
14354         [BZ #926]
14355         * manual/time.texi (Calendar Time): Clarify what timezone functions
14356         use.
14357
14358 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14359
14360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14361
14362 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14363
14364         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14365         implementation.
14366         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14367         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14368         * debug/memset_chk.c (__memset_chk): Likewise.
14369         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14370         * debug/strncpy_chk.c: Likewise.
14371
14372 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14373
14374         [BZ #15268]
14375         [BZ #15425]
14376         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14377         (__ieee754_exp): For possibly underflowing results, check size of
14378         result and force underflow exception if required.
14379         * math/auto-libm-test-in: Add more tests of exp.
14380         * math/auto-libm-test-out: Regenerated.
14381         * sysdeps/i386/fpu/libm-test-ulps: Update.
14382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14383
14384         [BZ #16283]
14385         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14386         * math/w_exp2f.c (__exp2f): Likewise.
14387         * math/w_exp2l.c (__exp2l): Likewise.
14388         * math/auto-libm-test-in: Do not allow missing errno on exp2
14389         underflow.
14390         * math/auto-libm-test-out: Regenerated.
14391
14392 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14393
14394         [BZ #16274]
14395         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14396         handle filename validation.
14397         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14398         (do_open): Delete.
14399
14400 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14401
14402         [BZ #6786]
14403         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14404         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14405         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14406         <float.h>.
14407         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14408         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14409         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14410         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14411         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14412         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14413         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14414         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14415         Add more erfc tests.
14416         * math/auto-libm-test-out: Regenerated.
14417         * sysdeps/i386/fpu/libm-test-ulps: Update.
14418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14419
14420         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14421         exp2, expm1, j0 and j1.
14422         * math/auto-libm-test-out: Regenerated.
14423         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14424         (erfc_test_data): Likewise.
14425         (exp_test_data): Likewise.
14426         (exp_tonearest_test_data): Likewise.
14427         (exp_towardzero_test_data): Likewise.
14428         (exp_downward_test_data): Likewise.
14429         (exp_upward_test_data): Likewise.
14430         (exp10_test_data): Likewise.
14431         (exp2_test_data): Likewise.
14432         (expm1_test_data): Likewise.
14433         (j0_test_data): Likewise.
14434         (j1_test_data): Likewise.
14435         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14436         (input_flag_type): Add flag_xfail_rounding.
14437         (input_flags): Add xfail-rounding.
14438         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14439         (output_for_one_input_case): Handle flag_xfail_rounding.
14440         * sysdeps/i386/fpu/libm-test-ulps: Update.
14441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14442
14443 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14444
14445         [BZ #16289]
14446         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14447         division by 0.
14448
14449 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14450
14451         [BZ #16195]
14452         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14453         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14454         (STAP_PROBE0): New macro.
14455         (STAP_PROBE1): Likewise.
14456         (STAP_PROBE2): Likewise.
14457         (STAP_PROBE3): Likewise.
14458         (STAP_PROBE4): Likewise.
14459
14460 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14461
14462         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14463
14464 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14465
14466         * benchtests/Makefile (bench): Add sqrt.
14467         (LDLIBS-bench-sqrt): New.
14468         * benchtests/sqrt-input: New.
14469
14470 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14471
14472         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14473         (GAIH_EAI): Likewise.
14474         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14475         (gaih_inet): Likewise.
14476         (getaddrinfo): Don't use GAIH_EAI.
14477
14478         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14479         (struct gaih): Remove definition.
14480
14481 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14482
14483         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14484         Use HERRNOP directly.
14485
14486 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14487
14488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14489
14490 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14491
14492         * math/gen-auto-libm-tests.c (test_functions): Add more
14493         single-argument functions.
14494         (special_fill_pi_2): New function.
14495         (special_fill_minus_pi_2): Likewise.
14496         (special_fill_pi_6): Likewise.
14497         (special_fill_minus_pi_6): Likewise.
14498         (special_fill_pi_3): Likewise.
14499         (special_fill_2pi_3): Likewise.
14500         (special_fill_e): Likewise.
14501         (special_fill_1_e): Likewise.
14502         (special_fill_e_minus_1): Likewise.
14503         (special_real_inputs): Add more special inputs.
14504         (output_for_one_input_case): Do not require ERANGE on underflow to
14505         zero if round-to-nearest result does not underflow to zero, unless
14506         exact results required.
14507         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14508         atan, atanh, cbrt, cos and cosh.
14509         * math/auto-libm-test-out: Regenerated.
14510         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14511         (acos_tonearest_test_data): Likewise.
14512         (acos_towardzero_test_data): Likewise.
14513         (acos_downward_test_data): Likewise.
14514         (acos_upward_test_data): Likewise.
14515         (acosh_test_data): Likewise.
14516         (asin_test_data): Likewise.
14517         (asin_tonearest_test_data): Likewise.
14518         (asin_towardzero_test_data): Likewise.
14519         (asin_upward_test_data): Likewise.
14520         (asinh_test_data): Likewise.
14521         (atan_test_data): Likewise.
14522         (atanh_test_data): Likewise.
14523         (cbrt_test_data): Likewise.
14524         (cos_test_data): Likewise.
14525         (cos_tonearest_test_data): Likewise.
14526         (cos_towardzero_test_data): Likewise.
14527         (cos_downward_test_data): Likewise.
14528         (cos_upward_test_data): Likewise.
14529         (cosh_test_data): Likewise.
14530         (cosh_tonearest_test_data): Likewise.
14531         (cosh_towardzero_test_data): Likewise.
14532         (cosh_downward_test_data): Likewise.
14533         (cosh_upward_test_data): Likewise.
14534         * sysdeps/i386/fpu/libm-test-ulps: Update.
14535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14536
14537 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14538
14539         [BZ #6787]
14540         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14541         * math/w_exp10f.c (__exp10f): Likewise.
14542         * math/w_exp10l.c (__exp10l): Likewise.
14543         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14544         errno settings in existing tests.
14545
14546         [BZ #14032]
14547         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14548         precision control set to double precision.
14549         * sysdeps/i386/fpu/w_sqrt.c: New file.
14550         * math/auto-libm-test-in: Add more tests.
14551         * math/auto-libm-test-out: Update.
14552
14553         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14554         (sqrt_test_tonearest): New function.
14555         (sqrt_towardzero_test_data): New variable.
14556         (sqrt_test_towardzero): New function.
14557         (sqrt_downward_test_data): New variable.
14558         (sqrt_test_downward): New function.
14559         (sqrt_upward_test_data): New variable.
14560         (sqrt_test_upward): New function.
14561         (main): Call the new functions.
14562
14563         * math/gen-auto-libm-tests.c: New file.
14564         * math/auto-libm-test-in: Likewise.
14565         * math/auto-libm-test-out: New generated file.
14566         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14567         variables.
14568         (%beautify): Add generated representations of zero.
14569         (top level): Set $auto_input and call parse_auto_input.
14570         (beautify): Remove trailing "f" from hex float constants.
14571         (parse_args): Handle XFAIL_TEST.
14572         (convert_condition): New function.
14573         (or_value): Likewise.
14574         (or_cond_value): Likewise.
14575         (generate_testfile): Handle AUTO_TESTS_* lines.
14576         (parse_auto_input): New function.
14577         * math/libm-test.inc (XFAIL_TEST): New macro.
14578         (ERRNO_UNCHANGED): Update value.
14579         (ERRNO_EDOM): Likewise.
14580         (ERRNO_ERANGE): Likewise.
14581         (IGNORE_RESULT): Likewise.
14582         (TEST_COND_flt_32): New macro.
14583         (TEST_COND_dbl_64): Likewise.
14584         (TEST_COND_ldbl_96_intel): Likewise.
14585         (TEST_COND_ldbl_96_m68k): Likewise.
14586         (TEST_COND_ldbl_128): Likewise.
14587         (TEST_COND_ldbl_128ibm): Likewise.
14588         (TEST_COND_long32): Likewise.
14589         (TEST_COND_long64): Likewise.
14590         (TEST_COND_before_rounding): Likewise.
14591         (TEST_COND_after_rounding): Likewise.
14592         (enable_test): Handle XFAIL_TEST flag.
14593         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14594         with finite results.
14595         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14596         auto-libm-test-out.
14597
14598 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14599             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14600
14601         [BZ #16214]
14602         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14603         __tls_get_addr_internal instead of __tls_get_offset in order to
14604         avoid GOT pointer dependency.  Make rtld export
14605         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14606         __tls_get_addr since we are a __tls_get_offset platform.
14607         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14608         GOT pointer being set up before.
14609         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14610
14611 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14612
14613         * manual/math.texi (Errors in Math Functions): Document accuracy
14614         goals.
14615
14616         [BZ #15004]
14617         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14618         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14619         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14620         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14621         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14622         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14623         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14624         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14625         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14626         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14627         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14628         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14629         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14630         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14631         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14632         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14633
14634         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14635         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14636         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14637         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14638         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14639         Likewise.
14640         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14641         Likewise.
14642         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14643         Likewise.
14644         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14645         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14646         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14647         atomic-feupdateenv and flt-rounds.
14648         * sysdeps/powerpc/nofpu/Versions (libc): Add
14649         __atomic_feholdexcept, __atomic_feclearexcept,
14650         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14651         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14652         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14653         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14654         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14655         here.
14656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14657         Update.
14658
14659         * manual/arith.texi (FP Exceptions): Document that exceptions may
14660         not be raised when matherr is used.
14661         (Math Error Reporting): Document overflow in directed rounding
14662         modes.  Document that errno may not be set when finite values are
14663         returned on overflow.  Document intent to set errno on underflow
14664         only for underflow to zero.
14665
14666         [BZ #16271]
14667         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14668         round-to-nearest then adjust result for other rounding modes.
14669         * include/fenv.h (fegetround): Use libm_hidden_proto.
14670         * math/fegetround.c (fegetround): Use libm_hidden_def.
14671         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14672         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14673         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14674         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14675         Likewise.
14676         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14677         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14678         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14679         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14680
14681 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14682
14683         [BZ #16077]
14684         * nss/Versions (libnss_files): Add
14685         _nss_files_gethostbyname3_r.
14686         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14687         New function.
14688         (HOST_DB_LOOKUP): Remove macro.
14689         (_nss_files_gethostbyname_r): Implement function without the
14690         HOST_DB_LOOKUP macro.
14691         (_nss_files_gethostbyname2_r): Likewise.
14692
14693 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14694
14695         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14696
14697 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14698
14699         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14700         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14701         warning.
14702
14703 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14704
14705         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14706         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14707         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14708         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14709         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14710         __fe_nomask_env_priv and attribute_hidden.
14711         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14712         (libc_feupdateenv_test_ppc): Likewise.
14713         (libc_feresetround_ppc): Likewise.
14714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14715         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14716         compat_symbol macro.
14717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14718         (__fe_nomask_env): Likewise.
14719         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14720
14721 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14722
14723         * string/Makefile: Remove ifunc tests.
14724         * string/test-string.h: Define TEST_IFUNC.
14725         * string/test-bcopy-ifunc.c: Remove.
14726         * string/test-bzero-ifunc.c: Likewise.
14727         * string/test-memccpy-ifunc.c: Likewise.
14728         * string/test-memchr-ifunc.c: Likewise.
14729         * string/test-memcmp-ifunc.c: Likewise.
14730         * string/test-memcpy-ifunc.c: Likewise.
14731         * string/test-memmem-ifunc.c: Likewise.
14732         * string/test-memmove-ifunc.c: Likewise.
14733         * string/test-mempcpy-ifunc.c: Likewise.
14734         * string/test-memrchr-ifunc.c: Likewise.
14735         * string/test-memset-ifunc.c: Likewise.
14736         * string/test-rawmemchr-ifunc.c: Likewise.
14737         * string/test-stpcpy-ifunc.c: Likewise.
14738         * string/test-stpncpy-ifunc.c: Likewise.
14739         * string/test-strcasecmp-ifunc.c: Likewise.
14740         * string/test-strcasestr-ifunc.c: Likewise.
14741         * string/test-strcat-ifunc.c: Likewise.
14742         * string/test-strchr-ifunc.c: Likewise.
14743         * string/test-strchrnul-ifunc.c: Likewise.
14744         * string/test-strcmp-ifunc.c: Likewise.
14745         * string/test-strcpy-ifunc.c: Likewise.
14746         * string/test-strcspn-ifunc.c: Likewise.
14747         * string/test-strlen-ifunc.c: Likewise.
14748         * string/test-strncasecmp-ifunc.c: Likewise.
14749         * string/test-strncat-ifunc.c: Likewise.
14750         * string/test-strncmp-ifunc.c: Likewise.
14751         * string/test-strncpy-ifunc.c: Likewise.
14752         * string/test-strnlen-ifunc.c: Likewise.
14753         * string/test-strpbrk-ifunc.c: Likewise.
14754         * string/test-strrchr-ifunc.c: Likewise.
14755         * string/test-strspn-ifunc.c: Likewise.
14756         * string/test-strstr-ifunc.c: Likewise.
14757
14758 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14759
14760         * benchtests/Makefile: Remove ifunc tests.
14761         * benchtests/bench-string.h: Define TEST_IFUNC.
14762         * benchtests/bench-bcopy-ifunc.c: Remove.
14763         * benchtests/bench-bzero-ifunc.c: Likewise.
14764         * benchtests/bench-memccpy-ifunc.c: Likewise.
14765         * benchtests/bench-memchr-ifunc.c: Likewise.
14766         * benchtests/bench-memcmp-ifunc.c: Likewise.
14767         * benchtests/bench-memcpy-ifunc.c: Likewise.
14768         * benchtests/bench-memmem-ifunc.c: Likewise.
14769         * benchtests/bench-memmove-ifunc.c: Likewise.
14770         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14771         * benchtests/bench-memrchr-ifunc.c: Likewise.
14772         * benchtests/bench-memset-ifunc.c: Likewise.
14773         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14774         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14775         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14776         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14777         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14778         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14779         * benchtests/bench-strcat-ifunc.c: Likewise.
14780         * benchtests/bench-strchr-ifunc.c: Likewise.
14781         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14782         * benchtests/bench-strcmp-ifunc.c: Likewise.
14783         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14784         * benchtests/bench-strcpy-ifunc.c: Likewise.
14785         * benchtests/bench-strcspn-ifunc.c: Likewise.
14786         * benchtests/bench-strlen-ifunc.c: Likewise.
14787         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14788         * benchtests/bench-strncat-ifunc.c: Likewise.
14789         * benchtests/bench-strncmp-ifunc.c: Likewise.
14790         * benchtests/bench-strncpy-ifunc.c: Likewise.
14791         * benchtests/bench-strnlen-ifunc.c: Likewise.
14792         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14793         * benchtests/bench-strrchr-ifunc.c: Likewise.
14794         * benchtests/bench-strsep-ifunc.c: Likewise.
14795         * benchtests/bench-strspn-ifunc.c: Likewise.
14796         * benchtests/bench-strstr-ifunc.c: Likewise.
14797
14798 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14799
14800         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14801
14802 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14803
14804         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14805         * rt/aio.h: Likewise.
14806         * sysdeps/gnu/bits/utmp.h: Likewise.
14807         * sysdeps/gnu/bits/utmpx.h: Likewise.
14808         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14809         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14810         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14811         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14812         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14813         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14814         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14815         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14816         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14817         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14818         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14819         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14820         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14822         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14823         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14824         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14825         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14826         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14827         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14828         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14829         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14830         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14831         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14832         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14833         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14834         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14835         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14836         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14837         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14838         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14839         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14840         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14841         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14842         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14843         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14844         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14845         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14846         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14847         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14848         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14849         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14850
14851 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14852
14853         [BZ #16245]
14854         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14855         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14856
14857 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14858
14859         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14860         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14861         Likewise.
14862
14863 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14864
14865         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14866         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14867         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14868         (__fesetround): Remove define.
14869         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14870         rounding and exceptions handling.
14871         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14872         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14873         (__fe_nomask_env): Likewise.
14874         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14875         __fegetround instead of fegetround.
14876         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14877         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14878
14879 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14880
14881         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14882         it's there.
14883
14884         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14885
14886 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14887
14888         [BZ #11157]
14889         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14890         (encrypt_r): Likewise.
14891         * malloc/obstack.h (obstack_free): Likewise.
14892         * posix/unistd.h (encrypt): Likewise.
14893
14894 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14895
14896         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14897         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14898         DL_CALL_DT_FINI() that call the functions directly.
14899         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14900         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14901         * elf/dl-fini.c: Likewise.
14902
14903 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14904
14905         * malloc/hooks.c (memalign_check): Add alignment rounding.
14906         * malloc/malloc.c (_mid_memalign): New function.
14907         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14908         Implement by calling _mid_memalign.
14909         * manual/probes.texi (Memory Allocation Probes): Remove
14910         memory_valloc_retry and memory_pvalloc_retry.
14911
14912 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14913
14914         * locale/programs/locarchive.c (open_archive): Add const
14915         qualifier to ARCHIVEFNAME and copy default fname to
14916         DEFAULT_FNAME.
14917
14918         [BZ #15601]
14919         * libio/tst-widetext.input: Rename Oriya to Odia.
14920         * locale/iso-639.def: Likewise.
14921
14922         * manual/probes.texi (Mathematical Function Probes): Add
14923         documentation for sin, cos, asin and acos probes.
14924         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14925         (__sin32): Add slowasin probe.
14926         (__cos32): Add slowacos probe.
14927         (__mpsin): Add slowsin probe.
14928         (__mpcos): Add slowcos probe.
14929
14930 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14931
14932         [BZ #15483]
14933         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14934         thread-local __sim_exceptions_thread and global
14935         __sim_exceptions_global.
14936         (__sim_disabled_exceptions): Change to thread-local
14937         __sim_disabled_exceptions_thread and global
14938         __sim_disabled_exceptions_global.
14939         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14940         and global __sim_round_mode_global.
14941         (__simulate_exceptions): Use thread-local floating-point state and
14942         set global state from it as needed.
14943         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14944         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14945         __sim_round_mode_thread.
14946         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14947         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14948         and global __sim_exceptions_global.
14949         (__sim_disabled_exceptions): Change to thread-local
14950         __sim_disabled_exceptions_thread and global
14951         __sim_disabled_exceptions_global.
14952         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14953         and global __sim_round_mode_global.
14954         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14955         (SIM_SET_GLOBAL): Likewise.
14956         * sysdeps/powerpc/soft-fp/sfp-machine.h
14957         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14958         __sim_round_mode_thread.
14959         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14960         __sim_disabled_exceptions_thread.
14961         (__sim_exceptions): Change to __sim_exceptions_thread.
14962         (__sim_disabled_exceptions): Change to
14963         __sim_disabled_exceptions_thread.
14964         (__sim_round_mode): Change to __sim_round_mode_thread.
14965         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14966         thread-local floating-point state and set global state from it as
14967         needed.
14968         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14969         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14970         (__sim_disabled_exceptions): Remove extern declaration.
14971         (feenableexcept): Use thread-local floating-point state and set
14972         global state from it as needed.
14973         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14974         extern declaration.
14975         (__sim_disabled_exceptions): Likewise.
14976         (__sim_round_mode): Likewise.
14977         (__fegetenv): Use thread-local floating-point state.
14978         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14979         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14980         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14981         floating-point state and set global state from it as needed.
14982         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14983         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14984         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14985         Likewise.
14986         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14987         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14988         Likewise.
14989         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14990         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14991         Use __sim_round_mode_thread.
14992         * math/test-fenv-tls.c: New file.
14993         * math/Makefile (tests): Add test-fenv-tls.
14994         ($(objpfx)test-fenv-tls): Depend on
14995         $(common-objpfx)nptl/libpthread.so.
14996
14997 2013-11-19  Andreas Schwab  <schwab@suse.de>
14998
14999         * locale/programs/locale.c (show_info): Decode wordarray elements.
15000         * locale/categories.def (LC_MONETARY): Add element for
15001         _NL_MONETARY_CRNCYSTR.
15002         * locale/C-monetary.c (conversion_rate): New variable.
15003         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15004         element.
15005
15006 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15007
15008         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15009         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15010
15011 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15012
15013         * elf/Makefile (tst-auxv): New test.
15014         * elf/tst-auxv.c: New
15015         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15016
15017 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15018
15019         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15020         (hidden_proto): Caller changed.
15021         (hidden_tls_proto): New macro.
15022         (libc_hidden_tls_proto): Likewise.
15023         (rtld_hidden_tls_proto): Likewise.
15024         (libm_hidden_tls_proto): Likewise.
15025         (libresolv_hidden_tls_proto): Likewise.
15026         (librt_hidden_tls_proto): Likewise.
15027         (libdl_hidden_tls_proto): Likewise.
15028         (libnss_files_hidden_tls_proto): Likewise.
15029         (libnsl_hidden_tls_proto): Likewise.
15030         (libnss_nisplus_hidden_tls_proto): Likewise.
15031         (libutil_hidden_tls_proto): Likewise.
15032
15033 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15034
15035         [BZ #10253]
15036         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15037         (decompose_rpath): Defer expansion to fillin_rpath.
15038         (_dl_init_paths): Pass linkmap to fillin_rpath.
15039
15040 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15041
15042         * benchtests/Makefile: Add strsep.
15043         * benchtests/bench-strsep.c: New file: strsep benchtest.
15044         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15045
15046 2013-11-18  Andreas Schwab  <schwab@suse.de>
15047
15048         * locale/programs/locale.c (show_info) [case byte]: Check for
15049         '\377' instead of '\177'.
15050         * locale/C-monetary.c (not_available): Always use "\377".
15051         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15052         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15053         detect unavailable sign_posn locale elements.
15054         * locale/localeconv.c (__localeconv): For grouping and
15055         mon_grouping handle "\177" and "\377" like no grouping.
15056         (INT_ELEM): New macro.  Use it to set all numeric members.
15057         * locale/programs/ld-monetary.c (monetary_read)
15058         <tok_mon_grouping>: Normalize single -1 to the empty string.
15059         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15060         Likewise.
15061
15062 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15063
15064         [BZ #16055]
15065         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15066         when we match (nil).
15067         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15068
15069 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15070
15071         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15072         (NO_TEST_INLINE): Update value.
15073         (ERRNO_UNCHANGED): Likewise.
15074         (ERRNO_EDOM): Likewise.
15075         (ERRNO_ERANGE): Likewise.
15076         (IGNORE_RESULT): Likewise.
15077         (check_float_internal): Check signs of NaN results if
15078         TEST_NAN_SIGN used.
15079         (check_complex): Pass TEST_NAN_SIGN flag through to second
15080         check_float_internal call.
15081         (copysign_test_data): Add tests with quiet NaNs as second
15082         argument.  Use TEST_NAN_SIGN.
15083         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15084         TEST_NAN_SIGN.
15085         (signbit_test_data): Add tests of quiet NaN argument.
15086         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15087
15088         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15089         $ignore_result.
15090         (parse_args): Handle function results specified as IGNORE.
15091         * math/libm-test.inc (IGNORE_RESULT): New macro.
15092         (check_float_internal): Do not check numerical result if flag
15093         IGNORE_RESULT set.
15094         (check_complex): Pass through IGNORE_RESULT to second
15095         check_float_internal call.
15096         (check_int): Do not check numerical result if flag IGNORE_RESULT
15097         set.
15098         (check_long): Likewise.
15099         (check_bool): Likewise.
15100         (check_longlong): Likewise.
15101         (lrint_test_data): Add tests of infinite and NaN arguments.
15102         (lrint_tonearest_test_data): Likewise.
15103         (lrint_towardzero_test_data): Likewise.
15104         (lrint_downward_test_data): Likewise.
15105         (lrint_upward_test_data): Likewise.
15106         (llrint_test_data): Likewise.
15107         (llrint_tonearest_test_data): Likewise.
15108         (llrint_towardzero_test_data): Likewise.
15109         (llrint_downward_test_data): Likewise.
15110         (llrint_upward_test_data): Likewise.
15111         (lround_test_data): Likewise.
15112         (llround_test_data): Likewise.
15113
15114         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15115         (ERRNO_UNCHANGED): Update value.
15116         (ERRNO_EDOM): Likewise.
15117         (ERRNO_ERANGE): Likewise.
15118         (NO_TEST_INLINE_FLOAT): New macro.
15119         (NO_TEST_INLINE_DOUBLE): Likewise.
15120         (enable_test): New function.
15121         (RUN_TEST_f_f): Check enable_test before running test.
15122         (RUN_TEST_2_f): Likewise.
15123         (RUN_TEST_fff_f): Likewise.
15124         (RUN_TEST_c_f): Likewise.
15125         (RUN_TEST_f_f1): Likewise.
15126         (RUN_TEST_fF_f1): Likewise.
15127         (RUN_TEST_fI_f1): Likewise.
15128         (RUN_TEST_ffI_f1): Likewise.
15129         (RUN_TEST_c_c): Likewise.
15130         (RUN_TEST_cc_c): Likewise.
15131         (RUN_TEST_f_i): Likewise.
15132         (RUN_TEST_f_i_tg): Likewise.
15133         (RUN_TEST_ff_i_tg): Likewise.
15134         (RUN_TEST_f_b): Likewise.
15135         (RUN_TEST_f_b_tg): Likewise.
15136         (RUN_TEST_f_l): Likewise.
15137         (RUN_TEST_f_L): Likewise.
15138         (RUN_TEST_fFF_11): Likewise.
15139         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15140         conditionals.
15141         (cosh_test_data): Likewise.
15142         (exp_test_data): Likewise.
15143         (expm1_test_data): Likewise.
15144         (hypot_test_data): Likewise.
15145         (pow_test_data): Likewise.
15146         (sinh_test_data): Likewise.
15147         (tanh_test_data): Likewise.
15148         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15149         flags argument.
15150
15151         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15152         tests with quiet NaN input and output.
15153         (acosh_test_data): Likewise.
15154         (asin_test_data): Likewise.
15155         (asinh_test_data): Likewise.
15156         (atan_test_data): Likewise.
15157         (atanh_test_data): Likewise.
15158         (atan2_test_data): Likewise.
15159         (cbrt_test_data): Likewise.
15160         (cos_test_data): Likewise.
15161         (cosh_test_data): Likewise.
15162         (erf_test_data): Likewise.
15163         (erfc_test_data): Likewise.
15164         (exp_test_data): Likewise.
15165         (exp10_test_data): Likewise.
15166         (exp2_test_data): Likewise.
15167         (expm1_test_data): Likewise.
15168         (hypot_test_data): Likewise.
15169         (j0_test_data): Likewise.
15170         (j1_test_data): Likewise.
15171         (jn_test_data): Likewise.
15172         (lgamma_test_data): Likewise.
15173         (log_test_data): Likewise.
15174         (log10_test_data): Likewise.
15175         (log1p_test_data): Likewise.
15176         (log2_test_data): Likewise.
15177         (pow_test_data): Likewise.
15178         (scalb_test_data): Likewise.
15179         (sin_test_data): Likewise.
15180         (sincos_test_data): Likewise.
15181         (sinh_test_data): Likewise.
15182         (tan_test_data): Likewise.
15183         (tanh_test_data): Likewise.
15184         (tgamma_test_data): Likewise.
15185         (y0_test_data): Likewise.
15186         (y1_test_data): Likewise.
15187         (yn_test_data): Likewise.
15188
15189         [BZ #16167]
15190         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15191         argument being NaN and avoid computations with second argument in
15192         that case.
15193         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15194         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15195         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15196
15197 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15198
15199         * locale/iso-639.def: Add Chitwani Tharu (the).
15200
15201 2013-11-14  Andreas Schwab  <schwab@suse.de>
15202
15203         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15204         word instead of empty string.
15205
15206 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15207
15208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15209         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15211         (__fe_nomask_env): Likewise.
15212
15213 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15214
15215         * benchtests/bench-timing.h: Include time.h.
15216
15217 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15218
15219         [BZ #15997]
15220         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15221         to 3.4.0 for x32.
15222         * sysdeps/unix/sysv/linux/configure: Regenerated.
15223
15224 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15225
15226         [BZ #16151]
15227         * stdlib/strtod_l.c (round_and_return): Do not consider
15228         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15229         exponent one less than half the least subnormal exponent.
15230         * stdlib/test-strtod-round-data: Add more tests.
15231         * stdlib/tst-strtod-round.c (tests): Regenerated.
15232
15233 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15234
15235         [BZ #14143]
15236         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15237         (__fe_mask_env): Likewise.
15238         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15239         libm_hidden_proto and add function prototype.
15240         (__fe_mask_env): Add function prototype.
15241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15242         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15244         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15246         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15247
15248 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15249
15250         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15251         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15252
15253 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15254
15255         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15256         of htab_find_slot().
15257
15258 2013-11-11  David S. Miller  <davem@davemloft.net>
15259
15260         [BZ #16150]
15261         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15262         symbol in the non-vis3 case in static builds.
15263         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15264         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15265         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15266         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15267
15268 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15269
15270         [BZ #387]
15271         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15272         it is empty.
15273
15274 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15275
15276         * benchtests/Makefile: Add bench-strtod.
15277         * benchtests/bench-strtod.c: New file: strtod benchtest
15278
15279 2013-11-11  Andreas Schwab  <schwab@suse.de>
15280
15281         [BZ #16153]
15282         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15283         terminating NUL in key length.
15284
15285 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15286
15287         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15288         Add artificial ODP entry for vDSO symbol for PPC64.
15289         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15290         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15291
15292 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15293
15294         [BZ #15374]
15295         * nss/getent.c (services_keys): Recognize services starting with digit.
15296
15297 2013-11-06  David S. Miller  <davem@davemloft.net>
15298
15299         [BZ #15985]
15300         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15301         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15302
15303 2013-11-06  Will Newton  <will.newton@linaro.org>
15304
15305         * manual/memory.texi (Malloc Examples): Remove register
15306         keyword from examples.
15307
15308 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15309
15310         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15311
15312 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15313
15314         [BZ #6981]
15315         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15316         depending on [__GCC_IEC_559 > 0].
15317         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15318         depending on [__GCC_IEC_559_COMPLEX > 0].
15319
15320 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15321
15322         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15323         to iso-639.def.
15324
15325 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15326
15327         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15328
15329 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15330
15331         [BZ #16112]
15332         * malloc/malloc (malloc_info): Do not handle first bin as
15333         special case.
15334
15335 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15336
15337         * locale/iso-639.def: Add Central Nahuatl (nhn).
15338
15339 2013-11-01  Bruno Haible  <bruno@clisp.org>
15340
15341         [BZ #7003]
15342         * manual/math.texi (BSD Random): Specify range upper bound as
15343         in POSIX.
15344
15345 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15346
15347         * locale/iso-639.def: Add Meadow Mari (mhr).
15348
15349 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15350
15351         [BZ #14752], [BZ #15763]
15352         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15353         Validate name.
15354         * rt/tst_shm.c: Add test for escaping directory.
15355
15356 2013-10-31  Andreas Schwab  <schwab@suse.de>
15357
15358         [BZ #15917]
15359         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15360         followed by 'x' as part of digit sequence.
15361         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15362
15363 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15364
15365         [BZ #16037]
15366         * configure.ac: allow GNU Make 4.0 and greater.
15367         * configure: Regenerated.
15368
15369 2013-10-30  Will Newton  <will.newton@linaro.org>
15370
15371         [BZ #16038]
15372         * malloc/hooks.c (memalign_check): Limit alignment to the
15373         maximum representable power of two.
15374         * malloc/malloc.c (__libc_memalign): Likewise.
15375         * malloc/tst-memalign.c (do_test): Add test for very
15376         large alignment values.
15377         * malloc/tst-posix_memalign.c (do_test): Likewise.
15378
15379 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15380
15381         [BZ #11087]
15382         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15383         (munmap_chunk): Likewise.
15384         (mremap_chunk): Likewise.
15385
15386 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15387
15388         [BZ #15799]
15389         * stdlib/div.c (div): Remove obsolete code.
15390         * stdlib/ldiv.c (ldiv): Likewise.
15391         * stdlib/lldiv.c (lldiv): Likewise.
15392
15393 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15394
15395         [BZ #16071]
15396         * nss/nss_files/files-XXX.c (get_contents_ret): New
15397         enumerator.
15398         (get_contents): New function.
15399         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15400
15401 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15402
15403         * configure.in: Moved to ...
15404         * configure.ac: ... here. Change reference to configure.in
15405         to configure.ac.
15406         * sysdeps/arm/preconfigure.ac: ... here.
15407         configure.in to configure.ac.
15408         * sysdeps/gnu/configure.in: Moved to ...
15409         * sysdeps/gnu/configure.ac: ... here.
15410         * sysdeps/i386/configure.in: Moved to ...
15411         * sysdeps/i386/configure.ac: ... here.
15412         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15413         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15414         * sysdeps/mach/configure.in: Moved to ...
15415         * sysdeps/mach/configure.ac: ... here.
15416         * sysdeps/mach/hurd/configure.in: Moved to ...
15417         * sysdeps/mach/hurd/configure.ac: ... here.
15418         * sysdeps/powerpc/configure.in: Moved to ...
15419         * sysdeps/powerpc/configure.ac: ... here.
15420         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15421         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15422         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15423         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15424         * sysdeps/s390/s390-32/configure.in: Moved to ...
15425         * sysdeps/s390/s390-32/configure.ac: ... here.
15426         * sysdeps/s390/s390-64/configure.in: Moved to ...
15427         * sysdeps/s390/s390-64/configure.ac: ... here.
15428         * sysdeps/sh/configure.in: Moved to ...
15429         * sysdeps/sh/configure.ac: ... here.
15430         * sysdeps/sparc/configure.in: Moved to ...
15431         * sysdeps/sparc/configure.ac: ... here.
15432         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15433         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15434         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15435         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15436         * sysdeps/x86_64/configure.in: Moved to ...
15437         * sysdeps/x86_64/configure.ac: ... here.
15438         * sysdeps/x86_64/preconfigure.in: Moved to ...
15439         * sysdeps/x86_64/preconfigure.ac: ... here.
15440         * aclocal.m4: Change reference to configure.in to configure.ac.
15441         * config.h.in: Likewise.
15442         * manual/install.texi: Likewise.
15443         * manual/maint.texi: Likewise.
15444         * Makefile: Likewise.
15445         * malloc/Makefile: Likewise.
15446         * nscd/Makefile: Likewise.
15447         * Makeconfig: Change reference to configure.in and
15448         preconfigure.in to configure.ac and preconfigure.ac
15449         respectively.
15450         * INSTALL: Regenerated.
15451         * configure: Likewise.
15452         * sysdeps/gnu/configure: Likewise.
15453         * sysdeps/i386/configure: Likewise.
15454         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15455         * sysdeps/mach/configure: Likewise.
15456         * sysdeps/mach/hurd/configure: Likewise.
15457         * sysdeps/powerpc/configure: Likewise.
15458         * sysdeps/powerpc/powerpc32/configure: Likewise.
15459         * sysdeps/powerpc/powerpc64/configure: Likewise.
15460         * sysdeps/s390/s390-32/configure: Likewise.
15461         * sysdeps/s390/s390-64/configure: Likewise.
15462         * sysdeps/sh/configure: Likewise.
15463         * sysdeps/sparc/configure: Likewise.
15464         * sysdeps/unix/sysv/linux/configure: Likewise.
15465         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15466         * sysdeps/x86_64/configure: Likewise.
15467         * sysdeps/x86_64/preconfigure: Likewise.
15468
15469 2013-10-29  Andreas Schwab  <schwab@suse.de>
15470
15471         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15472
15473 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15474
15475         * benchtests/pow-inputs: Add new inputs.
15476
15477         * benchtests/exp-inputs: Add new inputs.
15478
15479         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15480         conditional check for return value.
15481         (__cos32): Likewise.
15482
15483 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15484
15485         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15486         to provide a boost for large inputs with word alignment.
15487         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15488         implementation based on optimized PPC64 strcpy.
15489         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15490         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15491         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15492         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15493
15494 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15495
15496         [BZ #2801]
15497         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15498
15499 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15500
15501         [BZ #14876]
15502         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15503         * time/tst-strptime.c (day_tests): Add testcase.
15504
15505 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15506
15507         [BZ #14029]
15508         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15509
15510 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15511
15512         [BZ #16074]
15513         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15514         MAP_FAILED on error.
15515
15516 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15517
15518         [BZ #16072]
15519         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15520         heap for large requests.
15521
15522 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15523
15524         [BZ #9954]
15525         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15526         result if the result has no associated interface.
15527         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15528         interface for all 127.X.Y.Z addresses.
15529
15530 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15531
15532         * locale/iso-639.def: Add Ligurian (lij)
15533
15534 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15535
15536         [BZ #15825]
15537         * sunrpc/rpc_main.c: Document rpcgen -5.
15538
15539 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15540
15541         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15542
15543 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15544
15545         [BZ #10278]
15546         * posix/glob.c: Match only directories when trailing slash is present.
15547         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15548         (main): Add testcase.
15549
15550 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15551
15552         [BZ #15670]
15553         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15554
15555 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15556
15557         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15558         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15559         AUTH_DES and cindex for FIPS 140-2.
15560         (DES Encryption): Add cindex FIPS 46-3.
15561
15562         * locale/locarchive.h (struct locarhandle): Add fname.
15563         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15564         if an optional argument was specified to --list-archive,
15565         otherwise NULL.
15566         * locale/programs/locarchive.c (show_archive_content): Take new
15567         argument fname and pass it via ah.fname to open_archive.
15568         * locale/programs/localedef.h: Update decl.
15569         (open_archive): If AH->fname is non-null, open that file
15570         rather than the default file name, and don't ignore ENOENT.
15571         (create_archive): Set AH.fname to NULL.
15572         (delete_locales_from_archive): Likewise.
15573         (add_locales_to_archive): Likewise.
15574         * locale/programs/locfile.c (write_all_categories): Likewise.
15575
15576 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15577             Aldy Hernandez  <aldyh@redhat.com>
15578
15579         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15580         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15581         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15582         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15583         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15584         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15585         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15586         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15587         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15588         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15589         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15590         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15591         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15592         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15593         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15594         Likewise.
15595         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15596         Likewise.
15597         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15598         Likewise.
15599         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15600         Likewise.
15601         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15602         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15603         Likewise.
15604         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15605         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15606         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15607         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15608         Likewise.
15609         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15610         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15611         * sysdeps/powerpc/preconfigure: Likewise.
15612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15613         Likewise.
15614         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15615         Replace contents of file by #include of <fenv_libc.h>.
15616         * sysdeps/powerpc/soft-fp/sfp-machine.h
15617         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15618         and <sys/prctl.h>.
15619         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15620         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15621         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15622         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15623         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15624         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15625         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15626         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15627         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15628         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15629         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15630         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15632         Allow copysignl PLT reference to be missing.
15633
15634 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15635             Joseph Myers  <joseph@codesourcery.com
15636
15637         [BZ #15948]
15638         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15639         single character.
15640         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15641
15642 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15643
15644         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15645         * elf/tst-tls1.c: Likewise.
15646         * elf/tst-tls10.h: Likewise.
15647         * elf/tst-tls14.c: Likewise.
15648         * elf/tst-tls2.c: Likewise.
15649         * elf/tst-tls3.c: Likewise.
15650         * elf/tst-tls4.c: Likewise.
15651         * elf/tst-tls5.c: Likewise.
15652         * elf/tst-tls6.c: Likewise.
15653         * elf/tst-tls7.c: Likewise.
15654         * elf/tst-tls8.c: Likewise.
15655         * elf/tst-tls9.c: Likewise.
15656         * elf/tst-tlsmod1.c: Likewise.
15657         * elf/tst-tlsmod13.c: Likewise.
15658         * elf/tst-tlsmod13a.c: Likewise.
15659         * elf/tst-tlsmod14a.c: Likewise.
15660         * elf/tst-tlsmod16a.c: Likewise.
15661         * elf/tst-tlsmod16b.c: Likewise.
15662         * elf/tst-tlsmod2.c: Likewise.
15663         * elf/tst-tlsmod3.c: Likewise.
15664         * elf/tst-tlsmod4.c: Likewise.
15665         * elf/tst-tlsmod5.c: Likewise.
15666         * elf/tst-tlsmod6.c: Likewise.
15667
15668 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15669
15670         [BZ #12486]
15671         * malloc/malloc.c: remove checks for statistics.
15672
15673 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15674
15675         [BZ #15277]
15676         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15677         * inet/tst-network.c: Add testcase.
15678
15679 2013-10-17  Andreas Schwab  <schwab@suse.de>
15680
15681         [BZ #15218]
15682         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15683         to determine canonical name.
15684
15685 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15686
15687         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15688         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15689         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15690         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15691         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15692         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15693         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15694         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15695         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15696         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15697         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15698         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15699         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15700         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15701         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15702         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15703         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15704         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15705         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15706         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15707         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15708         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15709         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15710         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15711         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15712         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15713         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15714         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15715         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15716         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15717         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15718         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15719         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15720         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15721         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15722         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15723         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15724         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15725         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15726         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15727         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15728         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15729         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15730         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15731         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15732         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15733         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15734         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15735         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15736         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15737         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15738         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15739         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15740         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15741         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15742         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15743         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15744         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15745
15746 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15747
15748         [BZ #16041]
15749         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15750         make result into a quiet NaN.
15751
15752 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15753
15754         * soft-fp/adddf3.c: Fix horizontal whitespace.
15755         * soft-fp/addsf3.c: Likewise.
15756         * soft-fp/addtf3.c: Likewise.
15757         * soft-fp/divdf3.c: Likewise.
15758         * soft-fp/divsf3.c: Likewise.
15759         * soft-fp/divtf3.c: Likewise.
15760         * soft-fp/double.h: Likewise.
15761         * soft-fp/eqdf2.c: Likewise.
15762         * soft-fp/eqsf2.c: Likewise.
15763         * soft-fp/eqtf2.c: Likewise.
15764         * soft-fp/extenddftf2.c: Likewise.
15765         * soft-fp/extended.h: Likewise.
15766         * soft-fp/extendsfdf2.c: Likewise.
15767         * soft-fp/extendsftf2.c: Likewise.
15768         * soft-fp/extendxftf2.c: Likewise.
15769         * soft-fp/fixdfdi.c: Likewise.
15770         * soft-fp/fixdfsi.c: Likewise.
15771         * soft-fp/fixdfti.c: Likewise.
15772         * soft-fp/fixsfdi.c: Likewise.
15773         * soft-fp/fixsfsi.c: Likewise.
15774         * soft-fp/fixsfti.c: Likewise.
15775         * soft-fp/fixtfdi.c: Likewise.
15776         * soft-fp/fixtfsi.c: Likewise.
15777         * soft-fp/fixtfti.c: Likewise.
15778         * soft-fp/fixunsdfdi.c: Likewise.
15779         * soft-fp/fixunsdfsi.c: Likewise.
15780         * soft-fp/fixunsdfti.c: Likewise.
15781         * soft-fp/fixunssfdi.c: Likewise.
15782         * soft-fp/fixunssfsi.c: Likewise.
15783         * soft-fp/fixunssfti.c: Likewise.
15784         * soft-fp/fixunstfdi.c: Likewise.
15785         * soft-fp/fixunstfsi.c: Likewise.
15786         * soft-fp/fixunstfti.c: Likewise.
15787         * soft-fp/floatdidf.c: Likewise.
15788         * soft-fp/floatdisf.c: Likewise.
15789         * soft-fp/floatditf.c: Likewise.
15790         * soft-fp/floatsidf.c: Likewise.
15791         * soft-fp/floatsisf.c: Likewise.
15792         * soft-fp/floatsitf.c: Likewise.
15793         * soft-fp/floattidf.c: Likewise.
15794         * soft-fp/floattisf.c: Likewise.
15795         * soft-fp/floattitf.c: Likewise.
15796         * soft-fp/floatundidf.c: Likewise.
15797         * soft-fp/floatundisf.c: Likewise.
15798         * soft-fp/floatunditf.c: Likewise.
15799         * soft-fp/floatunsidf.c: Likewise.
15800         * soft-fp/floatunsisf.c: Likewise.
15801         * soft-fp/floatunsitf.c: Likewise.
15802         * soft-fp/floatuntidf.c: Likewise.
15803         * soft-fp/floatuntisf.c: Likewise.
15804         * soft-fp/floatuntitf.c: Likewise.
15805         * soft-fp/fmadf4.c: Likewise.
15806         * soft-fp/fmasf4.c: Likewise.
15807         * soft-fp/fmatf4.c: Likewise.
15808         * soft-fp/gedf2.c: Likewise.
15809         * soft-fp/gesf2.c: Likewise.
15810         * soft-fp/getf2.c: Likewise.
15811         * soft-fp/ledf2.c: Likewise.
15812         * soft-fp/lesf2.c: Likewise.
15813         * soft-fp/letf2.c: Likewise.
15814         * soft-fp/muldf3.c: Likewise.
15815         * soft-fp/mulsf3.c: Likewise.
15816         * soft-fp/multf3.c: Likewise.
15817         * soft-fp/negdf2.c: Likewise.
15818         * soft-fp/negsf2.c: Likewise.
15819         * soft-fp/negtf2.c: Likewise.
15820         * soft-fp/op-1.h: Likewise.
15821         * soft-fp/op-2.h: Likewise.
15822         * soft-fp/op-4.h: Likewise.
15823         * soft-fp/op-8.h: Likewise.
15824         * soft-fp/op-common.h: Likewise.
15825         * soft-fp/quad.h: Likewise.
15826         * soft-fp/single.h: Likewise.
15827         * soft-fp/soft-fp.h: Likewise.
15828         * soft-fp/sqrtdf2.c: Likewise.
15829         * soft-fp/sqrtsf2.c: Likewise.
15830         * soft-fp/sqrttf2.c: Likewise.
15831         * soft-fp/subdf3.c: Likewise.
15832         * soft-fp/subsf3.c: Likewise.
15833         * soft-fp/subtf3.c: Likewise.
15834         * soft-fp/truncdfsf2.c: Likewise.
15835         * soft-fp/trunctfdf2.c: Likewise.
15836         * soft-fp/trunctfsf2.c: Likewise.
15837         * soft-fp/trunctfxf2.c: Likewise.
15838         * soft-fp/unorddf2.c: Likewise.
15839         * soft-fp/unordsf2.c: Likewise.
15840         * soft-fp/unordtf2.c: Likewise.
15841
15842 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15843
15844         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15845         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15846
15847 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15848
15849         * elf/dl-libc.c: Clear initfini list after freeing.
15850
15851 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15852
15853         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15854         * soft-fp/addsf3.c: Likewise.
15855         * soft-fp/addtf3.c: Likewise.
15856         * soft-fp/divdf3.c: Likewise.
15857         * soft-fp/divsf3.c: Likewise.
15858         * soft-fp/divtf3.c: Likewise.
15859         * soft-fp/double.h: Likewise.
15860         * soft-fp/eqdf2.c: Likewise.
15861         * soft-fp/eqsf2.c: Likewise.
15862         * soft-fp/eqtf2.c: Likewise.
15863         * soft-fp/extenddftf2.c: Likewise.
15864         * soft-fp/extended.h: Likewise.
15865         * soft-fp/extendsfdf2.c: Likewise.
15866         * soft-fp/extendsftf2.c: Likewise.
15867         * soft-fp/extendxftf2.c: Likewise.
15868         * soft-fp/fixdfdi.c: Likewise.
15869         * soft-fp/fixdfsi.c: Likewise.
15870         * soft-fp/fixdfti.c: Likewise.
15871         * soft-fp/fixsfdi.c: Likewise.
15872         * soft-fp/fixsfsi.c: Likewise.
15873         * soft-fp/fixsfti.c: Likewise.
15874         * soft-fp/fixtfdi.c: Likewise.
15875         * soft-fp/fixtfsi.c: Likewise.
15876         * soft-fp/fixtfti.c: Likewise.
15877         * soft-fp/fixunsdfdi.c: Likewise.
15878         * soft-fp/fixunsdfsi.c: Likewise.
15879         * soft-fp/fixunsdfti.c: Likewise.
15880         * soft-fp/fixunssfdi.c: Likewise.
15881         * soft-fp/fixunssfsi.c: Likewise.
15882         * soft-fp/fixunssfti.c: Likewise.
15883         * soft-fp/fixunstfdi.c: Likewise.
15884         * soft-fp/fixunstfsi.c: Likewise.
15885         * soft-fp/fixunstfti.c: Likewise.
15886         * soft-fp/floatdidf.c: Likewise.
15887         * soft-fp/floatdisf.c: Likewise.
15888         * soft-fp/floatditf.c: Likewise.
15889         * soft-fp/floatsidf.c: Likewise.
15890         * soft-fp/floatsisf.c: Likewise.
15891         * soft-fp/floatsitf.c: Likewise.
15892         * soft-fp/floattidf.c: Likewise.
15893         * soft-fp/floattisf.c: Likewise.
15894         * soft-fp/floattitf.c: Likewise.
15895         * soft-fp/floatundidf.c: Likewise.
15896         * soft-fp/floatundisf.c: Likewise.
15897         * soft-fp/floatunsidf.c: Likewise.
15898         * soft-fp/floatunsisf.c: Likewise.
15899         * soft-fp/floatuntidf.c: Likewise.
15900         * soft-fp/floatuntisf.c: Likewise.
15901         * soft-fp/floatuntitf.c: Likewise.
15902         * soft-fp/fmadf4.c: Likewise.
15903         * soft-fp/fmasf4.c: Likewise.
15904         * soft-fp/fmatf4.c: Likewise.
15905         * soft-fp/gedf2.c: Likewise.
15906         * soft-fp/gesf2.c: Likewise.
15907         * soft-fp/getf2.c: Likewise.
15908         * soft-fp/ledf2.c: Likewise.
15909         * soft-fp/lesf2.c: Likewise.
15910         * soft-fp/letf2.c: Likewise.
15911         * soft-fp/muldf3.c: Likewise.
15912         * soft-fp/mulsf3.c: Likewise.
15913         * soft-fp/multf3.c: Likewise.
15914         * soft-fp/negdf2.c: Likewise.
15915         * soft-fp/negsf2.c: Likewise.
15916         * soft-fp/negtf2.c: Likewise.
15917         * soft-fp/op-1.h: Likewise.
15918         * soft-fp/op-2.h: Likewise.
15919         * soft-fp/op-4.h: Likewise.
15920         * soft-fp/op-8.h: Likewise.
15921         * soft-fp/op-common.h: Likewise.
15922         * soft-fp/quad.h: Likewise.
15923         * soft-fp/single.h: Likewise.
15924         * soft-fp/soft-fp.h: Likewise.
15925         * soft-fp/sqrtdf2.c: Likewise.
15926         * soft-fp/sqrtsf2.c: Likewise.
15927         * soft-fp/sqrttf2.c: Likewise.
15928         * soft-fp/subdf3.c: Likewise.
15929         * soft-fp/subsf3.c: Likewise.
15930         * soft-fp/subtf3.c: Likewise.
15931         * soft-fp/truncdfsf2.c: Likewise.
15932         * soft-fp/trunctfdf2.c: Likewise.
15933         * soft-fp/trunctfsf2.c: Likewise.
15934         * soft-fp/trunctfxf2.c: Likewise.
15935         * soft-fp/unorddf2.c: Likewise.
15936         * soft-fp/unordsf2.c: Likewise.
15937         * soft-fp/unordtf2.c: Likewise.
15938
15939 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15940
15941         [BZ #15672]
15942         * misc/error.c (error_tail): Fix possible buffer overflow.
15943
15944 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15945
15946         [BZ #13028]
15947         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15948         address.
15949
15950 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15951
15952         [BZ #832]
15953         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15954         testing pipefail option.
15955
15956 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15957
15958         * soft-fp/double.h: Indent preprocessor directives inside #if.
15959         * soft-fp/extended.h: Likewise.
15960         * soft-fp/op-2.h: Likewise.
15961         * soft-fp/op-4.h: Likewise.
15962         * soft-fp/op-common.h: Likewise.
15963         * soft-fp/quad.h: Likewise.
15964         * soft-fp/single.h: Likewise.
15965         * soft-fp/soft-fp.h: Likewise.
15966
15967 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15968
15969         * iconv/iconv_prog.c: Fix typos.
15970         * stdio-common/psiginfo-data.h: Likewise.
15971
15972 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15973
15974         [BZ #15764]
15975         * locale/setlocale.c: Fix typo.
15976
15977 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15978
15979         [BZ #16036]
15980         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15981         signaling NaN arguments.
15982         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15983         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15984
15985         [BZ #14910]
15986         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15987         unordered operands.
15988         * soft-fp/gesf2.c (__gesf2): Likewise.
15989         * soft-fp/getf2.c (__getf2): Likewise.
15990         * soft-fp/ledf2.c (__ledf2): Likewise.
15991         * soft-fp/lesf2.c (__lesf2): Likewise.
15992         * soft-fp/letf2.c (__letf2): Likewise.
15993
15994         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15995         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15996         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15997         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15998         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15999         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16000         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16001         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16002         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16003         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16004         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16005         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16006         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16007         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16008         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16009         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16010         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16011         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16012         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16013         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16014         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16015         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16016         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16017         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16018         * soft-fp/floattidf.c (__floattidf): Likewise.
16019         * soft-fp/floattisf.c (__floattisf): Likewise.
16020         * soft-fp/floattitf.c (__floattitf): Likewise.
16021         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16022         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16023         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16024         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16025         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16026         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16027         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16028         * soft-fp/gesf2.c (__gesf2): Likewise.
16029         * soft-fp/getf2.c (__getf2): Likewise.
16030         * soft-fp/ledf2.c (__ledf2): Likewise.
16031         * soft-fp/lesf2.c (__lesf2): Likewise.
16032         * soft-fp/letf2.c (__letf2): Likewise.
16033
16034         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16035         Undefine and redefine.
16036         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16037         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16038         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16039         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16040         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16041         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16042         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16043         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16044         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16045         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16046         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16047         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16048         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16049         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16050         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16051
16052         [BZ #16032]
16053         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16054         without decrementing exponent if mantissa >= that for the
16055         denominator, not >.
16056         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16057         denominator, not >.  Decrement exponent in < case instead of
16058         incrementing in >= case.
16059         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16060         without decrementing exponent if mantissa >= that for the
16061         denominator, not >.
16062
16063         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16064         computing saturated result for unsigned overflow.
16065
16066 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16067             Jeff Law  <law@redhat.com>
16068
16069         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16070         (atan2Mp): Add systemtap probe marker.
16071         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16072         (__ieee754_log): Add systemtap probe marker.
16073         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16074         (atanMp): Add systemtap probe marker.
16075         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16076         (tanMp): Add systemtap probe marker.
16077         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16078         (__slowexp): Add systemtap probe marker.
16079         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16080         (__slowpow): Add systemtap probe marker.
16081         * manual/probes.texi: Document probes.
16082
16083 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16084
16085         [BZ #15362]
16086         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16087         written.
16088         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16089         written.
16090         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16091         written to buffer but not flushed.
16092         * libio/iofwrite_u.c:  Likewise.
16093         * libio/iopadn.c:  Return bytes returned even if EOF was
16094         encountered.
16095         * libio/iowpadn.c:  Likewise.
16096         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16097         if _IO_padn does not write the whole buffer.
16098         [!COMPILE_WPRINTF] (PAD): Likewise.
16099
16100 2013-10-10  David S. Miller  <davem@davemloft.net>
16101
16102         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16103         directory block.
16104
16105 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16106
16107         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16108         instead of FSF address.
16109         * soft-fp/fixdfti.c: Likewise.
16110         * soft-fp/fixsfti.c: Likewise.
16111         * soft-fp/fixtfti.c: Likewise.
16112         * soft-fp/fixunsdfti.c: Likewise.
16113         * soft-fp/fixunssfti.c: Likewise.
16114         * soft-fp/fixunstfti.c: Likewise.
16115         * soft-fp/floattidf.c: Likewise.
16116         * soft-fp/floattisf.c: Likewise.
16117         * soft-fp/floattitf.c: Likewise.
16118         * soft-fp/floatuntidf.c: Likewise.
16119         * soft-fp/floatuntisf.c: Likewise.
16120         * soft-fp/floatuntitf.c: Likewise.
16121         * soft-fp/trunctfxf2.c: Likewise.
16122
16123         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16124         * soft-fp/fixdfti.c: Likewise.
16125         * soft-fp/fixsfti.c: Likewise.
16126         * soft-fp/fixtfti.c: Likewise.
16127         * soft-fp/fixunsdfti.c: Likewise.
16128         * soft-fp/fixunssfti.c: Likewise.
16129         * soft-fp/fixunstfti.c: Likewise.
16130         * soft-fp/floattidf.c: Likewise.
16131         * soft-fp/floattisf.c: Likewise.
16132         * soft-fp/floattitf.c: Likewise.
16133         * soft-fp/floatuntidf.c: Likewise.
16134         * soft-fp/floatuntisf.c: Likewise.
16135         * soft-fp/floatuntitf.c: Likewise.
16136         * soft-fp/trunctfxf2.c: Likewise.
16137
16138 2013-10-10  David S. Miller  <davem@davemloft.net>
16139
16140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16141
16142 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16143
16144         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16145         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16146         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16147         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16148         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16149         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16150         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16151
16152         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16153         for NaNs before doing comparisons on argument.
16154         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16155         Likewise.
16156
16157 2013-10-10  Will Newton  <will.newton@linaro.org>
16158
16159         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16160         passed to _int_memalign does not overflow.
16161
16162 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16163
16164         * scripts/bench.pl: Add include-sources directive.
16165         * benchtests/README: Update documentation.
16166
16167 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16168
16169         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16170         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16171         instead of FP_INIT_ROUNDMODE.
16172         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16173         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16174
16175         [BZ #16034]
16176         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16177         copy class of input value.
16178         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16179         not handle exceptions.
16180         * soft-fp/negsf2.c (__negsf2): Likewise.
16181         * soft-fp/negtf2.c (__negtf2): Likewise.
16182         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16183
16184 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16185
16186         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16187         semicolon.  From Linux kernel.
16188
16189 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16190
16191         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16192
16193 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16194
16195         [BZ #156]
16196         * manual/socket.texi: Added statement about buffer
16197         for gethostbyname2_r.
16198
16199 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16200
16201         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16202         Use .p2align directive instead, throughout.
16203         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16204         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16205         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16206         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16207         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16208         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16209         * sysdeps/x86_64/strchr.S: Likewise.
16210         * sysdeps/x86_64/strrchr.S: Likewise.
16211
16212 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16213
16214         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16215
16216         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16217
16218         * sysdeps/generic/math_private.h (__mpsin1): Remove
16219         declaration.
16220         (__mpcos1): Likewise.
16221         (__mpsin): New argument __range_reduce.
16222         (__mpcos): Likewise.
16223         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16224         (slow): Use __mpsin and __mpcos.
16225         (slow1): Likewise.
16226         (slow2): Likewise.
16227         (sloww): Likewise.
16228         (sloww1): Likewise.
16229         (sloww2): Likewise.
16230         (bsloww): Likewise.
16231         (bsloww1): Likewise.
16232         (bsloww2): Likewise.
16233         (cslow2): Likewise.
16234         (csloww): Likewise.
16235         (csloww1): Likewise.
16236         (csloww2): Likewise.
16237         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16238         range_reduce.  Merge in __mpsin1.
16239         (__mpcos): Likewise.
16240         (__mpsin1): Remove.
16241         (__mpcos1): Likewise.
16242
16243 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16244
16245         * locale/loadlocale.c (_nl_intern_locale_data): Use
16246         LOCFILE_ALIGNED_P.
16247         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16248         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16249         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16250         obstack data is appropriately aligned.
16251         (obstack_int32_grow_fast): Likewise.
16252         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16253         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16254         (add_locale_uint32_array): Likewise.
16255
16256 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16257
16258         * benchtests/Makefile: Remove ARGLIST and RET variables.
16259         ($(objpfx)bench-%.c): Pass only function name to the script.
16260         * benchtests/README: Update documentation.
16261         * benchtests/acos-inputs: Add new directives.
16262         * benchtests/acosh-inputs: Likewise.
16263         * benchtests/asin-inputs: Likewise.
16264         * benchtests/asinh-inputs: Likewise.
16265         * benchtests/atan-inputs: Likewise.
16266         * benchtests/atanh-inputs: Likewise.
16267         * benchtests/cos-inputs: Likewise.
16268         * benchtests/cosh-inputs: Likewise.
16269         * benchtests/exp-inputs: Likewise.
16270         * benchtests/log-inputs: Likewise.
16271         * benchtests/pow-inputs: Likewise.
16272         * benchtests/rint-inputs: Likewise.
16273         * benchtests/sin-inputs: Likewise.
16274         * benchtests/sinh-inputs: Likewise.
16275         * benchtests/tan-inputs: Likewise.
16276         * benchtests/tanh-inputs: Likewise.
16277         * scripts/bench.pl: Add support for new directives.
16278
16279 2013-10-07  Alan Modra  <amodra@gmail.com>
16280
16281         * README: Fix careless merge.
16282
16283 2013-10-05  Alan Modra  <amodra@gmail.com>
16284
16285         * NEWS: Mention powerpc64le support and bugs fixed.
16286         * README: Both big-endian and little-endian powerpc64 supported.
16287
16288 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16289
16290         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16291         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16292         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16293         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16294
16295 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16296
16297         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16298         match prototype.
16299
16300 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16301
16302         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16303         Move -mhard-float appending from
16304         ports/sysdeps/powerpc/powerpc32/Makefile.
16305         [$(with-fp) = yes] (ASFLAGS): Likewise.
16306         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16307         * sysdeps/powerpc/nofpu: Move directory from
16308         ports/sysdeps/powerpc/nofpu.
16309         * sysdeps/powerpc/soft-fp: Move directory from
16310         ports/sysdeps/powerpc/soft-fp.
16311         * sysdeps/powerpc/powerpc32/405: Move directory from
16312         ports/sysdeps/powerpc/powerpc32/405.
16313         * sysdeps/powerpc/powerpc32/440: Move directory from
16314         ports/sysdeps/powerpc/powerpc32/440.
16315         * sysdeps/powerpc/powerpc32/464: Move directory from
16316         ports/sysdeps/powerpc/powerpc32/464.
16317         * sysdeps/powerpc/powerpc32/476: Move directory from
16318         ports/sysdeps/powerpc/powerpc32/476.
16319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16320         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16322         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16324         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16326         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16328         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16329         * README: Update for powerpc-*-linux-gnu software floating point
16330         support in libc.
16331
16332         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16333         case to powerpc/powerpc32*.
16334         * sysdeps/unix/sysv/linux/configure: Regenerated.
16335
16336         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16337         (_FPU_MASK_OM): Define as 0x04.
16338         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16339         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16340         0x00c10080.
16341         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16342         0x0000003c.
16343         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16344
16345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16346         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16347         getcontext_e500.
16348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16349         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16350         setcontext_e500.
16351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16352         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16353         and setcontext_e500.
16354
16355 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16356
16357         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16358
16359 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16360
16361         * manual/threads.texi (Default Thread Attributes): Fix typo.
16362
16363 2013-10-04  Will Newton  <will.newton@linaro.org>
16364
16365         * malloc/Makefile: Add tst-memalign.
16366         * malloc/tst-memalign.c: New file.
16367
16368         * malloc/tst-posix_memalign.c: Add comments.
16369         (do_test): Add comments and call free on all potentially
16370         allocated pointers. Add space after cast.
16371
16372         * malloc/tst-pvalloc.c: Add comments.
16373         (do_test): Add comments and call free on all potentially
16374         allocated pointers. Remove duplicate check for NULL pointer.
16375         Add space after cast.
16376
16377         * malloc/tst-valloc.c: Add comments.
16378         (do_test): Add comments and call free on all potentially
16379         allocated pointers. Remove duplicate check for NULL pointer.
16380         Add space after cast.
16381
16382 2013-10-04  Alan Modra  <amodra@gmail.com>
16383
16384         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16385         Use stdint types in rather than __attribute__((mode())).
16386         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16387
16388 2013-10-04  Alan Modra  <amodra@gmail.com>
16389
16390         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16391         Correct handling of unaligned relocs for little-endian.
16392         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16393
16394 2013-10-04  Alan Modra  <amodra@gmail.com>
16395
16396         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16397         * configure: Regenerate.
16398         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16399         * shlib-versions: Likewise.
16400
16401 2013-10-04  Alan Modra  <amodra@gmail.com>
16402
16403         * string/tester.c (test_memrchr): Increment reported test cycle.
16404
16405 2013-10-04  Alan Modra  <amodra@gmail.com>
16406
16407         * string/test-memcpy.c (do_one_test): When reporting errors, print
16408         string address and don't overrun end of string.
16409
16410 2013-10-04  Alan Modra  <amodra@gmail.com>
16411
16412         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16413         insrdi.  Make better use of reg selection to speed exit slightly.
16414         Schedule entry path a little better.  Remove useless "are we done"
16415         checks on entry to main loop.  Handle wrapping around zero address.
16416         Correct main loop count.  Handle single left-over word from main
16417         loop inline rather than by using loop_small.  Remove extra word
16418         case in loop_small caused by wrong loop count.  Add little-endian
16419         support.
16420         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16421         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16422         cache hint.
16423         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16424         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16425         support.  Avoid rlwimi.
16426         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16427
16428 2013-10-04  Alan Modra  <amodra@gmail.com>
16429
16430         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16431         insrdi.  Formatting.
16432         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16433         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16434         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16435         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16436         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16437         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16438
16439 2013-10-04  Alan Modra  <amodra@gmail.com>
16440
16441         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16442         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16443         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16444         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16445         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16446         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16447         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16448         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16449         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16450         use of regs.  Use power7 mtocrf.  Tidy function tails.
16451
16452 2013-10-04  Alan Modra  <amodra@gmail.com>
16453
16454         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16455         Formatting.  Consistently use rXXX register defines or rN defines.
16456         Use early exit labels that avoid restoring unused non-volatile regs.
16457         Make cr field use more consistent with rWORDn compares.  Rename
16458         regs used as shift registers for unaligned loop, using rN defines
16459         for short lifetime/multiple use regs.
16460         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16461         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16462         addi 1,1,64 to pop stack frame.  Simplify return value code.
16463         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16464
16465 2013-10-04  Alan Modra  <amodra@gmail.com>
16466
16467         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16468         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16469         rather than rlwimi.
16470         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16471         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16472         little-endian support.  Correct typos.
16473         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16474         rather than rlwimi.
16475         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16476         in loop and entry code to keep "and." results.
16477         (strchr): Add little-endian support.  Comment.  Move cntlzd
16478         earlier in tail.
16479         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16480
16481 2013-10-04  Alan Modra  <amodra@gmail.com>
16482
16483         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16484         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16485         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16486         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16487
16488 2013-10-04  Alan Modra  <amodra@gmail.com>
16489
16490         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16491         (rTMP): Define as r11.
16492         (strcmp): Add little-endian support.  Optimise tail.
16493         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16494         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16495         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16496         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16497         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16498         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16499         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16500
16501 2013-10-04  Alan Modra  <amodra@gmail.com>
16502
16503         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16504         little-endian support.  Remove unnecessary "are we done" tests.
16505         Handle "s" wrapping around zero and extremely large "size".
16506         Correct main loop count.  Handle single left-over word from main
16507         loop inline rather than by using small_loop.  Correct comments.
16508         Delete "zero" tail, use "end_max" instead.
16509         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16510
16511 2013-10-04  Alan Modra  <amodra@gmail.com>
16512
16513         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16514         support.  Don't branch over align.
16515         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16516         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16517         support.  Rearrange tmp reg use to suit.  Comment.
16518         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16519
16520 2013-10-04  Alan Modra  <amodra@gmail.com>
16521
16522         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16523
16524 2013-10-04  Alan Modra  <amodra@gmail.com>
16525
16526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16527         conditional form of branch and link when obtaining pc.
16528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16529
16530 2013-10-04  Alan Modra  <amodra@gmail.com>
16531
16532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16533         HIWORD/LOWORD.
16534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16536
16537 2013-10-04  Alan Modra  <amodra@gmail.com>
16538
16539         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16540         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16541         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16542         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16543         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16544         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16545         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16546         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16547         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16548         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16549
16550 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16551             Alistair Popple <alistair@ozlabs.au.ibm.com>
16552             Alan Modra <amodra@gmail.com>
16553
16554         [BZ #15723]
16555         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16556         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16557         _dl_hwcap access for little-endian.
16558         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16559         destroy vmx regs when saving unaligned.
16560         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16561         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16562         destroy vmx regs when saving unaligned.
16563
16564 2013-10-04  Alan Modra  <amodra@gmail.com>
16565
16566         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16567         Don't use a union to pack hi/low value.
16568
16569 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16570
16571         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16572         for little-endian.
16573         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16574         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16575         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16576         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16577         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16578
16579 2013-10-04  Alan Modra  <amodra@gmail.com>
16580
16581         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16582         constants to usual value for .cst8 section, and remove redundant
16583         high address load.
16584         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16585         constant for 0x1p52.  Load little-endian words of double from
16586         correct stack offsets.
16587
16588 2013-10-04  Alan Modra  <amodra@gmail.com>
16589
16590         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16591         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16592         words of double from correct stack offsets.
16593         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16594         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16595         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16596         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16597         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16598         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16599         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16600         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16601         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16602         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16603         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16604         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16605         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16606         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16607         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16608         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16609         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16610
16611 2013-10-04  Alan Modra  <amodra@gmail.com>
16612
16613         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16614         64-bit int/double union.
16615         (_FPU_SETCW): Likewise.
16616         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16617         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16618
16619 2013-10-04  Alan Modra  <amodra@gmail.com>
16620
16621         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16622         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16623
16624 2013-10-04  Alan Modra  <amodra@gmail.com>
16625
16626         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16627         use vector int constants.
16628         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16629
16630 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16631
16632         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16633         array with long long.
16634         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16635         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16636         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16637         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16638         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16639         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16640         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16641         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16642         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16643         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16644         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16645         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16646         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16647
16648 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16649
16650         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16651         (__signbit): Likewise.  Correct for little-endian.
16652         (__signbitl): Call __signbit.
16653         (lrint): Correct for little-endian.
16654         (lrintf): Call lrint.
16655
16656 2013-10-04  Alan Modra  <amodra@gmail.com>
16657
16658         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16659         union 32-bit int array member with 64-bit int array.
16660         (t515, tm256): Double rather than long double.
16661         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16662
16663 2013-10-04  Alan Modra  <amodra@gmail.com>
16664
16665         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16666         Delete.
16667         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16668         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16669         version of math_ldbl.h.
16670
16671 2013-10-04  Alan Modra  <amodra@gmail.com>
16672
16673         [BZ #15734], [BZ #15735]
16674         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16675         all uses of ieee875 long double macros and unions.  Simplify test
16676         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16677         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16678         normalize after ldbl_extract_mantissa, and don't add hidden bit
16679         already handled.  Don't treat low word of ieee854 mantissa like
16680         low word of IBM long double and mask off bit when testing for
16681         zero.
16682         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16683         all uses of ieee875 long double macros and unions.  Simplify tests
16684         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16685         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16686         two1022, instead use their values.  Recognise that tests for large
16687         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16688         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16689         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16690         test for 0.0L and nan.  Correct negation.
16691         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16692         ieee875 long double macros and unions.  Correct output for large
16693         magnitude x.  Correct absolute value calculation.
16694         (__erfcl): Likewise.
16695         * math/libm-test.inc: Add tests for errors discovered in IBM long
16696         double versions of fmodl, remainderl, erfl and erfcl.
16697
16698 2013-10-04  Alan Modra  <amodra@gmail.com>
16699
16700         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16701         all uses of ieee854 long double macros and unions.  Simplify tests
16702         for long doubles that are fully specified by the high double.
16703         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16704         Likewise.
16705         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16706         Remove dead code too.
16707         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16708         (__ieee754_ynl): Likewise.
16709         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16710         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16711         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16712         Remove dead code too.
16713         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16714         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16715         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16716         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16717         Simplify.
16718         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16719         Simplify.
16720         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16721         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16722         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16723         Comment on variable precision.
16724         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16725         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16726         Likewise.
16727         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16728         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16729         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16730         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16731         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16732
16733 2013-10-04  Alan Modra  <amodra@gmail.com>
16734
16735         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16736         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16737         all uses of ieee854 long double macros and unions.
16738         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16739         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16740         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16741         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16742         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16743         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16744         Likewise.
16745         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16746         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16747         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16748         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16749         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16750         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16751         Simplify sign and nan test too.
16752         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16753         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16754         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16755         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16756         Likewise.
16757         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16758         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16759         Likewise.
16760         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16761         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16762         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16763         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16764         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16765         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16766
16767 2013-10-04  Alan Modra  <amodra@gmail.com>
16768
16769         * stdio-common/printf_size.c (__printf_size): Don't use
16770         union ieee854_long_double in fpnum union.
16771         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16772         signbit macro to retrieve sign from long double.
16773         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16774         retrieve sign from long double.
16775         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16776         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16777         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16778         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16779         * math/test-misc.c (main): Don't use union ieee854_long_double.
16780
16781 2013-10-04  Alan Modra  <amodra@gmail.com>
16782
16783         [BZ #15680]
16784         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16785         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16786         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16787         calculation.  Remove unnecessary test for denormal exponent.
16788         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16789         Correct handling of denormals.  Avoid undefined shift behaviour.
16790         Correct normalisation of low mantissa when low double is denormal.
16791         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16792         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16793         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16794         Correct normalisation of low mantissa.  Test for overflow of high
16795         mantissa and normalise.
16796         (ldbl_nearbyint): Use more readable constant for two52.
16797         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16798         (__mpn_construct_long_double): Fix test for overflow of high
16799         mantissa and correct normalisation.  Avoid undefined shift.
16800
16801 2013-10-04  Alan Modra  <amodra@gmail.com>
16802
16803         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16804         (union ibm_extended_long_double): Define as an array of ieee754_double.
16805         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16806         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16807         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16808         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16809         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16810         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16811         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16812         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16813         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16814         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16815         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16816
16817 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16818
16819         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16820         page size instead of calling getpagesize.
16821
16822         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16823         (LOCFILE_ALIGN_MASK): Likewise.
16824         (LOCFILE_ALIGN_UP): Likewise.
16825         (LOCFILE_ALIGNED_P): Likewise.
16826         * locale/programs/ld-collate.c (collate_output): Use the new
16827         macros instead of __alignof__ (int32_t).
16828         * locale/weight.h (findidx): Likewise.
16829
16830 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16831
16832         [BZ #431]
16833         * manual/string.texi: Fix strncat and wcsncat.
16834
16835 2013-10-03  Brooks Moses  <bmoses@google.com>
16836
16837         [BZ #15915]
16838         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16839         * Makerules: ...here, and adjust associated comments.
16840
16841 2013-10-02  Will Newton  <will.newton@linaro.org>
16842
16843         * malloc/Makefile: Add tst-pvalloc.
16844         * malloc/tst-pvalloc.c: New file.
16845
16846 2013-10-02  Will Newton  <will.newton@linaro.org>
16847
16848         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16849         improve test coverage.
16850
16851 2013-10-02  Will Newton  <will.newton@linaro.org>
16852
16853         * malloc/Makefile: Add tst-posix_memalign.
16854         * malloc/tst-posix_memalign.c: New file.
16855
16856 2013-10-01  Eric Blake  <eblake@redhat.com>
16857
16858         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16859         Use __THROWNL rather than __THROW on static functions.
16860
16861 2013-09-30  Petr Machata  <pmachata@redhat.com>
16862
16863         * elf/elf.h (R_AARCH64_ABS16): New macro.
16864         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16865         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16866         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16867         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16868         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16869         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16870         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16871         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16872         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16873         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16874         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16875         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16876         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16877         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16878         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16879         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16880         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16881         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16882         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16883         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16884         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16885         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16886         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16887         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16888         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16889         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16890         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16891         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16892         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16893         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16894         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16895         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16896         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16897         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16898         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16899         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16900         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16901         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16902         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16903         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16904         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16905         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16906         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16907         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16908         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16909         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16910         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16911         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16912         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16913         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16914         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16915         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16916         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16917         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16918         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16919         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16920         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16921         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16922         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16923         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16924         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16925         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16926         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16927         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16928         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16929         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16930         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16931         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16932         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16933         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16934         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16935         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16936         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16937         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16938         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16939         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16940         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16941         (R_AARCH64_TLSDESC_LDR): Likewise.
16942         (R_AARCH64_TLSDESC_ADD): Likewise.
16943         (R_AARCH64_TLSDESC_CALL): Likewise.
16944
16945 2013-09-30  Andreas Schwab  <schwab@suse.de>
16946
16947         [BZ #15048]
16948         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16949         the nss database lookup.
16950         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16952
16953 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16954
16955         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16956
16957 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16958
16959         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16960         ${Bash-specific parameter/pattern/string} parameter expansion.
16961         * sysdeps/unix/make-syscalls.sh: Likewise.
16962
16963 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16964
16965         * sysdeps/sh/stackguard-macros.h: New file.
16966
16967 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16968
16969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16970         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16971         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16972         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16973         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16974         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16975
16976 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16977
16978         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16979         Fix thread ID register.
16980
16981 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16982
16983         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16984         [POSIX || UNIX98]: Require rather than permitting all symbols from
16985         <time.h>.
16986         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16987         element of struct sched_param.
16988         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16989         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16990         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16991         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16992         constant.
16993
16994 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16995
16996         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16997         argument calculation.
16998
16999 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17000
17001         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17002         Expect macro.
17003         [POSIX] (pthread_attr_t): Do not require type.
17004         [POSIX] (pthread_cond_t): Likewise.
17005         [POSIX] (pthread_condattr_t): Likewise.
17006         [POSIX] (pthread_key_t): Likewise.
17007         [POSIX] (pthread_mutex_t): Likewise.
17008         [POSIX] (pthread_mutexattr_t): Likewise.
17009         [POSIX] (pthread_once_t): Likewise.
17010         [POSIX] (pthread_t): Likewise.
17011         [POSIX-based standards] (pthread_atfork): Expect function.
17012
17013 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17014             Richard Sandiford  <richard@codesourcery.com>
17015
17016         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17017         (swap_endianness_p): New extern variable.
17018         (set_big_endian): New inline function.
17019         (maybe_swap_uint32): Likewise.
17020         (maybe_swap_uint32_array): Likewise.
17021         (maybe_swap_uint32_obstack): Likewise.
17022         * locale/programs/locfile.c: Include <stdbool.h>.
17023         (swap_endianness_p): New variable.
17024         (add_locale_uint32): Call maybe_swap_uint32.
17025         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17026         (write_locale_data): Call maybe_swap_uint32_array.
17027         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17028         maybe_swap_uint32.
17029         (obstack_int32_grow_fast): Likewise.
17030         (output_weightwc): Call maybe_swap_uint32_obstack.
17031         (collate_output): Likewise.
17032         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17033         (OPT_LITTLE_ENDIAN): Likewise.
17034         (options): Add --little-endian and --big-endian options.
17035         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17036         * locale/programs/locarchive.c: Include "locfile.h".
17037         (GET): New macro.
17038         (SET): Likewise.
17039         (INC): Likewise.
17040         (create_archive): Use the new macros to access fields of
17041         structures directly mapped from or written to locale archives.
17042         (oldlocrecentcmp): Likewise.
17043         (enlarge_archive): Likewise.
17044         (insert_name): Likewise.
17045         (add_alias): Likewise.
17046         (add_locale): Likewise.
17047         (delete_locales_from_archive): Likewise.
17048         (show_archive_content): Likewise.
17049         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17050         locale data.
17051
17052 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17053
17054         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17055         http://www.gnu.org/doc/freemanuals.texi.
17056         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17057
17058 2013-09-24  Will Newton  <will.newton@linaro.org>
17059
17060         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17061         macro.
17062
17063 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17064
17065         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17066         unsigned char.
17067
17068 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17069
17070         * manual/threads.texi (POSIX Threads): Fix a typo.
17071
17072 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17073
17074         [BZ #14547]
17075         * string/tst-strcoll-overflow.c: New test case.
17076         * string/Makefile (xtests): Add tst-strcoll-overflow.
17077         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17078         cache if string sizes may cause integer overflow.
17079
17080         [BZ #14547]
17081         * string/strcoll_l.c (coll_seq): New members rule, idx,
17082         save_idx and back_us.
17083         (get_next_seq_nocache): New function.
17084         (do_compare_nocache): New function.
17085         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17086         when malloc fails.
17087
17088 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17089
17090         [BZ #15754]
17091         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17092         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17093         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17094
17095         [BZ #15754]
17096         * elf/Makefile (tests): Add tst-ptrguard1.
17097         (tests-static): Add tst-ptrguard1-static.
17098         (tst-ptrguard1-ARGS): Define.
17099         (tst-ptrguard1-static-ARGS): Define.
17100         * elf/tst-ptrguard1.c: New file.
17101         * elf/tst-ptrguard1-static.c: New file.
17102         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17103         * sysdeps/i386/stackguard-macros.h: Likewise.
17104         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17105         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17106         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17107         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17108         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17109         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17110
17111 2013-09-23  Hector Marco  <hecmargi@upv.es>
17112             Ismael Ripoll  <iripoll@disca.upv.es>
17113             Carlos O'Donell  <carlos@redhat.com>
17114
17115         [BZ #15754]
17116         * sysdeps/generic/stackguard-macros.h: Define
17117         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17118         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17119         Define __pointer_chk_guard_local.
17120         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17121         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17122
17123 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17124
17125         [BZ #15859]
17126         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17127
17128 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17129
17130         * include/string.h (__ffs): Declare as hidden.
17131         * string/ffs.c (__ffs): Define as hidden.
17132         * sysdeps/i386/ffs.c (__ffs): Likewise.
17133         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17134         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17135         * sysdeps/s390/ffs.c (__ffs): Likewise.
17136         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17137
17138 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17139
17140         * NEWS: Mention malloc probes.
17141
17142         * malloc/arena.c (new_heap): New memory_heap_new probe.
17143         (grow_heap): New memory_heap_more probe.
17144         (shrink_heap): New memory_heap_less probe.
17145         (heap_trim): New memory_heap_free probe.
17146         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17147         (systrim): New memory_sbrk_less probe.
17148         * manual/probes.texi: Document them.
17149
17150         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17151         * manual/probes.texi: Document it.
17152
17153         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17154         (__libc_realloc): Add memory_realloc_retry probe.
17155         (__libc_memalign): Add memory_memalign_retry probe.
17156         (__libc_valloc): Add memory_valloc_retry probe.
17157         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17158         (__libc_calloc): Add memory_calloc_retry probe.
17159         * manual/probes.texi: Document them.
17160
17161         * malloc/arena.c (get_free_list): Add probe
17162         memory_arena_reuse_free_list.
17163         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17164         and memory_arena_reuse.
17165         (arena_get2) [!PER_THREAD]: Likewise.
17166         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17167         memory_arena_reuse_realloc.
17168         * manual/probes.texi: Document them.
17169
17170         * malloc/malloc.c (__libc_free): Add
17171         memory_mallopt_free_dyn_thresholds probe.
17172         (__libc_mallopt): Add multiple memory_mallopt probes.
17173         * manual/probes.texi: Document them.
17174
17175         * malloc/malloc.c: Include stap-probe.h.
17176         (__libc_mallopt): Add memory_mallopt probe.
17177         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17178         * manual/probes.texi: New.
17179         * manual/Makefile (chapters): Add probes.
17180         * manual/threads.texi: Set next node.
17181
17182 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17183
17184         [BZ #15963, #13985]
17185         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17186         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17187         Add `Chinese' to `nan' entry name.
17188
17189 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17190
17191         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17192         (POLYNOMIAL): Likewise.
17193         (TAYLOR_SINCOS): Likewise.
17194         (TAYLOR_SLOW): Likewise.
17195         (__sin): Use TAYLOR_SINCOS.
17196         (__cos): Likewise.
17197         (slow): Use TAYLOR_SLOW.
17198         (sloww): Likewise.
17199         (bsloww): Likewise.
17200         (csloww): Likewise.
17201
17202 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17203
17204         * stdlib/strtod_l.c: Fix buffer overrun.
17205
17206 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17207
17208         * benchtests/Makefile (bench): Add sincos.
17209         * benchtests/bench-sincos.c: New file.
17210
17211         * math/libm-test.inc (cos_test_data): New test inputs.
17212         (sin_test_data): Likewise.
17213
17214         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17215         macro.
17216         (__sin): Use it.
17217         (__cos): Likewise.
17218         (slow1): Likewise.
17219         (slow2): Likewise.
17220         (sloww1): Likewise.
17221         (sloww2): Likewise.
17222         (bsloww1): Likewise.
17223         (bsloww2): Likewise.
17224         (cslow2): Likewise.
17225         (csloww1): Likewise.
17226         (csloww2): Likewise.
17227
17228         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17229         function.
17230         (__sin): Use it.
17231         (__cos): Likewise.
17232
17233         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17234         gotos.
17235         (__cos): Likewise.
17236
17237 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17238
17239         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17240         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17241         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17242         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17243         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17244         * elf/cache.c (print_entry): Handle the new cache flags.
17245
17246 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17247             Aldy Hernandez  <aldyh@redhat.com>
17248
17249         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17250         Change condition to [_SOFT_FLOAT].
17251         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17252         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17253         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17254         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17255         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17256         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17257         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17258         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17259         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17260         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17261         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17262         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17263         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17264         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17265         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17266         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17267         declaration.
17268
17269 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17270
17271         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17272         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17273         (__longjmp): Use LOAD_GP to load saved GPRs.
17274         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17275         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17276         (__sigsetjmp): Use SAVE_GP to save GPRs.
17277
17278         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17279         Do not append -msoft-float.
17280         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17281
17282 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17283
17284         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17285
17286 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17287
17288         [BZ #15966]
17289         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17290         (_FPU_GETCW): Use initial "__" on variable and field names but not
17291         on macro parameter name.
17292         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17293         parentheses around reference to macro parameter.
17294
17295 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17296
17297         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17298         prototype.
17299         (ctype_startup): Use uint32_t in cast and sizeof for
17300         ctype->charnames.
17301
17302 2013-09-11  Jia Liu  <proljc@gmail.com>
17303
17304         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17305         __daddr_t_defined.
17306         [__FreeBSD__]: Likewise.
17307
17308 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17309
17310         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17311         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17312         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17313         (strchr): Remove __strchr_sse42 ifunc selection.
17314         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17315         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17316
17317 2013-09-11  Will Newton  <will.newton@linaro.org>
17318
17319         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17320         parameter to RES. Remove hardcoded 1000 value.
17321         * benchtests/bench-skeleton.c (main): Pass RES parameter
17322         to TIMING_INIT and multiply result by 1000.
17323
17324 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17325
17326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17327
17328 2013-09-11  Andreas Schwab  <schwab@suse.de>
17329
17330         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17331         if not defined.
17332         (O_TMPFILE) [__USE_GNU]: Define.
17333         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17334         Define.
17335
17336 2013-09-11  Will Newton  <will.newton@linaro.org>
17337
17338         [BZ #15857]
17339         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17340         does not overflow.
17341
17342 2013-09-11  Will Newton  <will.newton@linaro.org>
17343
17344         [BZ #15856]
17345         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17346         does not overflow.
17347
17348 2013-09-11  Will Newton  <will.newton@linaro.org>
17349
17350         [BZ #15855]
17351         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17352         does not overflow.
17353
17354 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17355
17356         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17357         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17358         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17359         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17360         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17361
17362 2013-09-10  Allan McRae  <allan@archlinux.org>
17363
17364         [BZ #15748]
17365         * manual/arith.texi (Parsing of Floats): Clarify
17366         cross-reference.
17367
17368         [BZ #15849]
17369         * manual/install.texi (Running make install): Mention
17370         --enable-pt-chown.
17371         * INSTALL: Regenerated.
17372
17373 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17374
17375         * csu/init-first.c (_init): Remove the !SHARED condition around
17376         FPU control word initialization.
17377         * elf/dl-support.c (_dl_fpu_control): New variable.
17378         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17379         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17380         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17381         * math/test-fpucw-static.c: New file.
17382         * math/test-fpucw-ieee.c: New file.
17383         * math/test-fpucw-ieee-static.c: New file.
17384         * math/Makefile (tests): Add `test-fpucw-ieee' and
17385         `$(tests-static)'.
17386         (tests-static): New variable.
17387         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17388         dependency to...
17389         [($(build-shared),yes)]
17390         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17391         ... this.
17392         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17393         New dependency.
17394
17395 2013-09-09  Allan McRae  <allan@archlinux.org>
17396
17397         [BZ #15939]
17398         * manual/string.texi (Collation Functions): Fix typo in
17399         strcoll example.
17400         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17401
17402         [BZ #15893]
17403         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17404
17405         [BZ #15892]
17406         * libio/memstream.c (open_memstream): Fix memory leak.
17407         * libio/wmemstream.c (open_wmemstream): Likewise.
17408
17409         [BZ #15895]
17410         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17411
17412 2013-09-09  Will Newton  <will.newton@linaro.org>
17413
17414         * malloc/Makefile: Add tst-realloc to tests.
17415         * malloc/tst-realloc.c: New file.
17416
17417 2013-09-09  Allan McRae  <allan@archlinux.org>
17418
17419         [BZ #15844]
17420         * COPYING: Update from GNU website to fix FSF address.
17421         * COPYING.LIB: Likewise.
17422
17423 2013-09-06  David S. Miller  <davem@davemloft.net>
17424
17425         * po/zh_TW.po: Update Chinese (traditional) translation from
17426         translation project.
17427
17428 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17429             Joseph Myers  <joseph@codesourcery.com>
17430
17431         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17432         "localeinfo.h".
17433         (obstack_chunk_alloc): New macro.
17434         (obstack_chunk_free): Likewise.
17435         (record_offset): New function.
17436         (init_locale_data): Likewise.
17437         (align_locale_data): Likewise.
17438         (add_locale_empty): Likewise.
17439         (add_locale_raw_data): Likewise.
17440         (add_locale_raw_obstack): Likewise.
17441         (add_locale_string): Likewise.
17442         (add_locale_wstring): Likewise.
17443         (add_locale_uint32): Likewise.
17444         (add_locale_uint32_array): Likewise.
17445         (add_locale_char): Likewise.
17446         (start_locale_structure): Likewise.
17447         (end_locale_structure): Likewise.
17448         (start_locale_prelude): Likewise.
17449         (end_locale_prelude): Likewise.
17450         (write_locale_data): Take locale_file structure rather than an
17451         iovec.
17452         * locale/programs/locfile.h: Include "obstack.h".
17453         (struct locale_file): Change to store locale file contents instead
17454         of header.
17455         (init_locale_data): New prototype.
17456         (align_locale_data): Likewise.
17457         (add_locale_empty): Likewise.
17458         (add_locale_raw_data): Likewise.
17459         (add_locale_raw_obstack): Likewise.
17460         (add_locale_string): Likewise.
17461         (add_locale_wstring): Likewise.
17462         (add_locale_uint32): Likewise.
17463         (add_locale_uint32_array): Likewise.
17464         (add_locale_char): Likewise.
17465         (start_locale_structure): Likewise.
17466         (end_locale_structure): Likewise.
17467         (start_locale_prelude): Likewise.
17468         (end_locale_prelude): Likewise.
17469         (write_locale_data): Update prototype.
17470         * locale/programs/3level.h (struct TABLE): Remove result field.
17471         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17472         Use new locale_file interface.
17473         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17474         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17475         * locale/programs/ld-address.c (address_output): Use new
17476         locale_file interface.
17477         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17478         NO_ADD_LOCALE.
17479         (collate_finish): Don't call collseq_table_finalize.
17480         (collate_output): Use new locale_file interface.
17481         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17482         in file.
17483         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17484         (TABLE): Move defines earlier in file.
17485         (ELEMENT): Likewise.
17486         (DEFAULT): Likewise.
17487         (wctrans_table_add): Move macro and inline function earlier in
17488         file.
17489         (struct wctype_table): Move type earlier in file.
17490         (add_locale_wctype_table): New static prototype.
17491         (struct locale_ctype_t): Use logical types instead of struct iovec
17492         pointers for members.
17493         (ctype_output): Use new locale_file interface.
17494         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17495         new locale_file interface.
17496         (allocate_arrays): Update for use of new locale_file interface.
17497         * locale/programs/ld-identification.c (identification_output): Use
17498         new locale_file interface.
17499         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17500         * locale/programs/ld-messages.c (messages_output): Likewise.
17501         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17502         * locale/programs/ld-name.c (name_output): Likewise.
17503         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17504         * locale/programs/ld-paper.c (paper_output): Likewise.
17505         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17506         * locale/programs/ld-time.c (time_output): Likewise.
17507
17508 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17509
17510         * benchtests/Makefile: Add memrchr benchmark.
17511         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17512         benchmark as memrchr.
17513         * benchtests/bench-memrchr-ifunc.c: New file.
17514         * benchtests/bench-memrchr.c: New file.
17515
17516 2013-09-06   Will Newton  <will.newton@linaro.org>
17517
17518         * benchtests/Makefile (string-bench): Add memcpy.
17519
17520 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17521             Cong Wang  <amwang@redhat.com>
17522
17523         [BZ #15850]
17524         * sysdeps/unix/sysv/linux/bits/in.h
17525         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17526         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17527         before __USE_KERNEL_IPV6_DEFS uses.
17528         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17529         IPPROTO_BEETPH.
17530         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17531         sockaddr_in6, or ipv6_mreq.
17532
17533 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17534
17535         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17536         memory access for final bytes in some large inputs.
17537         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17538
17539 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17540
17541         * string/test-memrchr.c: New file.
17542         * string/test-memrchr-ifunc.c: New file.
17543         * string/Makefile: Add new memrchr testcase.
17544
17545 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17546
17547         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17548         fanotify_init returns EPERM.
17549
17550 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17551
17552         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17553         errors.
17554         (top level): Treat second token from macro or constant entries for
17555         allowed headers as allowed.
17556         * include/complex.h: Condition internal declarations on
17557         [!_ISOMAC].
17558         * include/fenv.h: Condition include of <stdbool.h> and internal
17559         declarations on [!_ISOMAC].
17560
17561 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17562
17563         [BZ #15923]
17564         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17565
17566 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17567
17568         * configure.in (--enable-versioning): Remove configure option.
17569         (libc_cv_asm_symver_directive): Remove configure test.
17570         (libc_cv_ld_version_script_option): Likewise.
17571         (VERSIONING): Remove variable and AC_SUBST.
17572         (DO_VERSIONING): Remove AC_DEFINE.
17573         * configure: Regenerated.
17574         * config.h.in (DO_VERSIONING): Remove macro.
17575         * Makerules [$(versioning) = yes]: Change conditionals to
17576         [$(build-shared) = yes].
17577         * config.make.in (versioning): Remove variable.
17578         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17579         [$(build-shared) = yes].
17580         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17581         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17582         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17583         [$(build-shared) = yes].
17584         * extra-lib.mk [$(versioning) = yes]: Likewise.
17585         * hurd/Makefile [$(versioning) = yes]: Likewise.
17586         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17587         [SHARED].
17588         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17589         [SHARED].
17590         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17591         [SHARED && !NO_HIDDEN].
17592         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17593         [SHARED].
17594         [SHARED && DO_VERSIONING]: Likewise..
17595         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17596         [$(build-shared) = yes].
17597         * manual/install.texi (--disable-versioning): Remove
17598         documentation.
17599         * INSTALL: Regenerated.
17600         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17601         to [SHARED].
17602         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17603         [$(build-shared) = yes].
17604         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17605         * sysdeps/i386/i686/multiarch/strstr-c.c
17606         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17607         [SHARED && !NO_HIDDEN].
17608         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17609         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17610         * sysdeps/powerpc/powerpc32/dl-machine.c
17611         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17612         * sysdeps/powerpc/powerpc32/sysdep.h
17613         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17614         to [SHARED && PIC && !NO_HIDDEN].
17615         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17616         conditional to [SHARED].
17617
17618 2013-09-04   Will Newton  <will.newton@linaro.org>
17619
17620         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17621         * benchtests/bench-string.h: Include bench-timing.h instead
17622         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17623         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17624         call to HP_TIMING_DIFF_INIT.
17625         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17626         instead of hp-timing.h macros.
17627         * benchtests/bench-memchr.c: Likewise.
17628         * benchtests/bench-memcmp.c: Likewise.
17629         * benchtests/bench-memcpy.c: Likewise.
17630         * benchtests/bench-memmem.c: Likewise.
17631         * benchtests/bench-memmove.c: Likewise.
17632         * benchtests/bench-memset.c: Likewise.
17633         * benchtests/bench-rawmemchr.c: Likewise.
17634         * benchtests/bench-strcasecmp.c: Likewise.
17635         * benchtests/bench-strcasestr.c: Likewise.
17636         * benchtests/bench-strcat.c: Likewise.
17637         * benchtests/bench-strchr.c: Likewise.
17638         * benchtests/bench-strcmp.c: Likewise.
17639         * benchtests/bench-strcpy.c: Likewise.
17640         * benchtests/bench-strcpy_chk.c: Likewise.
17641         * benchtests/bench-strlen.c: Likewise.
17642         * benchtests/bench-strncasecmp.c: Likewise.
17643         * benchtests/bench-strncat.c: Likewise.
17644         * benchtests/bench-strncmp.c: Likewise.
17645         * benchtests/bench-strncpy.c: Likewise.
17646         * benchtests/bench-strnlen.c: Likewise.
17647         * benchtests/bench-strpbrk.c: Likewise.
17648         * benchtests/bench-strrchr.c: Likewise.
17649         * benchtests/bench-strspn.c: Likewise.
17650         * benchtests/bench-strstr.c: Likewise.
17651
17652 2013-09-04  Will Newton  <will.newton@linaro.org>
17653
17654         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17655
17656 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17657
17658         [BZ #15427]
17659         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17660         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17661         * math/libm-test.inc (lgamma_test_data): Add more tests.
17662         * sysdeps/i386/fpu/libm-test-ulps: Update.
17663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17664
17665 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17666
17667         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17668         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17669         Add ifunc.
17670         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17671         Add strcmp-sse2-unaligned
17672         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17673
17674 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17675
17676         * Versions.def (libc): Add GLIBC_2.19.
17677
17678 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17679
17680         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17681         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17682
17683 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17684
17685         [BZ #14155]
17686         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17687         intermediate calculations in recurrence.
17688         (__ieee754_ynf): Likewise.
17689         * math/libm-test.inc (jn_test_data): Do not allow spurious
17690         underflow exception.  Add more tests.
17691         (yn_test_data): Add more tests.
17692         * sysdeps/i386/fpu/libm-test-ulps: Update.
17693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17694
17695 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17696
17697         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17698
17699 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17700
17701         * csu/init-first.c: Fix then/than typos.
17702         * locale/programs/ld-collate.c: Likewise.
17703         * locale/programs/linereader.h: Likewise.
17704         * manual/charset.texi: Likewise.
17705         * manual/filesys.texi: Likewise.
17706         * manual/stdio.texi: Likewise.
17707         * manual/string.texi: Likewise.
17708         * stdlib/fmtmsg.c: Likewise.
17709         * sysdeps/i386/stpncpy.S: Likewise.
17710         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17711         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17712         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17713         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17714
17715 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17716
17717         * elf/dl-open.c: Fix typos.
17718         * iconvdata/gbbig5.c: Likewise.
17719         * iconvdata/iso-2022-jp.c: Likewise.
17720         * iconv/gconv_int.h: Likewise.
17721         * iconv/loop.c: Likewise.
17722         * nis/rpcsvc/nis.h: Likewise.
17723         * resolv/ns_name.c: Likewise.
17724         * stdio-common/vfscanf.c: Likewise.
17725         * streams/stropts.h: Likewise.
17726         * sunrpc/rpc_thread.c: Likewise.
17727         * sysdeps/i386/strpbrk.S: Likewise.
17728         * sysdeps/ieee754/k_standard.c: Likewise.
17729         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17730         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17731         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17732         * sysdeps/mach/hurd/profil.c: Likewise.
17733         * sysdeps/s390/dl-procinfo.h: Likewise.
17734         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17735         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17736         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17737         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17738         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17739
17740 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17741
17742         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17743         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17744
17745 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17746
17747         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17748         aix specific files.
17749         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17750         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17751         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17752         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17753         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17754         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17755         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17756         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17757
17758 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17759             Roland McGrath  <roland@hack.frob.com>
17760
17761         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17762         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17763
17764 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17765
17766         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17767         __executable_start symbol instead of _start.
17768
17769 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17770
17771         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17772         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17773         Move macros to...
17774         * sysdeps/gnu/ldsodefs.h: ... this new file.
17775
17776         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17777         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17778         instead of ELFOSABI_LINUX.
17779
17780         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17781         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17782         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17783         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17784         Likewise.
17785         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17786         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17787         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17788         Likewise.
17789         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17790         (ibm_extended_long_double): Add ieee_nan member.
17791         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17792         (do_test): New function.
17793
17794         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17795         TEST_TRUNC.
17796         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17797         functions, renamed from truncdfsf_test, trunctfsf_test,
17798         trunctfdf_test.
17799         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17800         functions.
17801         (do_test): Run all these.
17802
17803 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17804
17805         * argp/argp-help.c: Fix typos.
17806         * argp/argp-parse.c: Likewise.
17807         * debug/backtracesyms.c: Likewise.
17808         * elf/elf.h: Likewise.
17809         * malloc/malloc.c: Likewise.
17810         * nis/nis_print.c: Likewise.
17811         * resolv/res_comp.c: Likewise.
17812         * stdlib/stdlib.h: Likewise.
17813         * sunrpc/clnt_tcp.c: Likewise.
17814         * sunrpc/clnt_udp.c: Likewise.
17815         * sunrpc/clnt_unix.c: Likewise.
17816         * sysdeps/unix/bsd/ptsname.c: Likewise.
17817         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17818         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17820         Likewise.
17821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17822         Likewise.
17823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17824         Likewise.
17825         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17826
17827 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17828
17829         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17830         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17831
17832 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17833
17834         [BZ #15897]
17835         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17836         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17837         ($(objpfx)bug-dl-leaf): New rule.
17838         ($(objpfx)bug-dl-leaf.so): Likewise.
17839         ($(objpfx)bug-dl-leaf.out): Likewise.
17840         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17841         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17842         * dlfcn/bug-dl-leaf.c: New test.
17843         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17844         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17845         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17846         (dlclose): Likewise.
17847         (dlmopen): Likewise.
17848
17849 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17850
17851         * include/netdb.h [!_ISOMAC]:
17852         Don't include <tls.h>.
17853         (h_errno, __libc_h_errno): Move declaration and macros out of
17854         [_LIBC_REENTRANT].
17855
17856         * include/resolv.h [_RESOLV_H_]:
17857         Don't include <tls.h>.
17858         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17859         * resolv/res_libc.c: Don't include <tls.h>.
17860         (_res): Use __attribute__ ((nocommon)) in place of
17861         __attribute__ ((section (".bss"))).
17862
17863         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17864         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17865
17866         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17867
17868         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17869         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17870
17871         * resolv/res_mkquery.c: Include <sys/time.h>.
17872
17873         * inet/ifreq.c: Moved to ...
17874         * sysdeps/unix/ifreq.c: ... here.
17875         * inet/ifreq.c: New file, true stub version.
17876
17877         * socket/sa_len.c: New file.
17878         * socket/Makefile (aux): Add it.
17879         * sysdeps/unix/sysv/linux/Makefile
17880         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17881         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17882         and #include <socket/sa_len.c>.
17883         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17884         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17885
17886         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17887         * bits/socket.h: ... here.
17888
17889         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17890         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17891         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17892
17893 2013-08-27  Andreas Schwab  <schwab@suse.de>
17894
17895         [BZ #15736]
17896         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17897         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17898         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17899         * string/test-strcasecmp.c (test_main): Run tests in several
17900         locales.
17901         * string/test-strncasecmp.c (test_main): Likewise.
17902
17903         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17904         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17905         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17906         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17907         (__strncasecmp_ssse3) [PIC]: Likewise.
17908
17909 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17910
17911         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17912
17913         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17914         instead of explicitly declaring xdecrypt.
17915         * nis/nss_nis/nis-publickey.c: Likewise.
17916
17917 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17918
17919         [BZ #15890]
17920         * nscd/aicache.c: Include res_hconf.h.
17921         (addhstaiX): Initialize res_hconf.
17922
17923 2013-08-26  Andreas Schwab  <schwab@suse.de>
17924
17925         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17926         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17927
17928 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17929
17930         * nscd/aicache.c (addhstaiX): Fix indentation.
17931
17932 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17933
17934         * configure.ac: Quote $build_pt_chown test.
17935         * configure: Regenerated.
17936
17937 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17938
17939         [BZ #15532]
17940         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17941         * math/s_cexpf.c (__cexpf): Likewise.
17942         * math/s_cexpl.c (__cexpl): Likewise.
17943         * math/libm-test.inc (cexp_test_data): Correct expected return
17944         value for NaN + i0.  Add another test.
17945
17946 2013-08-22  David S. Miller  <davem@davemloft.net>
17947
17948         * po/ca.po: Update Catalan translation from translation project.
17949         * po/uk.po: Add Ukrainian translations from translation project.
17950
17951 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17952
17953         [BZ #15797]
17954         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17955         is infinite, not alongside NaN test.
17956         * math/s_fdimf.c (__fdimf): Likewise.
17957         * math/s_fdiml.c (__fdiml): Likewise.
17958         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17959         errno is unchanged.
17960
17961 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17962
17963         * argp/argp-help.c: Fix typos.
17964         * crypt/speeds.c: Likewise.
17965         * csu/check_fds.c: Likewise.
17966         * elf/dl-load.c: Likewise.
17967         * elf/dl-open.c: Likewise.
17968         * elf/reldep3.c: Likewise.
17969         * elf/reldep.c: Likewise.
17970         * elf/sprof.c: Likewise.
17971         * iconv/iconv_charmap.c: Likewise.
17972         * iconv/skeleton.c: Likewise.
17973         * iconv/strtab.c: Likewise.
17974         * io/lockf64.c: Likewise.
17975         * libio/libioP.h: Likewise.
17976         * resolv/gai_notify.c: Likewise.
17977         * resolv/ns_name.c: Likewise.
17978         * resolv/ns_samedomain.c: Likewise.
17979         * resolv/res_send.c: Likewise.
17980         * stdlib/random.c: Likewise.
17981         * sunrpc/rpc/xdr.h: Likewise.
17982         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17983         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17984         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17985         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17986         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17987         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17988         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17989         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17990         * sysdeps/mach/hurd/check_fds.c: Likewise.
17991         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17992         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17993         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17994         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17995         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17996         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17997         * sysdeps/pthread/aio_notify.c: Likewise.
17998         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17999         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18000         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18001         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18002         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18003
18004 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18005
18006         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18007         version if bit_Slow_SSE4_2 is set.
18008         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18009         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18010
18011 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18012
18013         [BZ #15867]
18014         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18015         trampoline stack frame information.
18016         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18017         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18018         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18019         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18020         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18021         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18022         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18023         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18024         sa_flags value.
18025         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18026         interrupting a syscall and set with option SA_SIGINFO.
18027
18028 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18029
18030         [BZ #15531]
18031         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18032         argument is infinite.
18033         * math/s_cprojf.c (__cprojf): Likewise.
18034         * math/s_cprojl.c (__cprojl): Likewise.
18035         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18036         * math/libm-test.inc (cproj_test_data): Add more tests.
18037
18038         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18039
18040         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18041         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18042         size.  Use __ffs to determine corresponding shift.
18043
18044 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18045             Roland McGrath  <roland@hack.frob.com>
18046
18047         * Makefile (INSTALL): Remove trailing blank lines from output of
18048         makeinfo.
18049
18050 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18051
18052         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18053         Align 32 bit compat elf_greg to 8 bytes.
18054
18055 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18056
18057         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18058
18059 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18060
18061         * string/strcoll_l.c (coll_seq): New structure.
18062         (get_next_seq_cached): New function.
18063         (get_next_seq): New function.
18064         (do_compare): New function.
18065         (STRCOLL): Use GNU style definition.  Simplify implementation
18066         by using get_next_seq, get_next_seq_cached and do_compare.
18067
18068 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18069
18070         [BZ #14699]
18071         CVE-2013-4237
18072         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18073         member.
18074         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18075         member.
18076         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18077         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18078         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18079         conditional.
18080         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18081         GETDENTS_64BIT_ALIGNED.
18082         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18083         * manual/filesys.texi (Reading/Closing Directory): Document
18084         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18085         strongly.
18086         * manual/conf.texi (Limits for Files): Add portability note to
18087         NAME_MAX, PATH_MAX.
18088         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18089
18090 2013-08-13  Andreas Schwab  <schwab@suse.de>
18091
18092         [BZ #15749]
18093         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18094         of fabs.
18095         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18096         LDBL_MAX_EXP >= 16384]: Add tests for it.
18097
18098 2013-08-12  David S. Miller  <davem@davemloft.net>
18099
18100         * version.h (RELEASE): Set to "development".
18101         (VERSION): Set to "2.18.90".
18102         * NEWS: Add 2.19 section.
18103
18104 2013-08-03  David S. Miller  <davem@davemloft.net>
18105
18106         * po/ko.po: Update Korean translation from translation project.
18107
18108 2013-08-01  David S. Miller  <davem@davemloft.net>
18109
18110         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18111         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18112         Bilka.
18113
18114 2013-07-30  David S. Miller  <davem@davemloft.net>
18115
18116         * po/fr.po: Update French translation from translation project.
18117
18118 2013-07-28  David S. Miller  <davem@davemloft.net>
18119
18120         * po/cs.po: Update Czech translation from translation project.
18121
18122         * po/sv.po: Update Swedish translation from translation project.
18123
18124 2013-07-27  David S. Miller  <davem@davemloft.net>
18125
18126         * po/eo.po: Update Esperanto translation from translation project.
18127
18128         * po/vi.po: Update Vietnamese translation from translation project.
18129
18130         * po/de.po: Update German translation from translation project.
18131
18132 2013-07-26  David S. Miller  <davem@davemloft.net>
18133
18134         * po/bg.po: Update Bulgarian translation from translation project.
18135
18136         * po/nl.po: Update Dutch translation from translation project.
18137         * po/pl.po: Update Polish translation from translation project.
18138         * po/ru.po: Update Russian translation from translation project.
18139
18140 2013-07-24  David S. Miller  <davem@davemloft.net>
18141
18142         * po/libc.pot: Update.
18143
18144 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18145
18146         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18147         variable page size.
18148         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18149         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18150         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18151
18152 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18153
18154         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18155
18156 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18157             Andreas Schwab  <schwab@suse.de>
18158             Roland McGrath  <roland@hack.frob.com>
18159             Joseph Myers  <joseph@codesourcery.com>
18160             Carlos O'Donell  <carlos@redhat.com>
18161
18162         [BZ #15755]
18163         * config.h.in: Define HAVE_PT_CHOWN.
18164         * config.make.in (build-pt-chown): New variable.
18165         * configure.in (--enable-pt_chown): New configure option.
18166         * configure: Regenerate.
18167         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18168         build-pt-chown is enabled.
18169         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18170         pt_chown to fix pty ownership.
18171         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18172         CLOSE_ALL_FDS.
18173         * manual/install.texi (Configuring and compiling): Mention
18174         --enable-pt_chown. Add @findex for grantpt.
18175         * INSTALL: Regenerate.
18176
18177 2013-07-20  David S. Miller  <davem@davemloft.net>
18178
18179         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18180         difference between 32-bit and 64-bit.
18181
18182 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18183
18184         [BZ #15711]
18185         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18186         Avoid system header dependency with -ffreestanding.
18187         ($(objpfx)bits/syscall%d): Likewise.
18188
18189 2013-07-13  David S. Miller  <davem@davemloft.net>
18190
18191         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18192         underflows from atanl/atan2l due to bug 15319.
18193         (casinh_test_data): Likewise.
18194
18195 2013-07-07  David S. Miller  <davem@davemloft.net>
18196
18197         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18198
18199 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18200
18201         * sysdeps/i386/fpu/libm-test-ulps: Update.
18202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18203
18204 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18205
18206         * configure.in (--enable-lock-elision): Fix message text.
18207         * INSTALL: Regenerate.
18208         * configure: Regenerate.
18209
18210 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18211
18212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18213
18214 2013-07-03  Andreas Jaeger  <aj@suse.de>
18215
18216         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18217         define.
18218         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18219         (ptrace_peeksiginfo_args): Add.
18220         (__ptrace_peeksiginfo_flags): Add.
18221         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18222         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18223         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18224
18225 2013-07-03  Allan McRae  <allan@archlinux.org>
18226
18227         * sysdeps/i386/fpu/libm-test-ulps: Update.
18228
18229 2013-07-02  David S. Miller  <davem@davemloft.net>
18230
18231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18232
18233 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18234
18235         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18236
18237 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18238
18239         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18241
18242 2013-07-02  Andi Kleen <ak@linux.intel.com>
18243
18244         * config.h.in (ENABLE_LOCK_ELISION): Add.
18245         * configure.in (--enable-lock-elision): Add option.
18246         * manual/install.texi: Document --enable lock elision.
18247         * configure: Regenerate
18248         * INSTALL: Regenerate.
18249
18250 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18251
18252         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18253         SSE4.2 strcasecmp for libc.a.
18254         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18255
18256 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18257
18258         [BZ #13304]
18259         * soft-fp/op-common.h (_FP_FMA): New macro.
18260         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18261         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18262         (_FP_MUL_MEAT_1_imm): ... here.
18263         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18264         (_FP_MUL_MEAT_1_wide): ... here.
18265         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18266         (_FP_MUL_MEAT_1_hard): ... here.
18267         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18268         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18269         (_FP_MUL_MEAT_2_wide): ... here.
18270         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18271         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18272         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18273         (_FP_MUL_MEAT_2_gmp): ... here.
18274         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18275         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18276         (_FP_MUL_MEAT_4_wide): ... here.
18277         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18278         (_FP_MUL_MEAT_4_gmp): ... here.
18279         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18280         (_FP_WFRACBITS_DW_S): Likewise.
18281         (_FP_WFRACXBITS_DW_S): Likewise.
18282         (_FP_HIGHBIT_DW_S): Likewise.
18283         (FP_FMA_S): Likewise.
18284         (_FP_FRAC_HIGH_DW_S): Likewise.
18285         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18286         (_FP_WFRACBITS_DW_D): Likewise.
18287         (_FP_WFRACXBITS_DW_D): Likewise.
18288         (_FP_HIGHBIT_DW_D): Likewise.
18289         (FP_FMA_D): Likewise.
18290         (_FP_FRAC_HIGH_DW_D): Likewise.
18291         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18292         (_FP_WFRACBITS_DW_E): Likewise.
18293         (_FP_WFRACXBITS_DW_E): Likewise.
18294         (_FP_HIGHBIT_DW_E): Likewise.
18295         (FP_FMA_E): Likewise.
18296         (_FP_FRAC_HIGH_DW_E): Likewise.
18297         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18298         (_FP_WFRACBITS_DW_Q): Likewise.
18299         (_FP_WFRACXBITS_DW_Q): Likewise.
18300         (_FP_HIGHBIT_DW_Q): Likewise.
18301         (FP_FMA_Q): Likewise.
18302         (_FP_FRAC_HIGH_DW_Q): Likewise.
18303         * soft-fp/fmasf4.c: New file.
18304         * soft-fp/fmadf4.c: Likewise.
18305         * soft-fp/fmatf4.c: Likewise.
18306
18307 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18308
18309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18310         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18311         Silvermont.
18312         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18313         macro.
18314         (index_Slow_SSE4_2): Likewise.
18315         (index_Prefer_PMINUB_for_stringop): Likewise.
18316         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18317         bit_Slow_SSE4_2 is set.
18318         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18319         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18320
18321 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18322
18323         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18324         rtld_global._dl_hwcap2.
18325         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18326         POWER8.
18327         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18328         POWER8 feature descriptions defined in _dl_hwcap2.
18329         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18330         string handling for POWER8 feature bits.
18331         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18332         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18333         _dl_powerpc_cap_flags.
18334         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18335         * sysdeps/powerpc/rtld-global-offsets.sym
18336         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18337         _dl_hwcap2 in the rtld_global_ro structure.
18338
18339 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18340
18341         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18342         hardware capabilities in support of AT_HWCAP2.
18343         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18344         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18345         GLRO(dl_hwcap2).
18346         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18347         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18348         explicitly the unknown a_type display mechanism is used.
18349         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18350         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18351         struct member.
18352         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18353         to macro prototype for AT_HWCAP2 support.
18354         * sysdeps/i386/dl-procinfo.h: Likewise.
18355         * sysdeps/s390/dl-procinfo.h: Likewise.
18356         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18357         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18358         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18359         return -1 for unknown a_type display fallback.
18360         * sysdeps/sparc/dl-procinfo.h: Likewise.
18361         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18362         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18363
18364 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18365
18366         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18367         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18368
18369 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18370
18371         [BZ #12492]
18372         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18373         mprotect making __stack_prot writable.
18374
18375 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18376             Joseph Myers  <joseph@codesourcery.com>
18377
18378         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18379         as being properly aligned.
18380
18381 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18382
18383         * dlfcn/modstatic5.c: New file.
18384         * dlfcn/tststatic5.c: New file.
18385         * dlfcn/Makefile (tests): Add tststatic5.
18386         (tests-static): Likewise.
18387         (modules-names): Add modstatic5.
18388         (tststatic5-ENV): New variable.
18389         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18390
18391         [BZ #15022]
18392         * elf/dl-support.c (_dl_main_map): New variable.
18393         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18394         (_dl_nns, _dl_load_adds): Set to 1.
18395         (_dl_initial_searchlist): Refer to _dl_main_map.
18396         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18397         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18398         call to _dl_get_origin.
18399         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18400         around call_map.
18401         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18402         * dlfcn/modstatic3.c: New file.
18403         * dlfcn/tststatic3.c: New file.
18404         * dlfcn/tststatic4.c: New file.
18405         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18406         (tests-static): Likewise.
18407         (modules-names): Add modstatic3.
18408         (tststatic3-ENV, tststatic4-ENV): New variables.
18409         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18410         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18411
18412 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18413
18414         * configure.in (CC): Require GCC version 4.4 or later.
18415         * configure: Regenerated.
18416         * manual/install.texi (Tools for Compilation): Update GCC version
18417         requirement.
18418         * INSTALL: Regenerated.
18419
18420 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18421
18422         [BZ #15674]
18423         * string/test-memcmp.c (check2): New.
18424         (main): Call check2.
18425
18426         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18427
18428 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18429
18430         [BZ #15022]
18431         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18432         over to...
18433         (dl_open_worker) [!SHARED]: ... here.
18434
18435 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18436
18437         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18438
18439 2013-06-25  Richard Henderson  <rth@redhat.com>
18440
18441         * locale/programs/locarchive.c: Include <libc-internal.h>
18442
18443 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18444
18445         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18446         trailing whitespace removed.
18447
18448 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18449
18450         [BZ #10283]
18451         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18452         * locale/programs/locarchive.c: Include libc-mmap.h.
18453         (prepare_address_space): Take two new outputs (the mmap base and len).
18454         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18455         values.
18456         (create_archive): Declare new mmap base and len values for
18457         prepare_address_space, and store the result in ah.
18458         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18459         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18460         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18461         Declare new mmap base and len values for
18462         prepare_address_space, and store the result in new_ah.
18463         (open_archive): Declare new mmap base and len values for
18464         prepare_address_space, and store the result in ah.
18465         (close_archive): If ah->mmap_base is not NULL, use that and
18466         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18467         * sysdeps/generic/libc-mmap.h: New file.
18468
18469 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18470
18471         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18472         (ALIGN_UP): Likewise.
18473         (PTR_ALIGN_DOWN): Likewise.
18474         (PTR_ALIGN_UP): Likewise.
18475
18476 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18477
18478         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18479         entry mapped to PPC_PLATFORM_POWER8.
18480         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18481         POWER8.
18482         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18483         (_dl_string_platform): Add case for exporting platform position for
18484         POWER8.
18485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18486         search path to sysdeps/powerpc/powerpc32/power8 directory.
18487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18488         search path to sysdeps/powerpc/powerpc64/power8 directory.
18489         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18490         power7 directories.
18491         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18492         power7 directories.
18493
18494 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18495
18496         * INSTALL: Regenerate.
18497
18498         * nscd/connections.c (nscd_init): Fix comment.
18499
18500 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18501
18502         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18503
18504         [BZ #15667]
18505         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18506         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18507
18508 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18509
18510         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18511         DL_DST_REQ_STATIC.
18512         (DL_DST_REQ_STATIC): Remove macro.
18513
18514 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18515
18516         [BZ #7006]
18517         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18518         with a shift of 0 bits.
18519
18520 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18521
18522         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18523         $(tststatic-ENV).
18524
18525 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18526
18527         [BZ #15655]
18528         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18529
18530 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18531
18532         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18533         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18534         accepts -fno-tree-loop-distribute-patterns.
18535         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18536         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18537         recursive call.
18538         * string/memset.c (memset): Likewise.
18539         * string/test-memmove.c (simple_memmove): Disable loop transformation
18540         to library calls.
18541         * string/test-memset.c (simple_memset): Likewise.
18542         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18543         * benchtests/bench-memset.c (simple_memset): Likewise.
18544         * configure: Regenerated.
18545
18546 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18547
18548         * math/test-misc.c (main): Ignore fesetround failure when failures
18549         of subsequent rounding tests would be ignored.
18550
18551         [BZ #15654]
18552         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18553         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18554         * math/fegetenv.c (__fegetenv): Return 0.
18555         * math/fegetexcept.c (fegetexcept): Return 0.
18556         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18557         FE_TONEAREST.
18558         * math/feholdexcpt.c (feholdexcept): Return 0.
18559         * math/fesetenv.c (__fesetenv): Return 0.
18560         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18561         argument FE_TONEAREST.
18562         * math/feupdateenv.c (__feupdateenv): Return 0.
18563         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18564
18565 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18566
18567         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18568         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18569         ($(objpfx)rtld-%.os rules): Use them.
18570
18571 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18572
18573         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18574         fields.
18575
18576 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18577
18578         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18579         length of target pattern, then descending length of dependency pattern.
18580         * configure.in (AWK): Require gawk 3.1.2 or newer.
18581         * manual/install.texi (Tools for Compilation): Say that we do.
18582         * configure: Regenerated.
18583
18584         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18585         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18586         * scripts/sysd-rules.awk: ... this new script.
18587         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18588         than a glob-style pattern.
18589
18590 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18591
18592         * math/test-misc.c (main): Do not treat incorrectly rounded
18593         conversions as failure unless ROUNDING_TESTS passes.
18594
18595 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18596
18597         [BZ #15631]
18598         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18599         restore exception state around main square root computation, then
18600         check for inexactness explicitly.
18601
18602         * math/libm-test.inc (fma_test_data): Add another test.
18603
18604 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18605
18606         * manual/threads.texi (Non-POSIX Extensions): New document
18607         node.  Document pthread_getattr_default_np and
18608         pthread_setattr_default_np.
18609
18610         * Versions.def (libpthread): Add GLIBC_2.18.
18611         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18613         Likewise.
18614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18615         Likewise.
18616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18617         Likewise.
18618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18619         Likewise.
18620         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18621         Likewise.
18622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18623         Likewise.
18624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18625         Likewise.
18626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18627         Likewise.
18628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18629         Likewise.
18630
18631 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18632
18633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18634         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18635
18636 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18637             H.J. Lu  <hjl.tools@gmail.com>
18638
18639         [BZ #15627]
18640         * sysdeps/x86_64/rtld-memset.c: Remove file.
18641         * sysdeps/x86_64/rtld-memset.S: New file.
18642
18643 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18644
18645         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18646         (test_in_one_mode): Take arguments for whether the rounding mode
18647         is supported for each floating-point type.
18648         (do_test): Pass new arguments to test_in_one_mode using
18649         ROUNDING_TESTS.
18650
18651 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18652
18653         * posix/tst-waitid.c (do_test): Distinguish different instances of
18654         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18655         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18656         before entering the kernel for waitpid.
18657
18658 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18659
18660         * NEWS: Fix note on clock function precision.  Text by Roland
18661         McGrath.
18662
18663 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18664
18665         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18666         it into place only when and if the sanity check passes.
18667
18668 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18669
18670         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18671         output for whether conversion result is exact.  Take argument
18672         indicating whether type is IBM long double.
18673         (round_for_all): Change need_exact field to ibm_ld.
18674         * stdlib/tst-strtod-round.c (struct exactness): New type.
18675         (struct test): Change bool ld_ok field to struct exactness exact.
18676         (TEST): Update all definitions for change to field.
18677         (tests): Regenerate array contents.
18678         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18679         field value.  Check for IBM long double here.
18680         (do_test): Update calls to test_in_one_mode.
18681
18682 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18683
18684         [BZ #12515]
18685         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18686         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18687
18688 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18689
18690         [BZ #15605]
18691         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18692         generated by the compiler on loop optimizations.
18693         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18694         general definitions.
18695
18696 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18697
18698         * math/bug-nextafter.c: Include <math-tests.h>.
18699         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18700         the relevant type.
18701         * math/bug-nexttoward.c: Include <math-tests.h>.
18702         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18703         the relevant type.
18704         * math/test-misc.c: Include <math-tests.h>.
18705         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18706         the relevant type.
18707
18708 2013-06-12  Andreas Jaeger  <aj@suse.de>
18709
18710         * po/ia.po: Update Interlingua translation from translation
18711         project.
18712
18713 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18714
18715         * include/fenv.h: Include stdbool.h.
18716         (struct rm_ctx): New structure.
18717         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18718         Define macro.
18719         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18720         (SET_RESTORE_ROUNDF): Likewise.
18721         (SET_RESTORE_ROUNDL): Likewise.
18722         (SET_RESTORE_ROUND_NOEX): Likewise.
18723         (SET_RESTORE_ROUND_NOEXF): Likewise.
18724         (SET_RESTORE_ROUND_NOEXL): Likewise.
18725         (SET_RESTORE_ROUND_53BIT): Likewise.
18726         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18727         (libc_feresetround_noexf_ctx): Likewise.
18728         (libc_feresetround_noexl_ctx): Likewise.
18729         (libc_feholdsetround_53bit_ctx): Likewise.
18730         (libc_feresetround_53bit_ctx): Likewise.
18731         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18732         (libc_feholdexcept_setround_sse_ctx): New function.
18733         (libc_fesetenv_sse_ctx): Likewise.
18734         (libc_feupdateenv_sse_ctx): Likewise.
18735         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18736         (libc_feholdexcept_setround_387_ctx): Likewise.
18737         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18738         (libc_feholdsetround_387_prec_ctx): Likewise.
18739         (libc_feholdsetround_387_ctx): Likewise.
18740         (libc_feholdsetround_387_53bit_ctx): Likewise.
18741         (libc_feholdsetround_sse_ctx): Likewise.
18742         (libc_feresetround_sse_ctx): Likewise.
18743         (libc_feresetround_387_ctx): Likewise.
18744         (libc_feupdateenv_387_ctx): Likewise.
18745         (libc_feholdexcept_setroundf_ctx): Define macro.
18746         (libc_fesetenvf_ctx): Likewise.
18747         (libc_feupdateenvf_ctx): Likewise.
18748         (libc_feholdsetroundf_ctx): Likewise.
18749         (libc_feresetroundf_ctx): Likewise.
18750         (libc_feholdexcept_setround_ctx): Likewise.
18751         (libc_fesetenv_ctx): Likewise.
18752         (libc_feupdateenv_ctx): Likewise.
18753         (libc_feholdsetround_ctx): Likewise.
18754         (libc_feresetround_ctx): Likewise.
18755         (libc_feholdexcept_setroundl_ctx): Likewise.
18756         (libc_feupdateenvl_ctx): Likewise.
18757         (libc_feholdsetroundl_ctx): Likewise.
18758         (libc_feresetroundl_ctx): Likewise.
18759         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18760         (libc_feresetround_53bit_ctx): Likewise.
18761
18762 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18763
18764         * locale/iso-639.def: Convert to UTF-8.
18765
18766 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18767
18768         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18769         (EXCEPTION_TESTS_double): Likewise.
18770         (EXCEPTION_TESTS_long_double): Likewise.
18771         (EXCEPTION_TESTS): Likewise.
18772         * math/libm-test.inc (test_exceptions): Only test exceptions if
18773         EXCEPTION_TESTS (FLOAT).
18774
18775 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18776
18777         * benchtests/Makefile (string-bench): Add strcpy_chk and
18778         stpcpy_chk.
18779         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18780         * benchtests/bench-stpcpy_chk.c: New file.
18781         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18782         * benchtests/bench-strcpy_chk.c: New file.
18783         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18784         code.
18785         (do_test): Likewise.
18786
18787 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18788
18789         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18790         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18791         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18792         with tabs where appropriate.
18793         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18794         dl-procinfo.h.
18795         [PPC_PLATFORM_PPC440]: Likewise.
18796         [PPC_PLATFORM_PPC464]: Likewise.
18797         [PPC_PLATFORM_PPC476]: Likewise.
18798         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18799         ppc464, and ppc476 platform strings merging from ports/
18800         dl-procinfo.h.
18801
18802 2013-06-11  Andreas Schwab  <schwab@suse.de>
18803
18804         [BZ #14991]
18805         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18806         (from_ucs4_idx): Regenerate.
18807         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18808         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18809         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18810         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18811         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18812         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18813         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18814         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18815         from FROM_LOOP and TO_LOOP specific macros.
18816         (BODY): Handle combining characters.
18817         * iconvdata/BIG5HKSCS.irreversible: Update.
18818         * iconvdata/BIG5HKSCS.precomposed: New file.
18819         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18820         characters.
18821         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18822
18823 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18824
18825         * include/sys/time.h: Fix indentation and add copyright header.
18826
18827         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18828         (do_test): Likewise.
18829         * string/test-memchr.c (do_one_test): Likewise.
18830         (do_test): Likewise.
18831         * string/test-memcmp.c (do_one_test): Likewise.
18832         (do_test): Likewise.
18833         * string/test-memcpy.c (do_one_test): Likewise.
18834         (do_test): Likewise.
18835         * string/test-memmem.c (do_one_test): Likewise.
18836         (do_test): Likewise.
18837         (do_random_tests): Likewise.
18838         * string/test-memmove.c (do_one_test): Likewise.
18839         (do_test): Likewise.
18840         * string/test-memset.c (do_one_test): Likewise.
18841         (do_test): Likewise.
18842         * string/test-rawmemchr.c (do_one_test): Likewise.
18843         (do_test): Likewise.
18844         * string/test-strcasecmp.c (do_one_test): Likewise.
18845         (do_test): Likewise.
18846         * string/test-strcasestr.c (do_one_test): Likewise.
18847         (do_test): Likewise.
18848         * string/test-strcat.c (do_one_test): Likewise.
18849         (do_test): Likewise.
18850         * string/test-strchr.c (do_one_test): Likewise.
18851         (do_test): Likewise.
18852         * string/test-strcmp.c (do_one_test): Likewise.
18853         (do_test): Likewise.
18854         * string/test-strcpy.c (do_one_test): Likewise.
18855         (do_test): Likewise.
18856         * string/test-string.h: Likewise.
18857         (test_init): Likewise.
18858         * string/test-strlen.c (do_one_test): Likewise.
18859         (do_test): Likewise.
18860         * string/test-strncasecmp.c (do_one_test): Likewise.
18861         (do_test): Likewise.
18862         * string/test-strncat.c (do_one_test): Likewise.
18863         (do_test): Likewise.
18864         * string/test-strncmp.c (do_one_test): Likewise.
18865         (do_test_limit): Likewise.
18866         (do_test): Likewise.
18867         * string/test-strncpy.c (do_one_test): Likewise.
18868         (do_test): Likewise.
18869         * string/test-strnlen.c (do_one_test): Likewise.
18870         (do_test): Likewise.
18871         * string/test-strpbrk.c (do_one_test): Likewise.
18872         (do_test): Likewise.
18873         * string/test-strrchr.c (do_one_test): Likewise.
18874         (do_test): Likewise.
18875         * string/test-strspn.c (do_one_test): Likewise.
18876         (do_test): Likewise.
18877         * string/test-strstr.c (do_one_test): Likewise.
18878         (do_test): Likewise.
18879
18880         * benchtests/Makefile (string-bench): Add string benchmarks.
18881         * benchtests/bench-bcopy-ifunc.c: New file.
18882         * benchtests/bench-bcopy.c: New file.
18883         * benchtests/bench-bzero-ifunc.c: New file.
18884         * benchtests/bench-bzero.c: New file.
18885         * benchtests/bench-memccpy-ifunc.c: New file.
18886         * benchtests/bench-memccpy.c: New file.
18887         * benchtests/bench-memchr-ifunc.c: New file.
18888         * benchtests/bench-memchr.c: New file.
18889         * benchtests/bench-memcmp-ifunc.c: New file.
18890         * benchtests/bench-memcmp.c: New file.
18891         * benchtests/bench-memmem-ifunc.c: New file.
18892         * benchtests/bench-memmem.c: New file.
18893         * benchtests/bench-memmove-ifunc.c: New file.
18894         * benchtests/bench-memmove.c: New file.
18895         * benchtests/bench-mempcpy-ifunc.c: New file.
18896         * benchtests/bench-mempcpy.c: New file.
18897         * benchtests/bench-memset-ifunc.c: New file.
18898         * benchtests/bench-memset.c: New file.
18899         * benchtests/bench-rawmemchr-ifunc.c: New file.
18900         * benchtests/bench-rawmemchr.c: New file.
18901         * benchtests/bench-stpcpy-ifunc.c: New file.
18902         * benchtests/bench-stpcpy.c: New file.
18903         * benchtests/bench-stpncpy-ifunc.c: New file.
18904         * benchtests/bench-stpncpy.c: New file.
18905         * benchtests/bench-strcasecmp-ifunc.c: New file.
18906         * benchtests/bench-strcasecmp.c: New file.
18907         * benchtests/bench-strcasestr-ifunc.c: New file.
18908         * benchtests/bench-strcasestr.c: New file.
18909         * benchtests/bench-strcat-ifunc.c: New file.
18910         * benchtests/bench-strcat.c: New file.
18911         * benchtests/bench-strchr-ifunc.c: New file.
18912         * benchtests/bench-strchr.c: New file.
18913         * benchtests/bench-strchrnul-ifunc.c: New file.
18914         * benchtests/bench-strchrnul.c: New file.
18915         * benchtests/bench-strcmp-ifunc.c: New file.
18916         * benchtests/bench-strcmp.c: New file.
18917         * benchtests/bench-strcpy-ifunc.c: New file.
18918         * benchtests/bench-strcpy.c: New file.
18919         * benchtests/bench-strcspn-ifunc.c: New file.
18920         * benchtests/bench-strcspn.c: New file.
18921         * benchtests/bench-strlen-ifunc.c: New file.
18922         * benchtests/bench-strlen.c: New file.
18923         * benchtests/bench-strncasecmp-ifunc.c: New file.
18924         * benchtests/bench-strncasecmp.c: New file.
18925         * benchtests/bench-strncat-ifunc.c: New file.
18926         * benchtests/bench-strncat.c: New file.
18927         * benchtests/bench-strncmp-ifunc.c: New file.
18928         * benchtests/bench-strncmp.c: New file.
18929         * benchtests/bench-strncpy-ifunc.c: New file.
18930         * benchtests/bench-strncpy.c: New file.
18931         * benchtests/bench-strnlen-ifunc.c: New file.
18932         * benchtests/bench-strnlen.c: New file.
18933         * benchtests/bench-strpbrk-ifunc.c: New file.
18934         * benchtests/bench-strpbrk.c: New file.
18935         * benchtests/bench-strrchr-ifunc.c: New file.
18936         * benchtests/bench-strrchr.c: New file.
18937         * benchtests/bench-strspn-ifunc.c: New file.
18938         * benchtests/bench-strspn.c: New file.
18939         * benchtests/bench-strstr-ifunc.c: New file.
18940         * benchtests/bench-strstr.c: New file.
18941
18942         * benchtests/Makefile: Disable parallel execution of targets.
18943         (string-bench): Add memcpy.
18944         (benchset): New variable to store a list of benchmark sets.
18945         (bench-func): Renamed from bench.
18946         (bench-set): New target.
18947         (bench): Depend on bench-func and bench-set.
18948         * benchtests/README: Add section on benchmark sets.
18949         * benchtests/bench-memcpy-ifunc.c: New file.
18950         * benchtests/bench-memcpy.c: New file.
18951         * benchtests/bench-string.h: New file.
18952
18953 2013-06-11  Andreas Schwab  <schwab@suse.de>
18954
18955         [BZ #15577]
18956         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18957         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18958         values in the triple.
18959         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18960         terminator in the group key.
18961
18962 2013-06-11  Andreas Jaeger  <aj@suse.de>
18963
18964         * po/zh_TW.po: Update Chinese (traditional) translation from
18965         translation project.
18966
18967 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18968
18969         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18970         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18971         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18972         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18973         (clock_getcpuclockid): Likewise.
18974         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18975         Add weak_alias and libc_hidden_def.
18976         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18977         * rt/clock_gettime.c (clock_gettime): Rename to
18978         __clock_gettime.  Add weak_alias and libc_hidden_def.
18979         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18980         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18981         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18982         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18983         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18984         Likewise.
18985         * rt/clock_settime.c (clock_settime): Rename to
18986         __clock_settime.  Add weak_alias and libc_hidden_def.
18987         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18988
18989 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18990
18991         * mach/err_boot.sub: Remove trailing whitespace.
18992         * mach/err_ipc.sub: Likewise.
18993         * mach/err_mach.sub: Likewise.
18994
18995         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18996         (ROUNDING_TESTS_double): Likewise.
18997         (ROUNDING_TESTS_long_double): Likewise.
18998         (ROUNDING_TESTS): Likewise.
18999         * math/libm-test.inc: Include <math-tests.h>.
19000         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19001         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19002         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19003         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19004
19005 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19006
19007         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19008         of assigning.
19009
19010 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19011
19012         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19013         otherwise empty TRANS lines.
19014         * sysdeps/gnu/errlist.c: Regenerated.
19015
19016         * catgets/gencat.c (error_print): Use (void) in function
19017         definition.
19018         * crypt/crypt_util.c (__init_des): Likewise.
19019         * crypt/speeds.c (Stop): Likewise.
19020         (main): Likewise.
19021         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19022         * inet/ruserpass.c (token): Likewise.
19023         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19024         * intl/localealias.c (extend_alias_table): Likewise.
19025         * intl/plural-exp.c (init_germanic_plural): Likewise.
19026         * libio/fcloseall.c (__fcloseall): Likewise.
19027         * libio/genops.c (_IO_flush_all): Likewise.
19028         (_IO_flush_all_linebuffered): Likewise.
19029         (_IO_cleanup): Likewise.
19030         (_IO_iter_begin): Likewise.
19031         (_IO_iter_end): Likewise.
19032         (_IO_list_lock): Likewise.
19033         (_IO_list_unlock): Likewise.
19034         (_IO_list_resetlock): Likewise.
19035         * libio/getchar.c (getchar): Likewise.
19036         * libio/getchar_u.c (getchar_unlocked): Likewise.
19037         * libio/getwchar.c (getwchar): Likewise.
19038         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19039         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19040         * login/getpt.c (__getpt): Likewise.
19041         * login/tst-utmp.c (main): Likewise.
19042         * malloc/hooks.c (__malloc_check_init): Likewise.
19043         * malloc/malloc.c (__malloc_stats): Likewise.
19044         * malloc/mtrace.c (tr_break): Likewise.
19045         (mtrace): Likewise.
19046         (muntrace): Likewise.
19047         * misc/fstab.c (endfsent): Likewise.
19048         * misc/getclktck.c (__getclktck): Likewise.
19049         * misc/getdtsz.c (__getdtablesize): Likewise.
19050         * misc/gethostid.c (gethostid): Likewise.
19051         * misc/getpagesize.c (__getpagesize): Likewise.
19052         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19053         (__get_nprocs): Likewise.
19054         (__get_phys_pages): Likewise.
19055         (__get_avphys_pages): Likewise.
19056         * misc/getttyent.c (getttyent): Likewise.
19057         (setttyent): Likewise.
19058         (endttyent): Likewise.
19059         * misc/getusershell.c (getusershell): Likewise.
19060         (endusershell): Likewise.
19061         (setusershell): Likewise.
19062         (initshells): Likewise.
19063         * misc/hsearch.c (__hdestroy): Likewise.
19064         * misc/sync.c (sync): Likewise.
19065         * misc/syslog.c (closelog_internal): Likewise.
19066         (closelog): Likewise.
19067         * misc/ttyslot.c (ttyslot): Likewise.
19068         * misc/vhangup.c (vhangup): Likewise.
19069         * posix/fork.c (__fork): Likewise.
19070         * posix/getegid.c (__getegid): Likewise.
19071         * posix/geteuid.c (__geteuid): Likewise.
19072         * posix/getgid.c (__getgid): Likewise.
19073         * posix/getpid.c (__getpid): Likewise.
19074         * posix/getppid.c (__getppid): Likewise.
19075         * posix/getuid.c (__getuid): Likewise.
19076         * posix/pause.c (pause): Likewise.
19077         * posix/setpgrp.c (setpgrp): Likewise.
19078         * posix/setsid.c (__setsid): Likewise.
19079         * posix/test-vfork.c (noop): Likewise.
19080         * resolv/gethnamaddr.c (_endhtent): Likewise.
19081         (_gethtent): Likewise.
19082         (ht_endhostent): Likewise.
19083         (gethostent): Likewise.
19084         (dns_service): Likewise.
19085         * stdlib/drand48.c (drand48): Likewise.
19086         * stdlib/lrand48.c (lrand48): Likewise.
19087         * stdlib/mrand48.c (mrand48): Likewise.
19088         * stdlib/rand.c (rand): Likewise.
19089         * stdlib/random.c (__random): Likewise.
19090         * stdlib/setenv.c (clearenv): Likewise.
19091         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19092         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19093         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19094         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19095         (__get_nprocs): Likewise.
19096         (__get_phys_pages): Likewise.
19097         (__get_avphys_pages): Likewise.
19098         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19099         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19100         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19101         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19102         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19103         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19104         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19105         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19106         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19107         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19108         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19109         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19110         * sysdeps/posix/clock.c (clock): Likewise.
19111         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19112         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19113         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19114         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19115         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19116         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19117         (__get_nprocs_conf): Likewise.
19118         (__get_phys_pages): Likewise.
19119         (__get_avphys_pages): Likewise.
19120         * time/clock.c (clock): Likewise.
19121         * time/tzset.c (__tzname_max): Likewise.
19122
19123 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19124
19125         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19126         (__bswap_32): Do not use "register".
19127         * crypt/crypt.c (_ufc_doit_r): Likewise.
19128         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19129         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19130         * gmon/gmon.c (__monstartup): Likewise.
19131         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19132         * hurd/hurdmalloc.c (more_memory): Likewise.
19133         (malloc): Likewise.
19134         (free): Likewise.
19135         (realloc): Likewise.
19136         (malloc_fork_prepare): Likewise.
19137         (malloc_fork_parent): Likewise.
19138         (malloc_fork_child): Likewise.
19139         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19140         (_svcauth_des): Likewise.
19141         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19142         * inet/inet_net.c (inet_network): Likewise.
19143         * inet/inet_netof.c (inet_netof): Likewise.
19144         * inet/rcmd.c (__validuser2_sa): Likewise.
19145         * io/fts.c (fts_open): Likewise.
19146         (fts_load): Likewise.
19147         (fts_close): Likewise.
19148         (fts_read): Likewise.
19149         (fts_children): Likewise.
19150         (fts_build): Likewise.
19151         (fts_stat): Likewise.
19152         (fts_sort): Likewise.
19153         (fts_alloc): Likewise.
19154         (fts_lfree): Likewise.
19155         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19156         (_IO_file_xsgetn): Likewise.
19157         (_IO_file_xsgetn_mmap): Likewise.
19158         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19159         (_IO_cookie_write): Likewise.
19160         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19161         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19162         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19163         * malloc/obstack.c (_obstack_begin): Likewise.
19164         (_obstack_begin_1): Likewise.
19165         (_obstack_newchunk): Likewise.
19166         (_obstack_allocated_p): Likewise.
19167         (obstack_free): Likewise.
19168         (_obstack_memory_used): Likewise.
19169         * misc/getttyent.c (getttynam): Likewise.
19170         (getttyent): Likewise.
19171         (skip): Likewise.
19172         (value): Likewise.
19173         * misc/getusershell.c (initshells): Likewise.
19174         * misc/syslog.c (__vsyslog_chk): Likewise.
19175         * misc/ttyslot.c (ttyslot): Likewise.
19176         * nis/nis_hash.c (__nis_hash): Likewise.
19177         * posix/fnmatch_loop.c (FCT): Likewise.
19178         * posix/getconf.c (print_all): Likewise.
19179         (main): Likewise.
19180         * posix/getopt.c (exchange): Likewise.
19181         * posix/glob.c (globfree): Likewise.
19182         (prefix_array): Likewise.
19183         (__glob_pattern_type): Likewise.
19184         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19185         (NS_GET32): Likewise.
19186         (NS_PUT16): Likewise.
19187         (NS_PUT32): Likewise.
19188         * resolv/gethnamaddr.c (getanswer): Likewise.
19189         (gethostbyname2): Likewise.
19190         (gethostbyaddr): Likewise.
19191         (_gethtent): Likewise.
19192         (_gethtbyname2): Likewise.
19193         (_gethtbyaddr): Likewise.
19194         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19195         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19196         * resolv/res_init.c (__res_vinit): Likewise.
19197         (net_mask): Likewise.
19198         * resolv/res_mkquery.c (outchar): Likewise.
19199         (PRINT): Likewise.
19200         * stdio-common/printf_fp.c (outchar): Likewise.
19201         (PRINT): Likewise.
19202         * stdio-common/printf_fphex.c (outchar): Likewise.
19203         (PRINT): Likewise.
19204         * stdio-common/printf_size.c (outchar): Likewise.
19205         (PRINT): Likewise.
19206         * stdio-common/test_rdwr.c (main): Likewise.
19207         * stdio-common/tfformat.c (matches): Likewise.
19208         * stdio-common/vfprintf.c (outchar): Likewise.
19209         (printf_unknown): Likewise.
19210         (buffered_vfprintf): Likewise.
19211         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19212         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19213         (ReadFile): Likewise.
19214         * stdlib/qsort.c (SWAP): Likewise.
19215         (_quicksort): Likewise.
19216         * stdlib/setenv.c (__add_to_environ): Likewise.
19217         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19218         * stdlib/strtol_l.c (__strtol_l): Likewise.
19219         * stdlib/tst-strtod.c (main): Likewise.
19220         * stdlib/tst-strtol.c (main): Likewise.
19221         * stdlib/tst-strtoll.c (main): Likewise.
19222         * string/bits/string2.h (__strcmp_cc): Likewise.
19223         (__strcmp_cg): Likewise.
19224         (__strcspn_c1): Likewise.
19225         (__strcspn_c2): Likewise.
19226         (__strcspn_c3): Likewise.
19227         (__strspn_c1): Likewise.
19228         (__strspn_c2): Likewise.
19229         (__strspn_c3): Likewise.
19230         (__strsep_1c): Likewise.
19231         (__strsep_2c): Likewise.
19232         (__strsep_3c): Likewise.
19233         * string/memccpy.c (__memccpy): Likewise.
19234         * string/stpcpy.c (__stpcpy): Likewise.
19235         * string/strcmp.c (strcmp): Likewise.
19236         * string/strrchr.c (strrchr): Likewise.
19237         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19238         Likewise.
19239         * sysdeps/mach/hurd/getcwd.c
19240         (_hurd_canonicalize_directory_name_internal): Likewise.
19241         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19242         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19243         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19244         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19245         Likewise, in both definitions.
19246         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19247         definitions.
19248         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19249         64] (__bswap_64): Likewise.
19250         * time/test_time.c (main): Likewise.
19251         * time/tzfile.c (__tzfile_read): Likewise.
19252         (__tzfile_compute): Likewise.
19253         * time/tzset.c (__tzset_parse_tz): Likewise.
19254         (tzset_internal): Likewise.
19255         (compute_change): Likewise.
19256         * wcsmbs/wcscat.c (__wcscat): Likewise.
19257         * wcsmbs/wcschr.c (wcschr): Likewise.
19258         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19259         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19260         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19261         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19262         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19263         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19264         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19265         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19266         * wcsmbs/wmemset.c (wmemset): Likewise.
19267
19268 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19269
19270         * scripts/config.guess: Update to version 2013-05-16.
19271         * scripts/config.sub: Update to version 2013-04-24.
19272         * scripts/install-sh: Update to version 2011-11-20.07.
19273         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19274         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19275
19276 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19277
19278         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19279         * elf/sln.c: Likewise.
19280         * hurd/hurd/ioctl.h: Likewise.
19281         * hurd/hurdmalloc.c: Likewise.
19282         * hurd/xattr.c: Likewise.
19283         * include/shlib-compat.h: Likewise.
19284         * inet/ruserpass.c: Likewise.
19285         * libio/iofgets_u.c: Likewise.
19286         * libio/iofgetws_u.c: Likewise.
19287         * locale/programs/ld-identification.c: Likewise.
19288         * locale/programs/ld-time.c: Likewise.
19289         * mach/msg-destroy.c: Likewise.
19290         * nss/nss_files/files-netgrp.c: Likewise.
19291         * resolv/res_data.c: Likewise.
19292         * soft-fp/op-1.h: Likewise.
19293         * soft-fp/op-2.h: Likewise.
19294         * soft-fp/op-4.h: Likewise.
19295         * soft-fp/op-common.h: Likewise.
19296         * stdio-common/printf_fphex.c: Likewise.
19297         * stdlib/strtod_l.c: Likewise.
19298         * sunrpc/rpc/clnt.h: Likewise.
19299         * sysdeps/generic/framestate.c: Likewise.
19300         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19301         * sysdeps/i386/bsd-setjmp.S: Likewise.
19302         * sysdeps/i386/__longjmp.S: Likewise.
19303         * sysdeps/i386/setjmp.S: Likewise.
19304         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19305         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19306         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19307         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19308         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19309         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19310         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19311         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19312         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19313         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19314         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19315         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19316         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19317         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19318         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19319         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19320         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19321         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19322         * sysdeps/ieee754/support.c: Likewise.
19323         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19324         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19325         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19326         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19327         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19328         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19329         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19330         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19331         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19332         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19333         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19334         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19335         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19336         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19337         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19338         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19339         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19341
19342 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19343
19344         * posix/transbug.c: Remove executable mode.
19345
19346 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19347
19348         * crypt/speeds.c: Remove trailing whitespace.
19349         * dlfcn/default.c: Likewise.
19350         * elf/ifuncdep2.c: Likewise.
19351         * elf/ifuncmain1.c: Likewise.
19352         * elf/ifuncmain1vis.c: Likewise.
19353         * elf/testobj.h: Likewise.
19354         * elf/tst-stackguard1.c: Likewise.
19355         * gmon/sys/gmon.h: Likewise.
19356         * hurd/hurdmsg.c: Likewise.
19357         * hurd/new-fd.c: Likewise.
19358         * hurd/ports-get.c: Likewise.
19359         * iconvdata/ibm1008_420.c: Likewise.
19360         * inet/tst-getni1.c: Likewise.
19361         * inet/tst-getni2.c: Likewise.
19362         * libio/ioungetc.c: Likewise.
19363         * libio/wfiledoalloc.c: Likewise.
19364         * manual/libm-err-tab.pl: Likewise.
19365         * math/w_dremf.c: Likewise.
19366         * misc/ftruncate.c: Likewise.
19367         * posix/bug-glob2.c: Likewise.
19368         * posix/tst-pcre.c: Likewise.
19369         * posix/wait4.c: Likewise.
19370         * resolv/README: Likewise.
19371         * resolv/res_debug.h: Likewise.
19372         * resolv/tst-inet_ntop.c: Likewise.
19373         * setjmp/bug269-setjmp.c: Likewise.
19374         * soft-fp/extended.h: Likewise.
19375         * soft-fp/op-1.h: Likewise.
19376         * soft-fp/op-2.h: Likewise.
19377         * soft-fp/op-4.h: Likewise.
19378         * soft-fp/op-8.h: Likewise.
19379         * soft-fp/testit.c: Likewise.
19380         * stdio-common/bug16.c: Likewise.
19381         * stdlib/random.c: Likewise.
19382         * sunrpc/rpcsvc/rquota.x: Likewise.
19383         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19384         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19385         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19386         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19387         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19388         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19389         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19390         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19391         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19392         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19393         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19394         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19395         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19396         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19397         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19398         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19399         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19400         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19401         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19402         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19403         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19404         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19405         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19406         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19407         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19408         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19409         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19410         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19411         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19412         * sysdeps/ieee754/s_lib_version.c: Likewise.
19413         * sysdeps/mach/hurd/check_fds.c: Likewise.
19414         * sysdeps/mach/hurd/getsockname.c: Likewise.
19415         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19416         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19417         * sysdeps/powerpc/bits/link.h: Likewise.
19418         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19419         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19420         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19421         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19422         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19423         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19424         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19425         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19426         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19427         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19428         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19429         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19430         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19431         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19432         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19433         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19434         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19435         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19436         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19437         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19438         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19439         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19440         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19441         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19442         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19443         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19444         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19445         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19446         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19447         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19448         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19449         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19450         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19451         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19452         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19453         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19454         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19455         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19456         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19457         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19458         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19459         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19460         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19461         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19462         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19463         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19464         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19465         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19466         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19467         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19468         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19469         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19470         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19471         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19472         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19473         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19474         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19475         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19476         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19477         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19478         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19479         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19480         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19481         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19482         * sysdeps/powerpc/sysdep.h: Likewise.
19483         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19484         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19485         * sysdeps/sh/dl-trampoline.S: Likewise.
19486         * sysdeps/sh/memset.S: Likewise.
19487         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19488         * sysdeps/sh/strlen.S: Likewise.
19489         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19490         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19491         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19492         * sysdeps/sparc/sparc32/rem.S: Likewise.
19493         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19494         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19495         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19496         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19497         * sysdeps/sparc/sparc32/urem.S: Likewise.
19498         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19499         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19500         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19501         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19502         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19503         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19504         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19505         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19506         * sysdeps/unix/bsd/times.c: Likewise.
19507         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19508         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19512         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19513         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19514         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19515         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19516         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19517         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19518         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19519         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19520         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19521         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19522         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19523         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19524         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19525         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19526         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19527         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19528         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19529         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19530         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19531         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19532         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19533         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19534         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19535         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19536         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19537         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19538         * sysdeps/x86_64/strcspn.S: Likewise.
19539
19540 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19541
19542         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19543         generated file.  Regenerate properly from gen-translit.pl.
19544         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19545         locale/C-translit.h.
19546
19547 2013-06-05  Andreas Schwab  <schwab@suse.de>
19548
19549         [BZ #15100]
19550         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19551         week as 6 instead of -1.
19552         * time/tst-strptime.c (day_tests): Add test case.
19553
19554 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19555
19556         * sysdeps/generic/math_private.h
19557         (libc_feholdexcept_setround_53bit): Replace with
19558         libc_feholdsetround_53bit.
19559         (libc_feupdateenv_53bit): Replace with
19560         libc_feresetround_53bit.
19561         (SET_RESTORE_ROUND_53BIT): Adjust.
19562
19563 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19564
19565         * string/test-strchrnul.c: Add copyright header.
19566
19567         * posix/tst-getaddrinfo4.c: Increase test timeout.
19568
19569 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19570
19571         [BZ #15536]
19572         * math/libm-test.inc (MAX_EXP): Remove
19573         (MIN_EXP): Define.
19574         (ulp): Use MIN_EXP - MANT_DIG.
19575         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19576
19577 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19578
19579         * po/be.po: Revert last change.
19580         * po/zh_CN.po: Likewise.
19581         * po/header.pot: Likewise.
19582
19583 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19584
19585         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19586         link-libc-deps to empty as target-specific variable.
19587         * Makerules (link-libc-args): New variable.
19588         (libc-for-link): Likewise.
19589         (link-libc-deps): Likewise.
19590         (lib%.so): Depend on $(link-libc-deps).  Link with
19591         $(link-libc-args).
19592         (build-module): Link with $(link-libc-args).
19593         (build-module-asneeded): Likewise.
19594         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19595         list of objects.
19596         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19597         target-specific variable.
19598         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19599         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19600         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19601         libc.
19602         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19603         libc and ld.so.
19604         ($(objpfx)libpcprofile.so): Likewise.
19605         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19606         libc_nonshared.a.
19607         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19608         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19609         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19610         $(link-libc-deps).
19611         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19612         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19613         * login/Makefile ($(objpfx)libutil.so): Likewise.
19614         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19615         * math/Makefile ($(objpfx)libm.so): Likewise.
19616         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19617         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19618         variable instead of depending directly on libc.
19619         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19620         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19621         $(link-libc-deps).
19622         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19623         libc.
19624         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19625         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19626         ($(objpfx)libanl.so): Likewise.
19627         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19628         ld.so.
19629         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19630         $(link-libc-deps).
19631         * sysdeps/i386/fpu/Makefile: Remove file.
19632         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19633         ($(objpfx)libm.so): Remove dependency on ld.so.
19634
19635 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19636
19637         [BZ # 15553]
19638         * nis/yp_xdr.c (XDRMAXNAME): Define.
19639         (XDRMAXRECORD): Define.
19640         (xdr_domainname): Use XDRMAXNAME.
19641         (xdr_mapname): Likewise.
19642         (xdr_peername): Likewise.
19643         (xdr_keydat): Use XDRMAXRECORD.
19644         (xdr_valdat): Likewise.
19645
19646 2013-05-30  Jeff Law  <law@redhat.com>
19647
19648         [BZ #14256]
19649         * manual/errno.texi (ESTALE): Update to account for more than
19650         just NFS file systems.
19651         * sysdeps/gnu/errlist.c: Regenerated.
19652
19653 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19654
19655         [BZ #15465]
19656         * elf/Makefile (tests): Add tst-null-argv.
19657         (modules-names):  Add tst-null-argv-lib.
19658         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19659         (tst-null-argv-ENV): Set environment for tst-null-argv.
19660         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19661         (RTLD_PROGNAME): New macro.
19662         * elf/tst-null-argv.c: New test case.
19663         * elf/tst-null-argv-lib.c: Library for test case.
19664         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19665         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19666         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19667         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19668         * elf/dl-init.c (call_init): Likewise.
19669         (_dl_init): Likewise.
19670         * elf/dl-load.c (print_search_path): Likewise.
19671         (_dl_map_object): Likewise.
19672         * elf/dl-lookup.c (do_lookup_x): Likewise.
19673         (add_dependency): Likewise.
19674         (_dl_lookup_symbol_x): Likewise.
19675         (_dl_debug_bindings): Likewise.
19676         * elf/dl-open.c (_dl_show_scope): Likewise.
19677         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19678         * elf/dl-version.c (match_symbol): Likewise.
19679         (_dl_check_map_versions): Likewise.
19680         * elf/rtld.c (dl_main): Likewise.
19681         (print_unresolved): Use RTLD_PROGNAME.
19682         (print_missing_version): Likewise.
19683         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19684         (elf_machine_rela): Likewise.
19685         * sysdeps/powerpc/powerpc32/dl-machine.c
19686         (__process_machine_rela): Likewise.
19687         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19688         Likewise.
19689         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19690         Likewise.
19691         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19692         Likewise.
19693         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19694         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19695         Likewise.
19696         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19697         Likewise.
19698         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19699
19700 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19701
19702         * po/be.po: Add descriptive title.
19703         * po/zh_CN.po: Likewise.
19704         * po/header.pot: Likewise.
19705
19706 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19707
19708         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19709         error message.
19710         (enlarge_archive): Likewise.
19711
19712 2013-05-28  Ben North  <ben@redfrontdoor.org>
19713
19714         * manual/arith.texi (frexp): It is the magnitude of the return
19715         value which lies in [0.5, 1), not the return value itself.
19716
19717 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19718
19719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19720
19721 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19722
19723         * stdio-common/bug26.c (main): Correct fscanf template.
19724
19725         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19726         declare _dl_skip_args.
19727
19728         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19729         Don't declare.
19730
19731         * manual/platform.texi: Add missing @end deftypefun.
19732
19733 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19734
19735         [BZ #15529]
19736         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19737         bit of mantissa of 2^16382.
19738         * math/libm-test.inc (hypot_test_data): Add more tests.
19739
19740         * math/libm-test.inc: Add drem and pow10 to list of tested
19741         functions.
19742         (pow10_test): New function.
19743         (drem_test): Likewise.
19744         (drem_test_tonearest): Likewise.
19745         (drem_test_towardzero): Likewise.
19746         (drem_test_downward): Likewise.
19747         (drem_test_upward): Likewise.
19748         (main): Call the new functions.
19749
19750         * math/libm-test.inc (finite_test_data): Remove.
19751         (finite_test): Run tests from isfinite_test_data.
19752         (gamma_test_data): Remove.
19753         (gamma_test): Run tests from lgamma_test_data.
19754         * sysdeps/i386/fpu/libm-test-ulps: Update.
19755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19756
19757 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19758
19759         * manual/platform.texi: Add PowerPC PPR function set documentation.
19760         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19761         implementation.
19762
19763 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19764
19765         * math/libm-test.inc (MAX_EXP): Define.
19766         (ULPDIFF): Define.
19767         (ulp): New function.
19768         (check_float_internal): Use ULPDIFF.
19769         (cpow_test): Disable failing test.
19770         (check_ulp): Test ulp() implemetnation.
19771         (main): Call check_ulp before starting tests.
19772
19773 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19774
19775         * math/gen-libm-test.pl (generate_testfile): Do not handle
19776         START_DATA and END_DATA.
19777         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19778         END_DATA.
19779         (acos_tonearest_test_data): Likewise.
19780         (acos_towardzero_test_data): Likewise.
19781         (acos_downward_test_data): Likewise.
19782         (acos_upward_test_data): Likewise.
19783         (acosh_test_data): Likewise.
19784         (asin_test_data): Likewise.
19785         (asin_tonearest_test_data): Likewise.
19786         (asin_towardzero_test_data): Likewise.
19787         (asin_downward_test_data): Likewise.
19788         (asin_upward_test_data): Likewise.
19789         (asinh_test_data): Likewise.
19790         (atan_test_data): Likewise.
19791         (atanh_test_data): Likewise.
19792         (atan2_test_data): Likewise.
19793         (cabs_test_data): Likewise.
19794         (cacos_test_data): Likewise.
19795         (cacosh_test_data): Likewise.
19796         (carg_test_data): Likewise.
19797         (casin_test_data): Likewise.
19798         (casinh_test_data): Likewise.
19799         (catan_test_data): Likewise.
19800         (catanh_test_data): Likewise.
19801         (cbrt_test_data): Likewise.
19802         (ccos_test_data): Likewise.
19803         (ccosh_test_data): Likewise.
19804         (ceil_test_data): Likewise.
19805         (cexp_test_data): Likewise.
19806         (cimag_test_data): Likewise.
19807         (clog_test_data): Likewise.
19808         (clog10_test_data): Likewise.
19809         (conj_test_data): Likewise.
19810         (copysign_test_data): Likewise.
19811         (cos_test_data): Likewise.
19812         (cos_tonearest_test_data): Likewise.
19813         (cos_towardzero_test_data): Likewise.
19814         (cos_downward_test_data): Likewise.
19815         (cos_upward_test_data): Likewise.
19816         (cosh_test_data): Likewise.
19817         (cosh_tonearest_test_data): Likewise.
19818         (cosh_towardzero_test_data): Likewise.
19819         (cosh_downward_test_data): Likewise.
19820         (cosh_upward_test_data): Likewise.
19821         (cpow_test_data): Likewise.
19822         (cproj_test_data): Likewise.
19823         (creal_test_data): Likewise.
19824         (csin_test_data): Likewise.
19825         (csinh_test_data): Likewise.
19826         (csqrt_test_data): Likewise.
19827         (ctan_test_data): Likewise.
19828         (ctan_tonearest_test_data): Likewise.
19829         (ctan_towardzero_test_data): Likewise.
19830         (ctan_downward_test_data): Likewise.
19831         (ctan_upward_test_data): Likewise.
19832         (ctanh_test_data): Likewise.
19833         (ctanh_tonearest_test_data): Likewise.
19834         (ctanh_towardzero_test_data): Likewise.
19835         (ctanh_downward_test_data): Likewise.
19836         (ctanh_upward_test_data): Likewise.
19837         (erf_test_data): Likewise.
19838         (erfc_test_data): Likewise.
19839         (exp_test_data): Likewise.
19840         (exp_tonearest_test_data): Likewise.
19841         (exp_towardzero_test_data): Likewise.
19842         (exp_downward_test_data): Likewise.
19843         (exp_upward_test_data): Likewise.
19844         (exp10_test_data): Likewise.
19845         (exp2_test_data): Likewise.
19846         (expm1_test_data): Likewise.
19847         (fabs_test_data): Likewise.
19848         (fdim_test_data): Likewise.
19849         (finite_test_data): Likewise.
19850         (floor_test_data): Likewise.
19851         (fma_test_data): Likewise.
19852         (fma_towardzero_test_data): Likewise.
19853         (fma_downward_test_data): Likewise.
19854         (fma_upward_test_data): Likewise.
19855         (fmax_test_data): Likewise.
19856         (fmin_test_data): Likewise.
19857         (fmod_test_data): Likewise.
19858         (fpclassify_test_data): Likewise.
19859         (frexp_test_data): Likewise.
19860         (gamma_test_data): Likewise.
19861         (hypot_test_data): Likewise.
19862         (ilogb_test_data): Likewise.
19863         (isfinite_test_data): Likewise.
19864         (isgreater_test_data): Likewise.
19865         (isgreaterequal_test_data): Likewise.
19866         (isinf_test_data): Likewise.
19867         (isless_test_data): Likewise.
19868         (islessequal_test_data): Likewise.
19869         (islessgreater_test_data): Likewise.
19870         (isnan_test_data): Likewise.
19871         (isnormal_test_data): Likewise.
19872         (issignaling_test_data): Likewise.
19873         (isunordered_test_data): Likewise.
19874         (j0_test_data): Likewise.
19875         (j1_test_data): Likewise.
19876         (jn_test_data): Likewise.
19877         (ldexp_test_data): Likewise.
19878         (lgamma_test_data): Likewise.
19879         (lrint_test_data): Likewise.
19880         (lrint_tonearest_test_data): Likewise.
19881         (lrint_towardzero_test_data): Likewise.
19882         (lrint_downward_test_data): Likewise.
19883         (lrint_upward_test_data): Likewise.
19884         (llrint_test_data): Likewise.
19885         (llrint_tonearest_test_data): Likewise.
19886         (llrint_towardzero_test_data): Likewise.
19887         (llrint_downward_test_data): Likewise.
19888         (llrint_upward_test_data): Likewise.
19889         (log_test_data): Likewise.
19890         (log10_test_data): Likewise.
19891         (log1p_test_data): Likewise.
19892         (log2_test_data): Likewise.
19893         (logb_test_data): Likewise.
19894         (logb_downward_test_data): Likewise.
19895         (lround_test_data): Likewise.
19896         (llround_test_data): Likewise.
19897         (modf_test_data): Likewise.
19898         (nearbyint_test_data): Likewise.
19899         (nextafter_test_data): Likewise.
19900         (nexttoward_test_data): Likewise.
19901         (pow_test_data): Likewise.
19902         (pow_tonearest_test_data): Likewise.
19903         (pow_towardzero_test_data): Likewise.
19904         (pow_downward_test_data): Likewise.
19905         (pow_upward_test_data): Likewise.
19906         (remainder_test_data): Likewise.
19907         (remainder_tonearest_test_data): Likewise.
19908         (remainder_towardzero_test_data): Likewise.
19909         (remainder_downward_test_data): Likewise.
19910         (remainder_upward_test_data): Likewise.
19911         (remquo_test_data): Likewise.
19912         (rint_test_data): Likewise.
19913         (rint_tonearest_test_data): Likewise.
19914         (rint_towardzero_test_data): Likewise.
19915         (rint_downward_test_data): Likewise.
19916         (rint_upward_test_data): Likewise.
19917         (round_test_data): Likewise.
19918         (scalb_test_data): Likewise.
19919         (scalbn_test_data): Likewise.
19920         (scalbln_test_data): Likewise.
19921         (signbit_test_data): Likewise.
19922         (sin_test_data): Likewise.
19923         (sin_tonearest_test_data): Likewise.
19924         (sin_towardzero_test_data): Likewise.
19925         (sin_downward_test_data): Likewise.
19926         (sin_upward_test_data): Likewise.
19927         (sincos_test_data): Likewise.
19928         (sinh_test_data): Likewise.
19929         (sinh_tonearest_test_data): Likewise.
19930         (sinh_towardzero_test_data): Likewise.
19931         (sinh_downward_test_data): Likewise.
19932         (sinh_upward_test_data): Likewise.
19933         (sqrt_test_data): Likewise.
19934         (tan_test_data): Likewise.
19935         (tan_tonearest_test_data): Likewise.
19936         (tan_towardzero_test_data): Likewise.
19937         (tan_downward_test_data): Likewise.
19938         (tan_upward_test_data): Likewise.
19939         (tanh_test_data): Likewise.
19940         (tgamma_test_data): Likewise.
19941         (trunc_test_data): Likewise.
19942         (y0_test_data): Likewise.
19943         (y1_test_data): Likewise.
19944         (yn_test_data): Likewise.
19945         (significand_test_data): Likewise.
19946
19947         * math/gen-libm-test.pl (@functions): Remove variable.
19948         (generate_testfile): Don't handle START and END lines.
19949         * math/libm-test.inc (START): New macro.
19950         (END): Likewise.
19951         (END_COMPLEX): Likewise.
19952         (acos_test): Use END macro without arguments.
19953         (acos_test_tonearest): Likewise.
19954         (acos_test_towardzero): Likewise.
19955         (acos_test_downward): Likewise.
19956         (acos_test_upward): Likewise.
19957         (acosh_test): Likewise.
19958         (asin_test): Likewise.
19959         (asin_test_tonearest): Likewise.
19960         (asin_test_towardzero): Likewise.
19961         (asin_test_downward): Likewise.
19962         (asin_test_upward): Likewise.
19963         (asinh_test): Likewise.
19964         (atan_test): Likewise.
19965         (atanh_test): Likewise.
19966         (atan2_test): Likewise.
19967         (cabs_test): Likewise.
19968         (cacos_test): Use END_COMPLEX macro without arguments.
19969         (cacosh_test): Likewise.
19970         (carg_test): Use END macro without arguments.
19971         (casin_test): Use END_COMPLEX macro without arguments.
19972         (casinh_test): Likewise.
19973         (catan_test): Likewise.
19974         (catanh_test): Likewise.
19975         (cbrt_test): Use END macro without arguments.
19976         (ccos_test): Use END_COMPLEX macro without arguments.
19977         (ccosh_test): Likewise.
19978         (ceil_test): Use END macro without arguments.
19979         (cexp_test): Use END_COMPLEX macro without arguments.
19980         (cimag_test): Use END macro without arguments.
19981         (clog_test): Use END_COMPLEX macro without arguments.
19982         (clog10_test): Likewise.
19983         (conj_test): Likewise.
19984         (copysign_test): Use END macro without arguments.
19985         (cos_test): Likewise.
19986         (cos_test_tonearest): Likewise.
19987         (cos_test_towardzero): Likewise.
19988         (cos_test_downward): Likewise.
19989         (cos_test_upward): Likewise.
19990         (cosh_test): Likewise.
19991         (cosh_test_tonearest): Likewise.
19992         (cosh_test_towardzero): Likewise.
19993         (cosh_test_downward): Likewise.
19994         (cosh_test_upward): Likewise.
19995         (cpow_test): Use END_COMPLEX macro without arguments.
19996         (cproj_test): Likewise.
19997         (creal_test): Use END macro without arguments.
19998         (csin_test): Use END_COMPLEX macro without arguments.
19999         (csinh_test): Likewise.
20000         (csqrt_test): Likewise.
20001         (ctan_test): Likewise.
20002         (ctan_test_tonearest): Likewise.
20003         (ctan_test_towardzero): Likewise.
20004         (ctan_test_downward): Likewise.
20005         (ctan_test_upward): Likewise.
20006         (ctanh_test): Likewise.
20007         (ctanh_test_tonearest): Likewise.
20008         (ctanh_test_towardzero): Likewise.
20009         (ctanh_test_downward): Likewise.
20010         (ctanh_test_upward): Likewise.
20011         (erf_test): Use END macro without arguments.
20012         (erfc_test): Likewise.
20013         (exp_test): Likewise.
20014         (exp_test_tonearest): Likewise.
20015         (exp_test_towardzero): Likewise.
20016         (exp_test_downward): Likewise.
20017         (exp_test_upward): Likewise.
20018         (exp10_test): Likewise.
20019         (exp2_test): Likewise.
20020         (expm1_test): Likewise.
20021         (fabs_test): Likewise.
20022         (fdim_test): Likewise.
20023         (finite_test): Likewise.
20024         (floor_test): Likewise.
20025         (fma_test): Likewise.
20026         (fma_test_towardzero): Likewise.
20027         (fma_test_downward): Likewise.
20028         (fma_test_upward): Likewise.
20029         (fmax_test): Likewise.
20030         (fmin_test): Likewise.
20031         (fmod_test): Likewise.
20032         (fpclassify_test): Likewise.
20033         (frexp_test): Likewise.
20034         (gamma_test): Likewise.
20035         (hypot_test): Likewise.
20036         (ilogb_test): Likewise.
20037         (isfinite_test): Likewise.
20038         (isgreater_test): Likewise.
20039         (isgreaterequal_test): Likewise.
20040         (isinf_test): Likewise.
20041         (isless_test): Likewise.
20042         (islessequal_test): Likewise.
20043         (islessgreater_test): Likewise.
20044         (isnan_test): Likewise.
20045         (isnormal_test): Likewise.
20046         (issignaling_test): Likewise.
20047         (isunordered_test): Likewise.
20048         (j0_test): Likewise.
20049         (j1_test): Likewise.
20050         (jn_test): Likewise.
20051         (ldexp_test): Likewise.
20052         (lgamma_test): Likewise.
20053         (lrint_test): Likewise.
20054         (lrint_test_tonearest): Likewise.
20055         (lrint_test_towardzero): Likewise.
20056         (lrint_test_downward): Likewise.
20057         (lrint_test_upward): Likewise.
20058         (llrint_test): Likewise.
20059         (llrint_test_tonearest): Likewise.
20060         (llrint_test_towardzero): Likewise.
20061         (llrint_test_downward): Likewise.
20062         (llrint_test_upward): Likewise.
20063         (log_test): Likewise.
20064         (log10_test): Likewise.
20065         (log1p_test): Likewise.
20066         (log2_test): Likewise.
20067         (logb_test): Likewise.
20068         (logb_test_downward): Likewise.
20069         (lround_test): Likewise.
20070         (llround_test): Likewise.
20071         (modf_test): Likewise.
20072         (nearbyint_test): Likewise.
20073         (nextafter_test): Likewise.
20074         (nexttoward_test): Likewise.
20075         (pow_test): Likewise.
20076         (pow_test_tonearest): Likewise.
20077         (pow_test_towardzero): Likewise.
20078         (pow_test_downward): Likewise.
20079         (pow_test_upward): Likewise.
20080         (remainder_test): Likewise.
20081         (remainder_test_tonearest): Likewise.
20082         (remainder_test_towardzero): Likewise.
20083         (remainder_test_downward): Likewise.
20084         (remainder_test_upward): Likewise.
20085         (remquo_test): Likewise.
20086         (rint_test): Likewise.
20087         (rint_test_tonearest): Likewise.
20088         (rint_test_towardzero): Likewise.
20089         (rint_test_downward): Likewise.
20090         (rint_test_upward): Likewise.
20091         (round_test): Likewise.
20092         (scalb_test): Likewise.
20093         (scalbn_test): Likewise.
20094         (scalbln_test): Likewise.
20095         (signbit_test): Likewise.
20096         (sin_test): Likewise.
20097         (sin_test_tonearest): Likewise.
20098         (sin_test_towardzero): Likewise.
20099         (sin_test_downward): Likewise.
20100         (sin_test_upward): Likewise.
20101         (sincos_test): Likewise.
20102         (sinh_test): Likewise.
20103         (sinh_test_tonearest): Likewise.
20104         (sinh_test_towardzero): Likewise.
20105         (sinh_test_downward): Likewise.
20106         (sinh_test_upward): Likewise.
20107         (sqrt_test): Likewise.
20108         (tan_test): Likewise.
20109         (tan_test_tonearest): Likewise.
20110         (tan_test_towardzero): Likewise.
20111         (tan_test_downward): Likewise.
20112         (tan_test_upward): Likewise.
20113         (tanh_test): Likewise.
20114         (tgamma_test): Likewise.
20115         (trunc_test): Likewise.
20116         (y0_test): Likewise.
20117         (y1_test): Likewise.
20118         (yn_test): Likewise.
20119         (significand_test): Likewise.
20120
20121 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20122
20123         [BZ #15381]
20124         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20125
20126 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20127
20128         [BZ #14894]
20129         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20130         __ppc_mdoio and __ppc_mdoom.
20131         * manual/platform.texi: Document new functions __ppc_yield,
20132         __ppc_mdoio and __ppc_mdoom.
20133
20134 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20135
20136         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20137         (main): Mention "tls" pseudo-hwcap is legacy.
20138         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20139
20140 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20141
20142         * math/gen-libm-test.pl (parse_args): Output only string of
20143         arguments as text for test name, not full call or descriptions of
20144         tests for extra outputs.
20145         (generate_testfile): Do not pass function name to parse_args.
20146         Generate this_func variable from START.
20147         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20148         field to arg_str.
20149         (struct test_ff_f_data): Likewise.
20150         (test_ff_f_data_nexttoward): Likewise.
20151         (struct test_fi_f_data): Likewise.
20152         (struct test_fl_f_data): Likewise.
20153         (struct test_if_f_data): Likewise.
20154         (struct test_fff_f_data): Likewise.
20155         (struct test_c_f_data): Likewise.
20156         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20157         (struct test_fF_f1_data): Likewise.
20158         (struct test_ffI_f1_data): Likewise.
20159         (struct test_c_c_data): Rename test_name field to arg_str.
20160         (struct test_cc_c_data): Likewise.
20161         (struct test_f_i_data): Likewise.
20162         (struct test_ff_i_data): Likewise.
20163         (struct test_f_l_data): Likewise.
20164         (struct test_f_L_data): Likewise.
20165         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20166         and extra2_name.
20167         (COMMON_TEST_SETUP): New macro.
20168         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20169         (COMMON_TEST_CLEANUP): Likewise.
20170         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20171         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20172         macros.
20173         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20174         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20175         macros.
20176         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20177         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20178         cleanup macros.
20179         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20180         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20181         macros.
20182         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20183         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20184         macros.
20185         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20186         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20187         cleanup macros.
20188         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20189         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20190         cleanup macros.
20191         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20192         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20193         cleanup macros.
20194         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20195         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20196         macros.
20197         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20198         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20199         macros.
20200         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20201         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20202         macros.
20203         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20204         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20205         cleanup macros.
20206         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20207         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20208         cleanup macros.
20209         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20210         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20211         macros.
20212         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20213         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20214         cleanup macros.
20215         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20216         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20217         macros.
20218         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20219         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20220         macros.
20221         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20222         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20223         cleanup macros.
20224         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20225
20226 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20227
20228         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20229         to _sifields.sigfault.
20230         (si_addr_lsb): Define new macro.
20231         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20232         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20233         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20234
20235 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20236
20237         [BZ #15441]
20238         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20239         returns -1.
20240         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20241         null return -1.
20242         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20243         loading the domain.
20244
20245 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20246
20247         * math/gen-libm-test.pl (parse_args): Do not include expected
20248         result in test name.
20249         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20250         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20251         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20252         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20253         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20255
20256 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20257
20258         * benchtests/Makefile: Sort function entries.
20259
20260         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20261         tanh, asinh, acosh, atanh.
20262         * benchtests/acos-inputs: New file.
20263         * benchtests/acosh-inputs: New file.
20264         * benchtests/asin-inputs: New file.
20265         * benchtests/asinh-inputs: New file.
20266         * benchtests/atanh-inputs: New file.
20267         * benchtests/cosh-inputs: New file.
20268         * benchtests/log-inputs: New file.
20269         * benchtests/sinh-inputs: New file.
20270         * benchtests/tanh-inputs: New file.
20271
20272 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20273
20274         [BZ #15339]
20275         * posix/tst-getaddrinfo4.c: New test.
20276         * posix/Makefile (tests): Add it.
20277
20278 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20279
20280         [BZ #15339]
20281         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20282         when no services were used.
20283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20284         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20285
20286 2013-05-21  Andreas Schwab  <schwab@suse.de>
20287
20288         [BZ #15014]
20289         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20290         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20291         successful.
20292         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20293         redundant variable declarations and reallocation of buffer when
20294         parsing as IPv6 address.  Always set NSS status when called from
20295         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20296         buffer too small.  Correct computation of needed size.
20297         * nss/Makefile (tests): Add test-digits-dots.
20298         * nss/test-digits-dots.c: New test.
20299
20300 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20301
20302         * benchtests/Makefile: Remove instructions for adding
20303         benchmark tests.
20304         * benchtests/README: New file to explain how to execute and
20305         enhance the benchmark tests.
20306
20307 2013-05-21  Andreas Schwab  <schwab@suse.de>
20308
20309         [BZ #15493]
20310         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20311         * setjmp/tst-sigsetjmp.c: New test.
20312
20313 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20314
20315         * sysdeps/x86_64/memset.S (memset): New implementation.
20316         (__bzero): Likewise.
20317         (__memset_tail): New function.
20318
20319 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20320
20321         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20322         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20323         __memcpy_sse2_unaligned ifunc selection.
20324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20325         Add memcpy-sse2-unaligned.S.
20326         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20327         Add: __memcpy_sse2_unaligned.
20328
20329 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20330
20331         [BZ #15490]
20332         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20333         math_force_eval before restoring floating-point envrionment.
20334         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20335         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20336         Likewise.
20337         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20338         <math_private.h>.
20339         (__nearbyintl): Use math_force_eval before restoring
20340         floating-point environment.
20341         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20342
20343         * math/gen-libm-test.pl (special_functions): Remove.
20344         (parse_args): Don't handle TEST_extra.  Handle functions with no
20345         return value.
20346         * math/libm-test.inc (struct test_sincos_data): Replace with
20347         struct test_fFF_11_data.
20348         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20349         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20350         (sincos_test_data): Change element type to struct
20351         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20352         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20353         RUN_TEST_LOOP_sincos.
20354         * math/README.libm-test: Don't mention special handling of
20355         individual functions.
20356         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20357         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20358         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20359         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20360         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20362
20363         * math/gen-libm-test.pl (get_variable): Remove function.
20364         (parse_args): Don't show pointer parameters to call in test
20365         names.  Use "extra output N" in test names for extra outputs
20366         rather than naming variables.
20367
20368 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20369
20370         [BZ #15488]
20371         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20372         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20373         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20374         double tests.
20375         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20376         disable.
20377         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20378         check_long_double.
20379
20380         * math/gen-libm-test.pl (@tests): Remove variable.
20381         ($count): Likewise.
20382         (new_test): Remove function.
20383         (show_exceptions): New function.
20384         (special_functions): Use show_exceptions instead of new_test.
20385         (parse_args): Likewise.
20386         (generate_testfile): Pass only function name in generated call to
20387         print_max_error or print_complex_max_error.
20388         (get_ulps): Do not handle complex tests specially.
20389         (output_test): Rename to ...
20390         (get_all_ulps_for_test): ... this.  Return a string rather than
20391         printing to a file.  Require ulps to be present.
20392         (output_ulps): Generate arrays rather than #defines.
20393         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20394         (struct ulp_data): New type.
20395         (BUILD_COMPLEX_ULP): Remove macro.
20396         (compare_ulp_data): New function.
20397         (find_ulps): Likewise.
20398         (find_test_ulps): Likewise.
20399         (find_function_ulps): Likewise.
20400         (find_complex_function_ulps): Likewise.
20401         (print_max_error): Determine allowed ulps using
20402         find_function_ulps.
20403         (print_complex_max_error): Determine allowed ulps using
20404         find_complex_function_ulps.
20405         (check_float_internal): Determine max ulps using find_test_ulps.
20406         (check_float): Do not take max_ulp parameter.  Update call to
20407         check_float_internal.
20408         (check_complex): Likewise.
20409         (check_int): Do not take max_ulp parameter.
20410         (check_long): Likewise.
20411         (check_bool): Likewise.
20412         (check_longlong): Likewise.
20413         (struct test_f_f_data): Remove max_ulp field.
20414         (struct test_ff_f_data): Likewise.
20415         (struct test_ff_f_data_nexttoward): Likewise.
20416         (struct test_fi_f_data): Likewise.
20417         (struct test_fl_f_data): Likewise.
20418         (struct test_if_f_data): Likewise.
20419         (struct test_fff_f_data): Likewise.
20420         (struct test_c_f_data): Likewise.
20421         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20422         (struct test_fF_f1_data): Likewise.
20423         (struct test_ffI_f1_data): Likewise.
20424         (struct test_c_c_data): Remove max_ulp field.
20425         (struct test_cc_c_data): Likewise.
20426         (struct test_f_i_data): Likewise.
20427         (struct test_ff_i_data): Likewise.
20428         (struct test_f_l_data): Likewise.
20429         (struct test_f_L_data): Likewise.
20430         (struct test_sincos_data): Likewise.
20431         (RUN_TEST_f_f): Do not handle ulps.
20432         (RUN_TEST_LOOP_f_f): Likewise.
20433         (RUN_TEST_2_f): Likewise.
20434         (RUN_TEST_LOOP_2_f): Likewise.
20435         (RUN_TEST_fff_f): Likewise.
20436         (RUN_TEST_LOOP_fff_f): Likewise.
20437         (RUN_TEST_c_f): Likewise.
20438         (RUN_TEST_LOOP_c_f): Likewise.
20439         (RUN_TEST_f_f1): Likewise.
20440         (RUN_TEST_LOOP_f_f1): Likewise.
20441         (RUN_TEST_fF_f1): Likewise.
20442         (RUN_TEST_LOOP_fF_f1): Likewise.
20443         (RUN_TEST_fI_f1): Likewise.
20444         (RUN_TEST_LOOP_fI_f1): Likewise.
20445         (RUN_TEST_ffI_f1): Likewise.
20446         (RUN_TEST_LOOP_ffI_f1): Likewise.
20447         (RUN_TEST_c_c): Likewise.
20448         (RUN_TEST_LOOP_c_c): Likewise.
20449         (RUN_TEST_cc_c): Likewise.
20450         (RUN_TEST_LOOP_cc_c): Likewise.
20451         (RUN_TEST_f_i): Likewise.
20452         (RUN_TEST_LOOP_f_i): Likewise.
20453         (RUN_TEST_f_i_tg): Likewise.
20454         (RUN_TEST_LOOP_f_i_tg): Likewise.
20455         (RUN_TEST_ff_i_tg): Likewise.
20456         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20457         (RUN_TEST_f_b): Likewise.
20458         (RUN_TEST_LOOP_f_b): Likewise.
20459         (RUN_TEST_f_b_tg): Likewise.
20460         (RUN_TEST_LOOP_f_b_tg): Likewise.
20461         (RUN_TEST_f_l): Likewise.
20462         (RUN_TEST_LOOP_f_l): Likewise.
20463         (RUN_TEST_f_L): Likewise.
20464         (RUN_TEST_LOOP_f_L): Likewise.
20465         (RUN_TEST_sincos): Likewise.
20466         (RUN_TEST_LOOP_sincos): Likewise.
20467
20468 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20469
20470         [BZ #15480]
20471         [BZ #15485]
20472         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20473         main case of finite arguments, set rounding mode to FE_TONEAREST
20474         and discard exceptions.
20475         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20476         exceptions.
20477         (remainder_tonearest_test_data): New variable.
20478         (remainder_test_tonearest): New function.
20479         (remainder_towardzero_test_data): New variable.
20480         (remainder_test_towardzero): New function.
20481         (remainder_downward_test_data): New variable.
20482         (remainder_test_downward): New function.
20483         (remainder_upward_test_data): New variable.
20484         (remainder_test_upward): New function.
20485         (main): Call the new test functions.
20486
20487         * math/libm-test.inc (struct test_f_f1_data): Remove field
20488         extra_init.
20489         (struct test_fF_f1_data): Likewise.
20490         (struct test_ffI_f1_data): Likewise.
20491         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20492         based on value of EXTRA_EXPECTED.
20493         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20494         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20495         EXTRA_VAR based on value of EXTRA_EXPECTED.
20496         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20497         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20498         EXTRA_VAR based on value of EXTRA_EXPECTED.
20499         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20500         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20501         EXTRA_VAR based on value of EXTRA_EXPECTED.
20502         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20503         * math/gen-libm-test.pl (parse_args): Don't output initializers
20504         for extra output values.
20505
20506         * math/libm-test.inc (check_int): Expect result to be exactly
20507         equal to expected value and do not handle ulps.
20508         (check_long): Likewise.
20509         (check_longlong): Likewise.
20510
20511         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20512         exceptions.
20513         (cimag_test_data): Likewise.
20514         (conj_test_data): Likewise.
20515         (copysign_test_data): Likewise.
20516         (cproj_test_data): Likewise.
20517         (creal_test_data): Likewise.
20518         (fabs_test_data): Likewise.
20519         (fdim_test_data): Likewise.
20520         (finite_test_data): Likewise.
20521         (floor_test_data): Likewise.
20522         (fmax_test_data): Likewise.
20523         (fmin_test_data): Likewise.
20524         (fmod_test_data): Likewise.
20525         (fpclassify_test_data): Likewise.
20526         (frexp_test_data): Likewise.
20527         (ilogb_test_data): Likewise.
20528         (isfinite_test_data): Likewise.
20529         (isgreater_test_data): Likewise.
20530         (isgreaterequal_test_data): Likewise.
20531         (isinf_test_data): Likewise.
20532         (isless_test_data): Likewise.
20533         (islessequal_test_data): Likewise.
20534         (islessgreater_test_data): Likewise.
20535         (isnan_test_data): Likewise.
20536         (isnormal_test_data): Likewise.
20537         (issignaling_test_data): Likewise.
20538         (isunordered_test_data): Likewise.
20539         (ldexp_test_data): Likewise.
20540         (lrint_test_data): Likewise.
20541         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20542         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20543         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20544         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20545         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20546         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20547         test input.
20548         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20549         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20550         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20551         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20552         that test input.
20553         (lrint_downward_test_data): Test for "inexact" exceptions.
20554         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20555         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20556         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20557         test input.
20558         (lrint_upward_test_data): Test for "inexact" exceptions.
20559         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20560         test input.
20561         (llrint_test_data): Test for "inexact" exceptions.
20562         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20563         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20564         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20565         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20566         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20567         (llrint_downward_test_data): Test for "inexact" exceptions.
20568         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20569         (llrint_upward_test_data): Test for "inexact" exceptions.
20570         (logb_test_data): Likewise.
20571         (logb_downward_test_data): Likewise.
20572         (nextafter_test_data): Likewise.
20573         (nexttoward_test_data): Likewise.
20574         (remainder_test_data): Likewise.
20575         (remquo_test_data): Likewise.
20576         (scalbn_test_data): Likewise.
20577         (scalbln_test_data): Likewise.
20578         (signbit_test_data): Likewise.
20579         (sqrt_test_data): Likewise.
20580         (significand_test_data): Likewise.
20581
20582 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20583
20584         [BZ #15424]
20585         * benchtests/bench-modf.c (struct args): Mark arg0 as
20586         volatile.
20587         * scripts/bench.pl: Mark members of struct args as volatile.
20588
20589 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20590
20591         [BZ # 15497]
20592         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20593         negative infinity on POWER6 or lower.
20594         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20595
20596 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20597
20598         [BZ #15442]
20599         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20600         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20601         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20602         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20603         (_FP_SETQNAN): New macro.
20604         (_FP_SETQNAN_SEMIRAW): Likewise.
20605         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20606         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20607         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20608         (FP_EXTEND): Use _FP_FRAC_SNANP.
20609         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20610         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20611         into account.
20612         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20613         New macro.
20614         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20615         Likewise.
20616
20617 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20618
20619         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20620         with DIVIDE_BY_ZERO_EXCEPTION.
20621         (gamma_test_data): Likewise.
20622         (lgamma_test_data): Likewise.
20623         (log_test_data): Likewise.
20624         (log10_test_data): Likewise.
20625         (log2_test_data): Likewise.
20626         (tgamma_test_data): Likewise.
20627
20628         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20629         (acos_test_tonearest): Likewise.
20630         (acos_test_towardzero): Likewise.
20631         (acos_test_downward): Likewise.
20632         (acos_test_upward): Likewise.
20633         (acosh_test): Likewise.
20634         (asin_test): Likewise.
20635         (asin_test_tonearest): Likewise.
20636         (asin_test_towardzero): Likewise.
20637         (asin_test_downward): Likewise.
20638         (asin_test_upward): Likewise.
20639         (asinh_test): Likewise.
20640         (atan_test): Likewise.
20641         (atanh_test): Likewise.
20642         (atan2_test): Likewise.
20643         (cabs_test): Likewise.
20644         (cacos_test): Likewise.
20645         (cacosh_test): Likewise.
20646         (casin_test): Likewise.
20647         (casinh_test): Likewise.
20648         (catan_test): Likewise.
20649         (catanh_test): Likewise.
20650         (cbrt_test): Likewise.
20651         (ccos_test): Likewise.
20652         (ccosh_test): Likewise.
20653         (cexp_test): Likewise.
20654         (clog_test): Likewise.
20655         (clog10_test): Likewise.
20656         (cos_test): Likewise.
20657         (cos_test_tonearest): Likewise.
20658         (cos_test_towardzero): Likewise.
20659         (cos_test_downward): Likewise.
20660         (cos_test_upward): Likewise.
20661         (cosh_test): Likewise.
20662         (cosh_test_tonearest): Likewise.
20663         (cosh_test_towardzero): Likewise.
20664         (cosh_test_downward): Likewise.
20665         (cosh_test_upward): Likewise.
20666         (cpow_test): Likewise.
20667         (csin_test): Likewise.
20668         (csinh_test): Likewise.
20669         (csqrt_test): Likewise.
20670         (ctan_test): Likewise.
20671         (ctan_test_tonearest): Likewise.
20672         (ctan_test_towardzero): Likewise.
20673         (ctan_test_downward): Likewise.
20674         (ctan_test_upward): Likewise.
20675         (ctanh_test): Likewise.
20676         (ctanh_test_tonearest): Likewise.
20677         (ctanh_test_towardzero): Likewise.
20678         (ctanh_test_downward): Likewise.
20679         (ctanh_test_upward): Likewise.
20680         (erf_test): Likewise.
20681         (erfc_test): Likewise.
20682         (exp_test): Likewise.
20683         (exp_test_tonearest): Likewise.
20684         (exp_test_towardzero): Likewise.
20685         (exp_test_downward): Likewise.
20686         (exp_test_upward): Likewise.
20687         (exp10_test): Likewise.
20688         (exp2_test): Likewise.
20689         (expm1_test): Likewise.
20690         (fmod_test): Likewise.
20691         (gamma_test): Likewise.
20692         (hypot_test): Likewise.
20693         (j0_test): Likewise.
20694         (j1_test): Likewise.
20695         (jn_test): Likewise.
20696         (lgamma_test): Likewise.
20697         (log_test): Likewise.
20698         (log10_test): Likewise.
20699         (log1p_test): Likewise.
20700         (log2_test): Likewise.
20701         (logb_test_downward): Likewise.
20702         (pow_test): Likewise.
20703         (pow_test_tonearest): Likewise.
20704         (pow_test_towardzero): Likewise.
20705         (pow_test_downward): Likewise.
20706         (pow_test_upward): Likewise.
20707         (remainder_test): Likewise.
20708         (remquo_test): Likewise.
20709         (sin_test): Likewise.
20710         (sin_test_tonearest): Likewise.
20711         (sin_test_towardzero): Likewise.
20712         (sin_test_downward): Likewise.
20713         (sin_test_upward): Likewise.
20714         (sincos_test): Likewise.
20715         (sinh_test): Likewise.
20716         (sinh_test_tonearest): Likewise.
20717         (sinh_test_towardzero): Likewise.
20718         (sinh_test_downward): Likewise.
20719         (sinh_test_upward): Likewise.
20720         (sqrt_test): Likewise.
20721         (tan_test): Likewise.
20722         (tan_test_tonearest): Likewise.
20723         (tan_test_towardzero): Likewise.
20724         (tan_test_downward): Likewise.
20725         (tan_test_upward): Likewise.
20726         (tanh_test): Likewise.
20727         (tgamma_test): Likewise.
20728         (y0_test): Likewise.
20729         (y1_test): Likewise.
20730         (yn_test): Likewise.
20731
20732         * math/gen-libm-test.pl (adjust_arg): Remove function.
20733         (special_function): Remove argument $in_func.  Only handle
20734         generating output for tables of tests, not inside functions.
20735         (parse_args): Likewise.
20736         (generate_testfile): Remove variable $in_func.  Update call to
20737         parse_args.
20738         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20739         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20740         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20741         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20742         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20743         (MAX_VALUE_INIT): Rename macro to max_value.
20744         (MIN_VALUE_INIT): Rename macro to min_value.
20745         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20746         (plus_zero): Remove variable.
20747         (minus_zero): Likewise.
20748         (plus_infty): Likewise.
20749         (minus_infty): Likewise.
20750         (qnan_value): Likewise.
20751         (max_value): Likewise.
20752         (min_value): Likewise.
20753         (min_subnorm_value): Likewise.
20754
20755 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20756
20757         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20758         uint64_t or uint32_t usage.
20759         * crypt/sha256-block.c: Likewise.
20760         * crypt/sha256-crypt.c: Likewise.
20761         * crypt/sha256.c: Likewise.
20762         * crypt/sha512-block.c: Likewise.
20763         * crypt/sha512-crypt.c: Likewise.
20764         * crypt/sha512.c: Likewise.
20765         * debug/backtrace-tst.c: Likewise.
20766         * debug/pcprofiledump.c: Likewise.
20767         * elf/cache.c: Likewise.
20768         * elf/dl-cache.c: Likewise.
20769         * elf/dl-misc.c: Likewise.
20770         * elf/dl-profile.c: Likewise.
20771         * elf/dl-support.c: Likewise.
20772         * elf/ldconfig.c: Likewise.
20773         * elf/sprof.c: Likewise.
20774         * iconv/dummy-repertoire.c: Likewise.
20775         * iconv/iconv_charmap.c: Likewise.
20776         * iconv/skeleton.c: Likewise.
20777         * iconvdata/8bit-generic.c: Likewise.
20778         * iconvdata/cp737.h: Likewise.
20779         * iconvdata/cp775.h: Likewise.
20780         * iconvdata/ibm1008.h: Likewise.
20781         * iconvdata/ibm1025.h: Likewise.
20782         * iconvdata/ibm1046.h: Likewise.
20783         * iconvdata/ibm1097.h: Likewise.
20784         * iconvdata/ibm1112.h: Likewise.
20785         * iconvdata/ibm1122.h: Likewise.
20786         * iconvdata/ibm1123.h: Likewise.
20787         * iconvdata/ibm1124.h: Likewise.
20788         * iconvdata/ibm1129.h: Likewise.
20789         * iconvdata/ibm1130.h: Likewise.
20790         * iconvdata/ibm1132.h: Likewise.
20791         * iconvdata/ibm1133.h: Likewise.
20792         * iconvdata/ibm1137.h: Likewise.
20793         * iconvdata/ibm1140.h: Likewise.
20794         * iconvdata/ibm1141.h: Likewise.
20795         * iconvdata/ibm1142.h: Likewise.
20796         * iconvdata/ibm1143.h: Likewise.
20797         * iconvdata/ibm1144.h: Likewise.
20798         * iconvdata/ibm1145.h: Likewise.
20799         * iconvdata/ibm1146.h: Likewise.
20800         * iconvdata/ibm1147.h: Likewise.
20801         * iconvdata/ibm1148.h: Likewise.
20802         * iconvdata/ibm1149.h: Likewise.
20803         * iconvdata/ibm1153.h: Likewise.
20804         * iconvdata/ibm1154.h: Likewise.
20805         * iconvdata/ibm1155.h: Likewise.
20806         * iconvdata/ibm1156.h: Likewise.
20807         * iconvdata/ibm1157.h: Likewise.
20808         * iconvdata/ibm1158.h: Likewise.
20809         * iconvdata/ibm1160.h: Likewise.
20810         * iconvdata/ibm1161.h: Likewise.
20811         * iconvdata/ibm1162.h: Likewise.
20812         * iconvdata/ibm1163.h: Likewise.
20813         * iconvdata/ibm1164.h: Likewise.
20814         * iconvdata/ibm1166.h: Likewise.
20815         * iconvdata/ibm1167.h: Likewise.
20816         * iconvdata/ibm12712.h: Likewise.
20817         * iconvdata/ibm1390.h: Likewise.
20818         * iconvdata/ibm1399.h: Likewise.
20819         * iconvdata/ibm16804.h: Likewise.
20820         * iconvdata/ibm4517.h: Likewise.
20821         * iconvdata/ibm4899.h: Likewise.
20822         * iconvdata/ibm4909.h: Likewise.
20823         * iconvdata/ibm4971.h: Likewise.
20824         * iconvdata/ibm5347.h: Likewise.
20825         * iconvdata/ibm803.h: Likewise.
20826         * iconvdata/ibm856.h: Likewise.
20827         * iconvdata/ibm901.h: Likewise.
20828         * iconvdata/ibm902.h: Likewise.
20829         * iconvdata/ibm9030.h: Likewise.
20830         * iconvdata/ibm9066.h: Likewise.
20831         * iconvdata/ibm921.h: Likewise.
20832         * iconvdata/ibm922.h: Likewise.
20833         * iconvdata/ibm9448.h: Likewise.
20834         * iconvdata/isiri-3342.h: Likewise.
20835         * iconvdata/jis0201.h: Likewise.
20836         * include/link.h: Likewise.
20837         * include/netdb.h: Likewise.
20838         * inet/check_native.c: Likewise.
20839         * inet/check_pf.c: Likewise.
20840         * inet/getipv4sourcefilter.c: Likewise.
20841         * inet/getnameinfo.c: Likewise.
20842         * inet/getsourcefilter.c: Likewise.
20843         * inet/htonl.c: Likewise.
20844         * inet/setipv4sourcefilter.c: Likewise.
20845         * inet/setsourcefilter.c: Likewise.
20846         * inet/test-inet6_opt.c: Likewise.
20847         * inet/tst-network.c: Likewise.
20848         * locale/C-collate.c: Likewise.
20849         * locale/C-ctype.c: Likewise.
20850         * locale/C-time.c: Likewise.
20851         * locale/C-translit.h: Likewise.
20852         * locale/loadarchive.c: Likewise.
20853         * locale/programs/3level.h: Likewise.
20854         * locale/programs/charmap.c: Likewise.
20855         * locale/programs/charmap.h: Likewise.
20856         * locale/programs/ld-address.c: Likewise.
20857         * locale/programs/ld-collate.c: Likewise.
20858         * locale/programs/ld-ctype.c: Likewise.
20859         * locale/programs/ld-identification.c: Likewise.
20860         * locale/programs/ld-measurement.c: Likewise.
20861         * locale/programs/ld-messages.c: Likewise.
20862         * locale/programs/ld-monetary.c: Likewise.
20863         * locale/programs/ld-name.c: Likewise.
20864         * locale/programs/ld-numeric.c: Likewise.
20865         * locale/programs/ld-paper.c: Likewise.
20866         * locale/programs/ld-telephone.c: Likewise.
20867         * locale/programs/ld-time.c: Likewise.
20868         * locale/programs/linereader.c: Likewise.
20869         * locale/programs/locale.c: Likewise.
20870         * locale/programs/locarchive.c: Likewise.
20871         * locale/programs/locfile.h: Likewise.
20872         * locale/programs/repertoire.c: Likewise.
20873         * locale/programs/simple-hash.c: Likewise.
20874         * locale/programs/simple-hash.h: Likewise.
20875         * malloc/memusage.c: Likewise.
20876         * malloc/memusagestat.c: Likewise.
20877         * nis/nis_defaults.c: Likewise.
20878         * nis/nis_hash.c: Likewise.
20879         * nis/nis_print.c: Likewise.
20880         * nis/nis_xdr.c: Likewise.
20881         * nscd/connections.c: Likewise.
20882         * nscd/hstcache.c: Likewise.
20883         * nscd/nscd_gethst_r.c: Likewise.
20884         * nscd/nscd_getserv_r.c: Likewise.
20885         * nscd/nscd_helper.c: Likewise.
20886         * nscd/servicescache.c: Likewise.
20887         * nss/makedb.c: Likewise.
20888         * nss/nss_db/db-XXX.c: Likewise.
20889         * nss/nss_db/db-initgroups.c: Likewise.
20890         * nss/nss_db/db-netgrp.c: Likewise.
20891         * nss/nss_files/files-network.c: Likewise.
20892         * nss/nss_files/files-parse.c: Likewise.
20893         * posix/bug-regex5.c: Likewise.
20894         * posix/fnmatch_loop.c: Likewise.
20895         * posix/regcomp.c: Likewise.
20896         * posix/regexec.c: Likewise.
20897         * posix/tst-rfc3484-2.c: Likewise.
20898         * posix/tst-rfc3484-3.c: Likewise.
20899         * posix/tst-rfc3484.c: Likewise.
20900         * resolv/nss_dns/dns-canon.c: Likewise.
20901         * resolv/nss_dns/dns-network.c: Likewise.
20902         * resolv/res_init.c: Likewise.
20903         * resolv/res_mkquery.c: Likewise.
20904         * resolv/tst-aton.c: Likewise.
20905         * stdlib/cxa_atexit.c: Likewise.
20906         * stdlib/cxa_finalize.c: Likewise.
20907         * stdlib/gen-fpioconst.c: Likewise.
20908         * stdlib/strtol_l.c: Likewise.
20909         * string/tst-endian.c: Likewise.
20910         * sunrpc/auth_des.c: Likewise.
20911         * sunrpc/clnt_udp.c: Likewise.
20912         * sunrpc/rtime.c: Likewise.
20913         * sunrpc/svcauth_des.c: Likewise.
20914         * sunrpc/xdr.c: Likewise.
20915         * sunrpc/xdr_intXX_t.c: Likewise.
20916         * sunrpc/xdr_rec.c: Likewise.
20917         * sysdeps/generic/ldconfig.h: Likewise.
20918         * sysdeps/generic/ldsodefs.h: Likewise.
20919         * sysdeps/generic/memusage.h: Likewise.
20920         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20921         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20922         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20923         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20924         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20925         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20926         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20927         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20928         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20929         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20930         * sysdeps/posix/getaddrinfo.c: Likewise.
20931         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20932         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20933         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20934         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20935         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20936         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20937         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20938         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20939         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20940         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20941         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20942         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20943         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20944         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20945         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20946         * sysdeps/x86_64/dl-tls.h: Likewise.
20947         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20948         * time/alt_digit.c: Likewise.
20949         * time/era.c: Likewise.
20950         * wcsmbs/tst-c16c32-1.c: Likewise.
20951
20952 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20953
20954         * math/libm-test.inc (struct test_sincos_data): New type.
20955         (RUN_TEST_LOOP_sincos): New macro.
20956         (sincos_test_data): New variable.
20957         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20958
20959 2013-05-16  Richard Henderson  <rth@redhat.com>
20960
20961         * math/atest-exp2.c (LIMB64): New macro.
20962         (CONSTSZ): New macro.
20963         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20964         (hexdig): Move ...
20965         (print_mpn_fp): ... to function scope.
20966         (read_mpn_hex): Remove.
20967         (get_log2): Remove.
20968         (exp2_mpn): Use mp_log2.
20969         (main): Use mp_exp1.
20970
20971 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20972
20973         * math/libm-test.inc: Remove comment about not testing "inexact"
20974         exceptions.
20975         (INEXACT_EXCEPTION): New macro.
20976         (NO_INEXACT_EXCEPTION): Likewise.
20977         (INVALID_EXCEPTION_OK): Update value.
20978         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20979         (OVERFLOW_EXCEPTION_OK): Likewise.
20980         (UNDERFLOW_EXCEPTION_OK): Likewise.
20981         (IGNORE_ZERO_INF_SIGN): Likewise.
20982         (ERRNO_UNCHANGED): Likewise.
20983         (ERRNO_EDOM): Likewise.
20984         (ERRNO_ERANGE): Likewise.
20985         (test_exceptions): Handle testing "inexact" exceptions.
20986         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20987         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20988         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20989         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20990         INEXACT_EXCEPTION.
20991         (rint_towardzero_test_data): Likewise.
20992         (rint_downward_test_data): Likewise.
20993         (rint_upward_test_data): Likewise.
20994
20995         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20996         with OVERFLOW_EXCEPTION.
20997         (exp10_test_data): Likewise.
20998         (exp2_test_data): Likewise.
20999         (expm1_test_data): Likewise.
21000         (lgamma_test_data): Likewise.
21001         (pow_test_data): Likewise.
21002         (tgamma_test_data): Likewise.
21003         (yn_test_data): Remove duplicate test of overflow.
21004
21005         * math/libm-test.inc (struct test_cc_c_data): New type.
21006         (RUN_TEST_LOOP_cc_c): New macro.
21007         (cpow_test_data): New variable.
21008         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21009
21010         * math/libm-test.inc (struct test_f_L_data): New type.
21011         (RUN_TEST_LOOP_f_L): New macro.
21012         (llrint_test_data): New variable.
21013         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21014         (llrint_tonearest_test_data): New variable.
21015         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21016         (llrint_towardzero_test_data): New variable.
21017         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21018         (llrint_downward_test_data): New variable.
21019         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21020         (llrint_upward_test_data): New variable.
21021         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21022         (llround_test_data): New variable.
21023         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21024
21025 2013-05-13  Peter Collingbourne  <pcc@google.com>
21026
21027         * math/atest-exp2.c (get_log2): Remove const attribute.
21028
21029 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21030
21031         * math/libm-test.inc (struct test_f_l_data): New type.
21032         (RUN_TEST_LOOP_f_l): New macro.
21033         (lrint_test_data): New variable.
21034         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21035         (lrint_tonearest_test_data): New variable.
21036         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21037         (lrint_towardzero_test_data): New variable.
21038         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21039         (lrint_downward_test_data): New variable.
21040         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21041         (lrint_upward_test_data): New variable.
21042         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21043         (lround_test_data): New variable.
21044         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21045
21046 2013-05-15  Peter Collingbourne  <pcc@google.com>
21047
21048         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21049         (EXTRACT_WORDS64) Use where appropriate.
21050         (INSERT_WORDS64) Likewise.
21051
21052         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21053         constraints with x constraints.
21054         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21055
21056         * malloc/obstack.c (_obstack_compat): Add initializer.
21057
21058 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21059
21060         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21061         si_trapno and add si_addr_lsb to _sifields.sigfault.
21062         (si_trapno): Remove macro.
21063         (si_addr_lsb): Define new macro.
21064         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21065
21066 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21067
21068         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21069         instead of TEST_f_l.
21070         (llrint_test_tonearest): Likewise.
21071         (llrint_test_towardzero): Likewise.
21072         (llrint_test_downward): Likewise.
21073         (llrint_test_upward): Likewise.
21074         (llround_test): Likewise.
21075
21076         * math/libm-test.inc (struct test_f_i_data): Add comment.
21077         (RUN_TEST_LOOP_f_b): New macro.
21078         (RUN_TEST_LOOP_f_b_tg): Likewise.
21079         (finite_test_data): New variable.
21080         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21081         (isfinite_test_data): New variable.
21082         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21083         (isinf_test_data): New variable.
21084         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21085         (isnan_test_data): New variable.
21086         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21087         (isnormal_test_data): New variable.
21088         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21089         (issignaling_test_data): New variable.
21090         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21091         (signbit_test_data): New variable.
21092         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21093
21094         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21095         with INVALID_EXCEPTION.
21096         (acosh_test_data): Likewise.
21097         (asin_test_data): Likewise.
21098         (atanh_test_data): Likewise.
21099         (fmod_test_data): Likewise.
21100         (log_test_data): Likewise.
21101         (log10_test_data): Likewise.
21102         (log2_test_data): Likewise.
21103         (pow_test_data): Likewise.
21104         (sqrt_test_data): Likewise.
21105         (y0_test_data): Likewise.
21106         (y1_test_data): Likewise.
21107         (yn_test_data): Likewise.
21108
21109         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21110         function contents.
21111
21112         * math/libm-test.inc (struct test_ff_i_data): New type.
21113         (RUN_TEST_LOOP_ff_i_tg): New macro.
21114         (isgreater_test_data): New variable.
21115         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21116         (isgreaterequal_test_data): New variable.
21117         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21118         (isless_test_data): New variable.
21119         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21120         (islessequal_test_data): New variable.
21121         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21122         (islessgreater_test_data): New variable.
21123         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21124         (isunordered_test_data): New variable.
21125         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21126
21127 2013-05-14  David S. Miller  <davem@davemloft.net>
21128
21129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21130
21131 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21132
21133         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21134
21135         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21136         extra_test to int.
21137         (struct test_f_i_data): Change type of max_ulp to int.
21138
21139         * math/libm-test.inc (test_ffI_f1_data): New type.
21140         (RUN_TEST_LOOP_ffI_f1): New macro.
21141         (remquo_test_data): New variable.
21142         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21143
21144         * setjmp/tst-setjmp-fp.c: New file.
21145         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21146         (link-libm): New variable.
21147         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21148
21149         * math/libm-test.inc (struct test_f_i_data): New type.
21150         (RUN_TEST_LOOP_f_i): New macro.
21151         (RUN_TEST_LOOP_f_i_tg): Likewise.
21152         (fpclassify_test_data): New variable.
21153         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21154         (ilogb_test_data): New variable.
21155         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21156
21157         * math/libm-test.inc (scalbln_test): Correct function name in END
21158         call.
21159
21160         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21161         (RUN_TEST_LOOP_fI_f1): New macro.
21162         (frexp_test_data): New variable.
21163         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21164
21165         * math/libm-test.inc (struct test_fF_f1_data): New type.
21166         (RUN_TEST_LOOP_fF_f1): New macro.
21167         (modf_test_data): New variable.
21168         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21169
21170         * math/libm-test.inc (struct test_f_f1_data): New type.
21171         (RUN_TEST_LOOP_f_f1): New macro.
21172         (gamma_test_data): New variable.
21173         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21174         (lgamma_test_data): New variable.
21175         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21176
21177 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21178
21179         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21180         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21181         (main): Comment "tls" pseudo-hwcap.
21182
21183 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21184
21185         * math/libm-test.inc (struct test_fl_f_data): New type.
21186         (RUN_TEST_LOOP_fl_f): New variable.
21187         (scalbln_test_data): New variable.
21188         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21189
21190         * math/libm-test.inc (struct test_fi_f_data): New type.
21191         (RUN_TEST_LOOP_fi_f): New macro.
21192         (ldexp_test_data): New variable.
21193         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21194         (scalbn_test_data): New variable.
21195         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21196
21197         * math/libm-test.inc (struct test_c_f_data): New type.
21198         (RUN_TEST_LOOP_c_f): New macro.
21199         (cabs_test_data): New variable.
21200         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21201         (carg_test_data): New variable.
21202         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21203         (cimag_test_data): New variable.
21204         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21205         (creal_test_data): New variable.
21206         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21207
21208         * math/libm-test.inc (struct test_if_f_data): New type.
21209         (RUN_TEST_LOOP_if_f): New macro.
21210         (jn_test_data): New variable.
21211         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21212         (yn_test_data): New variable.
21213         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21214
21215         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21216
21217 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21218
21219         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21220         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21221
21222 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21223
21224         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21225         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21226         (bench-deps): Add bench-timing.h.
21227         * benchtests-bench-skeleton.c: Include bench-timing.h.
21228         (main): Use TIMING_* macros instead of clock_gettime.
21229         * benchtests/bench-timing.h: New file.
21230
21231         [BZ #14582]
21232         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21233         Renamed from _LIB_VERSION.
21234         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21235
21236 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21237
21238         * math/libm-test.inc (struct test_fff_f_data): New type.
21239         (RUN_TEST_LOOP_fff_f): New macro.
21240         (fma_test_data): New variable.
21241         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21242         (fma_towardzero_test_data): New variable.
21243         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21244         (fma_downward_test_data): New variable.
21245         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21246         (fma_upward_test_data): New variable.
21247         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21248
21249         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21250         (struct test_c_c_data): New type.
21251         (RUN_TEST_LOOP_c_c): New macro.
21252         (cacos_test_data): New variable.
21253         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21254         (cacosh_test_data): New variable.
21255         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21256         (casin_test_data): New variable.
21257         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21258         (casinh_test_data): New variable.
21259         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21260         (catan_test_data): New variable.
21261         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21262         (catanh_test_data): New variable.
21263         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21264         (ccos_test_data): New variable.
21265         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21266         (ccosh_test_data): New variable.
21267         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21268         (cexp_test_data): New variable.
21269         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21270         (clog_test_data): New variable.
21271         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21272         (clog10_test_data): New variable.
21273         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21274         (conj_test_data): New variable.
21275         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21276         (cproj_test_data): New variable.
21277         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21278         (csin_test_data): New variable.
21279         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21280         (csinh_test_data): New variable.
21281         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21282         (csqrt_test_data): New variable.
21283         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21284         (ctan_test_data): New variable.
21285         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21286         (ctan_tonearest_test_data): New variable.
21287         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21288         (ctan_towardzero_test_data): New variable.
21289         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21290         (ctan_downward_test_data): New variable.
21291         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21292         (ctan_upward_test_data): New variable.
21293         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21294         (ctanh_test_data): New variable.
21295         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21296         (ctanh_tonearest_test_data): New variable.
21297         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21298         (ctanh_towardzero_test_data): New variable.
21299         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21300         (ctanh_downward_test_data): New variable.
21301         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21302         (ctanh_upward_test_data): New variable.
21303         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21304         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21305         of BUILD_COMPLEX.
21306
21307         * math/libm-test.inc (struct test_ff_f_data): New type.
21308         (struct test_ff_f_data_nexttoward): Likewise.
21309         (RUN_TEST_LOOP_2_f): New macro.
21310         (RUN_TEST_LOOP_ff_f): Likewise.
21311         (atan2_test_data): New variable.
21312         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21313         (copysign_test_data): New variable.
21314         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21315         (fdim_test_data): New variable.
21316         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21317         (fmax_test_data): New variable.
21318         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21319         (fmin_test_data): New variable.
21320         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21321         (fmod_test_data): New variable.
21322         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21323         (hypot_test_data): New variable.
21324         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21325         (nextafter_test_data): New variable.
21326         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21327         (nexttoward_test_data): New variable.
21328         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21329         (pow_test_data): New variable.
21330         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21331         (pow_tonearest_test_data): New variable.
21332         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21333         (pow_towardzero_test_data): New variable.
21334         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21335         (pow_downward_test_data): New variable.
21336         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21337         (pow_upward_test_data): New variable.
21338         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21339         (remainder_test_data): New variable.
21340         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21341         (scalb_test_data): New variable.
21342         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21343         * sysdeps/i386/fpu/libm-test-ulps: Update.
21344
21345 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21346
21347         * math/libm-test.inc (fma_test): Use max_value instead of local
21348         variable fltmax.
21349         (nextafter_test): Likewise.
21350
21351         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21352         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21353         (acos_downward_test_data): New variable.
21354         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21355         (acos_upward_test_data): New variable.
21356         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21357         (acosh_test_data): New variable.
21358         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21359         (asin_test_data): New variable.
21360         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21361         (asin_tonearest_test_data): New variable.
21362         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21363         (asin_towardzero_test_data): New variable.
21364         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21365         (asin_downward_test_data): New variable.
21366         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21367         (asin_upward_test_data): New variable.
21368         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21369         (asinh_test_data): New variable.
21370         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21371         (atan_test_data): New variable.
21372         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21373         (atanh_test_data): New variable.
21374         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21375         (cbrt_test_data): New variable.
21376         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21377         (ceil_test_data): New variable.
21378         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21379         (cos_test_data): New variable.
21380         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21381         (cos_tonearest_test_data): New variable.
21382         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21383         (cos_towardzero_test_data): New variable.
21384         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21385         (cos_downward_test_data): New variable.
21386         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21387         (cos_upward_test_data): New variable.
21388         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21389         (cosh_test_data): New variable.
21390         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21391         (cosh_tonearest_test_data): New variable.
21392         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21393         (cosh_towardzero_test_data): New variable.
21394         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21395         (cosh_downward_test_data): New variable.
21396         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21397         (cosh_upward_test_data): New variable.
21398         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21399         (erf_test_data): New variable.
21400         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21401         (erfc_test_data): New variable.
21402         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21403         (exp_test_data): New variable.
21404         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21405         (exp_tonearest_test_data): New variable.
21406         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21407         (exp_towardzero_test_data): New variable.
21408         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21409         (exp_downward_test_data): New variable.
21410         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21411         (exp_upward_test_data): New variable.
21412         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21413         (exp10_test_data): New variable.
21414         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21415         (exp2_test_data): New variable.
21416         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21417         (expm1_test_data): New variable.
21418         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21419         (fabs_test_data): New variable.
21420         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21421         (floor_test_data): New variable.
21422         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21423         (j0_test_data): New variable.
21424         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21425         (j1_test_data): New variable.
21426         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21427         (log_test_data): New variable.
21428         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21429         (log10_test_data): New variable.
21430         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21431         (log1p_test_data): New variable.
21432         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21433         (log2_test_data): New variable.
21434         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21435         (logb_test_data): New variable.
21436         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21437         (logb_downward_test_data): New variable.
21438         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21439         (nearbyint_test_data): New variable.
21440         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21441         (rint_test_data): New variable.
21442         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21443         (rint_tonearest_test_data): New variable.
21444         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21445         (rint_towardzero_test_data): New variable.
21446         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21447         (rint_downward_test_data): New variable.
21448         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21449         (rint_upward_test_data): New variable.
21450         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21451         (round_test_data): New variable.
21452         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21453         (sin_test_data): New variable.
21454         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21455         (sin_tonearest_test_data): New variable.
21456         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21457         (sin_towardzero_test_data): New variable.
21458         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21459         (sin_downward_test_data): New variable.
21460         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21461         (sin_upward_test_data): New variable.
21462         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21463         (sinh_test_data): New variable.
21464         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21465         (sinh_tonearest_test_data): New variable.
21466         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21467         (sinh_towardzero_test_data): New variable.
21468         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21469         (sinh_downward_test_data): New variable.
21470         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21471         (sinh_upward_test_data): New variable.
21472         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21473         (sqrt_test_data): New variable.
21474         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21475         (tan_test_data): New variable.
21476         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21477         (tan_tonearest_test_data): New variable.
21478         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21479         (tan_towardzero_test_data): New variable.
21480         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21481         (tan_downward_test_data): New variable.
21482         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21483         (tan_upward_test_data): New variable.
21484         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21485         (tanh_test_data): New variable.
21486         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21487         (tgamma_test_data): New variable.
21488         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21489         (trunc_test_data): New variable.
21490         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21491         (y0_test_data): New variable.
21492         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21493         (y1_test_data): New variable.
21494         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21495         (significand_test_data): New variable.
21496         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21497
21498 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21499
21500         [BZ #12387]
21501         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21502
21503 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21504
21505         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21506
21507 2013-05-10  Andreas Jaeger  <aj@suse.de>
21508
21509         [BZ #15448]
21510         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21511         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21512
21513 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21514
21515         * math/gen-libm-test.pl (adjust_arg): New function.
21516         (special_functions): Handle generating output in both functions
21517         and arrays.
21518         (parse_args): Likewise.
21519         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21520         $in_func argument to parse_args.
21521         * math/libm-test.inc (struct test_f_f_data): New type.
21522         (IF_ROUND_INIT_): New macro.
21523         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21524         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21525         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21526         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21527         (ROUND_RESTORE_): Likewise.
21528         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21529         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21530         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21531         (ROUND_RESTORE_FE_UPWARD): Likewise.
21532         (RUN_TEST_LOOP_f_f): New macro.
21533         (acos_test_data): New variable.
21534         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21535         (acos_tonearest_test_data): New variable.
21536         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21537
21538 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21539
21540         * benchtests/bench-skeleton.c (startup): Fix coding style.
21541
21542 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21543
21544         [BZ #6809]
21545         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21546         negative infinity argument.
21547         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21548         negative infinity argument.
21549         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21550         negative infinity argument.
21551         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21552         domain errors.
21553
21554 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21555
21556         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21557         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21558         * iconv/iconv_prog.c (main): Likewise.
21559         * locale/programs/charmap-dir.c (charmap_readdir)
21560         (fopen_uncompressed): Likewise.
21561         * locale/programs/locfile.c (siblings_uncached)
21562         (write_locale_data): Use lstat64 instead of lstat.
21563         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21564         stat.
21565
21566 2013-05-10  Andreas Jaeger  <aj@suse.de>
21567
21568         [BZ #15395]
21569         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21570         localization.
21571         Include <locale.h>.
21572
21573 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21574
21575         * elf/dl-close.c (_dl_close_worker): Add comments.
21576
21577 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21578
21579         [BZ #15359]
21580         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21581         high part of pi/2.
21582         (__ieee754_rem_pio2l): Update comments.
21583
21584         [BZ #15429]
21585         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21586         high part of pi/2.
21587         (__ieee754_rem_pio2l): Update comments.
21588
21589         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21590         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21591
21592         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21593         M_PI_4l.
21594
21595         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21596         (M_PI_34_LOG10El): Likewise.
21597         (M_PI2_LOG10El): Likewise.
21598         (M_PI4_LOG10El): Likewise.
21599         (M_PI_LOG10El): Likewise.
21600
21601 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21602
21603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21604
21605 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21606
21607         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21608         (MINUS_ZERO_INIT): Likewise.
21609         (PLUS_INFTY_INIT): Likewise.
21610         (MINUS_INFTY_INIT): Likewise.
21611         (QNAN_VALUE_INIT): Likewise.
21612         (MAX_VALUE_INIT): Likewise.
21613         (MIN_VALUE_INIT): Likewise.
21614         (MIN_SUBNORM_VALUE_INIT): Likewise.
21615         (plus_zero): Initialize with PLUS_ZERO_INIT.
21616         (minus_zero): Initialize with MINUS_ZERO_INIT.
21617         (plus_infty): Initialize with PLUS_INFTY_INIT.
21618         (minus_infty): Initialize with MINUS_INFTY_INIT.
21619         (qnan_value): Initialize with QNAN_VALUE_INIT.
21620         (max_value): Initialize with MAX_VALUE_INIT.
21621         (min_value): Initialize with MIN_VALUE_INIT.
21622         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21623
21624         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21625         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21626         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21627         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21628
21629         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21630         (RUN_TEST_2_f): Likewise.
21631         (RUN_TEST_ff_f): Likewise.
21632         (RUN_TEST_fi_f): Likewise.
21633         (RUN_TEST_fl_f): Likewise.
21634         (RUN_TEST_fff_f): Likewise.
21635         (RUN_TEST_c_f): Likewise.
21636         (RUN_TEST_f_f1): Likewise.
21637         (RUN_TEST_fF_f1): Likewise.
21638         (RUN_TEST_fI_f1): Likewise.
21639         (RUN_TEST_ffI_f1): Likewise.
21640         (RUN_TEST_c_c): Likewise.
21641         (RUN_TEST_cc_c): Likewise.
21642         (RUN_TEST_f_i): Likewise.
21643         (RUN_TEST_f_i_tg): Likewise.
21644         (RUN_TEST_ff_i_tg): Likewise.
21645         (RUN_TEST_f_b): Likewise.
21646         (RUN_TEST_f_b_tg): Likewise.
21647         (RUN_TEST_f_l): Likewise.
21648         (RUN_TEST_f_L): Likewise.
21649         (RUN_TEST_sincos): Likewise.
21650         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21651         whether to show exceptions.  Do not include ");\n" in return
21652         value.
21653         (special_functions): Output call to RUN_TEST_sincos instead of
21654         check_float calls.  Update calls to new_test.
21655         (parse_args): Output call to single RUN_TEST_* macro instead of
21656         check_* calls and other assignments.  Update calls to new_test.
21657
21658         [BZ #2546]
21659         [BZ #2560]
21660         [BZ #5159]
21661         [BZ #15426]
21662         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21663         input to result for tgamma overflow.
21664         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21665         (gamma_coeff): New variable.
21666         (NCOEFF): New macro.
21667         (gamma_positive): New function.
21668         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21669         underflow here.  Use gamma_positive instead of exp (lgamma) for
21670         other arguments.
21671         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21672         (gamma_coeff): New variable.
21673         (NCOEFF): New macro.
21674         (gammaf_positive): New function.
21675         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21676         underflow here.  Use gamma_positive instead of exp (lgamma) for
21677         other arguments.
21678         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21679         (gamma_coeff): New variable.
21680         (NCOEFF): New macro.
21681         (gammal_positive): New function.
21682         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21683         underflow here.  Use gamma_positive instead of exp (lgamma) for
21684         other arguments.
21685         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21686         (gamma_coeff): New variable.
21687         (NCOEFF): New macro.
21688         (gammal_positive): New function.
21689         (__ieee754_gammal_r): Handle positive infinity, overflow and
21690         underflow here.  Handle NaN the same as positive infinity.  Remove
21691         check x < 0xffffffff for negative integers.  Use gamma_positive
21692         instead of exp (lgamma) for other arguments.
21693         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21694         (gamma_coeff): New variable.
21695         (NCOEFF): New macro.
21696         (gammal_positive): New function.
21697         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21698         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21699         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21700         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21701         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21702         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21703         * sysdeps/generic/math_private.h (__gamma_productf): New
21704         prototype.
21705         (__gamma_product): Likewise.
21706         (__gamma_productl): Likewise.
21707         * math/Makefile (libm-calls): Add gamma_product.
21708         * math/libm-test.inc (tgamma_test): Add more tests.
21709         * sysdeps/i386/fpu/libm-test-ulps: Update.
21710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21711
21712 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21713
21714         * benchtests/bench-skeleton.c (main): Preheat CPU.
21715
21716 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21717
21718         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21719
21720 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21721
21722         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21723         and _dl_skip_args_internal.
21724
21725 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21726
21727         * manual/message.texi (Message Translation): Talk about users.
21728         Message to key mapping impacts design.
21729
21730 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21731
21732         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21733
21734         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21735
21736         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21737         * sysdeps/wordsize-64/glob64.c: ... here.
21738
21739         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21740         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21741         New macros.
21742
21743         * debug/getlogin_r_chk.c: Moved to ...
21744         * login/getlogin_r_chk.c: ... here.
21745         * debug/Makefile (routines): Move getlogin_r_chk to ...
21746         * login/Makefile (routines): ... here.
21747         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21748         * login/Versions (libc: GLIBC_2.4): ... here.
21749
21750         * io/poll.c (__poll): Renamed from poll.
21751         Add libc_hidden_def.
21752         (poll): Define as weak alias.
21753
21754         * debug/ptsname_r_chk.c: Moved to ...
21755         * login/ptsname_r_chk.c: ... here.
21756         * debug/Makefile (routines): Move ptsname_r_chk to ...
21757         * login/Makefile (routines): ... here.
21758         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21759         * login/Versions (libc: GLIBC_2.4): ... here.
21760
21761         * posix/getlogin.c: Moved to ...
21762         * login/getlogin.c: ... here.
21763         * posix/getlogin_r.c: Moved to ...
21764         * login/getlogin_r.c: ... here.
21765         * posix/getlogin_r.c: Moved to ...
21766         * login/getlogin_r.c: ... here.
21767         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21768         * login/Makefile (routines): ... here.
21769         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21770         * login/Versions (libc: GLIBC_2.0): ... here.
21771
21772         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21773         (setrlimit): Define as weak alias.
21774
21775         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21776         Call __ names for open, ftruncate, and close.
21777         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21778         (truncate): Define as weak alias.
21779
21780 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21781
21782         * math/gen-libm-test.pl (parse_args): Initialize x before each
21783         test of frexp, modf and remquo.
21784
21785         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21786         test signgam value.
21787
21788 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21789
21790         [BZ #15418]
21791         [BZ #15419]
21792         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21793         internal tests.
21794         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21795
21796 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21797
21798         * elf/dl-writev.h: New file.
21799         * elf/dl-misc.c: Include it.
21800         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21801         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21802
21803 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21804
21805         * math/libm-test.inc (noXFails): Remove variable.
21806         (noXPasses): Likewise.
21807         (BUILD_COMPLEX_INT): Remove macro.
21808         (print_screen): Remove xfail argument.
21809         (print_screen_max_error): Likewise.
21810         (update_stats): Likewise.
21811         (print_max_error): Likewise.  Update calls to other affected
21812         functions.
21813         (print_complex_max_error): Likewise.
21814         (test_single_exception): Update calls to print_screen.
21815         (test_single_errno): Likewise.
21816         (check_float_internal): Remove xfail argument.  Update calls to
21817         other affected functions.
21818         (check_float): Likewise.
21819         (check_complex): Likewise.
21820         (check_int): Likewise.
21821         (check_long): Likewise.
21822         (check_bool): Likewise.
21823         (check_longlong): Likewise.
21824         (main): Don't print noXFails and noXPasses.
21825         * math/gen-libm-test.pl (top level): Don't mention expected
21826         failure handling in comment.
21827         (new_test): Don't handle expected failures.
21828         (parse_args): Don't mention expected failure handling in comment.
21829         (generate_testfile): Don't handle expected failures.
21830         (parse_ulps): Likewise.
21831         (print_ulps_file): Likewise.
21832         (get_failure): Remove function.
21833         (output_test): Don't handle expected failures.
21834         * make/README.libm-test: Don't mention expected failure handling.
21835
21836         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21837         (minus_zero): Likewise.
21838         (plus_infty): Likewise.
21839         (minus_infty): Likewise.
21840         (qnan_value): Likewise.
21841         (max_value): Likewise.
21842         (min_value): Likewise.
21843         (min_subnorm_value): Likewise.
21844         (initialize): Do not initialize those variables dynamically.
21845
21846 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21847
21848         * io/open.c (__open_2): Moved to ...
21849         * io/open_2.c: ... this new file.
21850         * io/open64.c (__open64_2): Moved to ...
21851         * io/open64_2.c: ... this new file.
21852         * io/openat.c (__openat_2): Moved to ...
21853         * io/openat_2.c: ... this new file.
21854         * io/openat64.c (__openat64_2): Moved to ...
21855         * io/openat64_2.c: ... this new file.
21856         * io/Makefile (routines): Add them.
21857         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21858         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21859         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21860         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21861         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21862         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21863         (__openat64): Add hidden_ver.
21864         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21865         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21866
21867         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21868         Separately conditionalize setting of GLRO(dl_sysinfo) so
21869         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21870         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21871
21872 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21873
21874         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21875         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21876         definition.
21877         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21878         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21879         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21880         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21881         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21882
21883 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21884
21885         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21886         test signgam value.
21887
21888         * math/libm-test.inc (hypot_test): Do not use
21889         IGNORE_ZERO_INF_SIGN.
21890
21891 2013-05-03  Andreas Jaeger  <aj@suse.de>
21892
21893         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21894         Linux 3.9.
21895         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21896         (PF_MAX): Adjust for VSOCK change.
21897
21898 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21899
21900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21901
21902 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21903
21904         [BZ #15264]
21905         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21906         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21907         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21908
21909 2013-05-02  David S. Miller  <davem@davemloft.net>
21910
21911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21912
21913 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21914
21915         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21916
21917 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21918
21919         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21920
21921 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21922
21923         [BZ #14952]
21924         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21925         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21926         Use __attribute__ ((__gnu_inline__)).
21927         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21928         Don't use __attribute__ ((__gnu_inline__)).
21929
21930 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21931
21932         [BZ #15423]
21933         * math/s_catan.c (__catan): Handle small real or imaginary part of
21934         input specially to avoid spurious underflow.
21935         * math/s_catanf.c (__catanf): Likewise.
21936         * math/s_catanh.c (__catanh): Likewise.
21937         * math/s_catanhf.c (__catanhf): Likewise.
21938         * math/s_catanhl.c (__catanhl): Likewise.
21939         * math/s_catanl.c (__catanl): Likewise.
21940         * math/libm-test.inc (catan_test): Add more tests.
21941         (catanh_test): Likewise.
21942         * sysdeps/i386/fpu/libm-test-ulps: Update.
21943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21944
21945 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21946
21947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21948
21949 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21950
21951         [BZ #15416]
21952         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21953         accurately for denominator in atan2.
21954         * math/s_catanf.c (__catanf): Likewise.
21955         * math/s_catanh.c (__catanh): Likewise.
21956         * math/s_catanhf.c (__catanhf): Likewise.
21957         * math/s_catanhl.c (__catanhl): Likewise.
21958         * math/s_catanl.c (__catanl): Likewise.
21959         * math/libm-test.inc (catan_test): Add more tests.
21960         (catanh_test): Likewise.
21961         * sysdeps/i386/fpu/libm-test-ulps: Update.
21962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21963
21964 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21965
21966         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21967
21968         * benchtests/Makefile (bench): Remove slow benchmarks.
21969         * benchtests/atan-inputs: Add slow benchmark inputs.
21970         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21971         (BENCH_FUNC): Accept variant offset.
21972         (VARIANT): Define.
21973         * benchtests/bench-skeleton.c (main): Run benchmark for each
21974         variant.
21975         * benchtests/cos-inputs: Add slow benchmark inputs.
21976         * benchtests/exp-inputs: Likewise.
21977         * benchtests/pow-inputs: Likewise.
21978         * benchtests/sin-inputs: Likewise.
21979         * benchtests/slowatan-inputs: Remove.
21980         * benchtests/slowatan.c: Remove.
21981         * benchtests/slowcos-inputs: Remove.
21982         * benchtests/slowcos.c: Remove.
21983         * benchtests/slowexp-inputs: Remove.
21984         * benchtests/slowexp.c: Remove.
21985         * benchtests/slowpow-inputs: Remove.
21986         * benchtests/slowpow.c: Remove.
21987         * benchtests/slowsin-inputs: Remove.
21988         * benchtests/slowsin.c: Remove.
21989         * benchtests/slowtan-inputs: Remove.
21990         * benchtests/slowtan.c: Remove.
21991         * benchtests/tan-inputs: Add slow benchmark inputs.
21992         * scripts/bench.pl: Parse comments and directives.
21993
21994         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21995         in CPPFLAGS.
21996         ($(objpfx)bench-%.c): Remove *-ITER.
21997         * benchtests/bench-modf.c: Remove definition of ITER.
21998         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21999         (main): Loop for DURATION seconds instead of fixed number of
22000         iterations.
22001         * scripts/bench.pl: Don't expect iterations in parameters.
22002
22003 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22004
22005         * io/fchdir.c (__fchdir): Renamed from fchdir.
22006         (fchdir): Define as weak alias.
22007
22008 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22009
22010         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22011         (ERRNO_EDOM): Likewise.
22012         (ERRNO_ERANGE): Likewise.
22013         (noErrnoTests): New variable.
22014         (init_max_error): Set errno to 0.
22015         (test_single_errno): New function.
22016         (test_errno): Likewise.
22017         (check_float_internal): Call test_errno.  Set errno to 0.
22018         (check_complex): Refer to errno tests in comment.
22019         (check_int): Call test_errno.  Set errno to 0.
22020         (check_long): Likewise.
22021         (check_bool): Likewise.
22022         (check_longlong): Likewise.
22023         (cos_test): Use ERRNO_* flags for errno tests instead of
22024         check_int.
22025         (expm1_test): Likewise.
22026         (fmod_test): Likewise.
22027         (ilogb_test): Likewise.
22028         (lgamma_test): Likewise.
22029         (pow_test): Likewise.
22030         (remainder_test): Likewise.
22031         (sin_test): Likewise.
22032         (tan_test): Likewise.
22033         (yn_test): Likewise.
22034         (initialize): Set errno to 0.
22035         (main): Print number of errno tests.
22036         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22037
22038 2013-04-29  Andreas Jaeger  <aj@suse.de>
22039
22040         [BZ #15084]
22041         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22042         and RES_USEVC.
22043
22044         [BZ #15085]
22045         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22046         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22047         unimplemented.
22048
22049         [BZ #15380]
22050         * stdlib/random.c (__initstate): Return NULL if
22051         __initstate fails.
22052
22053         [BZ #15086]
22054         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22055         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22056         RES_SNGLKUPREOP.
22057
22058 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22059
22060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22061
22062 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22063
22064         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22065         of individual tests.
22066         (casin_test): Likewise.
22067         (casinh_test): Likewise.
22068
22069 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22070
22071         [BZ #15409]
22072         * math/s_catan.c (__catan): Handle arguments with large real or
22073         imaginary part separately without squaring.
22074         * math/s_catanf.c (__catanf): Likewise.
22075         * math/s_catanh.c (__catanh): Likewise.
22076         * math/s_catanhf.c (__catanhf): Likewise.
22077         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22078         and redefine.
22079         (__catanhl): Handle arguments with large real or imaginary part
22080         separately without squaring.
22081         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22082         and redefine.
22083         (__catanl): Handle arguments with large real or imaginary part
22084         separately without squaring.
22085         * math/libm-test.inc (catan_test): Add more tests.
22086         (catanh_test): Likewise.
22087         * sysdeps/i386/fpu/libm-test-ulps: Update.
22088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22089
22090 2013-04-27  Andreas Jaeger  <aj@suse.de>
22091
22092         [BZ #15007]
22093         * stdlib/stdlib.h: Update guards for qecvt.
22094         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22095         <stdlib.h>.
22096
22097 2013-04-27  Allan McRae  <allan@archlinux.org>
22098
22099         * sysdeps/i386/fpu/libm-test-ulps: Update.
22100
22101 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22102
22103         [BZ #15406]
22104         * math/s_catan.c: Include <float.h>.
22105         (__catan): Ensure underflow exception occurs for underflowed
22106         result.
22107         * math/s_catanf.c: Include <float.h>.
22108         (__catanf): Ensure underflow exception occurs for underflowed
22109         result.
22110         * math/s_catanh.c: Include <float.h>.
22111         (__catanh): Ensure underflow exception occurs for underflowed
22112         result.
22113         * math/s_catanhf.c: Include <float.h>.
22114         (__catanhf): Ensure underflow exception occurs for underflowed
22115         result.
22116         * math/s_catanhl.c: Include <float.h>.
22117         (__catanhl): Ensure underflow exception occurs for underflowed
22118         result.
22119         * math/s_catanl.c: Include <float.h>.
22120         (__catanl): Ensure underflow exception occurs for underflowed
22121         result.
22122         * math/libm-test.inc (catan_test): Add more tests.
22123         (catanh_test): Likewise.
22124
22125         [BZ #15405]
22126         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22127         underflowed result.
22128         * math/s_ccoshf.c (__ccoshf): Likewise.
22129         * math/s_ccoshl.c (__ccoshl): Likewise.
22130         * math/s_csin.c (__csin): Likewise.
22131         * math/s_csinf.c (__csinf): Likewise.
22132         * math/s_csinh.c (__csinh): Likewise.
22133         * math/s_csinhf.c (__csinhf): Likewise.
22134         * math/s_csinhl.c (__csinhl): Likewise.
22135         * math/s_csinl.c (__csinl): Likewise.
22136         * math/libm-test.inc (ccos_test): Add more tests.
22137         (ccosh_test): Likewise.
22138         (csin_test): Likewise.
22139         (csinh_test): Likewise.
22140
22141 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22142
22143         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22144         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22145         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22146         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22147         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22148         powerpc/power5+/fpu folders.
22149         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22150
22151
22152 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22153
22154         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22155
22156 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22157
22158         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22159         additions to variable.
22160         [$(config-machine) = x86_64] (modules-names): Likewise.
22161         ($(objpfx)tst-audit3): Remove dependency.
22162         ($(objpfx)tst-audit3.out): Likewise.
22163         ($(objpfx)tst-audit4): Likewise.
22164         ($(objpfx)tst-audit4.out): Likewise.
22165         ($(objpfx)tst-audit5): Likewise.
22166         ($(objpfx)tst-audit5.out): Likewise.
22167         ($(objpfx)tst-audit6): Likewise.
22168         ($(objpfx)tst-audit6.out): Likewise.
22169         ($(objpfx)tst-audit7): Likewise.
22170         ($(objpfx)tst-audit7.out): Likewise.
22171         (tst-audit3-ENV): Remove variable.
22172         (tst-audit4-ENV): Likewise.
22173         (tst-audit5-ENV): Likewise.
22174         (tst-audit6-ENV): Likewise.
22175         (tst-audit7-ENV): Likewise.
22176         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22177         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22178         addition to variable.
22179         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22180         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22181         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22182         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22183         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22184         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22185         tst-audit3, tst-audit4 and tst-audit5.
22186         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22187         tst-audit6 and tst-audit7.
22188         [$(subdir) = elf] (modules-names): Add audit modules for those
22189         tests.
22190         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22191         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22192         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22193         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22194         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22195         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22196         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22197         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22198         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22199         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22200         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22201         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22202         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22203         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22204         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22205         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22206         Likewise.
22207         [$(subdir) = elf && $(config-cflags-avx) = yes]
22208         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22209         [$(subdir) = elf && $(config-cflags-avx) = yes]
22210         (CFLAGS-tst-auditmod4a.c): Likewise.
22211         [$(subdir) = elf && $(config-cflags-avx) = yes]
22212         (CFLAGS-tst-auditmod4b.c): Likewise.
22213         [$(subdir) = elf && $(config-cflags-avx) = yes]
22214         (CFLAGS-tst-auditmod6b.c): Likewise.
22215         [$(subdir) = elf && $(config-cflags-avx) = yes]
22216         (CFLAGS-tst-auditmod6c.c): Likewise.
22217         [$(subdir) = elf && $(config-cflags-avx) = yes]
22218         (CFLAGS-tst-auditmod7b.c): Likewise.
22219         * elf/tst-audit3.c: Move to ...
22220         * sysdeps/x86_64/tst-audit3.c: ... here.
22221         * elf/tst-audit4.c: Move to ...
22222         * sysdeps/x86_64/tst-audit4.c: ... here.
22223         * elf/tst-audit5.c: Move to ...
22224         * sysdeps/x86_64/tst-audit5.c: ... here.
22225         * elf/tst-audit6.c: Move to ...
22226         * sysdeps/x86_64/tst-audit6.c: ... here.
22227         * elf/tst-audit7.c: Move to ...
22228         * sysdeps/x86_64/tst-audit7.c: ... here.
22229         * elf/tst-auditmod3a.c: Move to ...
22230         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22231         * elf/tst-auditmod3b.c: Move to ...
22232         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22233         * elf/tst-auditmod4a.c: Move to ...
22234         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22235         * elf/tst-auditmod4b.c: Move to ...
22236         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22237         * elf/tst-auditmod5a.c: Move to ...
22238         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22239         * elf/tst-auditmod5b.c: Move to ...
22240         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22241         * elf/tst-auditmod6a.c: Move to ...
22242         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22243         * elf/tst-auditmod6b.c: Move to ...
22244         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22245         * elf/tst-auditmod6c.c: Move to ...
22246         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22247         * elf/tst-auditmod7a.c: Move to ...
22248         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22249         * elf/tst-auditmod7b.c: Move to ...
22250         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22251
22252 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22253
22254         [BZ #15366]
22255         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22256         define unconditionally.
22257         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22258         define unconditionally.
22259         (INT8_C, INT16_C, etc.): Likewise.
22260
22261 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22262
22263         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22264         __ehdr_start with hidden visibility.
22265
22266         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22267
22268 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22269
22270         * math/libm-test.inc (cos_test): Use accurate hex constants.
22271         (sincost_test): Likewise.
22272
22273 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22274
22275         * math/libm-test.inc (catan_test): Add more tests.
22276         (catanh_test): Likewise.
22277
22278         * math/s_catanf.c (__catanf): Use suffixed floating-point
22279         constants.
22280         * math/s_catanhf.c (__catanhf): Likewise.
22281         * math/s_catanhl.c (__catanhl): Likewise.
22282         * math/s_catanl.c (__catanl): Likewise.
22283
22284         [BZ #15394]
22285         * math/s_catan.c (__catan): Calculate imaginary part of result
22286         with log1p not log unless computing log of number close to 0.
22287         * math/s_catanf.c (__catanf): Likewise.
22288         * math/s_catanl.c (__catanl): Likewise.
22289         * math/s_catanh.c (__catanh): Calculate real part of result with
22290         log1p not log unless computing log of number close to 0.
22291         * math/s_catanhf.c (__catanhf): Likewise.
22292         * math/s_catanhl.c (__catanhl): Likewise.
22293         * math/libm-test.inc (catan_test): Add more tests.
22294         (catanh_test): Likewise.
22295         * sysdeps/i386/fpu/libm-test-ulps: Update.
22296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22297
22298 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22299
22300         * benchtests/Makefile: Mention files in which fast and slow
22301         paths of math functions are implemented.
22302
22303 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22304
22305         * sysdeps/posix/timespec_get.c: New file.
22306
22307 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22308
22309         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22310         POWER.
22311         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22312         for POWER.
22313         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22314         powerpc/power5/fpu folders.
22315         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22316         * benchtests/Makefile: Add modf testcase.
22317         * benchtests/bench-modf.c: New file: Benchmark test for mo
22318
22319 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22320
22321         [BZ #14888]
22322         * time/Makefile (tests): Add tst-strptime-whitespace.
22323         * time/strptime_l.c (get_number): Use ISSPACE.
22324         (__strptime_internal): Likewise.
22325         * time/tst-strptime-whitespace.c: New test case.
22326
22327 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22328
22329         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22330         member.
22331         (_nss_files_init): Set it here.
22332
22333 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22334
22335         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22336         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22337         unsigned.
22338
22339 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22340
22341         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22342
22343 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22344
22345         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22346         size just once.
22347
22348 2013-04-21  David S. Miller  <davem@davemloft.net>
22349
22350         * po/ru.po: Update Russion translation from translation project.
22351
22352 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22353
22354         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22355         and setfsgid.
22356
22357 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22358
22359         * configure.in: Remove i386 configure warning. Remove i386 case.
22360         * configure: Regenerate.
22361         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22362         Add example to error message.
22363         * sysdeps/i386/configure: Regenerate.
22364
22365 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22366
22367         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22368         slowtan.
22369         * benchtests/cos-inputs: New file.
22370         * benchtests/slowcos-inputs: New file.
22371         * benchtests/slowcos.c: New file.
22372         * benchtests/slowtan-inputs: New file.
22373         * benchtests/slowtan.c: New file.
22374         * benchtests/tan-inputs: New file.
22375
22376 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22377
22378         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22379         considered kosher.
22380
22381 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22382
22383         * benchtests/Makefile: Include cppflags-iterator.mk to add
22384         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22385
22386         * Makefile.in (bench-clean): New target.
22387         * benchtests/Makefile (bench-clean): Likewise.
22388
22389 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22390
22391         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22392
22393 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22394
22395         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22396
22397 2013-04-15  Andreas Schwab  <schwab@suse.de>
22398
22399         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22400         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22401         * nscd/pwdcache.c (cache_addpw): Likewise.
22402         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22403         more than recsize.
22404
22405 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22406
22407         * benchtests/Makefile (bench): Write all output to
22408         bench-out.tmp together.
22409
22410 2013-04-15  Andreas Schwab  <schwab@suse.de>
22411
22412         * nscd/nscd.c (main): Don't fork again after closing files.
22413
22414 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22415
22416         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22417
22418         * benchtests/Rules (bench-deps): Collect dependencies into a
22419         single variable.  Add Makefile to dependencies.
22420         ($(objpfx)bench-%.c): Depend on bench-deps.
22421
22422 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22423             Xavier Roche  <roche+kml2@exalead.com>
22424
22425         [BZ #15361]
22426         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22427         just that it's a file descriptor.
22428         * manual/llio.texi (Synchronizing AIO Operations): Update description
22429         for EBADF error from aio_fsync.
22430
22431 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22432
22433         * Rules (bench): Move target definition...
22434         * benchtests/Makefile: ... here.
22435
22436 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22437
22438         * math/libm-test.inc (cos_test): Fix PI/2 test.
22439         (sincos_test): Likewise.
22440         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22441         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22442
22443 2013-04-11  Andreas Schwab  <schwab@suse.de>
22444
22445         [BZ #13988]
22446         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22447         accept exponent character only when digits were seen.
22448         * stdio-common/Makefile (tests): Add bug26.
22449         * stdio-common/bug26.c: New file.
22450
22451         [BZ #14293]
22452         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22453         non-freeable.
22454
22455 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22456
22457         * Makeconfig (rtld-prefix): Define built linker prefix.
22458         * Rules (run-bench): Use it.
22459         * math/Makefile (run-regen-ulps): Likewise.
22460
22461         * Rules (bench): Remove eval.
22462
22463 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22464             Roland McGrath  <roland@hack.frob.com>
22465             Ondrej Bilka  <neleai@seznam.cz>
22466
22467         [BZ #15346]
22468         * time/getdate.c: Include ctype.h and alloca.h.
22469         (__getdate_r): Trim leading and trailing spaces of input.
22470         * time/tst-getdate.c (tests): Add tests with leading and
22471         trailing spaces.
22472
22473 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22474
22475         [BZ #14280]
22476         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22477         when computing value.
22478
22479 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22480
22481         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22482         Use testrun.sh to run libm tests.
22483
22484         [BZ #15309]
22485         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22486
22487 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22488
22489         [BZ #15264]
22490         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22491
22492 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22493
22494         * Makefile.in (regen-ulps): New target.
22495         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22496         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22497         [ifneq (no,$(PERL)] (regen-ulps): New target.
22498         [ifeq (no,$(PERL)] (regen-ulps): New target.
22499         * math/libm-test.inc (ulps_file_name): Define.
22500         (output_dir): New variable.
22501         (options): Add "output-dir" option.
22502         (parse_opt): Handle 'o' case.
22503         (main): If output_dir is non-NULL use it as a prefix
22504         otherwise use "".
22505         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22506
22507 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22508
22509         [BZ #10060, #10062]
22510         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22511         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22512         fail configure if __sync_val_compare_and_swap is not inlined.
22513         * sysdeps/i386/configure: Regenerate.
22514         * configure.in: Build for i686 when configured for i386.
22515         * configure: Regenerate.
22516         * README: Remove i386 reference.
22517
22518 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22519
22520         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22521         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22522
22523 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22524
22525         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22526         (lmsnanval): New variables.
22527         (F): Add conversion tests.
22528         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22529         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22530
22531         * stdio-common/tstdiomisc.c (F): Properly collect individual
22532         tests' results.
22533
22534         [BZ #14686, #15336]
22535         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22536         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22537         Instead, use input NaN values or generate a qNaN by arithmetic
22538         operation.  Also fix bugs to comply with the standard.
22539         * math/libm-test.inc (remainder_test): Add more tests.
22540
22541         [BZ #15335, #15342]
22542         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22543         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22544         input NaN values or generate a qNaN by arithmetic operation.
22545
22546         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22547         unreachable code.
22548
22549         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22550         definitions.
22551
22552 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22553
22554         [BZ #14478]
22555         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22556         underflowed result.
22557         * math/s_cexpf.c (__cexpf): Likewise.
22558         * math/s_cexpl.c (__cexpl): Likewise.
22559         * math/libm-test.inc (cexp_test): Add more tests.
22560
22561 2013-04-03  Andreas Schwab  <schwab@suse.de>
22562
22563         [BZ #15330]
22564         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22565         order arrays from heap if bigger than alloca cutoff.
22566
22567 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22568
22569         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22570         (SNAN_TESTS_double): Refer to GCC PR56831.
22571         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22572         GCC PR56828.
22573
22574 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22575
22576         * Rules (bench): Move bench.out after the run is complete.
22577
22578         * Rules (bench): Echo currently running benchmark.
22579
22580         * benchtests/Makefile (bench): Add atan and slowatan.
22581         * benchtests/atan-inputs: New file.
22582         * benchtests/slowatan-inputs: New file.
22583         * benchtests/slowatan.c: New file.
22584
22585         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22586         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22587         its value.
22588
22589         [BZ #15305]
22590         * sysdeps/unix/sysv/linux/kernel-features.h
22591         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22592         __ASSUME_XFS_RESTRICTED_CHOWN.
22593         * sysdeps/unix/sysv/linux/pathconf.c
22594         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22595         Save and restore errno.
22596
22597 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22598
22599         [BZ #15327]
22600         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22601         arguments using __kernel_casinh.
22602         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22603         arguments using __kernel_casinhf.
22604         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22605         arguments using __kernel_casinhl.
22606         * math/libm-test.inc (cacosh_test): Add more tests.
22607         * sysdeps/i386/fpu/libm-test-ulps: Update.
22608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22609
22610 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22611
22612         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22613         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22614
22615         * bench/Makefile (bench): Add sin and slowsin.
22616         * benchtests/sin-inputs: New file.
22617         * benchtests/slowsin-inputs: New file.
22618         * benchtests/slowsin.c: New file.
22619
22620         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22621         (bench): Add slowexp and slowpow.
22622         (exp-ITER): Increase iterations.
22623         (pow-ITER): Likewise.
22624         * benchtests/exp-inputs: Change input.
22625         * benchtests/pow-inputs: Likewise.
22626         * benchtests/slowexp-inputs: New file.
22627         * benchtests/slowexp.c: New file.
22628         * benchtests/slowpow-inputs: New file.
22629         * benchtests/slowpow.c: New file.
22630
22631 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22632
22633         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22634         instructions.
22635         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22636         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22637         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22638         * benchtests/Makefile: Add rint benchtest.
22639         * benchtests/rint-inputs: Input for rint benchtest.
22640
22641 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22642
22643         * Versions.def (libm): Add GLIBC_2.18.
22644         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22645         hidden libm prototypes.
22646         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22647         * math/Makefile (libm-calls): Add s_issignaling.
22648         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22649         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22650         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22651         declaration.
22652         * math/math.h [__USE_GNU] (issignaling): New macro.
22653         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22654         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22655         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22656         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22657         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22658         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22659         * manual/arith.texi (issignaling): New section.
22660         * manual/libm-err-tab.pl (@all_functions): Update comment.
22661         * math/gen-libm-test.pl (parse_args): Apply special handling for
22662         issignaling.
22663         * math/libm-test.inc (print_float, issignaling_test): New
22664         functions.
22665         (check_float_internal): Add issignaling checks.
22666         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22667         default definition.
22668         * sysdeps/powerpc/math-tests.h: New file.
22669         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22670         tests.
22671         * math/test-snan.c (TEST_FUNC): Likewise.
22672
22673 2013-03-30  David S. Miller  <davem@davemloft.net>
22674
22675         * po/de.po: Update from translation team.
22676
22677 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22678
22679         [BZ #10357]
22680         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22681         imaginary part less than 1.0 and real part less than 0.5
22682         specially.
22683         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22684         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22685         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22686         (cacos_test): Add more tests.
22687         (casin_test): Likewise.
22688         (casinh_test): Likewise.
22689         * sysdeps/i386/fpu/libm-test-ulps: Update.
22690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22691
22692 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22693
22694         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22695         ONE with its value.
22696
22697         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22698         (__pow_mp): Replace ONE and MONE with their values.
22699         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22700         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22701         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22702         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22703         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22704         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22705
22706         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22707
22708         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22709         (__pow_mp): Replace ZERO and MZERO with their values.
22710         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22711         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22712         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22713         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22714         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22715         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22716         (__sqr): Likewise.
22717
22718         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22719
22720         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22721
22722 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22723
22724         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22725         Declare with __attribute__ ((weak)).
22726         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22727         Call __call_tls_dtors only if it's not NULL.
22728
22729 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22730
22731         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22732         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22733         magic __ehdr_start linker symbol if it's defined.
22734         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22735         them up here if it was already done.
22736
22737         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22738         (_dl_aux_init): Use const in cast when setting it.
22739         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22740         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22741         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22742
22743         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22744         Declare them here.
22745         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22746         * csu/libc-tls.c: Nor here.
22747         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22748
22749         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22750         (__libc_message): Never call vsyslog.
22751
22752 2013-03-28  Alan Modra  <amodra@gmail.com>
22753
22754         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22755         Define as empty.
22756         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22757         Likewise.
22758
22759 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22760
22761         [BZ #15214]
22762         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22763         underflow.
22764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22765
22766 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22767
22768         [BZ #15304]
22769         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22770         Don't add gid passed as argument.
22771
22772         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22773
22774 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22775
22776         [BZ #15307]
22777         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22778         imaginary part between 1.0 and 1.5 and real part less than 0.5
22779         specially.
22780         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22781         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22782         * math/libm-test.inc (cacos_test): Add more tests.
22783         (casin_test): Likewise.
22784         (casinh_test): Likewise.
22785         * sysdeps/i386/fpu/libm-test-ulps: Update.
22786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22787
22788 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22789
22790         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22791         constants.
22792         (norm): Likewise.
22793         (denorm): Likewise.
22794         (__dbl_mp): Likewise.
22795         (add_magnitudes): Likewise.
22796         (sub_magnitudes): Likewise.
22797         (__add): Likewise.
22798         (__sub): Likewise.
22799         (__mul): Likewise.
22800         (__sqr): Likewise.
22801         (__inv): Likewise.
22802         (__dvd): Likewise.
22803
22804         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22805         commented code.
22806         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22807         (__dubcos): Likewise.
22808         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22809         (__ieee754_acos): Likewise.
22810         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22811         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22812         (__exp1): Likewise.
22813         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22814         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22815         (log1): Likewise.
22816         (my_log2): Likewise.
22817         (checkint): Likewise.
22818         * sysdeps/ieee754/dbl-64/e_remainder.c
22819         (__ieee754_remainder): Likewise.
22820         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22821         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22822         (bsloww): Likewise.
22823         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22824
22825         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22826         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22827         MANTISSA_STORE_T to store computations on mantissa.  Use
22828         macros for rounding and division.
22829         (denorm): Likewise.
22830         (__dbl_mp): Likewise.
22831         (add_magnitudes): Likewise.
22832         (sub_magnitudes): Likewise.
22833         (__mul): Likewise.
22834         (__sqr): Likewise.
22835         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22836         powers of two in terms of TWOPOW macro.
22837         (mp_no): Make type of mantissa as MANTISSA_T.
22838         [!RADIXI]: Define RADIXI.
22839         [!TWO52]: Define TWO52.
22840         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22841
22842 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22843
22844         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22845         llroundl symbol when building for PPC32.
22846
22847 2013-03-24  Mark H Weaver  <mhw@netris.org>
22848
22849         * manual/arith.texi (Normalization Functions): Fix prototypes for
22850         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22851
22852 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22853
22854         [BZ #13889]
22855         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22856         high value to check if expl overflow.
22857         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22858         to check for underflow and overflow.
22859         * math/libm-test.inc: Add exp test.
22860
22861 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22862
22863         [BZ #11120]
22864         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22865         with NOT_IN_libc.
22866
22867 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22868
22869         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22870         symbol.
22871
22872 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22873
22874         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22875         wrap blocks consisting of several statements.
22876
22877         * sysdeps/generic/math-tests.h: New file.
22878         * sysdeps/i386/fpu/math-tests.h: Likewise.
22879         * math/test-snan.c: Include it.
22880         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22881
22882 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22883
22884         [BZ #15285]
22885         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22886         (__ieee754_j0l): Do not improve calculations using cos of twice
22887         input for inputs above LDBL_MAX / 2.0L.
22888         (__ieee754_y0l): Likewise.
22889         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22890         (__ieee754_j1l): Do not improve calculations using cos of twice
22891         input for inputs above LDBL_MAX / 2.0L.
22892         (__ieee754_y1l): Likewise.
22893         * math/libm-test.inc (j0_test): Add another test.
22894         (j1_test): Likewise.
22895         (y0_test): Likewise.
22896         (y1_test): Likewise.
22897         * sysdeps/i386/fpu/libm-test-ulps: Update.
22898
22899 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22900
22901         * Rules ($(objpfx)bench-%.c): Include code from a C source
22902         file.
22903
22904 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22905
22906         [BZ #15287]
22907         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22908         imaginary part 1.0 and real part less than 0.5 specially.
22909         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22910         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22911         * math/libm-test.inc (cacos_test): Add more tests.
22912         (casin_test): Likewise.
22913         (casinh_test): Likewise.
22914         * sysdeps/i386/fpu/libm-test-ulps: Update.
22915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22916
22917 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22918
22919         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22920         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22921
22922 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22923
22924         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22925         * config.make.in (config-cflags-sse4): Remove variable.
22926         (config-cflags-avx): Likewise.
22927         (config-cflags-sse2avx): Likewise.
22928         (config-cflags-novzeroupper): Likewise.
22929         (config-asflags-i686): Likewise.
22930         (have-mfma4): Likewise.
22931         (have-as-vis3): Likewise.
22932         (MIG): Likewise.
22933         * configure.in (MIG): Do not AC_SUBST.
22934         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22935         (libc_cv_cc_sse4): Do not AC_SUBST.
22936         (libc_cv_cc_avx): Likewise.
22937         (libc_cv_cc_sse2avx): Likewise.
22938         (libc_cv_cc_novzeroupper): Likewise.
22939         (libc_cv_cc_fma4): Likewise.
22940         (libc_cv_as_i686): Likewise.
22941         (libc_cv_sparc_as_vis3): Likewise.
22942         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22943         LIBC_CONFIG_VAR.
22944         (config-asflags-i686): Likewise.
22945         (config-cflags-avx): Likewise.
22946         (config-cflags-sse2avx): Likewise.
22947         (have-mfma4): Likewise.
22948         (config-cflags-novzeroupper): Likewise.
22949         * sysdeps/mach/configure.in (MIG): Likewise.
22950         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22951         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22952         LIBC_CONFIG_VAR.
22953         (config-cflags-avx): Likewise.
22954         (config-cflags-sse2avx): Likewise.
22955         (have-mfma4): Likewise.
22956         (config-cflags-novzeroupper): Likewise.
22957         * configure: Regenerated.
22958         * sysdeps/i386/configure: Likewise.
22959         * sysdeps/mach/configure: Likewise.
22960         * sysdeps/sparc/configure: Likewise.
22961         * sysdeps/x86_64/configure: Likewise.
22962
22963 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22964
22965         [BZ #14812]
22966         * locale/programs/localedef.c (options): Put N_ translation marker
22967         on argument names, not just descriptions.
22968
22969 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22970
22971         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22972
22973 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22974
22975         [BZ #14176]
22976         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22977
22978 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22979
22980         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22981         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22982         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22983         [!BEFORE_ABORT] (before_abort): New function.
22984         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22985         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22986         (writev_for_fatal): New function.
22987         (WRITEV_FOR_FATAL): New macro; call that.
22988         (backtrace_and_maps): New function.
22989         (BEFORE_ABORT): New macro; call that.
22990         (struct str_list): Type removed.
22991         (__libc_message, __libc_fatal): Functions removed.
22992         Include <sysdeps/posix/libc_fatal.c> instead.
22993
22994 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22995
22996         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22997         constants.
22998         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22999         double constants.
23000
23001 2013-03-19  Andreas Schwab  <schwab@suse.de>
23002
23003         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23004         * sysdeps/gnu/configure: Regenerate.
23005
23006         * configure.in: Substitute libc_cv_rtlddir.
23007         * configure: Regenerate.
23008         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23009         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23010         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23011         * elf/Makefile (install-others, CFLAGS-interp.c)
23012         (ldso_install, common-ldd-rewrite): Likewise.
23013         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23014         $(inst_slibdir)/$(rtld-installed-name).
23015         * scripts/rellns-sh: Add -p option.
23016         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23017         for source.
23018
23019 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23020
23021         * manual/nptl.texi: Renamed to ...
23022         * manual/threads.texi: ... this.
23023         * manual/Makefile (chapters): Update.
23024
23025 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23026
23027         [BZ #14812]
23028         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23029         on argument names, not just descriptions.
23030         * malloc/memusagestat.c (options): Likewise.
23031         * nss/getent.c (options): Likewise.
23032
23033 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23034
23035         [BZ #14812]
23036         * iconv/iconv_prog.c (options): Put N_ translation marker
23037         on argument names, not just descriptions.
23038         * iconv/iconvconfig.c (options): Likewise.
23039
23040 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23041
23042         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23043         implementation which is faster on all x86_64 architectures.
23044         Tested on AMD, Intel Nehalem, SNB, IVB.
23045         * sysdeps/x86_64/strnlen.S: Likewise.
23046
23047         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23048         Remove all multiarch strlen and strnlen versions.
23049         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23050         Remove strlen and strnlen related parts.
23051
23052         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23053         Inline strlen part.
23054         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23055
23056         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23057         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23058         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23059         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23060         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23061         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23062
23063 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23064
23065         * manual/memory.texi (Malloc Tunable Parameters):
23066         Sort parameters alphabetically. Add comments for missing entries.
23067
23068 2013-03-17  David S. Miller  <davem@davemloft.net>
23069
23070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23071
23072 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23073
23074         [BZ #15283]
23075         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23076         for arguments at most half maximum finite value.
23077         * math/libm-test.inc (j0_test): Add more tests.
23078         (j1_test): Likewise.
23079         (y0_test): Likewise.
23080         (y1_test): Likewise.
23081         * sysdeps/i386/fpu/libm-test-ulps: Update.
23082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23083
23084         [BZ #14155]
23085         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23086         1 / x and functions P and Q for arguments above 0x1p256L.
23087         (__ieee754_y0l): Likewise.
23088         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23089         (__ieee754_y1l): Likewise.
23090         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23091         (j1_test): Likewise.
23092         (y0_test): Likewise.
23093         (y1_test): Likewise.
23094
23095 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23096
23097         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23098         variable.
23099
23100 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23101
23102         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23103         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23104         zero since it's initialized to EXEC_PAGESIZE.
23105
23106         * sysdeps/unix/sysv/linux/ldsodefs.h
23107         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23108         * sysdeps/generic/ldsodefs.h: ... here.
23109
23110 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23111
23112         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23113
23114         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23115         math/test-snan.c.
23116         * math/test-snan.c: Renamed from
23117         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23118         * math/Makefile (tests): Add test-snan.
23119         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23120         test-powerpc-snan.
23121
23122         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23123         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23124         functions.
23125         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23126         __builtin_nan family of functions.
23127         * math/libm-test.inc (initialize): Initialize qnan_value with
23128         __builtin_nan family of functions.
23129         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23130         Remove variables.
23131         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23132         Remove functions.
23133         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23134         storage class.  Initialize qNaN_var and sNaN_var with
23135         __builtin_nan and __builtin_nans families of functions,
23136         respectively.
23137
23138         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23139         (sqrt_test): Remove duplicate test with qNaN input.
23140         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23141         (round_test, signbit_test, significand_test): Note missing +/-Inf
23142         as well as qNaN tests.
23143
23144         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23145         qNaN_var.  Fix a few strings, too.
23146         * math/libm-test.inc (nan_value): Rename to qnan_value.
23147         * math/gen-libm-test.pl (%beautify): Adjust to that.
23148         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23149         * math/test-misc.c (main): Likewise.
23150         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23151         to __qnan_bytes, and __qnan_union, respectively.
23152         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23153         Likewise.
23154         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23155         and lqnanval, respectively.
23156         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23157         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23158         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23159         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23160
23161         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23162         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23163         doubles.
23164
23165         * math/test-misc.c (main): Fix copy'n'pastos.
23166         * misc/tst-efgcvt.c (special): Likewise.
23167
23168         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23169         Remove declarations.
23170
23171 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23172
23173         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23174         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23175         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23176         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23177
23178 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23179
23180         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23181         macro to return vdso values correctly in IFUNC implementations.
23182         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23183         Optimization by using IFUNC.
23184
23185 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23186             Richard Henderson  <rth@redhat.com>
23187             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23188
23189         * Makefile.in (bench): New target.
23190         * NEWS: Mention the benchmark framework.
23191         * Rules (bench): Likewise.
23192         (binaries-bench): Generate binaries for functions to
23193         benchmark.
23194         * benchtests/Makefile: New makefile for benchmark tests.
23195         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23196         programs.
23197         * benchtests/exp-inputs: New input file for EXP function.
23198         * benchtests/pow-inputs: New input file for POW function.
23199         * scripts/bench.pl: New script to generate source files for
23200         benchmark programs.
23201
23202 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23203
23204         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23205         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23206         computations on mantissa.  Use macros for rounding and
23207         division.
23208         (denorm): Likewise.
23209         (__dbl_mp): Likewise.
23210         (add_magnitudes): Likewise.
23211         (sub_magnitudes): Likewise.
23212         (__mul): Likewise.
23213         (__sqr): Likewise.
23214         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23215         powers of two in terms of TWOPOW macro.
23216         (mp_no): Make type of mantissa as MANTISSA_T.
23217         [!RADIXI]: Define RADIXI.
23218         [!TWO52]: Define TWO52.
23219         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23220
23221         * manual/nptl.texi (cindex): Modify threads to pthreads.
23222
23223 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23224
23225         * sysdeps/x86_64/preconfigure: Regenerated.
23226
23227 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23228
23229         [BZ #14155]
23230         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23231         0x1p28 and above.
23232         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23233         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23234         0x1p28 and above.
23235         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23236         * math/libm-test.inc (j0_test): Do not allow one spurious
23237         underflow exception.
23238         (y1_test): Likewise.
23239
23240 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23241
23242         * manual/Makefile (chapters): Add nptl.
23243         * manual/debug.texi (Debugging Support): Add link to Threads
23244         chapter.
23245         * manual/nptl.texi: New file.
23246
23247         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23248
23249 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23250
23251         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23252         for non-NULL pointer before the memory validity test. Pointed
23253         out by Holger Brunck <holger.brunck@keymile.com>.
23254
23255 2013-03-13  Andreas Schwab  <schwab@suse.de>
23256
23257         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23258         instead of .os.
23259
23260 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23261
23262         * timezone/zic.c: Update from tzcode 2013b.
23263
23264 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23265
23266         * manual/install.texi (Configuring and compiling):
23267         Mention i686 and i586.
23268         * INSTALL: Regenerate.
23269
23270 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23271
23272         * sysdeps/init_array/elf-init.c: New file.
23273         * csu/elf-init.c
23274         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23275         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23276
23277         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23278         __gmon_start__ as global, but as static with a .preinit_array pointer.
23279         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23280         * sysdeps/init_array/crti.S: New file, empty except for comments.
23281         * sysdeps/init_array/crtn.S: Likewise.
23282
23283 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23284
23285         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23286         definining bcopy.
23287         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23288         Remove Prefer_SSE_for_memop.
23289         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23290         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23291         HAS_PREFER_SSE_FOR_MEMOP.
23292         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23293         memset-x86-64.
23294         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23295         Remove bzero, memset ifunc support.
23296         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23297         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23298         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23299         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23300
23301 2013-03-11  Andreas Schwab  <schwab@suse.de>
23302
23303         [BZ #15234]
23304         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23305         by SHLIB_COMPAT.
23306         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23307         (GLIBC_2.16): Remove pthread_atfork.
23308
23309 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23310
23311         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23312         (ptestcases.h): Likewise.
23313
23314 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23315
23316         * Makeconfig ($(common-objpfx)config.status): Depend on
23317         sysdeps/*/preconfigure{,.in} too.
23318
23319 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23320
23321         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23322         (__free_hook): Use void * instead of __malloc_ptr_t.
23323         (__malloc_hook): Likewise.
23324         (__realloc_hook): Likewise.
23325         (__memalign_hook): Likewise.
23326         (__after_morecore_hook): Likewise.
23327         * malloc/arena.c (save_malloc_hook): Likewise.
23328         (save_free_hook): Likewise.
23329         * malloc/hooks.c (malloc_hook_ini): Likewise.
23330         (realloc_hook_ini): Likewise.
23331         (memalign_hook_ini): Likewise.
23332         * malloc/malloc.c (malloc_hook_ini): Likewise.
23333         (realloc_hook_ini): Likewise.
23334         (memalign_hook_ini): Likewise.
23335         (__free_hook): Likewise.
23336         (__malloc_hook): Likewise.
23337         (__realloc_hook): Likewise.
23338         (__memalign_hook): Likewise.
23339         (__libc_malloc): Likewise.
23340         (__libc_free): Likewise.
23341         (__libc_realloc): Likewise.
23342         (__libc_memalign): Likewise.
23343         (__libc_valloc): Likewise.
23344         (__libc_pvalloc): Likewise.
23345         (__libc_calloc): Likewise.
23346         (__posix_memalign): Likewise.
23347         * malloc/morecore.c (__sbrk): Likewise.
23348         (__default_morecore): Likewise.
23349
23350         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23351
23352         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23353         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23354         __malloc_ptrdiff_t.
23355
23356         * malloc/malloc.h (__malloc_size_t): Remove macro.
23357         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23358         __malloc_size_t.
23359         (old_memalign_hook): Likewise.
23360         (old_realloc_hook): Likewise.
23361         (struct hdr): Likewise.
23362         (flood): Likewise.
23363         (mallochook): Likewise.
23364         (memalignhook): Likewise.
23365         (reallochook): Likewise.
23366         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23367         (tr_old_realloc_hook): Likewise.
23368         (tr_old_memalign_hook): Likewise.
23369         (tr_mallochook): Likewise.
23370         (tr_reallochook): Likewise.
23371         (tr_memalignhook): Likewise.
23372
23373 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23374
23375         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23376         default_ldbl_pack and using as default implementation.
23377         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23378         implementation.
23379         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23380         redundant definition.
23381         (ldbl_insert_mantissa): Likewise.
23382         (ldbl_canonicalize): Likewise.
23383         (ldbl_nearbyint): Likewise.
23384         (ldbl_pack): Rename to ldbl_pack_ppc.
23385         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23386         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23387         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23388
23389 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23390
23391         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23392         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23393         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23394         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23395         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23396         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23397         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23398         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23399
23400 2013-03-07  Andreas Jaeger  <aj@suse.de>
23401
23402         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23403         bits/mman-linux.h.
23404
23405 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23406
23407         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23408         Include mpa.h and declare __MPEXP.
23409         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23410         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23411         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23412         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23413         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23414         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23415         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23416
23417         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23418         (__slowpow): Use long double EXPL and LOGL functions to
23419         compute POW.
23420         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23421         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23422         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23423         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23424         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23425         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23426
23427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23428         intermediate variable to calculate exponent.
23429         (__sqr): Likewise.
23430         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23431         Likewise.
23432         (__sqr): Likewise.
23433
23434         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23435         [!NO__SQR]: Define __sqr.
23436         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23437         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23438         sysdeps/ieee754/dbl-64/mpa.c.
23439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23440
23441         [BZ #12723]
23442         * posix/Makefile (tests): Add tst-pathconf.
23443         * posix/tst-pathconf.c: New test case.
23444         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23445         _PC_PIPE_BUF.
23446         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23447
23448 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23449
23450         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23451
23452 2013-03-06  Andreas Jaeger  <aj@suse.de>
23453
23454         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23455         definition via __MAP_ANONYMOUS.
23456
23457         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23458         it's not part of Linux headers.
23459
23460         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23461         (MAP_HUGE_MASK): Define.
23462
23463         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23464         Define.
23465         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23466         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23467         Define.
23468         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23469         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23470         Define.
23471         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23472         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23473         Define.
23474         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23475
23476         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23477         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23478         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23479         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23480         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23481         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23482
23483         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23484         Handle f2fs.
23485
23486         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23487         Handle f2fs and efivarfs.
23488
23489         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23490         f2fs.
23491
23492         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23493         (EFIVARFS_MAGIC): Add.
23494         (F2FS_LINK_MAX): Add.
23495
23496 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23497
23498         * stdio-common/vfprintf.c: Replace __builtin_expect with
23499         __glibc_unlikely.
23500
23501 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23502
23503         [BZ #13550]
23504         * sysdeps/generic/bp-sym.h: Remove file.
23505         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23506         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23507         <bp-sym.h> and <bp-asm.h>.
23508         (__longjmp): Don't use BP_SYM.
23509         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23510         and <bp-asm.h>.
23511         (memcpy): Don't use BP_SYM.
23512         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23513         <bp-sym.h> and <bp-asm.h>.
23514         (memcpy): Don't use BP_SYM.
23515         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23516         <bp-asm.h>.
23517         (memcpy): Don't use BP_SYM.
23518         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23519         <bp-asm.h>.
23520         (memset): Don't use BP_SYM.
23521         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23522         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23523         (__bzero): Don't use BP_SYM.
23524         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23525         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23526         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23527         <bp-sym.h> and <bp-asm.h>.
23528         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23529         pointers.
23530         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23531         <bp-sym.h> and <bp-asm.h>.
23532         (memcpy): Don't use BP_SYM.
23533         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23534         <bp-sym.h> and <bp-asm.h>.
23535         (memset): Don't use BP_SYM.
23536         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23537         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23538         (__bzero): Don't use BP_SYM.
23539         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23540         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23541         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23542         <bp-sym.h> and <bp-asm.h>.
23543         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23544         pointers.
23545         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23546         <bp-sym.h> and <bp-asm.h>.
23547         (memcpy): Don't use BP_SYM.
23548         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23549         <bp-sym.h> and <bp-asm.h>.
23550         (memset): Don't use BP_SYM.
23551         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23552         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23553         (__bzero): Don't use BP_SYM.
23554         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23555         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23556         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23557         <bp-sym.h> and <bp-asm.h>.
23558         (__memchr): Don't use BP_SYM.
23559         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23560         <bp-sym.h> and <bp-asm.h>.
23561         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23562         pointers.
23563         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23564         <bp-sym.h> and <bp-asm.h>.
23565         (memcpy): Don't use BP_SYM.
23566         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23567         <bp-sym.h> and <bp-asm.h>.
23568         (__mempcpy): Don't use BP_SYM.
23569         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23570         <bp-sym.h> and <bp-asm.h>.
23571         (__memrchr): Don't use BP_SYM.
23572         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23573         <bp-sym.h> and <bp-asm.h>.
23574         (memset): Don't use BP_SYM.
23575         (__bzero): Likewise.
23576         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23577         <bp-sym.h> and <bp-asm.h>.
23578         (__rawmemchr): Don't use BP_SYM.
23579         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23580         <bp-sym.h> and <bp-asm.h>.
23581         (__STRCMP): Don't use BP_SYM.
23582         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23583         <bp-sym.h> and <bp-asm.h>.
23584         (strchr): Don't use BP_SYM.
23585         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23586         <bp-sym.h> and <bp-asm.h>.
23587         (__strchrnul): Don't use BP_SYM.
23588         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23589         <bp-sym.h> and <bp-asm.h>.
23590         (strlen): Don't use BP_SYM.
23591         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23592         <bp-sym.h> and <bp-asm.h>.
23593         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23594         pointers.
23595         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23596         <bp-sym.h> and <bp-asm.h>.
23597         (__strnlen): Don't use BP_SYM.
23598         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23599         <bp-sym.h> and <bp-asm.h>.
23600         (__GI__setjmp): Don't use BP_SYM.
23601         (_setjmp): Likewise.
23602         (__sigsetjmp): Likewise.
23603         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23604         (L(start_addresses)): Don't use BP_SYM.
23605         (_start): Likewise.
23606         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23607         <bp-asm.h>.
23608         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23609         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23610         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23611         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23612         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23613         <bp-asm.h>.
23614         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23615         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23616         about bounded pointers.
23617         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23618         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23619         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23620         <bp-asm.h>.
23621         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23622         about bounded pointers.  Remove GKM FIXME comments.
23623         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23624         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23625         <bp-asm.h>.
23626         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23627         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23628         Remove GKM FIXME comments.
23629         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23630         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23631         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23632         <bp-asm.h>.
23633         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23634         about bounded pointers.  Remove GKM FIXME comment.
23635         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23636         and <bp-asm.h>.
23637         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23638         pointers.
23639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23640         <bp-sym.h> and <bp-asm.h>.
23641         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23643         <bp-sym.h> and <bp-asm.h>.
23644         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23645         comment.
23646
23647 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23648
23649         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23650         call free(NULL).
23651
23652 2013-03-05  David S. Miller  <davem@davemloft.net>
23653
23654         * po/es.po: Update from translation team.
23655
23656 2013-03-05  Andreas Jaeger  <aj@suse.de>
23657
23658         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23659         <bits/mman-linux.h>.
23660         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23661         is fine.
23662         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23663         <bits/mman-linux.h> to end of file.
23664         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23665         is fine.
23666         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23667         <bits/mman-linux.h> to end of file.
23668         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23669         is fine.
23670         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23671         <bits/mman-linux.h> to end of file.
23672
23673         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23674         (MCL_CURRENT, MCL_FUTURE): Define here.
23675
23676 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23677
23678         [BZ #15232]
23679         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23680         attribute_hidden.
23681         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23682
23683 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23684
23685         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23686         fourth parameter needed for rt_sigprocmask syscall.
23687         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23688         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23689         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23690         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23691         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23692         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23693
23694 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23695
23696         [BZ #13550]
23697         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23698         comment about bounded pointers.
23699         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23700         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23701
23702 2013-03-04  Andreas Jaeger  <aj@suse.de>
23703
23704         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23705         common definitions.
23706
23707         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23708         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23709         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23710         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23711         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23712         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23713
23714 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23715
23716         [BZ #15055]
23717         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23718         __ieee754_sqrl instead of __sqrl.
23719
23720 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23721
23722         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23723         * sysdeps/powerpc/fpu_control.h: ... here.
23724         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23725         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23726         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23727         * sysdeps/powerpc/bits/mathinline.h: ... here.
23728
23729 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23730
23731         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23732         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23733         to just [NEED_DL_SYSINFO_DSO].
23734         * elf/dl-support.c: Likewise.
23735         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23736         * elf/rtld.c (dl_main): Likewise.
23737         * elf/setup-vdso.h (setup_vdso): Likewise.
23738         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23739         * sysdeps/unix/sysv/linux/dl-sysdep.c
23740         (_dl_discover_osversion): Likewise.
23741
23742 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23743
23744         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23745         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23746
23747 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23748
23749         * NEWS: Mention libm performance improvements and non-x86 PI
23750         futex support.
23751
23752         * csu/libc-start.c (__pthread_initialize_minimal): Change
23753         function arguments.
23754         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23755
23756 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23757
23758         [BZ #13550]
23759         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23760         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23761         <bp-sym.h> and <bp-asm.h>.
23762         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23763         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23764         and <bp-asm.h>.
23765         (memcpy): Don't use BP_SYM.
23766         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23767         <bp-asm.h>.
23768         (__mpn_add_n): Don't use BP_SYM.
23769         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23770         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23771         and <bp-asm.h>.
23772         (__mpn_addmul_1): Don't use BP_SYM.
23773         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23774         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23775         <bp-sym.h>.
23776         (_setjmp): Don't use BP_SYM.
23777         (__novmx_setjmp): Likewise.
23778         (__GI__setjmp): Likewise.
23779         (__vmx_setjmp): Likewise.
23780         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23781         <bp-sym.h>.
23782         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23783         (__bzero): Don't use BP_SYM.
23784         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23785         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23786         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23787         <bp-sym.h> and <bp-asm.h>.
23788         (memcpy): Don't use BP_SYM.
23789         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23790         <bp-sym.h> and <bp-asm.h>.
23791         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23792         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23793         <bp-sym.h> and <bp-asm.h>.
23794         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23795         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23796         <bp-asm.h>.
23797         (__mpn_lshift): Don't use BP_SYM.
23798         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23799         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23800         <bp-asm.h>.
23801         (memset): Don't use BP_SYM.
23802         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23803         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23804         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23805         <bp-asm.h>.
23806         (__mpn_mul_1): Don't use BP_SYM.
23807         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23808         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23809         <bp-sym.h> and <bp-asm.h>.
23810         (memcmp): Don't use BP_SYM.
23811         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23812         <bp-sym.h> and <bp-asm.h>.
23813         (memcpy): Don't use BP_SYM.
23814         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23815         <bp-sym.h> and <bp-asm.h>.
23816         (memset): Don't use BP_SYM.
23817         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23818         <bp-sym.h> and <bp-asm.h>.
23819         (strncmp): Don't use BP_SYM.
23820         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23821         <bp-sym.h> and <bp-asm.h>.
23822         (memcpy): Don't use BP_SYM.
23823         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23824         <bp-sym.h> and <bp-asm.h>.
23825         (memset): Don't use BP_SYM.
23826         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23827         <bp-sym.h> and <bp-asm.h>.
23828         (__memchr): Don't use BP_SYM.
23829         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23830         <bp-sym.h> and <bp-asm.h>.
23831         (memcmp): Don't use BP_SYM.
23832         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23833         <bp-sym.h> and <bp-asm.h>.
23834         (memcpy): Don't use BP_SYM.
23835         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23836         <bp-sym.h> and <bp-asm.h>.
23837         (__mempcpy): Don't use BP_SYM.
23838         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23839         <bp-sym.h> and <bp-asm.h>.
23840         (__memrchr): Don't use BP_SYM.
23841         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23842         <bp-sym.h> and <bp-asm.h>.
23843         (memset): Don't use BP_SYM.
23844         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23845         <bp-sym.h> and <bp-asm.h>.
23846         (__rawmemchr): Don't use BP_SYM.
23847         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23848         <bp-sym.h> and <bp-asm.h>.
23849         (__STRCMP): Don't use BP_SYM.
23850         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23851         <bp-sym.h> and <bp-asm.h>.
23852         (strchr): Don't use BP_SYM.
23853         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23854         <bp-sym.h> and <bp-asm.h>.
23855         (__strchrnul): Don't use BP_SYM.
23856         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23857         <bp-sym.h> and <bp-asm.h>.
23858         (strlen): Don't use BP_SYM.
23859         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23860         <bp-sym.h> and <bp-asm.h>.
23861         (strncmp): Don't use BP_SYM.
23862         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23863         <bp-sym.h> and <bp-asm.h>.
23864         (__strnlen): Don't use BP_SYM.
23865         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23866         <bp-asm.h>.
23867         (__mpn_rshift): Don't use BP_SYM.
23868         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23869         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23870         <bp-sym.h> and <bp-asm.h>.
23871         (__sigsetjmp): Don't use BP_SYM.
23872         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23873         (L(start_addresses)): Don't use BP_SYM.
23874         (_start): Likewise.
23875         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23876         <bp-asm.h>.
23877         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23878         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23879         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23880         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23881         <bp-asm.h>.
23882         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23883         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23884         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23885         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23886         <bp-asm.h>.
23887         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23888         comments.
23889         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23890         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23891         <bp-asm.h>.
23892         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23893         FIXME comments.
23894         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23895         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23896         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23897         <bp-asm.h>.
23898         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23899         comment.
23900         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23901         and <bp-asm.h>.
23902         (strncmp): Don't use BP_SYM,
23903         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23904         <bp-asm.h>.
23905         (__mpn_sub_n): Don't use BP_SYM.
23906         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23907         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23908         and <bp-asm.h>.
23909         (__mpn_submul_1): Don't use BP_SYM.
23910         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23912         <bp-sym.h> and <bp-asm.h>.
23913         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23915         <bp-sym.h> and <bp-asm.h>.
23916         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23917         comment.
23918
23919 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23920
23921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23922         Use ZK to minimize writes to Z.
23923         (sub_magnitudes): Simplify code a bit.
23924         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23925         Use ZK to minimize writes to Z.
23926         (sub_magnitudes): Simplify code a bit.
23927
23928 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23929
23930         * csu/gmon-start.c: Add special exception to license text.
23931
23932 2013-02-27  Richard Henderson  <rth@redhat.com>
23933
23934         * scripts/config.guess: Update from config.git.
23935         * scripts/config.sub: Likewise.
23936
23937 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23938
23939         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23940
23941         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23942
23943         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23944
23945         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23946
23947         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23948
23949 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23950
23951         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23952         [$(build-shared = yes].
23953
23954 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23955
23956         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23957         (__mul): Reduce iterations for calculating mantissa.
23958
23959         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23960         MPTWO.
23961         (__mpranred): Likewise.
23962
23963         [BZ #15160]
23964         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23965         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23966
23967 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23968
23969         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23970         Define __attribute__.
23971
23972 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23973
23974         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23975         unused.
23976         * posix/regex_internal.h (__attribute): Remove.
23977         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23978         (re_string_context_at): Likewise.
23979         (bitset_not): Use __attribute__ and mark function as possibly
23980         unused.
23981         (bitset_merge): Likewise.
23982         (bitset_mask): Likewise.
23983         (re_string_char_size_at): Likewise.
23984         (re_string_wchar_at): Likewise.
23985         (re_string_elem_size_at): Likewise.
23986
23987 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23988
23989         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23990         code.
23991         (cc32): Likewise.
23992
23993         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23994         (__acr): Likewise.
23995         (__cpy): Likewise.
23996         (norm): Likewise.
23997         (denorm): Likewise.
23998         (__dbl_mp): Likewise.
23999         (add_magnitudes): Likewise.
24000         (sub_magnitudes): Likewise.
24001         (__mul): Likewise.
24002         (__inv): Likewise.
24003
24004         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24005         style.
24006
24007         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24008         style.
24009
24010         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24011         code.
24012
24013         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24014         up changes with default code.
24015         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24016         Likewise.
24017
24018 2013-02-24  Allan McRae  <allan@archlinux.org>
24019
24020         * manual/socket.texi (The Internet Namespace): Order menu items
24021         to match that in the file.
24022
24023         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24024         node listing of the info page menu.
24025
24026 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24027
24028         [BZ #13550]
24029         * sysdeps/i386/bp-asm.h: Remove file.
24030         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24031         (PARMS): Do not use macros from bp-asm.h.
24032         (S1): Likewise.
24033         (S2): Likewise.
24034         (SIZE): Likewise.
24035         (__mpn_add_n): Do not use BP_SYM
24036         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24037         "bp-asm.h".
24038         (PARMS): Do not use macros from bp-asm.h.
24039         (S1): Likewise.
24040         (SIZE): Likewise.
24041         (__mpn_addmul_1): Do not use BP_SYM
24042         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24043         "bp-asm.h".
24044         (PARMS): Do not use macros from bp-asm.h.
24045         (SIGMSK): Likewise.
24046         (_setjmp): Likewise.  Do not use BP_SYM.
24047         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24048         "bp-asm.h".
24049         (PARMS): Do not use macros from bp-asm.h.
24050         (SIGMSK): Likewise.
24051         (setjmp): Likewise.  Do not use BP_SYM.
24052         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24053         "bp-asm.h".
24054         (PARMS): Do not use macros from bp-asm.h.
24055         (__frexp): Do not use BP_SYM.
24056         (frexp): Likewise.
24057         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24058         "bp-asm.h".
24059         (PARMS): Do not use macros from bp-asm.h.
24060         (__frexpf): Do not use BP_SYM.
24061         (frexpf): Likewise.
24062         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24063         "bp-asm.h".
24064         (PARMS): Do not use macros from bp-asm.h.
24065         (__frexpl): Do not use BP_SYM.
24066         (frexpl): Likewise.
24067         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24068         "bp-asm.h".
24069         (PARMS): Do not use macros from bp-asm.h.
24070         (__remquo): Do not use BP_SYM.
24071         (remquo): Likewise.
24072         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24073         "bp-asm.h".
24074         (PARMS): Do not use macros from bp-asm.h.
24075         (__remquof): Do not use BP_SYM.
24076         (remquof): Likewise.
24077         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24078         "bp-asm.h".
24079         (PARMS): Do not use macros from bp-asm.h.
24080         (__remquol): Do not use BP_SYM.
24081         (remquol): Likewise.
24082         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24083         "bp-asm.h".
24084         (PARMS): Do not use macros from bp-asm.h.
24085         (DEST): Likewise.
24086         (SRC): Likewise.
24087         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24088         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24089         "bp-asm.h".
24090         (PARMS): Do not use macros from bp-asm.h.
24091         (strlen): Do not use BP_SYM.
24092         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24093         "bp-asm.h".
24094         (PARMS): Do not use macros from bp-asm.h.
24095         (S1): Likewise.
24096         (S2): Likewise.
24097         (SIZE): Likewise.
24098         (__mpn_add_n): Do not use BP_SYM.
24099         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24100         "bp-asm.h".
24101         (PARMS): Do not use macros from bp-asm.h.
24102         (S1): Likewise.
24103         (SIZE): Likewise.
24104         (__mpn_addmul_1): Do not use BP_SYM.
24105         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24106         weak_alias.
24107         (bzero): Likewise.
24108         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24109         "bp-asm.h".
24110         (PARMS): Do not use macros from bp-asm.h.
24111         (S): Likewise.
24112         (SIZE): Likewise.
24113         (__mpn_lshift): Do not use BP_SYM.
24114         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24115         "bp-asm.h".
24116         (PARMS): Do not use macros from bp-asm.h.
24117         (DEST): Likewise.
24118         (SRC): Likewise.
24119         (LEN): Likewise.
24120         (memcpy): Likewise.  Do not use BP_SYM.
24121         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24122         libc_hidden_def and weak_alias.
24123         (mempcpy): Do not use BP_SYM in weak_alias.
24124         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24125         "bp-asm.h".
24126         (PARMS): Do not use macros from bp-asm.h.
24127         (DEST): Likewise.
24128         (LEN): Likewise.
24129         [!BZERO_P] (CHR): Likewise.
24130         (memset): Likewise.  Do not use BP_SYM.
24131         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24132         "bp-asm.h".
24133         (PARMS): Do not use macros from bp-asm.h.
24134         (S1): Likewise.
24135         (SIZE): Likewise.
24136         (__mpn_mul_1): Do not use BP_SYM.
24137         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24138         "bp-asm.h".
24139         (PARMS): Do not use macros from bp-asm.h.
24140         (S): Likewise.
24141         (SIZE): Likewise.
24142         (__mpn_rshift): Do not use BP_SYM.
24143         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24144         "bp-asm.h".
24145         (PARMS): Do not use macros from bp-asm.h.
24146         (STR): Likewise.
24147         (CHR): Likewise.
24148         (strchr): Likewise.  Do not use BP_SYM.
24149         (index): Do not use BP_SYM in weak_alias.
24150         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24151         "bp-asm.h".
24152         (PARMS): Do not use macros from bp-asm.h.
24153         (DEST): Likewise.
24154         (SRC): Likewise.
24155         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24156         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24157         "bp-asm.h".
24158         (PARMS): Do not use macros from bp-asm.h.
24159         (strlen): Do not use BP_SYM.
24160         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24161         "bp-asm.h".
24162         (PARMS): Do not use macros from bp-asm.h.
24163         (S1): Likewise.
24164         (S2): Likewise.
24165         (SIZE): Likewise.
24166         (__mpn_sub_n): Do not use BP_SYM.
24167         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24168         "bp-asm.h".
24169         (PARMS): Do not use macros from bp-asm.h.
24170         (S1): Likewise.
24171         (SIZE): Likewise.
24172         (__mpn_submul_1): Do not use BP_SYM.
24173         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24174         "bp-asm.h".
24175         (PARMS): Do not use macros from bp-asm.h.
24176         (S1): Likewise.
24177         (S2): Likewise.
24178         (SIZE): Likewise.
24179         (__mpn_add_n): Do not use BP_SYM.
24180         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24181         weak_alias.
24182         (bzero): Likewise.
24183         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24184         "bp-asm.h".
24185         (PARMS): Do not use macros from bp-asm.h.
24186         (BLK2): Likewise.
24187         (LEN): Likewise.
24188         (memcmp): Do not use BP_SYM.
24189         (bcmp): Do not use BP_SYM in weak_alias.
24190         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24191         "bp-asm.h".
24192         (PARMS): Do not use macros from bp-asm.h.
24193         (DEST): Likewise.
24194         (SRC): Likewise.
24195         (LEN): Likewise.
24196         (memcpy): Likewise.  Do not use BP_SYM.
24197         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24198         "bp-asm.h".
24199         (PARMS): Do not use macros from bp-asm.h.
24200         (DEST): Likewise.
24201         (SRC): Likewise.
24202         (LEN): Likewise.
24203         (memmove): Likewise.  Do not use BP_SYM.
24204         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24205         "bp-asm.h".
24206         (PARMS): Do not use macros from bp-asm.h.
24207         (DEST): Likewise.
24208         (SRC): Likewise.
24209         (LEN): Likewise.
24210         (__mempcpy): Likewise.  Do not use BP_SYM.
24211         (mempcpy): Do not use BP_SYM in weak_alias.
24212         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24213         "bp-asm.h".
24214         (PARMS): Do not use macros from bp-asm.h.
24215         (DEST): Likewise.
24216         (LEN): Likewise.
24217         [!BZERO_P] (CHR): Likewise.
24218         (memset): Likewise.  Do not use BP_SYM.
24219         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24220         "bp-asm.h".
24221         (PARMS): Do not use macros from bp-asm.h.
24222         (STR2): Likewise.
24223         (strcmp): Do not use BP_SYM.
24224         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24225         "bp-asm.h".
24226         (PARMS): Do not use macros from bp-asm.h.
24227         (STR): Likewise.
24228         (DELIM): Likewise.
24229         [USE_AS_STRTOK_R] (SAVE): Likewise.
24230         (FUNCTION): Likewise.  Do not use BP_SYM.
24231         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24232         aliases.
24233         (strtok_r): Likewise.
24234         (__GI___strtok_r): Likewise.
24235         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24236         (PARMS): Do not use macros from bp-asm.h.
24237         (S): Likewise.
24238         (SIZE): Likewise.
24239         (__mpn_lshift): Do not use BP_SYM.
24240         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24241         (PARMS): Do not use macros from bp-asm.h.
24242         (STR): Likewise.
24243         (CHR): Likewise.
24244         (__memchr): Do not use BP_SYM.
24245         (memchr): Do not use BP_SYM in weak_alias.
24246         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24247         (PARMS): Do not use macros from bp-asm.h.
24248         (BLK2): Likewise.
24249         (LEN): Likewise.
24250         (memcmp): Do not use BP_SYM.
24251         (bcmp): Do not use BP_SYM in weak_alias.
24252         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24253         (PARMS): Do not use macros from bp-asm.h.
24254         (S1): Likewise.
24255         (SIZE): Likewise.
24256         (__mpn_mul_1): Do not use BP_SYM.
24257         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24258         "bp-asm.h".
24259         (PARMS): Do not use macros from bp-asm.h.
24260         (STR): Likewise.
24261         (CHR): Likewise.
24262         (__rawmemchr): Do not use BP_SYM.
24263         (rawmemchr): Do not use BP_SYM in weak_alias.
24264         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24265         (PARMS): Do not use macros from bp-asm.h.
24266         (S): Likewise.
24267         (SIZE): Likewise.
24268         (__mpn_rshift): Do not use BP_SYM.
24269         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24270         (PARMS): Do not use macros from bp-asm.h.
24271         (SIGMSK): Likewise.
24272         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24273         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24274         (_start): Do not use BP_SYM.
24275         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24276         (PARMS): Do not use macros from bp-asm.h.
24277         (DEST): Likewise.
24278         (SRC): Likewise.
24279         (__stpcpy): Likewise.  Do not use BP_SYM.
24280         (stpcpy): Do not use BP_SYM in weak_alias.
24281         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24282         "bp-asm.h".
24283         (PARMS): Do not use macros from bp-asm.h.
24284         (DEST): Likewise.
24285         (SRC): Likewise.
24286         (LEN): Likewise.
24287         (__stpncpy): Likewise.  Do not use BP_SYM.
24288         (stpncpy): Do not use BP_SYM in weak_alias.
24289         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24290         (PARMS): Do not use macros from bp-asm.h.
24291         (STR): Likewise.
24292         (CHR): Likewise.
24293         (strchr): Likewise.  Do not use BP_SYM.
24294         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24295         "bp-asm.h".
24296         (PARMS): Do not use macros from bp-asm.h.
24297         (STR): Likewise.
24298         (CHR): Likewise.
24299         (__strchrnul): Likewise.  Do not use BP_SYM.
24300         (strchrnul): Do not use BP_SYM in weak_alias.
24301         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24302         "bp-asm.h".
24303         (PARMS): Do not use macros from bp-asm.h.
24304         (STOP): Likewise.
24305         (strcspn): Do not use BP_SYM.
24306         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24307         "bp-asm.h".
24308         (PARMS): Do not use macros from bp-asm.h.
24309         (STR): Likewise.
24310         (STOP): Likewise.
24311         (strpbrk): Likewise.  Do not use BP_SYM.
24312         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24313         "bp-asm.h".
24314         (PARMS): Do not use macros from bp-asm.h.
24315         (STR): Likewise.
24316         (CHR): Likewise.
24317         (strrchr): Likewise.  Do not use BP_SYM.
24318         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24319         (PARMS): Do not use macros from bp-asm.h.
24320         (SKIP): Likewise.
24321         (strspn): Do not use BP_SYM.
24322         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24323         (PARMS): Do not use macros from bp-asm.h.
24324         (STR): Likewise.
24325         (DELIM): Likewise.
24326         (SAVE): Likewise.
24327         (FUNCTION): Likewise.  Do not use BP_SYM.
24328         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24329         aliases.
24330         (strtok_r): Likewise.
24331         (__GI___strtok_r): Likewise.
24332         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24333         (PARMS): Do not use macros from bp-asm.h.
24334         (S1): Likewise.
24335         (S2): Likewise.
24336         (SIZE): Likewise.
24337         (__mpn_sub_n): Do not use BP_SYM.
24338         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24339         "bp-asm.h".
24340         (PARMS): Do not use macros from bp-asm.h.
24341         (S1): Likewise.
24342         (SIZE): Likewise.
24343         (__mpn_submul_1): Do not use BP_SYM.
24344         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24345         <bp-sym.h>.
24346         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24347         and <bp-asm.h>.
24348         (PARMS): Do not use macros from bp-asm.h.
24349         (FLAGS): Likewise.
24350         (PTID): Likewise.
24351         (TLS): Likewise.
24352         (CTID): Likewise.
24353         (__clone): Do not use BP_SYM.
24354         (clone): Do not use BP_SYM in weak_alias.
24355         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24356         and <bp-asm.h>.
24357         (PARMS): Do not use macros from bp-asm.h.
24358         (LEN): Likewise.
24359         (__mmap64): Do not use BP_SYM.
24360         (mmap64): Do not use BP_SYM in weak_alias.
24361         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24362         <bp-sym.h> and <bp-asm.h>.
24363         (PARMS): Do not use macros from bp-asm.h.
24364         (__posix_fadvise64_l64): Do not use BP_SYM.
24365         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24366         (PARMS): Do not use macros from bp-asm.h.
24367         (NSOPS): Likewise.
24368         (semtimedop): Do not use BP_SYM.
24369         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24370         and <bp-asm.h>.
24371
24372 2013-02-21  Allan McRae  <allan@archlinux.org>
24373
24374         * manual/message.texi (Charset conversion in gettext):
24375         Move @end statement to beginning of line.
24376
24377 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24378
24379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24380         static.
24381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24382         Likewise.
24383
24384         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24385         (denorm): Likewise.
24386         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24387         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24388
24389 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24390
24391         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24392         tail-call to the resolved function if pltexit isn't needed.
24393
24394 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24395
24396         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24397         or Y being zero as being unlikely.
24398         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24399         Likewise.
24400
24401 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24402
24403         * manual/nss.texi (System Databases and Name Service Switch):
24404         Remove frobnicate @pxref.
24405
24406 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24407
24408         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24409         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24410
24411 2013-02-20  Petr Machata  <pmachata@redhat.com>
24412
24413         * elf/elf.h (R_ARM_TARGET1): New macro.
24414         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24415         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24416         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24417         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24418         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24419         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24420         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24421         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24422         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24423         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24424         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24425         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24426         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24427         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24428         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24429         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24430         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24431         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24432         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24433         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24434         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24435         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24436         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24437         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24438         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24439         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24440         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24441         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24442         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24443         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24444         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24445         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24446         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24447         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24448         (R_ARM_THM_GOT_BREL12): Likewise.
24449         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24450         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24451         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24452         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24453         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24454         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24455         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24456         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24457         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24458
24459 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24460
24461         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24462         __attribute_used__ to __attribute__ ((unused)).
24463
24464 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24465
24466         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24467         powerpc mpa.c.
24468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24469         comment formatting.
24470         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24471
24472 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24473
24474         [BZ #13550]
24475         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24476         Remove macro.
24477         (ENTER): Remove both macro definitions.
24478         (LEAVE): Likewise.
24479         (CHECK_BOUNDS_LOW): Likewise.
24480         (CHECK_BOUNDS_HIGH): Likewise.
24481         (CHECK_BOUNDS_BOTH): Likewise.
24482         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24483         (RETURN_BOUNDED_POINTER): Likewise.
24484         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24485         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24486         (POP_ERRNO_LOCATION_RETURN): Likewise.
24487         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24488         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24489         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24490         macros.
24491         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24492         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24493         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24494         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24495         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24496         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24497         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24498         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24499         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24500         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24501         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24502         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24503         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24504         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24505         removed macros.
24506         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24507         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24508         macros.
24509         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24510         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24511         * sysdeps/i386/i586/memset.S (memset): Likewise.
24512         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24513         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24514         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24515         macros.
24516         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24517         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24518         Change uses of L(2) to L(out).
24519         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24520         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24521         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24522         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24523         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24524         removed macros.
24525         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24526         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24527         macros.
24528         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24529         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24530         (RETURN): Do not use macro LEAVE.
24531         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24532         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24533         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24534         * sysdeps/i386/i686/memset.S (memset): Likewise.
24535         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24536         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24537         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24538         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24539         Likewise.
24540         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24541         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24542         L(1_2) and L(1_3) into L(1).
24543         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24544         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24545         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24546         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24547         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24548         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24549         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24550         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24551         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24552         macros.
24553         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24554         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24555         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24556         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24557         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24558         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24559         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24560         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24561         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24562         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24563         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24564         * sysdeps/i386/strspn.S (strspn): Likewise.
24565         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24566         conditional code.
24567         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24568         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24569         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24570         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24571         L(1_3) into L(1_1).
24572         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24573         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24574         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24575         macros.
24576         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24577
24578 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24579
24580         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24581         macro.
24582
24583 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24584
24585         * math/atest-exp.c (exp_mpn): Remove ROUND.
24586         * math/atest-exp2.c (exp_mpn): Likewise.
24587         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24588
24589         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24590         * stdlib/tst-tls-atexit-lib.c: Likewise.
24591         * stdlib/tst-tls-atexit.c: Likewise.
24592
24593 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24594
24595         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24596         and __attribute_alloc_size__.
24597
24598 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24599
24600         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24601         __attribute_alloc_size__.
24602         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24603         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24604
24605 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24606
24607         * include/programs/xmalloc.h: New file.
24608         * catgets/gencat.c: Include it.
24609         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24610         * elf/pldd.c: Likewise.
24611         * iconv/iconv_charmap.c: Likewise.
24612         * iconv/iconvconfig.c: Likewise.
24613         * iconv/strtab.c: Likewise.
24614         * locale/programs/locale.c: Likewise.
24615         * locale/programs/localedef.h: Likewise.
24616         * locale/programs/simple-hash.c: Likewise.
24617         * nscd/nscd.h: Likewise.
24618         * nss/makedb.c: Likewise.
24619         * sysdeps/generic/ldconfig.h: Likewise.
24620
24621 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24622
24623         * Versions.def: Add GLIBC_2.18.
24624         * include/link.h (struct link_map): New member l_tls_dtor_count.
24625         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24626         (__call_tls_dtors): Likewise.
24627         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24628         __cxa_thread_atexit_impl.
24629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24630         Likewise.
24631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24632         Likewise.
24633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24634         Likewise.
24635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24636         Likewise.
24637         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24639         Likewise.
24640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24641         Likewise.
24642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24643         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24644         Likewise.
24645         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24646         (tests): Add test case tst-tls-atexit.
24647         (modules-names): Add shared library for tst-tls-atexit.
24648         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24649         (GLIBC_PRIVATE): Add __call_tls_dtors.
24650         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24651         for libstdc++.
24652         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24653         * stdlib/tst-tls-atexit.c: New test case.
24654         * stdlib/tst-tls-atexit-lib.c: New test case.
24655
24656         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24657
24658         * elf/Versions (ld): Add _dl_find_dso_for_object.
24659         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24660         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24661         (dl_open_worker): Use _dl_find_dso_for_object.
24662         * elf/dl-sym.c (do_sym): Likewise.
24663         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24664
24665 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24666
24667         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24668         Syntactic changes only.
24669         (_dl_runtime_profile): Do a tail-call to the resolved function.
24670
24671 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24672
24673         [BZ #13550]
24674         * sysdeps/x86_64/bp-asm.h: Remove file.
24675         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24676         <bp-sym.h> and <bp-asm.h>.
24677         (__clone): Do not use BP_SYM.
24678         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24679         <bp-sym.h> and <bp-asm.h>.
24680         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24681         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24682         "bp-asm.h".
24683         (_setjmp): Do not use BP_SYM.
24684         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24685         "bp-asm.h".
24686         (setjmp): Do not use BP_SYM.
24687         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24688         libc_hidden_def.
24689         (mempcpy): Do not use BP_SYM in weak_alias.
24690         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24691         "bp-asm.h".
24692         (strchr): Do not use BP_SYM.
24693         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24694         "bp-asm.h".
24695         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24696         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24697         (_start): Do not use BP_SYM.
24698         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24699         "bp-asm.h".
24700         (strcat): Do not use BP_SYM.
24701         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24702         "bp-asm.h".
24703         (STRCMP): Do not use BP_SYM.
24704         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24705         "bp-asm.h".
24706         (STRCPY): Do not use BP_SYM.
24707         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24708         "bp-asm.h".
24709         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24710         "bp-asm.h".
24711         (FUNCTION): Do not use BP_SYM.
24712         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24713         weak_alias.
24714         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24715
24716 2013-02-17  Andreas Jaeger  <aj@suse.de>
24717
24718         * time/Versions: Sort entries.
24719         * string/Versions: Likewise.
24720         * resolv/Versions: Likewise.
24721         * posix/Versions: Likewise.
24722         * iconv/Versions: Likewise.
24723         * elf/Versions: Likewise.
24724         * wcsmbs/Versions: Likewise.
24725
24726 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24727
24728         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24729         loop termination condition.
24730
24731         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24732         variable to calculate EZ.
24733         (__sqr): Likewise.
24734
24735         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24736         the lower precision input.
24737
24738 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24739
24740         [BZ #13550]
24741         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24742         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24743         (run-via-rtld-prefix): Do not handle %-bp tests.
24744         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24745         (all-object-suffixes): Remove .ob.
24746         (bppfx): Remove variable.
24747         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24748         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24749         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24750         [$(build-bounded) = yes] (libtype.ob): Likewise.
24751         * Makerules (elide-routines.ob): Remove variable.
24752         (do-tests-clean): Do not handle *-bp.out.
24753         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24754         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24755         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24756         (tests): Do not include $(tests-bp.out).
24757         (xtests): Do not include $(xtests-bp.out).
24758         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24759         [$(build-bounded) = yes] ($(addprefix
24760         $(objpfx),$(binaries-bounded))): Remove rule.
24761         ($(objpfx)%-bp.out): Remove rule.
24762         * config.make.in (build-bounded): Remove variable.
24763         * crypt/Makefile [$(build-bounded) = yes]
24764         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24765         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24766         append to variable.
24767         [$(build-bounded) = yes] (install-lib): Likewise.
24768         [$(build-bounded) = yes] (generated): Likewise.
24769         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24770         Remove rule.
24771         * intl/Makefile [$(build-bounded) = yes]
24772         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24773         * math/Makefile [$(build-bounded) = yes]
24774         ($(tests:%=$(objpfx)%-bp): Likewise.
24775         * misc/Makefile [$(build-bounded) = yes]
24776         ($(objpfx)tst-tsearch-bp): Likewise.
24777         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24778         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24779         Remove dependency.
24780         * string/Makefile (o-objects.ob): Remove variable.
24781         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24782         (CFLAGS-.ob): Remove variable.
24783         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24784         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24785         both definitions of variable.
24786         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24787         (ASFLAGS-.ob): Remove variable.
24788
24789 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24790
24791         [BZ #13550]
24792         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24793         Remove __BOUNDED_POINTERS__ from condition.
24794         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24795         * string/bits/string2.h [!__NO_STRING_INLINES &&
24796         !__BOUNDED_POINTERS__]: Likewise.
24797         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24798         Likewise.
24799         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24800         Remove conditional code.
24801         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24802         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24803         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24804         condition.
24805
24806         [BZ #13550]
24807         * csu/libc-start.c: Do not include <bp-sym.h>.
24808         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24809         * elf/dl-open.c: Do not include <bp-sym.h>.
24810         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24811         * math/fegetenv.c: Do not include <bp-sym.h>.
24812         (fegetenv): Do not use BP_SYM in versioned symbols.
24813         * nptl/sysdeps/pthread/bits/libc-lockP.h
24814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24815         <bp-sym.h>.
24816         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24817         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24819         (__pthread_mutex_destroy): Likewise.
24820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24821         (__pthread_mutex_lock): Likewise.
24822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24823         (__pthread_mutex_trylock): Likewise.
24824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24825         (__pthread_mutex_unlock): Likewise.
24826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24827         (__pthread_mutexattr_init): Likewise.
24828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24829         (__pthread_mutexattr_destroy): Likewise.
24830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24831         (__pthread_mutexattr_settype): Likewise.
24832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24833         (__pthread_rwlock_init): Likewise.
24834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24835         (__pthread_rwlock_destroy): Likewise.
24836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24837         (__pthread_rwlock_rdlock): Likewise.
24838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24839         (__pthread_rwlock_tryrdlock): Likewise.
24840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24841         (__pthread_rwlock_wrlock): Likewise.
24842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24843         (__pthread_rwlock_trywrlock): Likewise.
24844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24845         (__pthread_rwlock_unlock): Likewise.
24846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24847         (__pthread_key_create): Likewise.
24848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24849         (__pthread_setspecific): Likewise.
24850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24851         (__pthread_getspecific): Likewise.
24852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24853         Likewise.
24854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24855         (_pthread_cleanup_push_defer): Likewise.
24856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24857         (_pthread_cleanup_pop_restore): Likewise.
24858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24859         (pthread_setcancelstate): Likewise.
24860         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24861         <bp-sym.h>.
24862         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24863         (memchr): Do not use BP_SYM in weak_alias.
24864         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24865         (fegetenv): Do not use BP_SYM in versioned symbols.
24866         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24867         (fesetenv): Do not use BP_SYM in versioned symbols.
24868         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24869         (feupdateenv): Do not use BP_SYM in versioned symbols.
24870         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24871         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24872         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24873         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24874         (open64): Do not use BP_SYM in weak_alias.
24875         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24876         (fegetenv): Do not use BP_SYM in versioned symbols.
24877         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24878         (fesetenv): Do not use BP_SYM in versioned symbols.
24879         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24880         (feupdateenv): Do not use BP_SYM in versioned symbols.
24881         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24882         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24883         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24884         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24885         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24886         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24887         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24888         <bp-sym.h>.
24889         (__libc_start_main): Do not use BP_SYM.
24890
24891 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24892
24893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24894         redundant return line.
24895         (norm): Likewise.
24896         (denorm): Likewise.
24897         (dbl_mp): Likewise.
24898         (sub_magnitudes): Likewise.
24899         (__add): Likewise.
24900         (__sub): Likewise.
24901         (__mul): Likewise.
24902         (__inv): Likewise.
24903         (__dvd): Likewise.
24904         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24905         (norm): Likewise.
24906         (denorm): Likewise.
24907         (dbl_mp): Likewise.
24908         (sub_magnitudes): Likewise.
24909         (__add): Likewise.
24910         (__sub): Likewise.
24911         (__mul): Likewise.
24912         (__inv): Likewise.
24913         (__dvd): Likewise.
24914
24915         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24916         instead of __mul.
24917         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24918         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24919         (cc32): Likewise.
24920
24921         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24922         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24923         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24924         of __mul for squares.
24925         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24926         function
24927         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24928         Likewise.
24929         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24930         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24931
24932 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24933
24934         [BZ #13550]
24935         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24936         code.
24937         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24938         prototype or function definition.  Rename ubp_* variables and
24939         parameters.  Remove argv definitions conditional on
24940         [__BOUNDED_POINTERS__].
24941         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24942         * elf/dl-runtime.c (_dl_fixup): Likewise.
24943         * include/set-hooks.h (RUN_HOOK): Likewise.
24944         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24945         definition.
24946         * string/strcpy.c (strcpy): Do not use __unbounded.
24947         * sysdeps/generic/frame.h (struct layout): Likewise.
24948         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24949         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24950         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24951         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24952         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24953         (__backtrace): Likewise.
24954         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24955         use __ptrvalue.
24956         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24957         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24958         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24959         Likewise.
24960         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24961         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24962         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24963         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24964         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24965         Do not use __unbounded.
24966         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24967         Rename __unboundedrlimits parameter to rlimits in prototype.
24968         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24969         Do not use __unbounded.
24970         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24971         not use __ptrvalue.
24972         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24973         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24974         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24975         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24976         __ptrvalue or __unbounded.
24977         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24978         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24979         use __unbounded.
24980         (__new_msgctl): Do not use __ptrvalue.
24981         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24982         __unbounded.
24983         (__libc_msgrcv): Do not use __ptrvalue.
24984         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24985         startup_info): Do not use __unbounded.
24986         (__libc_start_main): Likewise.  Rename ubp_* variables and
24987         parameters.  Remove argv definitions conditional on
24988         [__BOUNDED_POINTERS__].
24989         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24990         __ptrvalue.
24991         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24992         use __unbounded.
24993         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24994         or __ptrvalue.
24995         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24996         use __unbounded.
24997         (__new_shmctl): Do not use __ptrvalue.
24998         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24999         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25000         Likewise.
25001         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25002         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25003         (__libc_sigaction): Likewise.
25004         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25005         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25006         Likewise.
25007         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25008
25009 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25010
25011         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25012
25013         * string/mempcpy.c: Implement by calling memcpy.
25014
25015 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25016
25017         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25018
25019         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25020         evaluation.
25021
25022         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25023         values in the mantissa.
25024
25025         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25026         minimize writes to Z.
25027         (sub_magnitudes): Simplify code a bit.
25028
25029 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25030
25031         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25032         from the message.  The linker prefixes all warnings with that already.
25033
25034 2013-02-12  Andreas Schwab  <schwab@suse.de>
25035
25036         [BZ #15078]
25037         * posix/regexec.c (extend_buffers): Add parameter min_len.
25038         (check_matching): Pass minimum needed length.
25039         (clean_state_log_if_needed): Likewise.
25040         (get_subexp): Likewise.
25041         * posix/Makefile (tests): Add bug-regex34.
25042         (bug-regex34-ENV): Define.
25043         * posix/bug-regex34.c: New file.
25044
25045         [BZ #11561]
25046         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25047         elements compare against the byte sequence of it, not its name.
25048         * posix/Makefile (tests): Add bug-regex35.
25049         (bug-regex35-ENV): Define.
25050         * posix/bug-regex35.c: New file.
25051
25052 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25053
25054         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25055         comment.
25056         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25057         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25058         (CHECK_EOL): Add undef.
25059
25060 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25061
25062         * bits/stdlib-bsearch.h: New file.
25063         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25064         * stdlib/stdlib.h: Likewise.
25065
25066 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25067
25068         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25069         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25070         declaration.
25071         * manual/search.texi (Array Search Function): Add missing const in
25072         lfind prototype.
25073         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25074         declaration to use rlim_t.
25075         (Basic Scheduling Functions): Remove erroneous const from
25076         sched_getparam prototype.  Remove erroneous * from
25077         sched_get_priority_max and sched_get_priority_min prototypes.
25078         (Resource Usage): Fix summary @comment on vtimes to refer to
25079         sys/vtimes.h rather than vtimes.h.
25080         Add missing *s in vtimes prototype.
25081         (Limits on Resources): Fix ulimit prototype to return long int.
25082         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25083         prototypes to use long int rather than double.
25084         (BSD Random): Fix initstate and setstate to use char *, not void *.
25085         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25086         prototype to make second argument 'struct aiocb64 *const[]'.
25087         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25088         (Status of AIO Operations): Remove erroneous const in aio_return and
25089         aio_return64 prototypes.
25090         (Synchronizing I/O): Fix sync prototype to return void.
25091         * manual/startup.texi (Suboptions): Remove an erroneous const in
25092         getsubopt prototype.
25093         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25094         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25095         use size_t rather than int.
25096         (Scanning All Users): Likewise for getpwent_r.
25097         (Setting Groups): Add missing const to setgroups prototype.
25098         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25099         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25100         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25101         'const void *' rather than 'const char *'.
25102         (Host Address Functions): Likewise for inet_ntop.
25103         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25104         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25105         ssize_t for return value.
25106         (Sending Data): Likewise for send, sendto, sendmsg.
25107         (Socket Option Functions): Add a missing const in setsockopt prototype.
25108         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25109         use wchar_t for the argument.
25110         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25111         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25112         take no arguments.
25113         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25114         double/float/long double for second argument.
25115         Fix return types of significand, significandf, significandl.
25116         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25117         argument in fchmod prototype.
25118         (File Owner): Use uid_t and gid_t in fchown prototype.
25119         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25120         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25121         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25122         use 'const struct dirent **' as argument types to CMP function pointer
25123         argument.
25124         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25125         (File Times): Fix summary magic @comment for struct utimbuf and utime
25126         to refer to utime.h, not time.h.
25127         * manual/string.texi (Argz Functions): Add missing const in
25128         argz_extract and argz_next prototypes.
25129         (Finding Tokens in a String): Likewise for basename.
25130         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25131         (Copying and Concatenation): Fix typo in wmemmove prototype.
25132         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25133         (Signal Stack): Remove erroneous const in sigstack prototype.
25134         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25135         prototype.
25136         (Simple Calendar Time): Likewise for stime.
25137         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25138         prototype.
25139         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25140         say sys/sysctl.h instead.
25141         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25142         and vsyslog prototypes.
25143
25144 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25145
25146         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25147         Remove.
25148
25149 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25150
25151         * misc/sys/mman.h: Fix typo in mremap comment.
25152
25153 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25154
25155         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25156         the '\0' terminator.
25157
25158 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25159
25160         [BZ #13550]
25161         * debug/segfault.c: Don't include <bp-checks.h>.
25162         * sysdeps/generic/bp-checks.h: Remove file.
25163         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25164         (__GETDENTS): Don't use CHECK_N.
25165         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25166         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25167         (__getgroups): Don't use CHECK_N.
25168         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25169         (setgroups): Don't use CHECK_N.
25170         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25171         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25172         (__libc_msgrcv): Don't use CHECK_N.
25173         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25174         (__libc_msgsnd): Don't use CHECK_N.
25175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25176         <bp-checks.h>.
25177         (__libc_pread): Don't use CHECK_N.
25178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25179         include <bp-checks.h>.
25180         (__libc_pread64): Don't use CHECK_N.
25181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25182         include <bp-checks.h>.
25183         (__libc_pwrite): Don't use CHECK_N.
25184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25185         include <bp-checks.h>.
25186         (__libc_pwrite64): Don't use CHECK_N.
25187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25188         <bp-checks.h>.
25189         (__libc_pread): Don't use CHECK_N.
25190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25191         include <bp-checks.h>.
25192         (__libc_pread64): Don't use CHECK_N.
25193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25194         include <bp-checks.h>.
25195         (__libc_pwrite): Don't use CHECK_N.
25196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25197         include <bp-checks.h>.
25198         (__libc_pwrite64): Don't use CHECK_N.
25199         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25200         (do_pread): Don't use CHECK_N.
25201         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25202         (do_pread64): Don't use CHECK_N.
25203         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25204         (do_pwrite): Don't use CHECK_N.
25205         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25206         (do_pwrite64): Don't use CHECK_N.
25207         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25208         (__libc_readv): Don't use CHECK_N.
25209         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25210         (semop): Don't use CHECK_N.
25211         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25212         <bp-checks.h>.
25213         (semtimedop): Don't use CHECK_N.
25214         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25215         (__libc_pread): Don't use CHECK_N.
25216         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25217         <bp-checks.h>.
25218         (__libc_pread64): Don't use CHECK_N.
25219         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25220         <bp-checks.h>.
25221         (__libc_pwrite): Don't use CHECK_N.
25222         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25223         <bp-checks.h>.
25224         (__libc_pwrite64): Don't use CHECK_N.
25225         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25226         <bp-checks.h>.
25227         (__libc_msgrcv): Don't use CHECK_N.
25228         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25229         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25230         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25231         (__libc_writev): Don't use CHECK_N.
25232
25233 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25234
25235         * string/strcpy.c: Removed unused variable.
25236
25237         * Makeconfig (+sysdep-includes): Define with := rather than =.
25238         Use an existing include/ subdir of each sysdeps dir before it.
25239
25240 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25241
25242         * nscd/connection.c (register_traced_file): Comment function.
25243         [HAVE_INOTIFY] (union __inev): Define.
25244         [HAVE_INOTIFY] (inotify_check_files): New function.
25245         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25246         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25247         clear_db_cache.
25248         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25249
25250 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25251
25252         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25253         loaded if not already and that a failure is permanent.
25254
25255 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25256
25257         [BZ #15006]
25258         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25259         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25260
25261 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25262
25263         [BZ #13550]
25264         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25265         (CHECK_1_NULL_OK): Likewise.
25266         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25267         (__fxstat): Do not use CHECK_1.
25268         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25269         <bp-checks.h>.
25270         (___fxstat64): Do not use CHECK_1.
25271         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25272         <bp-checks.h>.
25273         (__fxstatat): Do not use CHECK_1.
25274         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25275         <bp-checks.h>.
25276         (__fxstatat64): Do not use CHECK_1.
25277         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25278         <bp-checks.h>.
25279         (__fxstat): Do not use CHECK_1.
25280         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25281         <bp-checks.h>.
25282         (__fxstatat): Do not use CHECK_1.
25283         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25284         <bp-checks.h>.
25285         (__getresgid): Do not use CHECK_1.
25286         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25287         <bp-checks.h>.
25288         (__getresuid): Do not use CHECK_1.
25289         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25290         <bp-checks.h>.
25291         (__lxstat): Do not use CHECK_1.
25292         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25293         <bp-checks.h>.
25294         (__old_msgctl): Do not use CHECK_1.
25295         (__new_msgctl): Likewise.
25296         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25297         <bp-checks.h>.
25298         (__new_setrlimit): Do not use CHECK_1.
25299         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25300         <bp-checks.h>.
25301         (__old_shmctl): Do not use CHECK_1.
25302         (__new_shmctl): Likewise.
25303         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25304         <bp-checks.h>.
25305         (__xstat): Do not use CHECK_1.
25306         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25307         (__lxstat): Do not use CHECK_1.
25308         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25309         <bp-checks.h>.
25310         (___lxstat64): Do not use CHECK_1.
25311         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25312         (__old_msgctl): Do not use CHECK_1.
25313         (__new_msgctl): Likewise.
25314         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25315         <bp-checks.h>.
25316         (__gettimeofday): Do not use CHECK_1.
25317         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25318         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25319         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25320         <bp-checks.h>.
25321         (__gettimeofday): Do not use CHECK_1.
25322         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25323         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25324         (__new_shmctl): Do not use CHECK_1.
25325         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25326         <bp-checks.h>.
25327         (do_sigtimedwait): Do not use CHECK_1.
25328         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25329         <bp-checks.h>.
25330         (do_sigwaitinfo): Do not use CHECK_1.
25331         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25332         <bp-checks.h>.
25333         (msgctl): Do not use CHECK_1.
25334         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25335         <bp-checks.h>.
25336         (shmctl): Do not use CHECK_1.
25337         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25338         (ustat): Do not use CHECK_1.
25339         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25340         <bp-checks.h>.
25341         (__fxstat): Do not use CHECK_1.
25342         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25343         <bp-checks.h>.
25344         (__fxstatat): Do not use CHECK_1.
25345         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25346         <bp-checks.h>.
25347         (__lxstat): Do not use CHECK_1.
25348         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25349         <bp-checks.h>.
25350         (__xstat): Do not use CHECK_1.
25351         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25352         (__xstat): Do not use CHECK_1.
25353         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25354         (___xstat64): Do not use CHECK_1.
25355
25356         [BZ #13550]
25357         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25358         definitions.
25359         (CHECK_BOUNDS_HIGH): Likewise.
25360         * string/strcpy.c: Do not include <bp-checks.h>.
25361         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25362
25363 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25364
25365         * nscd/nscd-client.h (__nscd_drop_map_ref):
25366         Add __attribute__ ((unused)).
25367         * nis/nss-nisplus.h (niserr2nss): Likewise.
25368
25369         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25370         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25371
25372         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25373         Remove inline keyword.
25374         * include/rounding-mode.h (round_away): Likewise.
25375         * libio/wfileops.c (adjust_wide_data): Likewise.
25376         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25377         (__m128i_strloadu_tolower): Likewise.
25378         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25379         (__m128i_strloadu_tolower): Likewise.
25380         * time/mktime.c (ydhms_diff): Likewise.
25381         * locale/elem-hash.h (elem_hash): Likewise.
25382         * locale/setlocale.c (setdata): Likewise.
25383         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25384         (re_string_wchar_at): Likewise.
25385         (bitset_not, bitset_merge, bitset_mask): Likewise.
25386         [!(__GNUC__ > 3)] (inline): Remove macro.
25387         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25388         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25389         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25390         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25391         * string/memcmp.c (memcmp_bytes): Likewise.
25392         * locale/programs/locarchive.c (compute_hashval): Likewise.
25393         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25394         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25395         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25396         * nss/getent.c (print_rpc, print_protocols): Likewise.
25397         (print_passwd, print_group, print_aliases): Likewise.
25398         * nis/nss-nisplus.h (niserr2nss): Likewise.
25399         * nscd/connections.c (restart_p): Likewise.
25400         Change return type to bool.
25401
25402 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25403
25404         * Makeconfig (all-Depend-files): Add existing
25405         $(sorted-subdirs:=/Depend) files.
25406         (all-subdirs): Remove nss.
25407         * sysdeps/unix/inet/Subdirs: Add it here instead.
25408         * hesiod/Depend: New file.
25409
25410         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25411         instead of calling alloca.
25412
25413         * io/lseek.c (__lseek): Rename to __libc_lseek.
25414         Define __lseek as an alias.
25415
25416         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25417
25418 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25419
25420         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25421         else clause and remove check for non-standard endianness.
25422
25423 2013-02-04  David S. Miller  <davem@davemloft.net>
25424
25425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25426
25427 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25428
25429         [BZ #13550]
25430         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25431         (__ubp_memchr): Remove prototype.
25432         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25433         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25434         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25435         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25436         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25437         Remove alias.
25438         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25439         (__ubp_memchr): Likewise.
25440         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25441         (__ubp_memchr): Likewise.
25442         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25443         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25444         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25445         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25446         CHECK_STRING.
25447         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25448         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25449         (__getcwd): Do not use CHECK_STRING.
25450         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25451         <bp-checks.h>.
25452         (__real_chown): Do not use CHECK_STRING.
25453         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25454         <bp-checks.h>.
25455         (fchownat): Do not use CHECK_STRING.
25456         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25457         CHECK_STRING.
25458         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25459         <bp-checks.h>.
25460         (__lchown): Do not use CHECK_STRING.
25461         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25462         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25463         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25464         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25466         include <bp-checks.h>.
25467         (truncate64): Do not use CHECK_STRING.
25468         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25469         <bp-checks.h>.
25470         (__real_chown): Do not use CHECK_STRING.
25471         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25472         <bp-checks.h>.
25473         (__lchown): Do not use CHECK_STRING.
25474         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25475         <bp-checks.h>.
25476         (__chown): Do not use CHECK_STRING.
25477         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25478         <bp-checks.h>.
25479         (truncate64): Do not use CHECK_STRING.
25480         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25481         Likewise.
25482         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25483         (__xmknod): Do not use CHECK_STRING.
25484         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25485         <bp-checks.h>.
25486         (__xmknodat): Do not use CHECK_STRING.
25487         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25488         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25489
25490 2013-02-04  Andreas Schwab  <schwab@suse.de>
25491
25492         [BZ #14142]
25493         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25494         * include/netdb.h: Likewise for h_errno.
25495         * elf/tst-stackguard1.c: Include <tls.h>.
25496
25497 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25498
25499         * elf/link.h (struct link_map): Extend the l_addr comment.
25500         * include/link.h (struct link_map): Likewise.
25501
25502 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25503
25504         [BZ #13550]
25505         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25506         (BOUNDED_1): Remove macro.
25507         * debug/backtrace.c: Don't include <bp-checks.h>.
25508         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25509         (__backtrace): Likewise.
25510         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25511         <bp-checks.h>.
25512         (__backtrace): Don't use BOUNDED_1.
25513         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25514         <bp-checks.h>.
25515         (__backtrace): Don't use BOUNDED_1.
25516         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25517         (__backtrace): Don't use BOUNDED_1.
25518         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25519         (shmat): Don't use BOUNDED_N.
25520
25521 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25522
25523         [BZ #13550]
25524         * sysdeps/generic/bp-start.h: Remove file.
25525         * csu/libc-start.c: Don't include <bp-start.h>.
25526         (LIBC_START_MAIN): Set up __environ directly instead of using
25527         INIT_ARGV_and_ENVIRON.
25528         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25529         <bp-start.h>.
25530
25531         [BZ #13550]
25532         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25533         definitions.
25534         (CHECK_FCNTL): Likewise.
25535         (CHECK_N_PAGES): Likewise.
25536
25537         [BZ #13550]
25538         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25539         definitions.
25540         (CHECK_SIGSET_NULL_OK): Likewise.
25541         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25542         <bp-checks.h>.
25543         (sigpending): Don't use CHECK_SIGSET.
25544         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25545         <bp-checks.h>.
25546         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25547         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25548         <bp-checks.h>.
25549         (do_sigsuspend): Don't use CHECK_SIGSET.
25550         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25551         use CHECK_SIGSET.
25552         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25553         (do_sigwait): Don't use CHECK_SIGSET.
25554         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25555         use CHECK_SIGSET.
25556         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25557         include <bp-checks.h>.
25558         (sigpending): Don't use CHECK_SIGSET.
25559         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25560         include <bp-checks.h>.
25561         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25562         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25563         <bp-checks.h>.
25564         (sigpending): Don't use CHECK_SIGSET.
25565         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25566         <bp-checks.h>.
25567         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25568
25569         [BZ #13550]
25570         * sysdeps/generic/bp-semctl.h: Remove file.
25571         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25572         <bp-checks.h> and <bp-semctl.h>.
25573         (__old_semctl): Don't use CHECK_SEMCTL.
25574         (__new_semctl): Likewise.
25575         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25576         and <bp-semctl.h>.
25577         (__old_semctl): Don't use CHECK_SEMCTL.
25578         (__new_semctl): Likewise.
25579         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25580         <bp-checks.h> and <bp-semctl.h>.
25581         (__old_semctl): Don't use CHECK_SEMCTL.
25582         (__new_semctl): Likewise.
25583         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25584         <bp-checks.h> and <bp-semctl.h>.
25585         (semctl): Don't use CHECK_SEMCTL.
25586
25587         [BZ #13550]
25588         * Makerules (elide-bp-thunks): Remove variable.
25589         (elide-routines.oS): Don't use $(elide-bp-thunks).
25590         (elide-routines.os): Likewise.
25591         (elide-routines.o): Likewise.
25592         (elide-routines.op): Likewise.
25593         (elide-routines.og): Likewise.
25594         (objects): Don't use $(bp-thunks).
25595         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25596         include.
25597         (common-generated): Do not add s-proto-bp.d.
25598         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25599         (int): Likewise.
25600         (typ): Likewise.
25601         Do not generate makefile rules for bounded-pointer thunks.
25602         * sysdeps/generic/bp-thunks.h: Remove file.
25603         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25604         * sysdeps/unix/s-proto-bp.S: Likewise.
25605
25606         [BZ #15062]
25607         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25608         parts of result separately when argument is not close to line from
25609         -i to i and one part of argument is small.
25610         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25611         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25612         * math/libm-test.inc (cacos_test): Add more tests.
25613         (casin_test): Likewise.
25614         (casinh_test): Likewise.
25615         * sysdeps/i386/fpu/libm-test-ulps: Update.
25616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25617
25618 2013-01-31  David S. Miller  <davem@davemloft.net>
25619
25620         * po/de.po: Update from translation team.
25621
25622 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25623
25624         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25625
25626 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25627
25628         * configure.in (_AC_PROG_CC_C89): New definition.
25629         * configure: Regenerate.
25630
25631         * configure.in (AC_PROG_CPP): New definition.
25632         * configure: Regenerate.
25633
25634 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25635
25636         * debug/tst-backtrace.h: New file.
25637         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25638         (ret): Remove variable.
25639         (x): Likewise.
25640         (FAIL): Remove macro.
25641         (NO_INLINE): Likewise.
25642         (fn1): Use match function instead of strstr.
25643         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25644         (ret): Remove variable.
25645         (x): Likewise.
25646         (FAIL): Remove macro.
25647         (NO_INLINE): Likewise.
25648         (fn): Use match function instead of strstr.
25649         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25650         (ret): Remove variable.
25651         (x): Likewise.
25652         (FAIL): Remove macro.
25653         (NO_INLINE): Likewise.
25654         (handle_signal): Use match function instead of strstr.
25655         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25656         (ret): Remove variable.
25657         (x): Likewise.
25658         (FAIL): Remove macro.
25659         (NO_INLINE): Likewise.
25660         (handle_signal): Use match function instead of strstr.
25661
25662 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25663
25664         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25665
25666 2013-01-23  David S. Miller  <davem@davemloft.net>
25667
25668         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25669         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25670         argument of CAS if possible.
25671         * sysdeps/sparc/sparc64/bits/atomic.h
25672         (__arch_compare_and_exchange_val_32_acq): Likewise.
25673         (__arch_compare_and_exchange_val_64_acq): Likewise.
25674
25675 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25676
25677         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25678         * sysdeps/posix/ulimit.c: ... this.
25679         Include <limits.h>.
25680         * sysdeps/unix/bsd/ulimit.c: Remove file.
25681
25682 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25683
25684         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25685         (LDFLAGS-tst-array5): Likewise.
25686
25687 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25688
25689         [BZ #15036]
25690         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25691         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25692         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25693         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25694
25695 2013-01-21  David S. Miller  <davem@davemloft.net>
25696
25697         * sysdeps/sparc/backtrace.c: New file.
25698         * sysdeps/sparc/sparc32/backtrace.h: New file.
25699         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25700         * sysdeps/sparc/sparc64/backtrace.h: New file.
25701         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25702         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25703         -funwind-tables.
25704
25705 2013-01-21  Andreas Schwab  <schwab@suse.de>
25706
25707         [BZ #15020]
25708         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25709         closed its stdout.
25710
25711 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25712
25713         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25714         "mpa2.h".
25715         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25716
25717 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25718             Mark Mitchell  <mark@codesourcery.com>
25719             Tom de Vries  <tom@codesourcery.com>
25720             Paul Pluzhnikov  <ppluzhnikov@google.com>
25721
25722         * debug/tst-backtrace2.c: New file.
25723         * debug/tst-backtrace3.c: Likewise.
25724         * debug/tst-backtrace4.c: Likewise.
25725         * debug/tst-backtrace5.c: Likewise.
25726         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25727         (CFLAGS-tst-backtrace3.c): Likewise.
25728         (CFLAGS-tst-backtrace4.c): Likewise.
25729         (CFLAGS-tst-backtrace5.c): Likewise.
25730         (LDFLAGS-tst-backtrace2): Likewise.
25731         (LDFLAGS-tst-backtrace3): Likewise.
25732         (LDFLAGS-tst-backtrace4): Likewise.
25733         (LDFLAGS-tst-backtrace5): Likewise.
25734         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25735         tst-backtrace4 and tst-backtrace5.
25736
25737 2013-01-18  Anton Blanchard  <anton@samba.org>
25738             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25739
25740         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25741         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25742         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25743         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25745         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25746         "+r" and remove output regs list as redundant.  Add explicit inline
25747         asm to specify register of return val to work around compiler codegen
25748         bug.  Remove (int) cast on return value.  Add return type parameter to
25749         use in macro so that this macro does not truncate return value for
25750         64-bit values.
25751         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25752         pass to INTERNAL_VSYSCALL_NCS.
25753         (INLINE_VSYSCALL): Add 'long int' as return type to
25754         INTERNAL_VSYSCALL_NCS macro invocation.
25755         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25756         INTERNAL_VSYSCALL_NCS macro invocation.
25757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25758
25759 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25760
25761         [BZ #14496]
25762         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25763         Fix application of SIMD FP exception mask.
25764
25765         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25766         mp_no from a power of two.
25767         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25768         __mpexp_twomm1.  Use __pow_mp.
25769
25770         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25771         multiplication.
25772
25773 2013-01-17  David S. Miller  <davem@davemloft.net>
25774
25775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25776
25777 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25778
25779         [BZ #15023]
25780         * include/complex.h: Condition contents on [!_COMPLEX_H].
25781         (__kernel_casinhf): New prototype.
25782         (__kernel_casinh): Likewise.
25783         (__kernel_casinhl): Likewise.
25784         * math/Makefile (libm_calls): Add k_casinh.
25785         * math/k_casinh.c: New file.
25786         * math/k_casinhf.c: Likewise.
25787         * math/k_casinhl.c: Likewise.
25788         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25789         finite nonzero arguments.
25790         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25791         finite nonzero arguments.
25792         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25793         finite nonzero arguments.
25794         * math/s_casinh.c: Do not include <float.h>.
25795         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25796         * math/s_casinhf.c: Do not include <float.h>.
25797         (__casinhf): Move code for finite nonzero arguments to
25798         k_casinhf.c.
25799         * math/s_casinhl.c: Do not include <float.h>.
25800         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25801         redefine.
25802         (__casinhl): Move code for finite nonzero arguments to
25803         k_casinhl.c.
25804         * math/libm-test.inc (cacos_test): Add more tests.
25805         * sysdeps/i386/fpu/libm-test-ulps: Update.
25806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25807
25808 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25809
25810         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25811         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25812         [!HAVE_MREMAP]: Remove [defined linux] case.
25813         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25814
25815 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25816
25817         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25818
25819 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25820
25821         * elf/elf.h (R_386_SIZE32): New relocation.
25822         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25823         R_386_SIZE32.
25824         (elf_machine_rela): Likewise.
25825         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25826         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25827
25828 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25829
25830         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25831         (FP_FAST_FMA): Do not define.
25832         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25833         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25834         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25835         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25836         !_SOFT_FLOAT]: Likewise.
25837         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25838         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25839         value.
25840         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25841         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25842         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25843         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25844         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25845         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25846         file.
25847
25848 2013-01-16  Andreas Schwab  <schwab@suse.de>
25849
25850         [BZ #14327]
25851         * include/stdlib.h (__mktemp): Add declaration.
25852         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25853         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25854
25855 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25856
25857         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25858         definitions.
25859         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25860         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25861         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25862         definitions here.
25863         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25864         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25865         definitions.
25866         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25867         and ONE.
25868         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25869         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25870         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25871         definitions.
25872         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25873         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25874         definitions.
25875         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25876
25877         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25878
25879 2013-01-15  David S. Miller  <davem@davemloft.net>
25880
25881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25882         trunc{,f} to libm-sysdep_routes.
25883         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25885         file.
25886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25888         file.
25889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25890         file.
25891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25893         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25894         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25895         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25896         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25897         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25898         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25899
25900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25901         nearbyint{,f} to libm-sysdep_routes.
25902         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25904         New file.
25905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25906         file.
25907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25908         New file.
25909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25910         file.
25911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25913         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25914         file.
25915         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25916         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25917         file.
25918         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25919         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25920         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25921
25922         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25923         libc_feholdexcept and libc_fesetenv.
25924
25925 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25926
25927         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25928
25929 2013-01-14  David S. Miller  <davem@davemloft.net>
25930
25931         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25932         (SPARC_ASM_VIS2_IFUNC): Likewise.
25933         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25935         use of 'siam' instruction.
25936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25937         Likewise.
25938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25939         Likewise.
25940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25941         Likewise.
25942         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25943         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25944         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25945         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25947         file.
25948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25949         file.
25950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25951         file.
25952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25953         file.
25954         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25955         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25956         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25957         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25959         new VIS2 routines.
25960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25963         Likewise.
25964         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25965         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25966         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25967         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25969         routines to libm-sysdep_routines.
25970         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25971
25972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25973         fdim/fdimf to libm-sysdep_routines.
25974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25975         file.
25976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25978         file.
25979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25982         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25983         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25984         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25985         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25986
25987 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25988
25989         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25990         to optimize copies.
25991
25992         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25993         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25994         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25995
25996         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25997         local variable MPTWO.
25998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25999         Likewise.
26000
26001 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26002
26003         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26004         GLOB_NOESCAPE.
26005
26006 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26007
26008         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26009
26010 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26011
26012         * manual/pattern.texi (glob_t): Document gl_flags.
26013         (glob64_t): Likewise.
26014
26015 2013-01-11  David S. Miller  <davem@davemloft.net>
26016
26017         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26018         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26019         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26020         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26021         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26022         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26023         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26024         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26025         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26026         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26027         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26028         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26029         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26030
26031         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26032         sparc V9 rather than using V8 code.
26033         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26034         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26035
26036         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26037         Move to...
26038         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26039         Here.
26040
26041 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26042
26043         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26044         not in the main loop.
26045         * configure: Regenerated.
26046
26047 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26048
26049         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26050         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26051         to just #else.
26052         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26053         [!__GLIBC_HAVE_LONG_LONG] case.
26054         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26055         condition to just #else.
26056         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26057         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26058         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26059         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26060         unconditional.
26061         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26062         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26063         #elif condition to just #else.
26064         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26065         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26066         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26067         #elif condition to just #else.
26068
26069 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26070
26071         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26072         (EF_MIPS_ARCH_64): Fix value.
26073         (EF_MIPS_ARCH_32R2): New.
26074         (EF_MIPS_ARCH_64R2): New.
26075
26076 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26077
26078         * Makeconfig (+link-pie-before-libc): New.
26079         (+link-pie-after-libc): Likewise.
26080         (+link-pie-tests): Likewise.
26081         (+link-pie): Rewritten.
26082         (link-before-libc): Remove $(config-LDFLAGS).
26083         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26084         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26085         (config-LDFLAGS): Renamed to ...
26086         (rtld-LDFLAGS): This.
26087         (rtld-tests-LDFLAGS): New macro.
26088         (link-libc-rpath-link): Likewise.
26089         (link-libc-tests-rpath-link): Likewise.
26090         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26091         (link-libc): Prepand $(link-libc-rpath-link).
26092         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26093         (test-program-prefix): New macro.
26094         (test-via-rtld-prefix): Likewise.
26095         (test-program-cmd): Likewise.
26096         (host-test-program-cmd): Likewise.
26097         * Makefile ($(common-objpfx)testrun.sh): Replace
26098         $(run-program-prefix) with $(test-program-prefix).
26099         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26100         $(rtld-LDFLAGS).
26101         ($(common-objpfx)shlib.lds): Likewise.
26102         (build-module-helper): Likewise.
26103         ($(common-objpfx)format.lds): Likewise.
26104         * Rules (binaries-pie-tests): New.
26105         (binaries-pie-notests): Likewise.
26106         (binaries-pie): Rewritten.
26107         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26108         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26109         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26110         (make-test-out): Replace $(host-built-program-cmd) with
26111         $(host-test-program-cmd).
26112         * config.make.in (build-hardcoded-path-in-tests): New variable.
26113         * configure.in (--enable-hardcoded-path-in-tests): New configure
26114         option.
26115         (hardcoded_path_in_tests): New AC_SUBST.
26116         * configure: Regenerated.
26117         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26118         $(built-program-cmd) with $(test-program-cmd).
26119         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26120         (test_program_cmd): This.
26121         * elf/Makefile ($(objpfx)order.out): Run test with
26122         $(test-program-prefix).
26123         ($(objpfx)order2.out): Likewise.
26124         ($(objpfx)tst-initorder.out): Likewise.
26125         ($(objpfx)tst-initorder2.out): Likewise.
26126         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26127         $(test-program-cmd).
26128         ($(objpfx)tst-array1-static.out): Likewise.
26129         ($(objpfx)tst-array2.out): Likewise.
26130         ($(objpfx)tst-array3.out): Likewise.
26131         ($(objpfx)tst-array4.out): Likewise.
26132         ($(objpfx)tst-array5.out): Likewise.
26133         ($(objpfx)tst-array5-static.out): Likewise.
26134         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26135         $(test-program-cmd).
26136         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26137         $(run-program-prefix) with $(test-program-prefix).
26138         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26139         (test_program_prefix): This.
26140         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26141         $(run-program-prefix) with $(test-program-prefix).
26142         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26143         (test_program_prefix): This.
26144         * iconvdata/tst-tables.sh: Likewise.
26145         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26146         $(run-program-prefix) with $(test-program-prefix).
26147         ($(objpfx)tst-translit.out): Likewise.
26148         ($(objpfx)tst-gettext2.out): Likewise.
26149         ($(objpfx)tst-gettext4.out): Likewise.
26150         ($(objpfx)tst-gettext6.out): Likewise.
26151         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26152         (test_program_prefix): This.
26153         * intl/tst-gettext2.sh: Likewise.
26154         * intl/tst-gettext4.sh  Likewise.
26155         * intl/tst-gettext6.sh: Likewise.
26156         * intl/tst-translit.sh: Likewise.
26157         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26158         with $(test-program-cmd).
26159         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26160         $(run-program-prefix) with $(test-program-prefix).
26161         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26162         (test_program_prefix): This.
26163         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26164         $(run-program-prefix) with $(test-program-prefix).
26165         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26166         (test_program_prefix): This.
26167         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26168         * posix/Makefile ($(objpfx)globtest.out): Replace
26169         $(run-via-rtld-prefix) and $(test-wrapper) with
26170         $(test-program-prefix) and $(test-via-rtld-prefix).
26171         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26172         $(test-program-prefix).
26173         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26174         $(host-test-program-cmd).
26175         (tst-spawn-ARGS): Likewise.
26176         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26177         $(test-program-prefix).
26178         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26179         (test_via_rtld_prefix): This.
26180         (test_wrapper): Renamed to ...
26181         (test_program_prefix): This.
26182         (run_program_prefix): Replaced by test_program_prefix.
26183         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26184         (test_program_prefix): This.
26185         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26186         with $(host-test-program-cmd).
26187         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26188         $(run-program-prefix) with $(test-program-prefix).
26189         ($(objpfx)tst-printf.out): Likewise.
26190         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26191         $(test-program-cmd).
26192         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26193         (test_program_prefix): This.
26194         * stdio-common/tst-unbputc.sh: Likewise.
26195         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26196         $(run-program-prefix) with $(test-program-prefix).
26197         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26198         (test_program_prefix): This.
26199         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26200         $(built-program-cmd) with $(test-program-cmd).
26201
26202 2013-01-11  Andreas Jaeger  <aj@suse.de>
26203
26204         [BZ #15003]
26205         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26206         value. Sync with Linux 3.7.
26207
26208 2013-01-10  David S. Miller  <davem@davemloft.net>
26209
26210         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26211         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26212         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26213
26214 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26215
26216         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26217         never set.
26218         * configure: Regenerated.
26219
26220 2013-01-10  David S. Miller  <davem@davemloft.net>
26221
26222         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26223         sparc V9 rather than using V8 code.
26224         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26225         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26226
26227 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26228
26229         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26230         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26231         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26232         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26233         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26234         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26235         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26236         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26237         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26238         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26239         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26240         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26241         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26242         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26243         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26244         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26245         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26246         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26247         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26248         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26249         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26250         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26251         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26252         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26253         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26254         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26255         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26256
26257 2013-01-10  David S. Miller  <davem@davemloft.net>
26258
26259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26260
26261 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26262
26263         * posix/Makefile (tests-static): New variable.
26264         (tests): Add $(tests-static).
26265         (tst-exec-static-ARGS): New variable.
26266         (tst-spawn-static-ARGS): Likewise.
26267         * posix/tst-exec-static.c: New file.
26268         * posix/tst-spawn-static.c: Likewise.
26269         * posix/tst-exec.c: Support run directly.
26270         * posix/tst-spawn.c: Likewise.
26271
26272 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26273
26274         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26275         long.
26276         * math/bits/mathcalls.h (llrint): Likewise.
26277         (llround): Likewise.
26278         * stdlib/stdlib.h (struct drand48_data): Likewise.
26279         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26280         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26281         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26282         Likewise.
26283         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26284         Likewise.
26285         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26286         (elf_greg_t): Likewise.
26287         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26288         (__jmp_buf): Likewise.
26289         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26290         definitions.
26291         (llrint): Likewise, for all definitions.
26292         (llrintl): Likewise.
26293
26294         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26295         Remove [__GNUC__] condition.
26296         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26297         condition to just [__USE_ISOC99].
26298         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26299
26300 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26301
26302         [BZ #14200]
26303         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26304         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26305         defined.
26306         (_POSIX_V6_ILP32_OFF32): Likewise.
26307         (_XBS5_ILP32_OFF32): Likewise.
26308         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26309         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26310
26311 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26312
26313         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26314
26315         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26316         doubles __mpexp_twomm1.  Adjust usage.
26317         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26318         Remove.
26319
26320 2013-01-10  Andreas Schwab  <schwab@suse.de>
26321
26322         [BZ #14964]
26323         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26324         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26325
26326 2013-01-09  David S. Miller  <davem@davemloft.net>
26327
26328         [BZ #15003]
26329         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26330         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26331         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26332         (TCP_FASTOPEN): Define.
26333         (tcp_repair_opt): New structure.
26334         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26335         enum values.
26336         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26337         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26338         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26339         (tcp_cookie_transactions): New structure.
26340
26341 2013-01-09  Anton Blanchard  <anton@samba.org>
26342
26343         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26344         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26345         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26346         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26347
26348 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26349
26350         * include/features.h (__USE_ANSI): Remove.
26351
26352 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26353
26354         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26355
26356         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26357
26358 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26359
26360         * sysdeps/s390/fpu/libm-test-ulps: Update.
26361
26362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26363
26364         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26365         (__acr): Likewise.
26366         (__cpy): Likewise.
26367         (norm): Likewise.
26368         (denorm): Likewise.
26369         (__mp_dbl): Likewise.
26370         (__dbl_mp): Likewise.
26371         (add_magnitudes): Likewise.
26372         (sub_magnitudes): Likewise.
26373         (__add): Likewise.
26374         (__sub): Likewise.
26375         (__mul): Likewise.
26376         (__inv): Likewise.
26377         (__dvd): Likewise.
26378         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26379         (__acr): Likewise.
26380         (__cpy): Likewise.
26381         (norm): Likewise.
26382         (denorm): Likewise.
26383         (__mp_dbl): Likewise.
26384         (__dbl_mp): Likewise.
26385         (add_magnitudes): Likewise.
26386         (sub_magnitudes): Likewise.
26387         (__add): Likewise.
26388         (__sub): Likewise.
26389         (__mul): Likewise.
26390         (__inv): Likewise.
26391         (__dvd): Likewise.
26392         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26393         (__acr): Likewise.
26394         (__cpy): Likewise.
26395         (norm): Likewise.
26396         (denorm): Likewise.
26397         (__mp_dbl): Likewise.
26398         (__dbl_mp): Likewise.
26399         (add_magnitudes): Likewise.
26400         (sub_magnitudes): Likewise.
26401         (__add): Likewise.
26402         (__sub): Likewise.
26403         (__mul): Likewise.
26404         (__inv): Likewise.
26405         (__dvd): Likewise.
26406
26407 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26408
26409         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26410         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26411         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26412         2 && __USE_EXTERN_INLINES]: Likewise.
26413
26414 2013-01-08  Andreas Jaeger  <aj@suse.de>
26415
26416         [BZ# 14985]
26417         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26418         Remove.
26419         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26420         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26421
26422 2013-01-07  Anton Blanchard  <anton@samba.org>
26423
26424         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26425         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26426         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26427         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26428         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26429         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26430         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26431         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26432         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26433         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26434         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26435         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26436         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26437         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26438         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26439         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26440         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26441         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26442         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26443         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26444         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26445         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26446         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26447         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26448         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26449         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26450         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26451         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26452         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26453         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26454         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26455         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26456         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26457         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26458         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26459         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26460         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26461         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26462         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26463         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26464         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26465         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26466         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26467
26468 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26469
26470         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26471         (__MALLOC_PMT): Likewise.
26472         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26473         [__GNUC__], only on [_LIBC].
26474         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26475         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26476         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26477         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26478         forward declaration.
26479         (realloc_hook_ini): Likewise.
26480         (memalign_hook_ini): Likewise.
26481         (__libc_memalign): Do not use __MALLOC_PMT in variable
26482         declaration.
26483         (__libc_valloc): Likewise.
26484         (__libc_pvalloc): Likewise.
26485         (__libc_calloc): Likewise.
26486         (__posix_memalign): Likewise.
26487
26488         [BZ #14996]
26489         * math/s_casinh.c: Include <float.h>.
26490         (__casinh): Do not do computation with squaring and square root
26491         for large arguments.
26492         * math/s_casinhf.c: Include <float.h>.
26493         (__casinhf): Do not do computation with squaring and square root
26494         for large arguments.
26495         * math/s_casinhl.c: Include <float.h>.
26496         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26497         (__casinhl): Do not do computation with squaring and square root
26498         for large arguments.
26499         * math/libm-test.inc (casin_test): Add more tests.
26500         (casinh_test): Likewise.
26501         * sysdeps/i386/fpu/libm-test-ulps: Update.
26502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26503
26504 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26505
26506         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26507         (__x86_64_raw_data_cache_size): Likewise.
26508         (__x86_64_data_cache_size_half): Likewise.
26509         (__x86_64_raw_data_cache_size_half): Likewise.
26510         (__x86_64_shared_cache_size): Likewise.
26511         (__x86_64_raw_shared_cache_size): Likewise.
26512         (__x86_64_shared_cache_size_half): Likewise.
26513         (__x86_64_raw_shared_cache_size_half): Likewise.
26514         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26515         to ...
26516         (__x86_data_cache_size): This.
26517         (__x86_64_raw_data_cache_size): Renamed to ...
26518         (__x86_raw_data_cache_size): This.
26519         (__x86_64_data_cache_size_half): Renamed to ...
26520         (__x86_data_cache_size_half): This.
26521         (__x86_64_raw_data_cache_size_half): Renamed to ...
26522         (__x86_raw_data_cache_size_half): This.
26523         (__x86_64_shared_cache_size): Renamed to ...
26524         (__x86_shared_cache_size): This.
26525         (__x86_64_raw_shared_cache_size): Renamed to ...
26526         (__x86_raw_shared_cache_size): This.
26527         (__x86_64_shared_cache_size_half): Renamed to ...
26528         (__x86_shared_cache_size_half): This.
26529         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26530         (__x86_raw_shared_cache_size_half): This.
26531         * sysdeps/x86_64/memcpy.S: Updated.
26532         * sysdeps/x86_64/memset.S: Likewise.
26533         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26534         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26535         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26536
26537 2013-01-04  David S. Miller  <davem@davemloft.net>
26538
26539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26540
26541 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26542
26543         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26544         1 to avoid redefinition warning.
26545         (__USE_GNU): Don't define.
26546         (init_signaling_nan): Protoize.
26547
26548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26549
26550 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26551
26552         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26553         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26554         (__cpymn): Likewise.
26555         (norm): Remove commented code.
26556         (denorm): Likewise.
26557         (__mp_dbl): Likewise.
26558         (__inv): Likewise.
26559         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26560         (__cpymn): Likewise.
26561         (norm): Remove commented code.
26562         (denorm): Likewise.
26563         (__mp_dbl): Likewise.
26564         (__inv): Likewise.
26565
26566         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26567         mp_no value for 1.0 and 2.0.
26568         (norm): Use RADIXI instead of radixi.d.
26569         (denorm): Likewise.
26570         (__mul): Use 0.0 instead of zero.d.
26571         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26572         mp_no value for 1.0 and 2.0.
26573         (norm): Use RADIXI instead of radixi.d.
26574         (denorm): Likewise.
26575         (__mul): Use 0.0 instead of zero.d.
26576
26577 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26578
26579         [BZ #14994]
26580         * math/s_casinh.c (__casinh): Reduce finite argument to first
26581         quadrant then set signs of results at the end.
26582         * math/s_casinhf.c (__casinhf): Likewise.
26583         * math/s_casinhl.c (__casinhl): Likewise.
26584         * math/libm-test.inc (casin_test): Add more tests.
26585         (casinh_test): Likewise.
26586         * sysdeps/i386/fpu/libm-test-ulps: Update.
26587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26588
26589 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26590
26591         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26592
26593         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26594
26595         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26596         declarations.
26597         (denorm): Likewise.
26598         (__mp_dbl): Likewise.
26599         (__inv): Likewise.
26600
26601         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26602         and adjust the header comment.
26603
26604         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26605         variable name from declaration.
26606
26607 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26608
26609         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26610         Initialize COMMON_CPUID_INDEX_7 element.
26611         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26612         (CPUID_RTM): Likewise.
26613         (HAS_RTM): Likewise.
26614         (COMMON_CPUID_INDEX_7): New enum.
26615
26616 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26617
26618         [BZ #14981]
26619         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26620         size is zero, record memory as freed.
26621
26622 2013-01-03  Andreas Jaeger  <aj@suse.de>
26623
26624         * po/ia.po: Add new Interlingua translation.
26625
26626 2012-01-03  Allan McRae  <allan@archlinux.org>
26627
26628         * locale/programs/localedef.c: Fix description of '--posix' flag.
26629
26630 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26631
26632         * NEWS: Update dates in second copyright notice.
26633         * README: Update copyright dates in example.
26634         * manual/libc.texinfo: Update copyright dates.
26635         * scripts/test-installation.pl: Update copyright date in --version
26636         output.
26637
26638         * hurd/ctty-input.c: Fix copyright notice formatting.
26639         * hurd/ctty-output.c: Likewise.
26640         * hurd/dtable.c: Likewise.
26641         * hurd/hurd-raise.c: Likewise.
26642         * hurd/hurdprio.c: Likewise.
26643         * hurd/msgportdemux.c: Likewise.
26644         * misc/sys/file.h: Likewise.
26645         * misc/sys/ioctl.h: Likewise.
26646         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26647         * sysdeps/mach/hurd/chdir.c: Likewise.
26648         * sysdeps/mach/hurd/fchdir.c: Likewise.
26649         * sysdeps/mach/hurd/rename.c: Likewise.
26650         * sysdeps/mach/hurd/rmdir.c: Likewise.
26651         * sysdeps/mach/hurd/seekdir.c: Likewise.
26652         * sysdeps/mach/hurd/setsid.c: Likewise.
26653         * sysdeps/posix/wait3.c: Likewise.
26654
26655         * All files with FSF copyright notices: Update copyright dates
26656         using scripts/update-copyrights.
26657         * intl/plural.c: Regenerated.
26658         * locale/programs/charmap-kw.h: Likewise.
26659         * locale/programs/locfile-kw.h: Likewise.
26660
26661 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26662
26663         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26664         four values.
26665
26666         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26667         calculation loop and add branch prediction.
26668
26669         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26670         check access beyond bounds of m1np.
26671
26672         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26673         MPTWO.
26674         (__inv): Remove local variable MPTWO to use the global
26675         constant.
26676         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26677         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26678         variable MPTWO.
26679         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26680         MP3HALFS static const.
26681
26682 2013-01-01  David S. Miller  <davem@davemloft.net>
26683
26684         * po/ca.po: Update from translation team.
26685
26686 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26687
26688         * scripts/update-copyrights: New file.
26689         * Makeconfig: Reformat copyright notice.
26690         * ctype/ctype.h: Likewise.
26691         * debug/swprintf_chk.c: Likewise.
26692         * elf/dl-cache.c: Likewise.
26693         * elf/dl-debug.c: Likewise.
26694         * elf/dl-object.c: Likewise.
26695         * grp/initgroups.c: Likewise.
26696         * hurd/Makefile: Likewise.
26697         * hurd/hurd/signal.h: Likewise.
26698         * hurd/hurdfault.c: Likewise.
26699         * hurd/hurdioctl.c: Likewise.
26700         * hurd/hurdlookup.c: Likewise.
26701         * hurd/intr-msg.c: Likewise.
26702         * iconv/gconv_open.c: Likewise.
26703         * libio/swprintf.c: Likewise.
26704         * locale/lc-ctype.c: Likewise.
26705         * locale/nl_langinfo.c: Likewise.
26706         * mach/Machrules: Likewise.
26707         * mach/Makefile: Likewise.
26708         * malloc/obstack.h: Likewise.
26709         * manual/Makefile: Likewise.
26710         * manual/tsort.awk: Likewise.
26711         * misc/bits/stab.def: Likewise.
26712         * nis/nis_print_group_entry.c: Likewise.
26713         * nis/nis_table.c: Likewise.
26714         * nis/nss_compat/compat-pwd.c: Likewise.
26715         * nis/nss_compat/compat-spwd.c: Likewise.
26716         * po/Makefile: Likewise.
26717         * posix/fnmatch.c: Likewise.
26718         * posix/regex.h: Likewise.
26719         * resolv/Makefile: Likewise.
26720         * resolv/nss_dns/dns-network.c: Likewise.
26721         * resolv/res_hconf.c: Likewise.
26722         * scripts/gen-sorted.awk: Likewise.
26723         * soft-fp/soft-fp.h: Likewise.
26724         * stdio-common/printf.h: Likewise.
26725         * stdlib/monetary.h: Likewise.
26726         * stdlib/random.c: Likewise.
26727         * stdlib/random_r.c: Likewise.
26728         * sysdeps/generic/Makefile: Likewise.
26729         * sysdeps/gnu/Makefile: Likewise.
26730         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26731         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26732         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26733         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26734         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26735         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26736         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26737         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26738         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26739         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26740         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26741         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26742         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26743         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26744         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26745         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26746         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26747         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26748         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26749         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26750         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26751         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26752         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26753         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26754         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26755         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26756         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26757         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26758         * sysdeps/mach/hurd/errnos.awk: Likewise.
26759         * sysdeps/mach/hurd/fork.c: Likewise.
26760         * sysdeps/mach/hurd/getcwd.c: Likewise.
26761         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26762         * sysdeps/mach/hurd/mmap.c: Likewise.
26763         * sysdeps/mach/hurd/utimes.c: Likewise.
26764         * sysdeps/mach/hurd/xmknod.c: Likewise.
26765         * sysdeps/posix/profil.c: Likewise.
26766         * sysdeps/posix/readdir_r.c: Likewise.
26767         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26768         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26769         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26770         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26771         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26772         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26773         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26774         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26775         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26776         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26777         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26778         * sysdeps/pthread/lio_listio.c: Likewise.
26779         * sysdeps/sparc/dl-procinfo.h: Likewise.
26780         * sysdeps/unix/i386/sysdep.S: Likewise.
26781         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26782         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26783         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26784         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26786         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26787         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26788         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26789         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26790         * sysdeps/wordsize-32/divdi3.c: Likewise.
26791         * time/sys/time.h: Likewise.
26792         * wcsmbs/Makefile: Likewise.
26793
26794 2013-01-01  David S. Miller  <davem@davemloft.net>
26795
26796         * po/fr.po: Update from translation team.
26797
26798         * catgets/gencat.c: Update copyright year.
26799         * csu/version.c: Likewise.
26800         * debug/catchsegv.sh: Likewise.
26801         * debug/pcprofiledump.c: Likewise.
26802         * debug/xtrace.sh: Likewise.
26803         * elf/ldconfig.c: Likewise.
26804         * elf/ldd.bash.in: Likewise.
26805         * elf/pldd.c: Likewise.
26806         * elf/sotruss.ksh: Likewise.
26807         * elf/sprof.c: Likewise.
26808         * iconv/iconv_prog.c: Likewise.
26809         * iconv/iconvconfig.c: Likewise.
26810         * locale/programs/locale.c: Likewise.
26811         * locale/programs/localedef.c: Likewise.
26812         * login/programs/pt_chown.c: Likewise.
26813         * malloc/memusage.sh: Likewise.
26814         * malloc/memusagestat.c: Likewise.
26815         * malloc/mtrace.pl: Likewise.
26816         * nscd/nscd.c: Likewise.
26817         * nss/getent.c: Likewise.
26818         * nss/makedb.c: Likewise.
26819         * posix/getconf.c: Likewise.
26820
26821 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26822
26823         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26824         numbers.
26825
26826 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26827
26828         * math/bits/mathcalls.h (modf): Use __nonnull.
26829
26830 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26831
26832         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26833         (split): Use macro CN instead of the bare value.
26834         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26835         could be used.
26836         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26837         instead of the bare value.
26838         (power1): Likewise.
26839
26840 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26841
26842         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26843         __ATAN_TWOM.
26844         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26845
26846         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26847         their values.
26848         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26849         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26850         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26851         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26852
26853 2012-12-28  Andreas Jaeger  <aj@suse.de>
26854
26855         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26856         values are from Linux 3.7.
26857
26858         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26859         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26860
26861 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26862
26863         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26864         TRUE case.
26865
26866         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26867         (norm): Likewise.
26868         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26869         variables with preprocessor constants.
26870         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26871         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26872         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26873
26874 2012-12-27  Bruno Haible  <bruno@clisp.org>
26875
26876         [BZ #14317]
26877         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26878         only if needed.
26879
26880 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26881
26882         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26883         and use variable directly.
26884         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26885
26886         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26887         MPONE.
26888         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26889         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26890         variable MPONE.
26891         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26892         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26893         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26894         include directive.  Remove local variable MPONE.
26895         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26896         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26897         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26898
26899 2012-12-25  David S. Miller  <davem@davemloft.net>
26900
26901         * version.h (RELEASE): Set to "development".
26902         (VERSION): Set to "2.17.90".
26903         * NEWS: Add 2.18 section.
26904
26905 2012-12-21  David S. Miller  <davem@davemloft.net>
26906
26907         * po/hr.po: Update from translation team.
26908
26909 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26910
26911         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26912
26913 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26914
26915         * NEWS:  Mention new memcpy for MIPS.
26916
26917 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26918
26919         * manual/contrib.texi (Contributors): Spelling correction.
26920
26921 2012-12-15  David S. Miller  <davem@davemloft.net>
26922
26923         * po/ru.po: Update from translation team.
26924
26925 2012-12-13  David S. Miller  <davem@davemloft.net>
26926
26927         * NEWS: Mention IFUNC testsuite enhancements.
26928
26929         * po/pl.po: Update from translation team.
26930         * po/bg.po: Likewise.
26931
26932         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26933         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26934
26935 2012-12-11  David S. Miller  <davem@davemloft.net>
26936
26937         * po/sv.po: Update from translation team.
26938
26939         * po/vi.po: Update from translation team.
26940
26941         * po/cs.po: Update from translation team.
26942
26943         * po/de.po: Update from translation team.
26944         * po/eo.po: Likewise.
26945         * po/nl.po: Likewise.
26946
26947 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26948
26949         [BZ #14246]
26950         * manual/argp.texi (Argp Helper Functions): Move node to follow
26951         Argp Parsing State.
26952
26953         [BZ #14872]
26954         * manual/conf.texi (Limits on File System Capacity): Mention if
26955         terminating null is included in the max size.
26956
26957 2012-12-10  Andreas Jaeger  <aj@suse.de>
26958
26959         * po/cs.po: Update from translation team.
26960
26961 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26962
26963         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26964         void pointer and cast to uintptr_t.
26965         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26966         path.
26967         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26968         * sysdeps/s390/s390-64/memset.S: Likewise.
26969
26970 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26971
26972         [BZ #14833]
26973         * menual/message.texi (Message Translation): Fix typos.
26974         (Helper programs for gettext): Likewise.
26975
26976 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26977
26978         [BZ #14898]
26979         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26980         Change to -1.
26981
26982 2012-12-07  David S. Miller  <davem@davemloft.net>
26983
26984         * po/libc.pot: Update.
26985
26986 2012-12-07  Richard Henderson  <rth@redhat.com>
26987
26988         [BZ #10114]
26989         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26990         normal/normal case to before the switch.
26991         (_FP_DIV): Likewise.
26992
26993 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26994             Mike Frysinger  <vapier@gentoo.org>
26995
26996         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26997         check for __NR_fadvise64_64.
26998
26999 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27000
27001         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27002         0, not just to plain "0" as a statement.
27003         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27004         with cw.
27005
27006 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27007
27008         * NEWS: Use sourceware.org in Bugzilla URL.
27009
27010 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27011
27012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27013         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27014
27015         * stdio-common/tst-put-error.c (do_test): Add newline to the
27016         padded test to ensure flush.
27017
27018 2012-12-05  Jeff Law  <law@redhat.com>
27019
27020         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27021
27022 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27023
27024         * README: Don't refer to ports add-on as distributed separately.
27025         Mention AArch64 in list of systems supported in the ports add-on.
27026
27027         * LICENSES: Add more non-FSF copyright and license notices.
27028
27029         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27030         ((unused)).
27031
27032         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27033
27034         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27035         10000 as width of padded output.
27036
27037 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27038
27039         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27040
27041         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27042         variable LX with __attribute__ ((unused)).
27043         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27044         Likewise.
27045         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27046         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27047         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27048         with __attribute__ ((unused)).
27049
27050 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27051
27052         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27053
27054 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27055
27056         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27057         (CFLAGS-nldbl-acos.c): New variable.
27058         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27059         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27060         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27061         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27062         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27063         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27064         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27065         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27066         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27067         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27068         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27069         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27070         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27071         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27072         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27073         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27074         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27075         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27076         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27077         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27078         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27079         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27080         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27081         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27082         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27083         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27084         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27085         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27086         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27087         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27088         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27089         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27090         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27091         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27092         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27093         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27094         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27095         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27096         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27097         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27098         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27099         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27100         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27101         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27102         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27103         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27104         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27105         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27106         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27107         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27108         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27109         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27110         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27111         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27112         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27113         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27114         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27115         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27116         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27117         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27118         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27119         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27120         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27121         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27122         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27123         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27124         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27125         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27126         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27127         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27128         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27129         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27130         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27131         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27132         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27133         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27134         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27135         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27136         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27137         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27138         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27139         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27140         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27141         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27142         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27143         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27144         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27145         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27146         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27147         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27148         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27149         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27150         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27151         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27152         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27153         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27154         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27155
27156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27157         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27158
27159         [BZ #14914]
27160         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27161         whole low double instead of just low 47 bits when splitting values
27162         into two parts.
27163
27164 2012-12-03  Allan McRae  <allan@archlinux.org>
27165
27166         * manual/stdio.texi (Predefined Printf Handlers): Remove
27167         @hsep and @vsep usage.
27168
27169 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27170
27171         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27172         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27173
27174 2012-12-03  Jeff Law  <law@redhat.com>
27175
27176         * time/sys/time.h (settimeofday): Do not mark TV argument
27177         as __nonnull.
27178
27179 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27180
27181         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27182         when currently writing and seek to current position when not.
27183         * libio/Makefile (tests): Remove bug-fclose1.
27184         * libio/bug-fclose1.c: Delete.
27185
27186 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27187
27188         * manual/arith.texi (feenableexcept): Fix typo.
27189         (fedisableexcept): Likewise.
27190
27191 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27192
27193         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27194         second, differently-typed declaration, rather than a cast.
27195
27196 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27197
27198         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27199         * include/rpc/svc.h: ... here.
27200
27201 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27202
27203         [BZ #13013]
27204         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27205         depending n and resplen2 to catch cases where answer
27206         equals answerp2.
27207
27208 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27209
27210         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27211         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27212
27213 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27214
27215         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27216
27217 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27218
27219         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27220
27221 2012-11-28  Jeff Law  <law@redhat.com>
27222
27223         [BZ #13761]
27224         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27225         dataset_temporary.  Track alloca usage into alloca_used.
27226         If dataset is large allocate and release it via malloc/free.
27227
27228 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27229
27230         [BZ #14197]
27231         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27232
27233 2012-11-28  David S. Miller  <davem@davemloft.net>
27234
27235         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27236
27237 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27238
27239         [BZ #14803]
27240         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27241         of pi/2 rounded to nearest to 64 bits.
27242         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27243         nearest to 64 bits.
27244         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27245         bits.
27246
27247 2012-11-28  Jeff Law <law@redhat.com>
27248             Martin Osvald <mosvald@redhat.com>
27249
27250         [BZ #14889]
27251         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27252         * sunrpc/svc.c: Include time.h.
27253         (__svc_accept_failed): New function.
27254         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27255         any reason other than EINTR, call __svc_accept_failed.
27256         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27257         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27258
27259 2012-11-28  Andreas Schwab  <schwab@suse.de>
27260
27261         * scripts/abilist.awk: Also handle indirect functions in .opd
27262         section.
27263
27264 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27265
27266         [BZ #13881]
27267         * sysdeps/x86/fpu/powl_helper.c: New file.
27268         * sysdeps/x86/fpu/Makefile: Likewise.
27269         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27270         (p3): New object.
27271         (__ieee754_powl): Use __powl_helper for finite arguments except
27272         integer exponents below 8.
27273         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27274         (p3): New object.
27275         (__ieee754_powl): Use __powl_helper for finite arguments except
27276         integer exponents below 8.
27277         * math/libm-test.inc (pow_test): Add more tests and enable some
27278         previously disabled tests.
27279         * sysdeps/i386/fpu/libm-test-ulps: Update.
27280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27281
27282 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27283             Carlos O'Donell  <carlos_odonell@mentor.com>
27284
27285         * nss/makedb.c (is_prime): Assert that input is odd and greater
27286         than 4.  Note that fact in a comment too.
27287         (next_prime): Add 4 to input.
27288
27289 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27290
27291         [BZ #11741]
27292         * libio/Makefile (tests): Add test case tst-fwrite-error.
27293         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27294         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27295         * libio/tst-fwrite-error.c: New test case.
27296
27297 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27298
27299         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27300         before casting to void *.
27301         * include/libc-internal.h (__pointer_type): New macro.
27302         (__integer_if_pointer_type_sub): Likewise.
27303         (__integer_if_pointer_type): Likewise.
27304         (cast_to_integer): Likewise.
27305         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27306         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27307         before casting to atomic64_t.
27308         (atomic_exchange_acq): Likewise.
27309         (__arch_exchange_and_add_body): Likewise.
27310         (__arch_add_body): Likewise.
27311         (atomic_add_negative): Likewise.
27312         (atomic_add_zero): Likewise.
27313
27314 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27315
27316         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27317         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27318         (add_fdes): Likewise.
27319         (linear_search_fdes): Likewise.
27320         (binary_search_unencoded_fdes): Likewise.
27321
27322 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27323
27324         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27325
27326 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27327
27328         * configure.in: Autodetect C++ header directories.
27329         * configure: Regenerated.
27330
27331 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27332
27333         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27334
27335 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27336
27337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27338
27339 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27340
27341         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27342         LDBL_MANT_DIG == 106]: Disable some tests.
27343         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27344         Likewise.
27345         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27346         Likewise.
27347
27348         [BZ #14871]
27349         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27350         input for small inputs.  Return +/- pi/2 for large inputs.
27351         * math/libm-test.inc (atan_test): Add more tests.
27352
27353         * sysdeps/generic/unwind-dw2-fde-glibc.c
27354         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27355         __attribute__ ((unused)).
27356
27357         [BZ #14645]
27358         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27359         x * y if x and y are nonzero and z is zero.
27360
27361         [BZ #14811]
27362         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27363         nonzero exponents with absolute value below 0x1p-117 to +/-
27364         0x1p-117.
27365
27366         [BZ #14869]
27367         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27368         up arguments below 2**-450, not just those below 2**-500.
27369         * math/libm-test.inc (hypot_test): Add another test.
27370
27371         [BZ #14868]
27372         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27373         Return a+b for ratio over 2**120, not 2**60.
27374         * math/libm-test.inc (hypot_test): Add another test.
27375
27376         * math/libm-test.inc (clog_test): Use
27377         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27378         (clog10_test): Likewise.
27379
27380         [BZ #6778]
27381         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27382
27383 2012-11-22  Andreas Schwab  <schwab@suse.de>
27384
27385         * sysdeps/i386/fpu/libm-test-ulps: Update.
27386
27387 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27388
27389         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27390         printf output with newline.
27391
27392 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27393
27394         [BZ #14865]
27395         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27396         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27397         -z nodlopen, -z initfirst and -z execstack support.
27398         * configure: Regenerated.
27399
27400         * elf/elf.h (DF_1_NODIRECT): New macro.
27401         (DF_1_IGNMULDEF): Likewise.
27402         (DF_1_NOKSYMS): Likewise.
27403         (DF_1_NOHDR): Likewise.
27404         (DF_1_EDITED): Likewise.
27405         (DF_1_NORELOC): Likewise.
27406         (DF_1_SYMINTPOSE): Likewise.
27407         (DF_1_GLOBAUDIT): Likewise.
27408         (DF_1_SINGLETON): Likewise.
27409         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27410         DT_1_SUPPORTED_MASK bits.
27411         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27412
27413 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27414
27415         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27416
27417 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27418
27419         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27420         macro.
27421
27422         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27423         (sendmmsg): Move declarations...
27424         * socket/sys/socket.h: ... here.
27425         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27426         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27427         include it from...
27428         * socket/recvmmsg.c: ... this new file.
27429         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27430         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27431         definition of __sendmmsg hidden.
27432         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27433         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27434         Move ENOSYS stub into and include it from...
27435         * socket/sendmmsg.c: ... this new file.
27436         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27437         (sysdep_routines): Move recvmmsg and sendmmsg...
27438         * socket/Makefile (routines): ... here.
27439         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27440         (GLIBC_PRIVATE): Add __sendmmsg.
27441         * include/sys/socket.h (__sendmmsg): Add declarations.
27442         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27443         sendmmsg.
27444
27445 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27446
27447         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27448         variable I1 with __attribute__ ((unused)).
27449         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27450
27451 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27452
27453         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27454         DUMMY variables with __attribute__ ((unused)).
27455
27456         * bits/byteswap.h: Include <bits/types.h>.
27457         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27458
27459 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27460
27461         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27462         string_t.  Do not manually set errno.
27463         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27464         length with __strnlen.  Make sure to both set errno and return it on
27465         failure.
27466
27467 2012-11-19  David S. Miller  <davem@davemloft.net>
27468
27469         With help from Joseph Myers.
27470         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27471         very large arguments properly.
27472         * math/libm-test.inc (atan_test): New tests.
27473         (atan2_test): New tests.
27474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27475         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27476
27477 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27478
27479         [BZ #14856]
27480         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27481         Define to 3.
27482
27483         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27484         [POSIX] (EADDRNOTAVAIL): Likewise.
27485         [POSIX] (EAFNOSUPPORT): Likewise.
27486         [POSIX] (EALREADY): Likewise.
27487         [POSIX] (ECONNABORTED): Likewise.
27488         [POSIX] (ECONNREFUSED): Likewise.
27489         [POSIX] (ECONNRESET): Likewise.
27490         [POSIX] (EDESTADDRREQ): Likewise.
27491         [POSIX] (EDQUOT): Likewise.
27492         [POSIX] (EHOSTUNREACH): Likewise.
27493         [POSIX] (EIDRM): Likewise.
27494         [POSIX] (EISCONN): Likewise.
27495         [POSIX] (ELOOP): Likewise.
27496         [POSIX] (EMULTIHOP): Likewise.
27497         [POSIX] (ENETDOWN): Likewise.
27498         [POSIX] (ENETUNREACH): Likewise.
27499         [POSIX] (ENOBUFS): Likewise.
27500         [POSIX] (ENODATA): Likewise.
27501         [POSIX] (ENOLINK): Likewise.
27502         [POSIX] (ENOMSG): Likewise.
27503         [POSIX] (ENOPROTOOPT): Likewise.
27504         [POSIX] (ENOSR): Likewise.
27505         [POSIX] (ENOSTR): Likewise.
27506         [POSIX] (ENOTCONN): Likewise.
27507         [POSIX] (ENOTSOCK): Likewise.
27508         [POSIX] (EOPNOTSUPP): Likewise.
27509         [POSIX] (EOVERFLOW): Likewise.
27510         [POSIX] (EPROTO): Likewise.
27511         [POSIX] (EPROTONOSUPPORT): Likewise.
27512         [POSIX] (EPROTOTYPE): Likewise.
27513         [POSIX] (ESTALE): Likewise.
27514         [POSIX] (ETIME): Likewise.
27515         [POSIX] (ETXTBSY): Likewise.
27516         [POSIX] (EWOULDBLOCK): Likewise.
27517         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27518         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27519         [POSIX] (SEEK_CUR): Likewise.
27520         [POSIX] (SEEK_END): Likewise.
27521         [POSIX || UNIX98] (mode_t): Do not require.
27522         [POSIX] (off_t): Likewise.
27523         [POSIX] (pid_t): Likewise.
27524         [POSIX] (sys/stat.h): Do not allow header.
27525         [POSIX] (unistd.h): Likewise.
27526         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27527         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27528         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27529         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27530         require.
27531         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27532         sigevent): Specify elements.
27533         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27534         entry.
27535         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27536         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27537
27538         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27539         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27540         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27541         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27542         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27543         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27544         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27545         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27546         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27547         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27548         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27549         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27550         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27551         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27552         Likewise.
27553         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27554         Likewise.
27555         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27556         Likewise.
27557         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27558         Likewise.
27559         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27560         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27561         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27562         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27563         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27564         Specify lower bound on value.
27565         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27566         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27567         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27568         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27569         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27570         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27571         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27572         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27573         value.
27574         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27575         as optional.
27576         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27577         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27578         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27579         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27580         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27581         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27582         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27583         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27584         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27585         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27586         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27587         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27588         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27589         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27590         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27591         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27592         entry.
27593         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27594         optional.
27595         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27596         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27597         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27598         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27599         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27600         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27601         Likewise.
27602         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27603         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27604         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27605         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27606         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27607         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27608         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27609         as optional.
27610         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27611         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27612         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27613         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27614         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27615         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27616         specify as optional.
27617         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27618         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27619         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27620         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27621         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27622         [XPG3] (NL_LANGMAX): Likewise.
27623         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27624         [POSIX || XPG3] (NL_NMAX): Likewise.
27625         [POSIX || XPG3] (NL_SETMAX): Likewise.
27626         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27627         [XPG3] (NZERO): Likewise.
27628         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27629         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27630         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27631         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27632         (REG_ERANGE): Expect.
27633         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27634         optional-constant.
27635         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27636         Use (void) in prototype.
27637         [POSIX] (*_t): Allow.
27638         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27639         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27640         (WRDE_BADVAL): Expect.
27641
27642         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27643         expect.
27644         [XPG3 || XPG4] (O_RSYNC): Likewise.
27645         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27646         Likewise.
27647         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27648         [XPG3 || XPG4] (sigqueue): Likewise.
27649         [XPG3 || XPG4] (sigtimedwait): Likewise.
27650         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27651         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27652         [XPG3 || XPG4] (vsnprintf): Likewise.
27653         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27654         Likewise.
27655         [XPG3 || XPG4] (blksize_t): Likewise.
27656         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27657         Likewise.
27658         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27659         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27660         [XPG3 || XPG4] (struct itimerspec): Likewise.
27661         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27662         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27663         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27664         [XPG3 || XPG4] (clockid_t): Likewise.
27665         [XPG3 || XPG4] (timer_t): Likewise.
27666         [XPG3 || XPG4] (clock_getres): Likewise.
27667         [XPG3 || XPG4] (clock_gettime): Likewise.
27668         [XPG3 || XPG4] (clock_settime): Likewise.
27669         [XPG3 || XPG4] (nanosleep): Likewise.
27670         [XPG3 || XPG4] (timer_create): Likewise.
27671         [XPG3 || XPG4] (timer_delete): Likewise.
27672         [XPG3 || XPG4] (timer_gettime): Likewise.
27673         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27674         [XPG3 || XPG4] (timer_settime): Likewise.
27675         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27676         [XPG3 || XPG4] (getlogin_r): Likewise.
27677         [XPG3 || XPG4] (pread): Likewise.
27678         [XPG3 || XPG4] (pthread_atfork): Likewise.
27679         [XPG3 || XPG4] (pwrite): Likewise.
27680
27681         [BZ #14835]
27682         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27683         <bits/siginfo.h>.
27684
27685 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27686
27687         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27688         finalizing MALLSTREAM.
27689
27690         * sysdeps/mach/hurd/syncfs.c: New file.
27691
27692 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27693
27694         [BZ #14719]
27695         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27696         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27697         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27698         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27699         (_nss_dns_gethostbyname4_r): Likewise.
27700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27701         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27702
27703 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27704
27705         [BZ #13763]
27706         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27707
27708 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27709
27710         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27711         * elf/cache.c (print_entry): Print ",AArch64" for
27712         FLAG_AARCH64_LIB64
27713
27714         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27715         * elf/cache.c (print_entry): Print ",hard-float" for
27716         FLAG_ARM_LIBHF.
27717
27718 2012-11-18  David S. Miller  <davem@davemloft.net>
27719
27720         With help from Joseph Myers.
27721         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27722         cutoff to 2**-13.
27723         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27724         cutoff to 2**-25.
27725         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27726         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27727         small.
27728         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27729         * math/libm-test.inc (y0_test): New tests.
27730         (y1_test): New tests.
27731         * sysdeps/i386/fpu/libm-test-ulps: Update.
27732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27734
27735 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27736
27737         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27738         64-bit targets.
27739         * configure: Regenerated.
27740
27741 2012-11-17  David S. Miller  <davem@davemloft.net>
27742
27743         [BZ #14811]
27744         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27745         nonzero exponents with absolute value below 0x1p-128 to +/-
27746         0x1p-128.
27747
27748 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27749
27750         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27751
27752         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27753
27754         * posix/getconf-speclist.c: New file.
27755         * posix/posix-envs.def: Likewise.
27756         * posix/confstr.c (START_ENV_GROUP): New macro.
27757         (END_ENV_GROUP): Likewise.
27758         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27759         (KNOWN_PRESENT_ENV_STRING): Likewise.
27760         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27761         (UNKNOWN_ENVIRONMENT): Likewise.
27762         (confstr): Include posix-envs.def instead of handling
27763         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27764         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27765         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27766         (END_ENV_GROUP): Likewise.
27767         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27768         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27769         (UNKNOWN_ENVIRONMENT): Likewise.
27770         (__sysconf): Include posix-envs.def instead of handling associated
27771         cases directly here.
27772         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27773         preprocessing getconf-speclist.c rather than running getconf or
27774         generating empty file.
27775
27776 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27777
27778         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27779
27780 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27781
27782         [BZ #14672]
27783         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27784
27785 2012-11-16  David S. Miller  <davem@davemloft.net>
27786
27787         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27788         smaller than LDBL_EPSILON/2.0L, just return xm1.
27789
27790 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27791
27792         * elf/tst-array1.c (init): Set constructor priority to 1000.
27793         (fini): Set destructor priority to 1000.
27794         * elf/tst-array2dep.c: Likewise.
27795
27796 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27797
27798         [BZ #11741]
27799         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27800         (_IO_new_file_xsputn): Also return EOF if none of the input
27801         data was written when overflow failed.
27802         * libio/iopadn.c (_IO_padn): Likewise.
27803         * libio/iowpadn.c (_IO_wpadn): Likewise.
27804         * stdio-common/tst-put-error.c: Add copyright notice.
27805         (do_test): Add case for printing padded string.
27806         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27807         _IO_padn returned error.
27808         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27809         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27810         return EOF.
27811
27812 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27813
27814         * libio/libioP.h: Add comment note that the references to C++
27815         bits are now obsolete.
27816
27817 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27818
27819         * math/libm-test.inc (check_complex): Use asprintf.
27820
27821 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27822
27823         * debug/pcprofiledump.c (print_version): Update copyright year.
27824         * malloc/memusagestat.c (print_version): Likewise.
27825
27826 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27827
27828         [BZ #14831]
27829         * elf/Makefile (tests): Add tst-audit8.
27830         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27831         ($(objpfx)tst-audit8.out): New target.
27832         (tst-audit8-ENV): New variable.
27833         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27834         audit if l_reloc_result is NULL.
27835         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27836         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27837         * elf/tst-audit8.c: New file.
27838
27839 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27840
27841         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27842         * misc/Makefile (CFLAGS-select.c): Define.
27843         * posix/Makefile (CFLAGS-pause.c): Define.
27844
27845 2012-11-13  David S. Miller  <davem@davemloft.net>
27846
27847         * crypt/Makefile: Move test targets after toplevel Rules
27848         inclusion.  Grab any necessary sysdep routines when linking.
27849         * crypt/md5.c (md5_process_block): Remove define, we will always
27850         name it __md5_process_block.
27851         (md5_finish_ctx): Update md5_process_block call.
27852         (md5_stream): Likewise.
27853         (md5_process_bytes): Likewise.
27854         (md5_process_block): Rename to __md5_process_block and move to ...
27855         * crypt/md5-block.c: ... here.
27856         * crypt/sha256.c (sha256_process_block): Move to ...
27857         * crypt/sha256-block.c: ... here.
27858         * crypt/sha512.c (sha512_process_block): Move to ...
27859         * crypt/sha512-block.c: ... here.
27860         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27861         path.
27862         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27863         * sysdeps/sparc/sparc64/multiarch/Makefile
27864         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27865         crypt subdir.
27866         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27867         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27868         multiarch changes.
27869         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27870         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27871         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27872         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27873         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27874         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27875         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27876         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27877         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27878         file.
27879         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27880         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27881         file.
27882         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27883
27884 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27885
27886         * timezone/tzselect.ksh: Update from tzcode git revision
27887         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27888         * timezone/zdump.c: Likewise.
27889         * timezone/zic.c: Likewise.
27890         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27891         in TZVERSION setting, not $(PKGVERSION).
27892         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27893         REPORT_BUGS_TO settings.
27894
27895         [BZ #14838]
27896         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27897         macro.
27898
27899 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27900
27901         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27902         detection to immediately after _FP_ROUND().
27903         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27904         bits are 0.
27905
27906 2012-11-11  David S. Miller  <davem@davemloft.net>
27907
27908         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27909         inttypes.h
27910         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27911         __close rather than their public counterparts.
27912
27913 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27914
27915         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27916         file.
27917         [UNIX98] (sem_timedwait): Do not expect.
27918         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27919         [XPG4 || UNIX98] (sockatmark): Do not expect.
27920         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27921         (clock_getcpuclockid): Do not expect.
27922         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27923         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27924         Do not expect.
27925         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27926         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27927         [UNIX98] (vwscanf): Likewise.
27928         [UNIX98] (vswscanf): Likewise.
27929
27930 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27931
27932         * timezone/version.h: Remove file.
27933         * timezone/README: Do not refer to version.h.
27934         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27935         $(objpfx)version.h.
27936         ($(objpfx)zdump.o): Likewise.
27937         ($(objpfx)version.h): New target.
27938
27939         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27940         2012i.
27941         * timezone/README: Don't mention modification to tzselect.ksh.
27942         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27943         work on unmodified tzselect.ksh.  Substitute version numbers in
27944         tzselect.ksh.
27945
27946         * Makefile (format-me): Remove.
27947         (INSTALL): Adjust indentation.  Use commands directly instead of
27948         using $(format-me).
27949
27950         * aclocal.m4 (ACX_PKGVERSION): New macro.
27951         (ACX_BUGURL): Likewise.
27952         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27953         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27954         (REPORT_BUGS_TO): Likewise.
27955         * configure: Regenerated.
27956         * config.h.in (PKGVERSION): New macro.
27957         (REPORT_BUGS_TO): Likewise.
27958         * config.make.in (PKGVERSION): New variable.
27959         (PKGVERSION_TEXI): Likewise.
27960         (REPORT_BUGS_TO): Likewise.
27961         (REPORT_BUGS_TEXI): Likewise.
27962         * Makefile (format-me): Use -I$(common-objpfx)manual.
27963         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27964         ($(common-objpfx)manual/%): New target.
27965         (manual/%): Remove target.
27966         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27967         (print_version): Use PKGVERSION.
27968         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27969         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27970         and REPORT_BUGS_TO.
27971         ($(objpfx)xtrace): Likewise.
27972         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27973         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27974         (print_version): Use PKGVERSION.
27975         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27976         (do_version): Use PKGVERSION.
27977         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27978         REPORT_BUGS_TO.
27979         (common-ldd-rewrite): Likewise.
27980         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27981         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27982         (print_version): Use PKGVERSION.
27983         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27984         * elf/pldd.c (argp_program_bug_address): Remove variable.
27985         (more_help): New function.
27986         (argp): Use more_help.
27987         (print_version): Use PKGVERSION.
27988         * elf/sln.c (main): Use PKGVERSION.
27989         (usage): Use REPORT_BUGS_TO.
27990         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27991         (top level): Use PKGVERSION.
27992         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27993         (print_version): Use PKGVERSION.
27994         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27995         (print_version): Use PKGVERSION.
27996         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27997         (print_version): Use PKGVERSION.
27998         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27999         (print_version): Use PKGVERSION.
28000         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28001         (print_version): Use PKGVERSION.
28002         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28003         (print_version): Use PKGVERSION.
28004         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28005         and BUGURL.
28006         ($(objpfx)memusage): Likewise.
28007         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28008         (do_version): Use PKGVERSION.
28009         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28010         (print_version): Use PKGVERSION.
28011         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28012         ($PKGVERSION): New variable.
28013         ($REPORT_BUGS_TO): Likewise.
28014         (usage): Use $REPORT_BUGS_TO.
28015         (top level): Use $PKGVERSION.
28016         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28017         ($(objpfx)pkgvers.texi): New rule.
28018         ($(objpfx)stamp-pkgvers): Likewise.
28019         * manual/install.texi: Include pkgvers.texi.
28020         (--with-pkgversion): Document new configure option.
28021         (--with-bugurl): Likewise.
28022         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28023         than necessarily for this particular distribution.  Use
28024         REPORT_BUGS_TO for where to report bugs.
28025         * INSTALL: Regenerated.
28026         * manual/libc.texinfo: Include pkgvers.texi.
28027         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28028         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28029         (print_version): Use PKGVERSION.
28030         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28031         (print_version): Use PKGVERSION.
28032         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28033         (print_version): Use PKGVERSION.
28034         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28035         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28036         macro.
28037         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28038         (print_version): Use PKGVERSION.
28039         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28040         (print_version): Use PKGVERSION.
28041         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28042         and PKGVERSION.
28043
28044         * timezone/checktab.awk: Update from tzcode 2012i.
28045         * timezone/ialloc.c: Likewise.
28046         * timezone/private.h: Likewise.
28047         * timezone/scheck.c: Likewise.
28048         * timezone/tzfile.h: Likewise.
28049         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28050         (TZVERSION): Hardcode tzcode version number.
28051         * timezone/zdump.c: Update from tzcode 2012i.
28052         * timezone/zic.c: Likewise.
28053         * timezone/version.h: New file.
28054         * timezone/README: Describe version.h.  Update upstream location.
28055
28056         [BZ #14824]
28057         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28058         (mktemp): Enable declaration.
28059         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28060         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28061         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28062         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28063         Likewise.
28064         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28065         Likewise.
28066         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28067         Likewise.
28068         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28069         Likewise.
28070         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28071         Likewise.
28072         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28073         Likewise.
28074
28075         [BZ #14821]
28076         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28077         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28078         for copies of such integer values.
28079         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28080         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28081
28082 2012-11-09  Andreas Jaeger  <aj@suse.de>
28083
28084         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28085         definitions and declarations that are provided by
28086         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28087
28088 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28089
28090         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28091         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28092         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28093         definition.
28094
28095 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28096
28097         * elf/elf.h: Update comment before AArch64 relocations.
28098
28099 2012-11-07  David S. Miller  <davem@davemloft.net>
28100
28101         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28102         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28103         (__start_context): Declare.
28104         (__makecontext_ret): Delete.
28105         (__makecontext): Hook up __start_context instead of
28106         __makecontext_ret.
28107         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28108         (sysdep_routines): Add __start_context when in stdlib.
28109
28110 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28111
28112         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28113         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28114         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28115         hardcoded "nm".
28116         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28117         (READELF): New variable.  Use it instead of hardcoded "readelf".
28118
28119 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28120
28121         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28122         * sysdeps/x86/Makefile: Here.
28123         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28124         * sysdeps/x86/tst-xmmymm.sh: This.
28125
28126 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28127
28128         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28129         expectations.
28130         [UNIX98] (pthread_barrier_t): Do not expect.
28131         [UNIX98] (pthread_barrierattr_t): Likewise.
28132         [UNIX98] (pthread_spinlock_t): Likewise.
28133         [UNIX98] (pthread_barrier_destroy): Likewise.
28134         [UNIX98] (pthread_barrier_init): Likewise.
28135         [UNIX98] (pthread_barrier_wait): Likewise.
28136         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28137         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28138         [UNIX98] (pthread_barrierattr_init): Likewise.
28139         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28140         [UNIX98] (pthread_getcpuclockid): Likewise.
28141         [UNIX98] (pthread_mutex_timedlock): Likewise.
28142         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28143         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28144         [UNIX98] (pthread_sigmask): Likewise.
28145         [UNIX98] (pthread_spin_destroy): Likewise.
28146         [UNIX98] (pthread_spin_init): Likewise.
28147         [UNIX98] (pthread_spin_lock): Likewise.
28148         [UNIX98] (pthread_spin_trylock): Likewise.
28149         [UNIX98] (pthread_spin_unlock): Likewise.
28150         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28151         Do not expect.
28152         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28153         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28154         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28155         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28156         [XPG3 || XPG4] (pthread_key_t): Likewise.
28157         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28158         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28159         [XPG3 || XPG4] (pthread_once_t): Likewise.
28160         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28161         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28162         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28163         [XPG3 || XPG4] (pthread_t): Likewise.
28164
28165         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28166         not expect.
28167         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28168
28169         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28170         Change function return type to int.
28171
28172         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28173         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28174         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28175         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28176         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28177         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28178         [!POSIX] (posix_madvise): Likewise.
28179         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28180         && !UNIX98].
28181         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28182         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28183         (mode_t): Likewise.
28184         (posix_mem_offset): Likewise.
28185         (posix_typed_mem_get_info): Likewise.
28186         (posix_typed_mem_open): Likewise.
28187
28188         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28189         Change condition to [XOPEN2K8].
28190
28191         * conform/conformtest.pl: Preprocess allow-header data with -x c
28192         instead of from stdin.
28193         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28194         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28195         [C99-based standards] (cerfc): Likewise.
28196         [C99-based standards] (cexp2): Likewise.
28197         [C99-based standards] (cexpm1): Likewise.
28198         [C99-based standards] (clog10): Likewise.
28199         [C99-based standards] (clog1p): Likewise.
28200         [C99-based standards] (clog2): Likewise.
28201         [C99-based standards] (clgamma): Likewise.
28202         [C99-based standards] (ctgamma): Likewise.
28203         [C99-based standards] (cerff): Likewise.
28204         [C99-based standards] (cerfcf): Likewise.
28205         [C99-based standards] (cexp2f): Likewise.
28206         [C99-based standards] (cexpm1f): Likewise.
28207         [C99-based standards] (clog10f): Likewise.
28208         [C99-based standards] (clog1pf): Likewise.
28209         [C99-based standards] (clog2f): Likewise.
28210         [C99-based standards] (clgammaf): Likewise.
28211         [C99-based standards] (ctgammaf): Likewise.
28212         [C99-based standards] (cerfl): Likewise.
28213         [C99-based standards] (cerfcl): Likewise.
28214         [C99-based standards] (cexp2l): Likewise.
28215         [C99-based standards] (cexpm1l): Likewise.
28216         [C99-based standards] (clog10l): Likewise.
28217         [C99-based standards] (clog1pl): Likewise.
28218         [C99-based standards] (clog2l): Likewise.
28219         [C99-based standards] (clgammal): Likewise.
28220         [C99-based standards] (ctgammal): Likewise.
28221         * conform/data/inttypes.h-data [C99-based standards]: Include
28222         stdint.h-data.  Remove all expectations for stdint.h contents.
28223         [C99-based standards] (PRI*): Do not allow.
28224         [C99-based standards] (SCN*): Likewise.
28225         [C99-based standards] (*_t): Likewise.
28226         [C99-based-standards] (PRId8): Expect macro.
28227         [C99-based-standards] (PRIi8): Likewise.
28228         [C99-based-standards] (PRIo8): Likewise.
28229         [C99-based-standards] (PRIu8): Likewise.
28230         [C99-based-standards] (PRIx8): Likewise.
28231         [C99-based-standards] (PRIX8): Likewise.
28232         [C99-based-standards] (SCNd8): Likewise.
28233         [C99-based-standards] (SCNi8): Likewise.
28234         [C99-based-standards] (SCNo8): Likewise.
28235         [C99-based-standards] (SCNu8): Likewise.
28236         [C99-based-standards] (SCNx8): Likewise.
28237         [C99-based-standards] (PRIdLEAST8): Likewise.
28238         [C99-based-standards] (PRIiLEAST8): Likewise.
28239         [C99-based-standards] (PRIoLEAST8): Likewise.
28240         [C99-based-standards] (PRIuLEAST8): Likewise.
28241         [C99-based-standards] (PRIxLEAST8): Likewise.
28242         [C99-based-standards] (PRIXLEAST8): Likewise.
28243         [C99-based-standards] (SCNdLEAST8): Likewise.
28244         [C99-based-standards] (SCNiLEAST8): Likewise.
28245         [C99-based-standards] (SCNoLEAST8): Likewise.
28246         [C99-based-standards] (SCNuLEAST8): Likewise.
28247         [C99-based-standards] (SCNxLEAST8): Likewise.
28248         [C99-based-standards] (PRIdFAST8): Likewise.
28249         [C99-based-standards] (PRIiFAST8): Likewise.
28250         [C99-based-standards] (PRIoFAST8): Likewise.
28251         [C99-based-standards] (PRIuFAST8): Likewise.
28252         [C99-based-standards] (PRIxFAST8): Likewise.
28253         [C99-based-standards] (PRIXFAST8): Likewise.
28254         [C99-based-standards] (SCNdFAST8): Likewise.
28255         [C99-based-standards] (SCNiFAST8): Likewise.
28256         [C99-based-standards] (SCNoFAST8): Likewise.
28257         [C99-based-standards] (SCNuFAST8): Likewise.
28258         [C99-based-standards] (SCNxFAST8): Likewise.
28259         [C99-based-standards] (PRId16): Likewise.
28260         [C99-based-standards] (PRIi16): Likewise.
28261         [C99-based-standards] (PRIo16): Likewise.
28262         [C99-based-standards] (PRIu16): Likewise.
28263         [C99-based-standards] (PRIx16): Likewise.
28264         [C99-based-standards] (PRIX16): Likewise.
28265         [C99-based-standards] (SCNd16): Likewise.
28266         [C99-based-standards] (SCNi16): Likewise.
28267         [C99-based-standards] (SCNo16): Likewise.
28268         [C99-based-standards] (SCNu16): Likewise.
28269         [C99-based-standards] (SCNx16): Likewise.
28270         [C99-based-standards] (PRIdLEAST16): Likewise.
28271         [C99-based-standards] (PRIiLEAST16): Likewise.
28272         [C99-based-standards] (PRIoLEAST16): Likewise.
28273         [C99-based-standards] (PRIuLEAST16): Likewise.
28274         [C99-based-standards] (PRIxLEAST16): Likewise.
28275         [C99-based-standards] (PRIXLEAST16): Likewise.
28276         [C99-based-standards] (SCNdLEAST16): Likewise.
28277         [C99-based-standards] (SCNiLEAST16): Likewise.
28278         [C99-based-standards] (SCNoLEAST16): Likewise.
28279         [C99-based-standards] (SCNuLEAST16): Likewise.
28280         [C99-based-standards] (SCNxLEAST16): Likewise.
28281         [C99-based-standards] (PRIdFAST16): Likewise.
28282         [C99-based-standards] (PRIiFAST16): Likewise.
28283         [C99-based-standards] (PRIoFAST16): Likewise.
28284         [C99-based-standards] (PRIuFAST16): Likewise.
28285         [C99-based-standards] (PRIxFAST16): Likewise.
28286         [C99-based-standards] (PRIXFAST16): Likewise.
28287         [C99-based-standards] (SCNdFAST16): Likewise.
28288         [C99-based-standards] (SCNiFAST16): Likewise.
28289         [C99-based-standards] (SCNoFAST16): Likewise.
28290         [C99-based-standards] (SCNuFAST16): Likewise.
28291         [C99-based-standards] (SCNxFAST16): Likewise.
28292         [C99-based-standards] (PRId32): Likewise.
28293         [C99-based-standards] (PRIi32): Likewise.
28294         [C99-based-standards] (PRIo32): Likewise.
28295         [C99-based-standards] (PRIu32): Likewise.
28296         [C99-based-standards] (PRIx32): Likewise.
28297         [C99-based-standards] (PRIX32): Likewise.
28298         [C99-based-standards] (SCNd32): Likewise.
28299         [C99-based-standards] (SCNi32): Likewise.
28300         [C99-based-standards] (SCNo32): Likewise.
28301         [C99-based-standards] (SCNu32): Likewise.
28302         [C99-based-standards] (SCNx32): Likewise.
28303         [C99-based-standards] (PRIdLEAST32): Likewise.
28304         [C99-based-standards] (PRIiLEAST32): Likewise.
28305         [C99-based-standards] (PRIoLEAST32): Likewise.
28306         [C99-based-standards] (PRIuLEAST32): Likewise.
28307         [C99-based-standards] (PRIxLEAST32): Likewise.
28308         [C99-based-standards] (PRIXLEAST32): Likewise.
28309         [C99-based-standards] (SCNdLEAST32): Likewise.
28310         [C99-based-standards] (SCNiLEAST32): Likewise.
28311         [C99-based-standards] (SCNoLEAST32): Likewise.
28312         [C99-based-standards] (SCNuLEAST32): Likewise.
28313         [C99-based-standards] (SCNxLEAST32): Likewise.
28314         [C99-based-standards] (PRIdFAST32): Likewise.
28315         [C99-based-standards] (PRIiFAST32): Likewise.
28316         [C99-based-standards] (PRIoFAST32): Likewise.
28317         [C99-based-standards] (PRIuFAST32): Likewise.
28318         [C99-based-standards] (PRIxFAST32): Likewise.
28319         [C99-based-standards] (PRIXFAST32): Likewise.
28320         [C99-based-standards] (SCNdFAST32): Likewise.
28321         [C99-based-standards] (SCNiFAST32): Likewise.
28322         [C99-based-standards] (SCNoFAST32): Likewise.
28323         [C99-based-standards] (SCNuFAST32): Likewise.
28324         [C99-based-standards] (SCNxFAST32): Likewise.
28325         [C99-based-standards] (PRId64): Likewise.
28326         [C99-based-standards] (PRIi64): Likewise.
28327         [C99-based-standards] (PRIo64): Likewise.
28328         [C99-based-standards] (PRIu64): Likewise.
28329         [C99-based-standards] (PRIx64): Likewise.
28330         [C99-based-standards] (PRIX64): Likewise.
28331         [C99-based-standards] (SCNd64): Likewise.
28332         [C99-based-standards] (SCNi64): Likewise.
28333         [C99-based-standards] (SCNo64): Likewise.
28334         [C99-based-standards] (SCNu64): Likewise.
28335         [C99-based-standards] (SCNx64): Likewise.
28336         [C99-based-standards] (PRIdLEAST64): Likewise.
28337         [C99-based-standards] (PRIiLEAST64): Likewise.
28338         [C99-based-standards] (PRIoLEAST64): Likewise.
28339         [C99-based-standards] (PRIuLEAST64): Likewise.
28340         [C99-based-standards] (PRIxLEAST64): Likewise.
28341         [C99-based-standards] (PRIXLEAST64): Likewise.
28342         [C99-based-standards] (SCNdLEAST64): Likewise.
28343         [C99-based-standards] (SCNiLEAST64): Likewise.
28344         [C99-based-standards] (SCNoLEAST64): Likewise.
28345         [C99-based-standards] (SCNuLEAST64): Likewise.
28346         [C99-based-standards] (SCNxLEAST64): Likewise.
28347         [C99-based-standards] (PRIdFAST64): Likewise.
28348         [C99-based-standards] (PRIiFAST64): Likewise.
28349         [C99-based-standards] (PRIoFAST64): Likewise.
28350         [C99-based-standards] (PRIuFAST64): Likewise.
28351         [C99-based-standards] (PRIxFAST64): Likewise.
28352         [C99-based-standards] (PRIXFAST64): Likewise.
28353         [C99-based-standards] (SCNdFAST64): Likewise.
28354         [C99-based-standards] (SCNiFAST64): Likewise.
28355         [C99-based-standards] (SCNoFAST64): Likewise.
28356         [C99-based-standards] (SCNuFAST64): Likewise.
28357         [C99-based-standards] (SCNxFAST64): Likewise.
28358         [C99-based-standards] (PRIdMAX): Likewise.
28359         [C99-based-standards] (PRIiMAX): Likewise.
28360         [C99-based-standards] (PRIoMAX): Likewise.
28361         [C99-based-standards] (PRIuMAX): Likewise.
28362         [C99-based-standards] (PRIxMAX): Likewise.
28363         [C99-based-standards] (PRIXMAX): Likewise.
28364         [C99-based-standards] (SCNdMAX): Likewise.
28365         [C99-based-standards] (SCNiMAX): Likewise.
28366         [C99-based-standards] (SCNoMAX): Likewise.
28367         [C99-based-standards] (SCNuMAX): Likewise.
28368         [C99-based-standards] (SCNxMAX): Likewise.
28369         [C99-based-standards] (PRIdPTR): Likewise.
28370         [C99-based-standards] (PRIiPTR): Likewise.
28371         [C99-based-standards] (PRIoPTR): Likewise.
28372         [C99-based-standards] (PRIuPTR): Likewise.
28373         [C99-based-standards] (PRIxPTR): Likewise.
28374         [C99-based-standards] (PRIXPTR): Likewise.
28375         [C99-based-standards] (SCNdPTR): Likewise.
28376         [C99-based-standards] (SCNiPTR): Likewise.
28377         [C99-based-standards] (SCNoPTR): Likewise.
28378         [C99-based-standards] (SCNuPTR): Likewise.
28379         [C99-based-standards] (SCNxPTR): Likewise.
28380         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28381         allow.
28382         * conform/data/stdint.h-data: Update comments to clarify
28383         requirements.
28384         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28385         type.
28386         [C99-based standards] (INT8_MAX): Likewise.
28387         [C99-based standards] (INT16_MIN): Likewise.
28388         [C99-based standards] (INT16_MAX): Likewise.
28389         [C99-based standards] (INT32_MIN): Likewise.
28390         [C99-based standards] (INT32_MAX): Likewise.
28391         [C99-based standards] (INT64_MIN): Likewise.
28392         [C99-based standards] (INT64_MAX): Likewise.
28393         [C99-based standards] (UINT8_MAX): Likewise.
28394         [C99-based standards] (UINT16_MAX): Likewise.
28395         [C99-based standards] (UINT32_MAX): Likewise.
28396         [C99-based standards] (UINT64_MAX): Likewise.
28397         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28398         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28399         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28400         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28401         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28402         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28403         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28404         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28405         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28406         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28407         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28408         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28409         [C99-based standards] (INT_FAST8_MIN): Likewise.
28410         [C99-based standards] (INT_FAST8_MAX): Likewise.
28411         [C99-based standards] (INT_FAST16_MIN): Likewise.
28412         [C99-based standards] (INT_FAST16_MAX): Likewise.
28413         [C99-based standards] (INT_FAST32_MIN): Likewise.
28414         [C99-based standards] (INT_FAST32_MAX): Likewise.
28415         [C99-based standards] (INT_FAST64_MIN): Likewise.
28416         [C99-based standards] (INT_FAST64_MAX): Likewise.
28417         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28418         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28419         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28420         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28421         [C99-based standards] (INTPTR_MIN): Likewise.
28422         [C99-based standards] (INTPTR_MAX): Likewise.
28423         [C99-based standards] (UINTPTR_MAX): Likewise.
28424         [C99-based standards] (INTMAX_MIN): Likewise.
28425         [C99-based standards] (INTMAX_MAX): Likewise.
28426         [C99-based standards] (UINTMAX_MAX): Likewise.
28427         [C99-based standards] (PTRDIFF_MIN): Likewise.
28428         [C99-based standards] (PTRDIFF_MAX): Likewise.
28429         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28430         [C99-based standards] (SIZE_MAX): Likewise.
28431         [C99-based standards] (WCHAR_MAX): Likewise.
28432         [C99-based standards] (WINT_MAX): Likewise.
28433         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28434         constraint on value.
28435         [C99-based standards] (WCHAR_MIN): Likewise.
28436         [C99-based standards] (WINT_MIN): Likewise.
28437         [C99-based standards] (*_t): Allow.
28438         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28439         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28440         Include math.h-data and complex.h-data.  Remove all expectations
28441         of math.h and complex.h contents.
28442         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28443         at end of line.
28444         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28445         (struct tm): Expect tag.
28446         [C99-based-standards] (wcstof): Expect function.
28447         [C99-based-standards] (wcstold): Likewise.
28448         [C99-based-standards] (wcstoll): Likewise.
28449         [C99-based-standards] (wcstoull): Likewise.
28450         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28451         macro-int-constant.  Specify type.
28452         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28453         constraint on value.
28454         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28455         Specify type.
28456         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28457         Specify value.
28458         [ISO C standards]: Do not allow headers.
28459         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28460         wcs[abcdefghijklmnopqrstuvwxyz]*.
28461         [ISO C standards] (*_t): Do not allow.
28462         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28463         Expect function.
28464         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28465         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28466         Specify type.
28467         [ISO C standards]: Do not allow headers.
28468         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28469         is[abcdefghijklmnopqrstuvwxyz]*.
28470         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28471         to[abcdefghijklmnopqrstuvwxyz]*.
28472         [ISO C standards] (*_t): Do not allow.
28473         * conform/data/stdalign.h-data: New file.
28474         * conform/data/stdbool.h-data: Likewise.
28475         * conform/data/stdnoreturn.h-data: Likewise.
28476
28477 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28478
28479         [BZ #14815]
28480         * manual/filesys.texi (Directory Entries): Typo fix.
28481         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28482
28483 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28484
28485         * elf/elf.h (EM_AARCH64): New macro.
28486         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28487         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28488         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28489         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28490         (R_AARCH64_TLSDESC): Likewise.
28491         (NT_ARM_TLS): Likewise.
28492         (NT_ARM_HW_BREAK): Likewise.
28493         (NT_ARM_HW_WATCH): Likewise.
28494
28495 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28496
28497         [BZ #14811]
28498         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28499         (__ieee754_powl): Saturate nonzero exponents with absolute value
28500         below 0x1p-79 to +/- 0x1p-79.
28501         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28502         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28503         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28504         nonzero exponents with absolute value below 0x1p-32 to +/-
28505         0x1p-32.
28506         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28507         (__ieee754_powl): Saturate nonzero exponents with absolute value
28508         below 0x1p-79 to +/- 0x1p-79.
28509         * math/libm-test.inc (pow_test): Add more tests.
28510
28511 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28512
28513         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28514         _dl_s390_cap_flags with kernel. Increase string length.
28515         (_dl_s390_platforms): Add z196 and zEC12.
28516
28517 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28518
28519         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28520         Change XOPEN21K to XOPEN2K.
28521
28522 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28523
28524         * string/memmove.c: Use memcpy when possible.
28525
28526 2012-11-06  Andreas Jaeger  <aj@suse.de>
28527
28528         * po/eo.po: Update from translation team.
28529
28530 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28531
28532         [BZ #14793]
28533         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28534         exponent and small x and y exponents, scale x or y up.  Increase
28535         by 2 the exponent used in scaling up.
28536         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28537         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28538         * math/libm-test.inc (fma_test): Add more tests.
28539         (fma_test_towardzero): Likewise.
28540         (fma_test_downward): Likewise.
28541         (fma_test_upward): Likewise.
28542
28543 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28544
28545         [BZ #14805]
28546         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28547         fenv_t *.
28548
28549         [BZ #14801]
28550         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28551         namespace for names of struct fields.
28552         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28553         fenv_t fields.
28554         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28555         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28556
28557 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28558
28559         [BZ #3665]
28560         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28561
28562 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28563
28564         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28565         PTR_DEMANGLE.
28566
28567         [BZ #5246]
28568         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28569         PTR_DEMANGLE.
28570
28571 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28572
28573         [BZ #14797]
28574         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28575         definitely overflow as x * y not x * y + z.
28576         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28577         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28578         * math/libm-test.inc (fma_test): Add more tests.
28579         (fma_test_towardzero): Likewise.
28580         (fma_test_downward): Likewise.
28581         (fma_test_upward): Likewise.
28582
28583 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28584
28585         [BZ #157]
28586
28587         * include/stub-tag.h: Remove file.
28588         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28589         '#include' of it.
28590         * manual/maint.texi (Porting): Don't reference it.
28591         * Makerules ($(objpfx)stubs): Likewise.
28592         * dirent/closedir.c: Don't include <stub-tag.h>.
28593         * dirent/dirfd.c: Likewise.
28594         * dirent/fdopendir.c: Likewise.
28595         * dirent/getdents.c: Likewise.
28596         * dirent/getdents64.c: Likewise.
28597         * dirent/opendir.c: Likewise.
28598         * dirent/readdir.c: Likewise.
28599         * dirent/readdir64.c: Likewise.
28600         * dirent/readdir64_r.c: Likewise.
28601         * dirent/readdir_r.c: Likewise.
28602         * dirent/rewinddir.c: Likewise.
28603         * dirent/seekdir.c: Likewise.
28604         * dirent/telldir.c: Likewise.
28605         * gmon/profil.c: Likewise.
28606         * grp/setgroups.c: Likewise.
28607         * inet/if_index.c: Likewise.
28608         * io/access.c: Likewise.
28609         * io/chdir.c: Likewise.
28610         * io/chmod.c: Likewise.
28611         * io/chown.c: Likewise.
28612         * io/close.c: Likewise.
28613         * io/dup.c: Likewise.
28614         * io/dup2.c: Likewise.
28615         * io/dup3.c: Likewise.
28616         * io/euidaccess.c: Likewise.
28617         * io/faccessat.c: Likewise.
28618         * io/fchdir.c: Likewise.
28619         * io/fchmod.c: Likewise.
28620         * io/fchmodat.c: Likewise.
28621         * io/fchown.c: Likewise.
28622         * io/fchownat.c: Likewise.
28623         * io/fcntl.c: Likewise.
28624         * io/flock.c: Likewise.
28625         * io/fstatfs.c: Likewise.
28626         * io/fstatfs64.c: Likewise.
28627         * io/fstatvfs.c: Likewise.
28628         * io/fstatvfs64.c: Likewise.
28629         * io/futimens.c: Likewise.
28630         * io/fxstat.c: Likewise.
28631         * io/fxstat64.c: Likewise.
28632         * io/fxstatat.c: Likewise.
28633         * io/fxstatat64.c: Likewise.
28634         * io/getcwd.c: Likewise.
28635         * io/isatty.c: Likewise.
28636         * io/lchmod.c: Likewise.
28637         * io/lchown.c: Likewise.
28638         * io/link.c: Likewise.
28639         * io/linkat.c: Likewise.
28640         * io/lseek.c: Likewise.
28641         * io/lseek64.c: Likewise.
28642         * io/lxstat64.c: Likewise.
28643         * io/mkdir.c: Likewise.
28644         * io/mkdirat.c: Likewise.
28645         * io/mkfifo.c: Likewise.
28646         * io/mkfifoat.c: Likewise.
28647         * io/open.c: Likewise.
28648         * io/open64.c: Likewise.
28649         * io/openat.c: Likewise.
28650         * io/openat64.c: Likewise.
28651         * io/pipe.c: Likewise.
28652         * io/pipe2.c: Likewise.
28653         * io/poll.c: Likewise.
28654         * io/posix_fadvise.c: Likewise.
28655         * io/posix_fadvise64.c: Likewise.
28656         * io/posix_fallocate.c: Likewise.
28657         * io/posix_fallocate64.c: Likewise.
28658         * io/read.c: Likewise.
28659         * io/readlink.c: Likewise.
28660         * io/readlinkat.c: Likewise.
28661         * io/rmdir.c: Likewise.
28662         * io/sendfile.c: Likewise.
28663         * io/sendfile64.c: Likewise.
28664         * io/statfs.c: Likewise.
28665         * io/statfs64.c: Likewise.
28666         * io/statvfs.c: Likewise.
28667         * io/statvfs64.c: Likewise.
28668         * io/symlink.c: Likewise.
28669         * io/symlinkat.c: Likewise.
28670         * io/ttyname.c: Likewise.
28671         * io/ttyname_r.c: Likewise.
28672         * io/umask.c: Likewise.
28673         * io/unlink.c: Likewise.
28674         * io/unlinkat.c: Likewise.
28675         * io/utime.c: Likewise.
28676         * io/utimensat.c: Likewise.
28677         * io/write.c: Likewise.
28678         * io/xmknod.c: Likewise.
28679         * io/xmknodat.c: Likewise.
28680         * io/xstat.c: Likewise.
28681         * io/xstat64.c: Likewise.
28682         * login/getpt.c: Likewise.
28683         * login/grantpt.c: Likewise.
28684         * login/unlockpt.c: Likewise.
28685         * math/e_acoshl.c: Likewise.
28686         * math/e_acosl.c: Likewise.
28687         * math/e_asinl.c: Likewise.
28688         * math/e_atan2l.c: Likewise.
28689         * math/e_atanhl.c: Likewise.
28690         * math/e_coshl.c: Likewise.
28691         * math/e_expl.c: Likewise.
28692         * math/e_fmodl.c: Likewise.
28693         * math/e_gammal_r.c: Likewise.
28694         * math/e_hypotl.c: Likewise.
28695         * math/e_j0l.c: Likewise.
28696         * math/e_j1l.c: Likewise.
28697         * math/e_jnl.c: Likewise.
28698         * math/e_lgammal_r.c: Likewise.
28699         * math/e_log10l.c: Likewise.
28700         * math/e_log2l.c: Likewise.
28701         * math/e_logl.c: Likewise.
28702         * math/e_powl.c: Likewise.
28703         * math/e_rem_pio2l.c: Likewise.
28704         * math/e_sinhl.c: Likewise.
28705         * math/e_sqrtl.c: Likewise.
28706         * math/fclrexcpt.c: Likewise.
28707         * math/fedisblxcpt.c: Likewise.
28708         * math/feenablxcpt.c: Likewise.
28709         * math/fegetenv.c: Likewise.
28710         * math/fegetexcept.c: Likewise.
28711         * math/fegetround.c: Likewise.
28712         * math/feholdexcpt.c: Likewise.
28713         * math/fesetenv.c: Likewise.
28714         * math/fesetround.c: Likewise.
28715         * math/feupdateenv.c: Likewise.
28716         * math/fgetexcptflg.c: Likewise.
28717         * math/fraiseexcpt.c: Likewise.
28718         * math/fsetexcptflg.c: Likewise.
28719         * math/ftestexcept.c: Likewise.
28720         * math/k_cosl.c: Likewise.
28721         * math/k_rem_pio2l.c: Likewise.
28722         * math/k_sinl.c: Likewise.
28723         * math/k_tanl.c: Likewise.
28724         * math/s_asinhl.c: Likewise.
28725         * math/s_atanl.c: Likewise.
28726         * math/s_cbrtl.c: Likewise.
28727         * math/s_erfl.c: Likewise.
28728         * math/s_expm1l.c: Likewise.
28729         * math/s_log1pl.c: Likewise.
28730         * math/s_tanhl.c: Likewise.
28731         * misc/acct.c: Likewise.
28732         * misc/brk.c: Likewise.
28733         * misc/chflags.c: Likewise.
28734         * misc/chroot.c: Likewise.
28735         * misc/fchflags.c: Likewise.
28736         * misc/fgetxattr.c: Likewise.
28737         * misc/flistxattr.c: Likewise.
28738         * misc/fremovexattr.c: Likewise.
28739         * misc/fsetxattr.c: Likewise.
28740         * misc/fsync.c: Likewise.
28741         * misc/ftruncate.c: Likewise.
28742         * misc/futimes.c: Likewise.
28743         * misc/futimesat.c: Likewise.
28744         * misc/getdomain.c: Likewise.
28745         * misc/getdtsz.c: Likewise.
28746         * misc/gethostid.c: Likewise.
28747         * misc/gethostname.c: Likewise.
28748         * misc/getloadavg.c: Likewise.
28749         * misc/getpagesize.c: Likewise.
28750         * misc/getsysstats.c: Likewise.
28751         * misc/getxattr.c: Likewise.
28752         * misc/gtty.c: Likewise.
28753         * misc/ioctl.c: Likewise.
28754         * misc/lgetxattr.c: Likewise.
28755         * misc/listxattr.c: Likewise.
28756         * misc/llistxattr.c: Likewise.
28757         * misc/lremovexattr.c: Likewise.
28758         * misc/lsetxattr.c: Likewise.
28759         * misc/lutimes.c: Likewise.
28760         * misc/madvise.c: Likewise.
28761         * misc/mincore.c: Likewise.
28762         * misc/mlock.c: Likewise.
28763         * misc/mlockall.c: Likewise.
28764         * misc/mmap.c: Likewise.
28765         * misc/mprotect.c: Likewise.
28766         * misc/msync.c: Likewise.
28767         * misc/munlock.c: Likewise.
28768         * misc/munlockall.c: Likewise.
28769         * misc/munmap.c: Likewise.
28770         * misc/preadv.c: Likewise.
28771         * misc/preadv64.c: Likewise.
28772         * misc/ptrace.c: Likewise.
28773         * misc/pwritev.c: Likewise.
28774         * misc/pwritev64.c: Likewise.
28775         * misc/readv.c: Likewise.
28776         * misc/reboot.c: Likewise.
28777         * misc/remap_file_pages.c: Likewise.
28778         * misc/removexattr.c: Likewise.
28779         * misc/revoke.c: Likewise.
28780         * misc/select.c: Likewise.
28781         * misc/setdomain.c: Likewise.
28782         * misc/setegid.c: Likewise.
28783         * misc/seteuid.c: Likewise.
28784         * misc/sethostid.c: Likewise.
28785         * misc/sethostname.c: Likewise.
28786         * misc/setregid.c: Likewise.
28787         * misc/setreuid.c: Likewise.
28788         * misc/setxattr.c: Likewise.
28789         * misc/sstk.c: Likewise.
28790         * misc/stty.c: Likewise.
28791         * misc/swapoff.c: Likewise.
28792         * misc/swapon.c: Likewise.
28793         * misc/sync.c: Likewise.
28794         * misc/syncfs.c: Likewise.
28795         * misc/syscall.c: Likewise.
28796         * misc/truncate.c: Likewise.
28797         * misc/ualarm.c: Likewise.
28798         * misc/usleep.c: Likewise.
28799         * misc/ustat.c: Likewise.
28800         * misc/utimes.c: Likewise.
28801         * misc/vhangup.c: Likewise.
28802         * misc/writev.c: Likewise.
28803         * posix/_exit.c: Likewise.
28804         * posix/alarm.c: Likewise.
28805         * posix/execve.c: Likewise.
28806         * posix/fexecve.c: Likewise.
28807         * posix/fork.c: Likewise.
28808         * posix/fpathconf.c: Likewise.
28809         * posix/getaddrinfo.c: Likewise.
28810         * posix/getegid.c: Likewise.
28811         * posix/geteuid.c: Likewise.
28812         * posix/getgid.c: Likewise.
28813         * posix/getgroups.c: Likewise.
28814         * posix/getlogin.c: Likewise.
28815         * posix/getlogin_r.c: Likewise.
28816         * posix/getpgid.c: Likewise.
28817         * posix/getpid.c: Likewise.
28818         * posix/getppid.c: Likewise.
28819         * posix/getresgid.c: Likewise.
28820         * posix/getresuid.c: Likewise.
28821         * posix/getsid.c: Likewise.
28822         * posix/getuid.c: Likewise.
28823         * posix/glob64.c: Likewise.
28824         * posix/nanosleep.c: Likewise.
28825         * posix/pathconf.c: Likewise.
28826         * posix/pause.c: Likewise.
28827         * posix/posix_madvise.c: Likewise.
28828         * posix/pread.c: Likewise.
28829         * posix/pread64.c: Likewise.
28830         * posix/pwrite.c: Likewise.
28831         * posix/pwrite64.c: Likewise.
28832         * posix/sched_getaffinity.c: Likewise.
28833         * posix/sched_getp.c: Likewise.
28834         * posix/sched_gets.c: Likewise.
28835         * posix/sched_primax.c: Likewise.
28836         * posix/sched_primin.c: Likewise.
28837         * posix/sched_rr_gi.c: Likewise.
28838         * posix/sched_setaffinity.c: Likewise.
28839         * posix/sched_setp.c: Likewise.
28840         * posix/sched_sets.c: Likewise.
28841         * posix/sched_yield.c: Likewise.
28842         * posix/setgid.c: Likewise.
28843         * posix/setlogin.c: Likewise.
28844         * posix/setpgid.c: Likewise.
28845         * posix/setresgid.c: Likewise.
28846         * posix/setresuid.c: Likewise.
28847         * posix/setsid.c: Likewise.
28848         * posix/setuid.c: Likewise.
28849         * posix/sleep.c: Likewise.
28850         * posix/spawni.c: Likewise.
28851         * posix/sysconf.c: Likewise.
28852         * posix/times.c: Likewise.
28853         * posix/wait.c: Likewise.
28854         * posix/wait3.c: Likewise.
28855         * posix/wait4.c: Likewise.
28856         * posix/waitpid.c: Likewise.
28857         * resolv/gai_sigqueue.c: Likewise.
28858         * resource/getpriority.c: Likewise.
28859         * resource/getrlimit.c: Likewise.
28860         * resource/getrusage.c: Likewise.
28861         * resource/nice.c: Likewise.
28862         * resource/setpriority.c: Likewise.
28863         * resource/setrlimit.c: Likewise.
28864         * resource/ulimit.c: Likewise.
28865         * rt/aio_cancel.c: Likewise.
28866         * rt/aio_fsync.c: Likewise.
28867         * rt/aio_read.c: Likewise.
28868         * rt/aio_sigqueue.c: Likewise.
28869         * rt/aio_suspend.c: Likewise.
28870         * rt/aio_write.c: Likewise.
28871         * rt/clock_getres.c: Likewise.
28872         * rt/clock_gettime.c: Likewise.
28873         * rt/clock_nanosleep.c: Likewise.
28874         * rt/clock_settime.c: Likewise.
28875         * rt/lio_listio.c: Likewise.
28876         * rt/mq_close.c: Likewise.
28877         * rt/mq_getattr.c: Likewise.
28878         * rt/mq_notify.c: Likewise.
28879         * rt/mq_open.c: Likewise.
28880         * rt/mq_receive.c: Likewise.
28881         * rt/mq_send.c: Likewise.
28882         * rt/mq_setattr.c: Likewise.
28883         * rt/mq_timedreceive.c: Likewise.
28884         * rt/mq_timedsend.c: Likewise.
28885         * rt/mq_unlink.c: Likewise.
28886         * rt/shm_open.c: Likewise.
28887         * rt/shm_unlink.c: Likewise.
28888         * rt/timer_create.c: Likewise.
28889         * rt/timer_delete.c: Likewise.
28890         * rt/timer_getoverr.c: Likewise.
28891         * rt/timer_gettime.c: Likewise.
28892         * rt/timer_settime.c: Likewise.
28893         * setjmp/__longjmp.c: Likewise.
28894         * setjmp/setjmp.c: Likewise.
28895         * signal/kill.c: Likewise.
28896         * signal/killpg.c: Likewise.
28897         * signal/raise.c: Likewise.
28898         * signal/sigaction.c: Likewise.
28899         * signal/sigaltstack.c: Likewise.
28900         * signal/sigblock.c: Likewise.
28901         * signal/sigignore.c: Likewise.
28902         * signal/sigintr.c: Likewise.
28903         * signal/signal.c: Likewise.
28904         * signal/sigpause.c: Likewise.
28905         * signal/sigpending.c: Likewise.
28906         * signal/sigqueue.c: Likewise.
28907         * signal/sigreturn.c: Likewise.
28908         * signal/sigset.c: Likewise.
28909         * signal/sigsetmask.c: Likewise.
28910         * signal/sigstack.c: Likewise.
28911         * signal/sigsuspend.c: Likewise.
28912         * signal/sigtimedwait.c: Likewise.
28913         * signal/sigvec.c: Likewise.
28914         * signal/sigwait.c: Likewise.
28915         * signal/sigwaitinfo.c: Likewise.
28916         * signal/sysv_signal.c: Likewise.
28917         * socket/accept.c: Likewise.
28918         * socket/accept4.c: Likewise.
28919         * socket/bind.c: Likewise.
28920         * socket/connect.c: Likewise.
28921         * socket/getpeername.c: Likewise.
28922         * socket/getsockname.c: Likewise.
28923         * socket/getsockopt.c: Likewise.
28924         * socket/isfdtype.c: Likewise.
28925         * socket/listen.c: Likewise.
28926         * socket/recv.c: Likewise.
28927         * socket/recvfrom.c: Likewise.
28928         * socket/recvmsg.c: Likewise.
28929         * socket/send.c: Likewise.
28930         * socket/sendmsg.c: Likewise.
28931         * socket/sendto.c: Likewise.
28932         * socket/setsockopt.c: Likewise.
28933         * socket/shutdown.c: Likewise.
28934         * socket/sockatmark.c: Likewise.
28935         * socket/socket.c: Likewise.
28936         * socket/socketpair.c: Likewise.
28937         * stdio-common/ctermid.c: Likewise.
28938         * stdio-common/cuserid.c: Likewise.
28939         * stdio-common/remove.c: Likewise.
28940         * stdio-common/rename.c: Likewise.
28941         * stdio-common/renameat.c: Likewise.
28942         * stdio-common/tempname.c: Likewise.
28943         * stdlib/getcontext.c: Likewise.
28944         * stdlib/makecontext.c: Likewise.
28945         * stdlib/setcontext.c: Likewise.
28946         * stdlib/swapcontext.c: Likewise.
28947         * stdlib/system.c: Likewise.
28948         * streams/fattach.c: Likewise.
28949         * streams/fdetach.c: Likewise.
28950         * streams/getmsg.c: Likewise.
28951         * streams/getpmsg.c: Likewise.
28952         * streams/putmsg.c: Likewise.
28953         * streams/putpmsg.c: Likewise.
28954         * sysdeps/unix/bsd/getpt.c: Likewise.
28955         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28956         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28957         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28959         Likewise.
28960         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28961         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28962         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28963         * sysvipc/msgctl.c: Likewise.
28964         * sysvipc/msgget.c: Likewise.
28965         * sysvipc/msgrcv.c: Likewise.
28966         * sysvipc/msgsnd.c: Likewise.
28967         * sysvipc/semctl.c: Likewise.
28968         * sysvipc/semget.c: Likewise.
28969         * sysvipc/semop.c: Likewise.
28970         * sysvipc/semtimedop.c: Likewise.
28971         * sysvipc/shmat.c: Likewise.
28972         * sysvipc/shmctl.c: Likewise.
28973         * sysvipc/shmdt.c: Likewise.
28974         * sysvipc/shmget.c: Likewise.
28975         * termios/tcdrain.c: Likewise.
28976         * termios/tcflow.c: Likewise.
28977         * termios/tcflush.c: Likewise.
28978         * termios/tcgetattr.c: Likewise.
28979         * termios/tcgetpgrp.c: Likewise.
28980         * termios/tcsendbrk.c: Likewise.
28981         * termios/tcsetattr.c: Likewise.
28982         * termios/tcsetpgrp.c: Likewise.
28983         * time/adjtime.c: Likewise.
28984         * time/clock.c: Likewise.
28985         * time/getitimer.c: Likewise.
28986         * time/gettimeofday.c: Likewise.
28987         * time/setitimer.c: Likewise.
28988         * time/settimeofday.c: Likewise.
28989         * time/stime.c: Likewise.
28990         * time/time.c: Likewise.
28991
28992 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28993
28994         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28995         /usr/old/bin.
28996
28997         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28998         instead of spaces.
28999         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29000
29001 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29002
29003         [BZ #14796]
29004         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29005         FE_TONEAREST before applying Dekker multiplication and Knuth
29006         addition.  Clear inexact exceptions and check for exact zero
29007         results afterwards.
29008         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29009         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29010         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29011         * math/libm-test.inc (fma_test): Add more tests.
29012         (fma_test_towardzero): Likewise.
29013         (fma_test_downward): Likewise.
29014         (fma_test_upward): Likewise.
29015         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29016         function.
29017         (libc_fesetround): New macro.
29018         (libc_fesetroundf): Likewise.
29019         (libc_fesetroundl): Likewise.
29020         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29021         function.
29022         (libc_fesetround_387): Likewise.
29023         (libc_fesetroundf): New macro.
29024         (libc_fesetround): Likewise.
29025         (libc_fesetroundl): Likewise.
29026         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29027         function.
29028         (libc_fesetroundf): New macro.
29029         (libc_fesetround): Likewise.
29030         (libc_fesetroundl): Likewise.
29031         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29032         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29033         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29034         libm_hidden_ver.
29035         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29036         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29037         libm_hidden_def.
29038         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29039         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29040         libm_hidden_ver.
29041         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29042         libm_hidden_def.
29043
29044         [BZ #3439]
29045         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29046         integer constant usable in #if and use that to give value to enum
29047         constant.
29048         (FE_DIVBYZERO): Likewise.
29049         (FE_UNDERFLOW): Likewise.
29050         (FE_OVERFLOW): Likewise.
29051         (FE_INVALID): Likewise.
29052         (FE_INVALID_SNAN): Likewise.
29053         (FE_INVALID_ISI): Likewise.
29054         (FE_INVALID_IDI): Likewise.
29055         (FE_INVALID_ZDZ): Likewise.
29056         (FE_INVALID_IMZ): Likewise.
29057         (FE_INVALID_COMPARE): Likewise.
29058         (FE_INVALID_SOFTWARE): Likewise.
29059         (FE_INVALID_SQRT): Likewise.
29060         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29061         (FE_TONEAREST): Likewise.
29062         (FE_TOWARDZERO): Likewise.
29063         (FE_UPWARD): Likewise.
29064         (FE_DOWNWARD): Likewise.
29065         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29066         (FE_DIVBYZERO): Likewise.
29067         (FE_OVERFLOW): Likewise.
29068         (FE_UNDERFLOW): Likewise.
29069         (FE_INEXACT): Likewise.
29070         (FE_TONEAREST): Likewise.
29071         (FE_DOWNWARD): Likewise.
29072         (FE_UPWARD): Likewise.
29073         (FE_TOWARDZERO): Likewise.
29074         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29075         (FE_UNDERFLOW): Likewise.
29076         (FE_OVERFLOW): Likewise.
29077         (FE_DIVBYZERO): Likewise.
29078         (FE_INVALID): Likewise.
29079         (FE_TONEAREST): Likewise.
29080         (FE_TOWARDZERO): Likewise.
29081         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29082         (FE_OVERFLOW): Likewise.
29083         (FE_UNDERFLOW): Likewise.
29084         (FE_DIVBYZERO): Likewise.
29085         (FE_INEXACT): Likewise.
29086         (FE_TONEAREST): Likewise.
29087         (FE_TOWARDZERO): Likewise.
29088         (FE_UPWARD): Likewise.
29089         (FE_DOWNWARD): Likewise.
29090         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29091         (FE_DIVBYZERO): Likewise.
29092         (FE_OVERFLOW): Likewise.
29093         (FE_UNDERFLOW): Likewise.
29094         (FE_INEXACT): Likewise.
29095         (FE_TONEAREST): Likewise.
29096         (FE_DOWNWARD): Likewise.
29097         (FE_UPWARD): Likewise.
29098         (FE_TOWARDZERO): Likewise.
29099
29100 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29101
29102         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29103
29104 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29105
29106         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29107         commands.  Quote $PWD.
29108         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29109         -x" by "export".
29110         (remove_newlines): Remove.
29111
29112 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29113
29114         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29115         * stdlib/stdlib.h (atof): Moved to ...
29116         * include/bits/stdlib-float.h: Here.  New file.
29117         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29118         * stdlib/bits/stdlib-float.h: New file.
29119         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29120         -mno-sse -mno-mmx.
29121         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29122         <xmmintrin.h>.
29123
29124 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29125
29126         * conform/conformtest.pl (@headers): Add fenv.h.
29127         * conform/data/fenv.h-data: New file.
29128         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29129         include of <math/fenv.h>.
29130
29131         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29132         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29133         && !UNIX98].  Enables tests for XOPEN2K8.
29134         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29135         POSIX2008]: Likewise.
29136
29137         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29138         (struct rusage): Do not expect type or its members.
29139
29140         [BZ #3439]
29141         * math/math.h (FP_NAN): Define macro to integer constant usable in
29142         #if and use that to give value to enum constant.
29143         (FP_INFINITE): Likewise.
29144         (FP_ZERO): Likewise.
29145         (FP_SUBNORMAL): Likewise.
29146         (FP_NORMAL): Likewise.
29147
29148 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29149
29150         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29151         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29152         arguments.
29153
29154 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29155
29156         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29157         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29158         autoconf-time if not.
29159         * configure.in: Remove AC_PREREQ.
29160
29161 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29162
29163         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29164         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29165         of the internal implementation.
29166
29167 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29168
29169         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29170         except include of <misc/sys/syslog.h>.
29171
29172 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29173
29174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29175         function returns with a NULL context exit with zero.
29176
29177 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29178
29179         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29180
29181 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29182
29183         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29184         (run_program_cmd): This.
29185         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29186         (tst_langinfo): New variable.  Use it.
29187
29188 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29189
29190         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29191         floating point opcodes.
29192
29193 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29194
29195         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29196         variable.
29197
29198         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29199
29200         * sysdeps/mach/hurd/powerpc: Remove directory.
29201         * sysdeps/mach/powerpc: Likewise.
29202
29203 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29204
29205         * scripts/check-local-headers.sh: Ignore c++ headers.
29206
29207 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29208
29209         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29210         __libc_cleanup_region_start argument.
29211
29212 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29213
29214         [BZ #14784]
29215         [BZ #14785]
29216         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29217         x * y using scaling, not as x * y + z.
29218         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29219         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29220         * math/libm-test.inc (fma_test): Add more tests.
29221         (fma_test_towardzero): Likewise.
29222         (fma_test_downward): Likewise.
29223         (fma_test_upward): Likewise.
29224
29225 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29226
29227         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29228
29229 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29230
29231         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29232         New variable.
29233
29234 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29235
29236         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29237
29238 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29239
29240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29241         Fix sort order.
29242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29243         Likewise.
29244
29245 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29246
29247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29248         Fix the order of the list for glibc 2.17.
29249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29250         Likewise.
29251
29252 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29253
29254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29255
29256 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29257
29258         [BZ #14610]
29259         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29260         for low part of x being zero before using __atanl (y).
29261         * math/libm-test.inc (atan2_test): Add another test.
29262
29263         * manual/install.texi (Configuring and compiling): Document
29264         general use of test-wrapper and test-wrapper-env.
29265         * INSTALL: Regenerated.
29266
29267         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29268         (__fma): Do not extract and scale down low bits on after-rounding
29269         systems when result rounded to normal precision would have normal
29270         exponent.
29271         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29272         (__fmal): Do not extract and scale down low bits on after-rounding
29273         systems when result rounded to normal precision would have normal
29274         exponent.
29275         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29276         (__fmal): Do not extract and scale down low bits on after-rounding
29277         systems when result rounded to normal precision would have normal
29278         exponent.
29279         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29280         macro.
29281         (fma_test): Add more tests.
29282         (fma_test_towardzero): Likewise.
29283         (fma_test_downward): Likewise.
29284         (fma_test_upward): Likewise.
29285
29286 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29287
29288         * sysdeps/i386/tininess.h: Renamed to ...
29289         * sysdeps/x86/tininess.h: This.
29290         * sysdeps/x86_64/tininess.h: Removed.
29291
29292 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29293
29294         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29295         input.  Use $(build-program-cmd).
29296         ($(objpfx)tst-array1-static.out): Likewise.
29297         ($(objpfx)tst-array2.out): Likewise.
29298         ($(objpfx)tst-array3.out): Likewise.
29299         ($(objpfx)tst-array4.out): Likewise.
29300         ($(objpfx)tst-array5.out): Likewise.
29301         ($(objpfx)tst-array5-static.out): Likewise.
29302
29303 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29304
29305         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29306         if defined.
29307
29308         * nss/nsswitch.h (nss_interface_function): Provide new
29309         macro for use with NSS functions.
29310         * grp/initgroups.c: Use new macro.
29311         * nss/getXXbyYY.c: Likewise.
29312         * nss/getXXbyYY_r.c: Likewise.
29313         * nss/getXXent.c: Likewise.
29314         * nss/getXXent_r.c: Likewise.
29315         * sysdeps/posix/getaddrinfo.c: Likewise.
29316
29317 2012-10-30  Andreas Jaeger  <aj@suse.de>
29318
29319         * po/ru.po: Update Russion translation from translation project.
29320
29321 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29322
29323         [BZ #14152]
29324         [BZ #14783]
29325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29326         result and shift together with sticky bit instead of replicating
29327         round-to-nearest rounding.
29328         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29329         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29330         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29331         missing underflow exceptions.
29332         (fma_test_towardzero): Add more tests.
29333         (fma_test_downward): Likewise.
29334         (fma_test_upward): Likewise.
29335
29336         [BZ #14047]
29337         * sysdeps/generic/tininess.h: New file.
29338         * sysdeps/i386/tininess.h: Likewise.
29339         * sysdeps/sh/tininess.h: Likewise.
29340         * sysdeps/x86_64/tininess.h: Likewise.
29341         * stdlib/tst-strtod-underflow.c: Likewise.
29342         * stdlib/tst-tininess.c: Likewise.
29343         * stdlib/strtod_l.c: Include <tininess.h>.
29344         (round_and_return): Do not set errno for exact underflow cases.
29345         Force an underflow exception when setting errno for underflow.
29346         Determine underflow based on rounding to normal precision if
29347         TININESS_AFTER_ROUNDING.
29348         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29349         ERANGE for exact underflow cases.
29350         * stdlib/Makefile (tests): Add tst-tininess and
29351         tst-strtod-underflow.
29352         ($(objpfx)tst-tininess): Use $(link-libm).
29353         ($(objpfx)tst-strtod-underflow): Likewise.
29354
29355 2012-10-30  Andreas Jaeger  <aj@suse.de>
29356
29357         [BZ#14767]
29358         * elf/Makefile (tests): Remove conditional for have-initfini-array
29359         since this is now always required and the variable does not exist
29360         anymore.
29361         (tests-static): Likewise.
29362         (modules-names): Likewise.
29363
29364         * po/eo.po: Add Esperanto translation from translation project.
29365
29366         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29367         merged with constructor/destructor.
29368         (init_array): Likewise.
29369         * elf/tst-array2dep.c (fini_array): Likewise.
29370         (init_array): Likewise.
29371
29372 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29373
29374         * manual/message.texi: Delete @cartouche tags.
29375
29376 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29377
29378         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29379         EOPNOTSUPP.
29380         * sysdeps/mach/hurd/fsync.c: Likewise.
29381
29382         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29383         [_POSIX_REALTIME_SIGNALS]: Change condition to
29384         [_POSIX_REALTIME_SIGNALS > 0].
29385
29386 2012-10-27  Andreas Jaeger  <aj@suse.de>
29387
29388         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29389         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29390         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29391         [__WORDSIZE != 64]: Likewise.
29392
29393 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29394
29395         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29396         *  iconvdata/tst-tables.sh: Likewise.
29397
29398 2012-10-25  David S. Miller  <davem@davemloft.net>
29399
29400         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29401         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29402         of strtoull.
29403
29404         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29405         ifunc-impl-list.c
29406         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29407         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29408         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29409         file.
29410
29411 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29412
29413         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29414         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29415         __getdirentries.
29416
29417 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29418             Jim Blandy  <jimb@codesourcery.com>
29419
29420         * scripts/cross-test-ssh.sh: New file.
29421         * manual/install.texi (Configuring and compiling): Document use of
29422         cross-test-ssh.sh.
29423         * INSTALL: Regenerated.
29424
29425 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29426
29427         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29428         EOPNOTSUPP.
29429
29430 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29431
29432         * Makeconfig (run-program-prefix): Fix comment.
29433
29434 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29435             Jim Blandy  <jimb@codesourcery.com>
29436
29437         * Makeconfig (test-wrapper): New variable,
29438         (test-wrapper-env): Likewise.
29439         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29440         (run-built-tests): Define to yes.
29441         (run-program-prefix): Use $(test-wrapper).
29442         (built-program-cmd): Likewise.
29443         * Rules (make-test-out): Use $(test-wrapper-env) and
29444         $(host-built-program-cmd).
29445         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29446         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29447         tst-pathopt.sh.
29448         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29449         $(test-wrapper-env) to tst-rtld-load-self.sh.
29450         ($(objpfx)order2.out): Use $(test-wrapper).
29451         ($(objpfx)tst-initorder.out): Likewise.
29452         ($(objpfx)tst-initorder2.out): Likewise.
29453         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29454         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29455         (test_wrapper_env): New variable.  Use it to run ld.so.
29456         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29457         Use it to run ld.so.
29458         (test_wrapper_env): Likewise.
29459         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29460         $(test-wrapper) to run-iconv-test.sh.
29461         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29462         (ICONV): Use $test_wrapper.
29463         * posix/Makefile ($(objpfx)globtest.out): Pass
29464         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29465         globtest.sh, not $(run-program-prefix).
29466         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29467         (test_wrapper): Likewise.
29468         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29469         set together with run_via_rtld_prefix.
29470         (run_program_prefix): Define in terms of test_wrapper and
29471         run_via_rtld_prefix.
29472
29473 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29474
29475         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29476         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29477         Targets removed.
29478
29479         [BZ #14743]
29480         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29481         Declare __clock_getres, __clock_gettime, __clock_settime,
29482         __clock_nanosleep, and __clock_getcpuclockid.
29483         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29484         Remove librt_hidden_def (clock_gettime).
29485         * sysdeps/unix/clock_gettime.c: Likewise.
29486         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29487         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29488         * rt/clock_getres.c: Define __clock_getres as an alias.
29489         * sysdeps/posix/clock_getres.c: Likewise.
29490         * rt/clock_settime.c: Define __clock_settime as an alias.
29491         * sysdeps/unix/clock_settime.c: Likewise.
29492         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29493         * sysdeps/unix/clock_nanosleep.c: Likewise.
29494         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29495         * rt/clock-compat.c: New file.
29496         * rt/Makefile (librt-routines): Add clock-compat and move
29497         $(clock-routines) to ...
29498         (routines): ... here, new variable.
29499         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29500         Don't add get_clockfreq here.
29501         * rt/Versions (libc: GLIBC_2.17): New version set.
29502         Add clock_* symbols here.
29503         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29504         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29505         (GLIBC_2.17): Add clock_* symbols.
29506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29508         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29510         Likewise.
29511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29512         Likewise.
29513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29514         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29517         * NEWS: Mention the move.
29518
29519         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29520         Use __open, __read, __close rather than their public counterparts.
29521         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29522         (__get_clockfreq_via_cpuinfo): Likewise.
29523         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29524         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29525
29526         * config.h.in (HAVE_IFUNC): New #undef.
29527         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29528         was successful.
29529         * configure: Regenerated.
29530
29531 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29532
29533         * configure.in: Move READELF check to start of file.
29534         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29535         libc_cv_asm_gnu_indirect_function in the process.
29536         * configure: Regenerated.
29537
29538 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29539
29540         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29541         send the output to /dev/null.
29542         (libc_cv_cc_with_libunwind): Likewise.
29543         (libc_cv_as_noexecstack): Likewise.
29544         * configure: Regenerate.
29545
29546 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29547
29548         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29549
29550         * posix/globtest.sh (TMPDIR): Do not set.
29551         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29552         (testout): Likewise.
29553
29554 2012-10-24  Andreas Jaeger  <aj@suse.de>
29555
29556         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29557         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29558         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29559         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29560         posix_fadvise64, posix_fallocate64.
29561
29562         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29563         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29564         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29565         Likewise.
29566         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29567         Likewise.
29568         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29569
29570         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29571         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29572         <bits/fcntl-linux.h>.
29573         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29574
29575         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29576         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29577         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29578         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29579         [__WORDSIZE != 64]: Likewise.
29580
29581 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29582
29583         * Makeconfig (run-built-tests): New variable.
29584         * Rules [$(cross-compiling) = yes]: Change condition to
29585         [$(run-built-tests) = no].
29586         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29587         to [$(run-built-tests) = yes].
29588         * elf/Makefile [$(cross-compiling) = no]: Likewise
29589         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29590         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29591         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29592         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29593         * io/Makefile [$(cross-compiling) = no]: Likewise.
29594         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29595         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29596         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29597         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29598         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29599         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29600         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29601         * string/Makefile [$(cross-compiling) = no]: Likewise.
29602
29603         * posix/Makefile ($(objpfx)globtest.out): Pass
29604         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29605         $(rtld-installed-name).
29606         * posix/globtest.sh (elf_objpfx): Remove variable.
29607         (rtld_installed_name): Likewise.
29608         (library_path): Likewise.
29609         (run_program_prefix): New variable.  Use for running globtest
29610         binary.
29611
29612 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29613             Joseph Myers  <joseph@codesourcery.com>
29614
29615         * Makeconfig (host-built-program-cmd): New variable.
29616         * elf/Makefile (tst-stackguard1-ARGS): Use
29617         $(host-built-program-cmd).
29618         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29619         (tst-spawn-ARGS): Likewise.
29620         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29621
29622 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29623             Jim Blandy  <jimb@codesourcery.com>
29624
29625         * Makeconfig (run-via-rtld-prefix): New variable.
29626         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29627         (built-program-cmd): Likewise.
29628
29629 2012-10-22  Andreas Jaeger  <aj@suse.de>
29630
29631         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29632         __O_RSYNC if it exists, otherwise to O_SYNC.
29633
29634 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29635             Joseph Myers  <joseph@codesourcery.com>
29636
29637         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29638         /dev/null.
29639         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29640         from /dev/null
29641         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29642         /dev/null.
29643
29644 2012-10-22  Andreas Jaeger  <aj@suse.de>
29645
29646         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29647         Define always.
29648         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29649
29650         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29651         bits/fcntl-linux.h.
29652
29653         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29654         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29655
29656         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29657         to __O_LARGEFILE.
29658         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29659         to __O_LARGEFILE.
29660
29661 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29662             Joseph Myers  <joseph@codesourcery.com>
29663
29664         * config.make.in (NM): New variable.
29665
29666 2012-10-21  Andreas Jaeger  <aj@suse.de>
29667
29668         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29669         definitions and declarations that are provided by
29670         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29671
29672 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29673
29674         [BZ #14683]
29675         * elf/Makefile (tests-static): Add tst-leaks1-static.
29676         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29677         ($(objpfx)tst-leaks1-static): New rule.
29678         ($(objpfx)tst-leaks1-static-mem): Likewise.
29679         (tst-leaks1-static-ENV): New macro.
29680         * elf/dl-open.c (dl_open_worker): Check the main application
29681         only if SHARED is defined.
29682         * elf/tst-leaks1-static.c: New file.
29683
29684 2012-10-20  Andreas Jaeger  <aj@suse.de>
29685
29686         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29687         generic values for Linux.
29688         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29689         and declarations that are provided by <bits/fcntl-linux.h> and
29690         include <bits/fcntl-linux.h>.
29691         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29692         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29693
29694 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29695
29696         * io/fcntl.h: Move include of <bits/types.h> to the top and
29697         include it unconditionally.
29698
29699 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29700
29701         * wcsmbs/Makefile (tests-ifunc): New variable.
29702         (tests): Add $(tests-ifunc).
29703         * wcsmbs/test-wcschr-ifunc.c: New file.
29704         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29705         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29706         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29707         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29708         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29709
29710         * string/Makefile (tests-ifunc): New variable.
29711         (tests): Add $(tests-ifunc).
29712         * string/test-memccpy.c (TEST_NAME): New macro.
29713         * string/test-memchr.c (TEST_NAME): Likewise.
29714         * string/test-memcmp.c (TEST_NAME): Likewise.
29715         * string/test-memcpy.c (TEST_NAME): Likewise.
29716         * string/test-memmem.c (TEST_NAME): Likewise.
29717         * string/test-memmove.c (TEST_NAME): Likewise.
29718         * string/test-memset.c (TEST_NAME): Likewise.
29719         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29720         * string/test-stpcpy.c (TEST_NAME): Likewise.
29721         * string/test-stpncpy.c (TEST_NAME): Likewise.
29722         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29723         * string/test-strcasestr.c (TEST_NAME): Likewise.
29724         * string/test-strcat.c (TEST_NAME): Likewise.
29725         * string/test-strchr.c (TEST_NAME): Likewise.
29726         * string/test-strcmp.c(TEST_NAME): Likewise.
29727         * string/test-strcpy.c (TEST_NAME): Likewise.
29728         * string/test-strcspn.c (TEST_NAME): Likewise.
29729         * string/test-strlen.c (TEST_NAME): Likewise.
29730         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29731         * string/test-strncmp.c (TEST_NAME): Likewise.
29732         * string/test-strncpy.c (TEST_NAME): Likewise.
29733         * string/test-strnlen.c (TEST_NAME): Likewise.
29734         * string/test-strpbrk.c (TEST_NAME): Likewise.
29735         * string/test-strrchr.c (TEST_NAME): Likewise.
29736         * string/test-strspn.c (TEST_NAME): Likewise.
29737         * string/test-strstr.c (TEST_NAME): Likewise.
29738         * string/test-bcopy-ifunc.c: New file.
29739         * string/test-bzero-ifunc.c: Likewise.
29740         * string/test-memccpy-ifunc.c: Likewise.
29741         * string/test-memchr-ifunc.c: Likewise.
29742         * string/test-memcmp-ifunc.c: Likewise.
29743         * string/test-memcpy-ifunc.c: Likewise.
29744         * string/test-memmem-ifunc.c: Likewise.
29745         * string/test-memmove-ifunc.c: Likewise.
29746         * string/test-mempcpy-ifunc.c: Likewise.
29747         * string/test-memset-ifunc.c: Likewise.
29748         * string/test-rawmemchr-ifunc.c: Likewise.
29749         * string/test-stpcpy-ifunc.c: Likewise.
29750         * string/test-stpncpy-ifunc.c: Likewise.
29751         * string/test-strcasecmp-ifunc.c: Likewise.
29752         * string/test-strcasestr-ifunc.c: Likewise.
29753         * string/test-strcat-ifunc.c: Likewise.
29754         * string/test-strchr-ifunc.c: Likewise.
29755         * string/test-strchrnul-ifunc.c: Likewise.
29756         * string/test-strcmp-ifunc.c: Likewise.
29757         * string/test-strcpy-ifunc.c: Likewise.
29758         * string/test-strcspn-ifunc.c: Likewise.
29759         * string/test-strlen-ifunc.c: Likewise.
29760         * string/test-strncasecmp-ifunc.c: Likewise.
29761         * string/test-strncat-ifunc.c: Likewise.
29762         * string/test-strncmp-ifunc.c: Likewise.
29763         * string/test-strncpy-ifunc.c: Likewise.
29764         * string/test-strnlen-ifunc.c: Likewise.
29765         * string/test-strpbrk-ifunc.c: Likewise.
29766         * string/test-strrchr-ifunc.c: Likewise.
29767         * string/test-strspn-ifunc.c: Likewise.
29768         * string/test-strstr-ifunc.c: Likewise.
29769
29770         * debug/Makefile (tests-ifunc): New variable.
29771         (tests): Add $(tests-ifunc).
29772         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29773         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29774         * debug/test-stpcpy_chk-ifunc.c: New file.
29775         * debug/test-strcpy_chk-ifunc.c: Likewise.
29776
29777 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29778
29779         [BZ #13601]
29780         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29781         header is not read in.
29782
29783 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29784
29785         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29786         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29787         directly.  Pass built executable to script as
29788         $(built-program-cmd).
29789         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29790         $testprogram without using LD_LIBRARY_PATH and $ldso.
29791
29792         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29793         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29794         $(rtld-installed-name).
29795         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29796         (rtld_installed_name): Likewise.
29797         (library_path): Likewise.
29798         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29799         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29800         $(run-program-prefix) to tst-tables.sh.
29801         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29802         it to run tst-table-from and tst-table-to.
29803         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29804         Pass it to tst-table.sh.
29805         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29806         $(run-program-prefix) to tst-gettext.sh.
29807         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29808         tst-translit.sh.
29809         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29810         tst-gettext2.sh.
29811         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29812         to run tst-gettext.
29813         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29814         to run tst-gettext2.
29815         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29816         to run tst-translit.
29817         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29818         $(run-program-prefix) to tst-mtrace.sh.
29819         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29820         to run tst-mtrace.
29821         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29822         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29823         $(rtld-installed-name).
29824         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29825         (rtld_installed_name): Likewise.
29826         (run_program_prefix): New variable.  Use it to run wordexp-test.
29827
29828         * Makeconfig (ARCH): Remove all definitions.
29829         (machine): Likewise.
29830         [ARCH]: Remove conditional code.
29831         [!objdir]: Give error.
29832         [!objdir] (objpfx): Remove.
29833         [!objdir] (common-objpfx): Likewise.
29834         [!objdir] (common-objdir): Likewise.
29835         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29836         AC_CONFIG_FILES call.
29837         * configure: Regenerated.
29838
29839         [BZ #13888]
29840         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29841         or TMPDIR.
29842         (testout): Likewise.
29843
29844         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29845         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29846         $(rtld-installed-name).
29847         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29848         (rtld_installed_name): Likwise.
29849         (runit): Remove function.
29850         (run_getconf): New variable,  Use it for running getconf binary.
29851
29852 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29853
29854         [BZ #14716]
29855         * string/test-memmem.c (check_result): New function.
29856         (do_one_test): Use it.
29857         (check1): New function.
29858         (test_main): Use it.
29859
29860 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29861
29862         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29863
29864 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29865
29866         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29867         (_G_LSEEK64): Likewise.
29868         (_G_MMAP64): Likewise.
29869         (_G_FSTAT64): Likewise.
29870         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29871         (_G_LSEEK64): Likewise.
29872         (_G_MMAP64): Likewise.
29873         (_G_FSTAT64): Likewise.
29874         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29875         unconditional.  Call __mmap64 directly.
29876         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29877         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29878         __lseek64 directly.
29879         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29880         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29881         __mmap64 directly.
29882         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29883         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29884         __lseek64 directly.
29885         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29886         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29887         __lseek64 directly.
29888         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29889         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29890         __lseek64 directly.
29891         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29892         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29893         __fxstat64 directly.
29894         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29895         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29896         unconditional.
29897         (freopen64) [!_G_OPEN64]: Remove conditional code.
29898         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29899         unconditional.
29900         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29901         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29902         unconditional.
29903         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29904         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29905         unconditional.
29906         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29907         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29908         unconditional.
29909         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29910         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29911         unconditional.
29912         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29913         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29914         unconditional.
29915         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29916         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29917         unconditional.
29918         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29919
29920 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29921
29922         [BZ #12140]
29923         * manual/memory.texi (Malloc Tunable Parameters): Add note
29924         about free list pointers overwriting some perturb bytes.
29925         Wording suggested by Roland McGrath.
29926
29927 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29928
29929         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29930         (lgamma_test): Likewise.
29931         (tgamma_test): Likewise.
29932
29933 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29934
29935         [BZ #14700]
29936         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29937         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29938
29939 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29940
29941         * NEWS: Mention BZ #14716.
29942         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29943         when removing AVAILABLE1_USES_J macro.
29944
29945 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29946
29947         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29948         (__bswap_64): __uint64_t for unsigned 64-bit int.
29949
29950 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29951
29952         * include/string.h (memmem): Declare libc hidden alias.
29953         * string/memmem.c (memmem): Define libc hidden alias.
29954         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29955         __read, __close instead of open, read, close.
29956
29957 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29958
29959         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29960         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29961         global and hidden.
29962         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29963         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29964         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29965         Likewise.
29966         (__rawmemchr_sse2): Likewise.
29967         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29968         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29969         (__strchr_sse2): Likewise.
29970         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29971         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29972         (__strcasecmp_sse2): Likewise.
29973         (__strncasecmp_sse2): Likewise.
29974         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29975         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29976         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29977         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29978         (__strrchr_sse2): Likewise.
29979         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29980         ifunc-impl-list.c.
29981         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29982         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29983         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29984         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29985         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29986         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29987         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29988         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29989         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29990         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29991         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29992         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29993         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29994         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29995         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29996         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29997         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29998         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29999         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30000         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30001         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30002         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30003         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30004         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30005         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30006         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30007         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30008         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30009         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30010         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30011
30012         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30013         global and hidden.
30014         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30015         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30016         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30017         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30018         Likewise.
30019         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30020         Likewise.
30021         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30022         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30023         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30024         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30025         ifunc-impl-list.c.
30026         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30027         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30028         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30029         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30030         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30031         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30032         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30033         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30034         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30035         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30036         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30037         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30038         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30039         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30040         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30041         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30042         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30043         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30044         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30045         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30046         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30047         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30048         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30049         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30050         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30051         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30052         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30053         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30054         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30055         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30056         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30057         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30058         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30059         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30060         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30061         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30062         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30063         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30064         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30065         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30066         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30067
30068         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30069         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30070         * include/ifunc-impl-list.h: New file.
30071         * misc/ifunc-impl-list.c: Likewise.
30072         * misc/Makefile (routines): Add ifunc-impl-list.
30073         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30074         * string/test-string.h: Include <ifunc-impl-list.h>.
30075         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30076         TEST_NAME]: New variables.
30077         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30078         are defined.
30079         (test_init): Call __libc_ifunc_impl_list to initialize
30080         func_list if TEST_IFUNC and TEST_NAME are defined.
30081
30082         * string/Makefile (strop-tests): Add bcopy and bzero.
30083         * string/test-bcopy.c: New file.
30084         * string/test-bzero.c: Likewise.
30085         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30086         defined.
30087         * string/test-memset.c: Support bzero test if TEST_BZERO is
30088         defined.
30089         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30090         __libc_memmove.
30091         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30092         __libc_memset.
30093         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30094         of memset.
30095
30096 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30097
30098         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30099         * configure: Regenerated.
30100
30101         * Makeconfig (+link-static-before-libc): Don't include
30102         $(link-static-libc).
30103
30104         * libio/libio.h (_IO_pos_t): Remove.
30105
30106 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30107
30108         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30109         McGrath.
30110
30111 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30112
30113         * crypt/crypt-entry.c: Include fips-private.h.
30114         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30115         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30116         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30117         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30118
30119 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30120
30121         * crypt/crypt-private.h: Include stdbool.h.
30122         (_ufc_setup_salt_r): Return bool.
30123         * crypt/crypt-entry.c: Include errno.h.
30124         (__crypt_r): Return NULL with EINVAL for bad salt.
30125         * crypt/crypt_util.c (bad_for_salt): New.
30126         (_ufc_setup_salt_r): Check that salt is long enough and within
30127         the specified alphabet.
30128         * crypt/badsalttest.c: New file.
30129         * crypt/Makefile (tests): Add it.
30130         ($(objpfx)badsalttest): New.
30131
30132 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30133
30134         * NEWS: Add entry for BZ #14602.
30135
30136 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30137
30138         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30139         type-generic.
30140         * math/libm-test.inc: Update comment listing what functions and
30141         macros are tested.
30142         (isgreater_test): New function.
30143         (isgreaterequal_test): Likewise.
30144         (isless_test): Likewise.
30145         (islessequal_test): Likewise.
30146         (islessgreater_test): Likewise.
30147         (isunordered_test): Likewise.
30148         (main): Call the new functions.
30149
30150 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30151
30152         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30153         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30154         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30155         * sysdeps/i386/configure: Regenerated.
30156         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30157         * sysdeps/mach/configure: Regenerated.
30158         * sysdeps/mach/hurd/configure: Regenerated.
30159         * sysdeps/powerpc/configure: Regenerated.
30160         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30161         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30162         * sysdeps/s390/s390-32/configure: Regenerated.
30163         * sysdeps/s390/s390-64/configure: Regenerated.
30164         * sysdeps/sh/configure: Regenerated.
30165         * sysdeps/sparc/configure: Regenerated.
30166         * sysdeps/unix/sysv/linux/configure: Regenerated.
30167         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30168         * sysdeps/x86_64/configure: Regenerated.
30169
30170         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30171         defined.  Don't check if MAP is NULL.
30172
30173 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30174
30175         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30176         (_G_stat64): Likewise.
30177         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30178         (_G_stat64): Likewise.
30179         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30180         instead of struct _G_stat64.
30181         * libio/fileops.c (mmap_remap_check): Likewise.
30182         (decide_maybe_mmap): Likewise.
30183         (_IO_new_file_seekoff): Likewise.
30184         (_IO_file_stat): Likewise.
30185         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30186         _G_off64_t.
30187         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30188         instead of struct _G_stat64.
30189         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30190
30191 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30192
30193         [BZ #14602]
30194         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30195         Replace with ...
30196         (CHECK_EOL): New macro.
30197         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30198         CHECK_EOL.
30199         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30200         Replace with CHECK_EOL.
30201         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30202         Replace with CHECK_EOL.
30203
30204 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30205
30206         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30207         type-generic.
30208         * math/libm-test.inc: Update comment listing what functions and
30209         macros are tested.
30210         (finite_test): New function.
30211         (isinf_test): Likewise.
30212         (isnan_test): Likewise.
30213         (fpclassify_test): Test subnormal input.
30214         (isfinite_test): Likewise.
30215         (isnormal_test): Likewise.
30216         (main): Call the new functions.
30217
30218 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30219
30220         [BZ #14660]
30221         * Makerules (%.dynsym): Force C locale when running
30222         $(OBJDUMP) --dynamic-syms.
30223
30224 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30225
30226         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30227         <stdint.h>.
30228
30229 2012-10-06  David S. Miller  <davem@davemloft.net>
30230
30231         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30232         upper 32-bits of the length value in %o2 since we use branch-on-register
30233         tests which consider the entire 64-bit register.
30234
30235 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30236
30237         * string/test-strstr.c (check2): Add a test for page boundary.
30238
30239 2012-10-05  David S. Miller  <davem@davemloft.net>
30240
30241         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30242         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30243         file.
30244         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30245         sysdep_routines.
30246         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30247         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30248         and bzero when HWCAP_SPARC_CRYPTO is present.
30249
30250 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30251
30252         [BZ #14602]
30253         * string/test-strstr.c (check2): New function.
30254         (test_main): Call check2.
30255
30256         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30257         and bug-strchr1.
30258         * string/bug-strcasestr1.c (do_test): Moved to ...
30259         * string/test-strcasestr.c (check1): Here.  New function.
30260         (do_one_test): Break out result checking code into ...
30261         (check_result): This.  New function.
30262         (do_one_test): Call check_result.
30263         (test_main): Call check1.
30264         * string/bug-strchr1.c (do_test): Moved to ...
30265         * string/test-strchr.c (check1): Here.  New function.
30266         (do_one_test): Break out result checking code into ...
30267         (check_result): This.  New function.
30268         (do_one_test): Call check_result.
30269         (test_main): Call check1.
30270         * string/bug-strstr1.c (main): Moved to ...
30271         * string/test-strstr.c (check1): Here.  New function.
30272         (do_one_test): Break out result checking code into ...
30273         (check_result): This.  New function.
30274         (do_one_test): Call check_result.
30275         (test_main): Call check1.
30276         * string/bug-strcasestr1.c: Removed.
30277         * string/bug-strchr1.c: Likewise.
30278         * string/bug-strstr1.c: Likewise.
30279
30280         * elf/Makefile (dl-routines): Add hwcaps.
30281         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30282         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30283         (_dl_important_hwcaps): Moved to ...
30284         * elf/dl-hwcaps.c: Here.  New file.
30285         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30286
30287         [BZ #14557]
30288         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30289         if IS_IN_rtld isn't defined.
30290
30291         * elf/dl-support.c (_dl_sysinfo_map): New.
30292         Include "get-dynamic-info.h" and "setup-vdso.h".
30293         (_dl_non_dynamic_init): Call setup_vdso.
30294         * elf/dynamic-link.h: Don't include <assert.h>.
30295         (elf_get_dynamic_info): Moved to ...
30296         * elf/get-dynamic-info.h: Here.  New file.
30297         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30298         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30299         * elf/setup-vdso.h: Here.  New file.
30300         * elf/rtld.c: Include "setup-vdso.h".
30301         (dl_main): Call setup_vdso.
30302
30303 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30304
30305         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30306         creal in comment listing functions tested.  List finite, isinf,
30307         isnan, isless, islessequal, isgreater, isgreaterequal,
30308         islessgreater, isunordered, lgamma_r and pow10 as functions and
30309         macros not tested.  Mention which functions not tested are aliases
30310         for other functions.  Fix typo.  Note that signs of NaNs are not
30311         tested.
30312
30313         * scripts/config.guess: Update from config.git.
30314         * scripts/config.sub: Likewise.
30315
30316 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30317
30318         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30319         * misc/madvise.c (madvise): Renamed to __madvise.
30320         Make madvise a weak alias.
30321         * include/sys/mman.h: Declare __madvise.
30322         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30323         * sysdeps/unix/syscalls.list
30324         (madvise): Make __madvise the strong name, and madvise a weak alias.
30325         * sysdeps/unix/sysv/linux/syscalls.list
30326         (madvise, mmap): Remove redundant entries.
30327         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30328         * malloc/malloc.c (mtrim): Likewise.
30329         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30330
30331 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30332
30333         * sysdeps/mach/hurd/dl-cache.c: File removed.
30334         * config.h.in (USE_LDCONFIG): New #undef.
30335         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30336         * configure: Regenerated.
30337         * elf/Makefile (dl-routines): Add dl-cache only under
30338         [$(use-ldconfig) = yes].
30339         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30340         cache on [USE_LDCONFIG].
30341         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30342         [USE_LDCONFIG].
30343         * elf/rtld.c (dl_main): Likewise.
30344
30345 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30346
30347         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30348         _SC_LEVEL4_CACHE_LINESIZE.
30349
30350 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30351
30352         * sysdeps/unix/bsd/confstr.h: File removed.
30353
30354 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30355
30356         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30357         sys/sdt-config.h.
30358
30359 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30360
30361         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30362         Make 'mapoff' field ElfW(Off) rather than off_t.
30363
30364 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30365
30366         * nscd/Makefile: Remove nscd-cflags and all its users.
30367         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30368         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30369
30370         [BZ #10631]
30371         * malloc.c (malloc_printerr): Clarify error message.
30372
30373 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30374
30375         [BZ #14648]
30376         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30377         Set bit_FMA_Usable if FMA is supported.
30378         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30379         macro.
30380         (bit_FMA4_Usable): Updated.
30381         (index_FMA_Usable): New macro.
30382         (CPUID_FMA): Likewise
30383         (HAS_FMA): Defined with bit_FMA_Usable.
30384
30385 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30386
30387         * bits/types.h (__swblk_t): Type removed.
30388         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30389         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30390         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30391         (__SWBLK_T_TYPE): Likewise.
30392         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30393         (__SWBLK_T_TYPE): Likewise.
30394         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30395         (__SWBLK_T_TYPE): Likewise.
30396         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30397         (__SWBLK_T_TYPE): Likewise.
30398
30399 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30400             Honza Horak <hhorak@redhat.com>
30401
30402         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30403         (xdr_mapname): Use YPMAXMAP as maxsize.
30404         (xdr_peername): Use YPMAXPEER as maxsize.
30405         (xdr_keydat): Use YPAXRECORD as maxsize.
30406         (xdr_valdat): Use YPMAXRECORD as maxsize.
30407
30408 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30409
30410         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30411
30412         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30413         * csu/init-first.c: ... here.
30414         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30415         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30416         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30417         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30418         * sysdeps/i386/init-first.c: File removed.
30419         * sysdeps/sh/init-first.c: File removed.
30420
30421 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30422
30423         [BZ #14645]
30424         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30425         if x * y might underflow to zero and z is zero.
30426         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30427         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30428         * math/libm-test.inc (min_subnorm_value): New variable.
30429         (fma_test): Add more tests.
30430         (fma_test_towardzero): Likewise.
30431         (fma_test_downward): Likewise
30432         (fma_test_upward): Likewise.
30433         (initialize): Set min_subnorm_value.
30434
30435 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30436
30437         [BZ #14638]
30438         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30439         0 + 0.
30440         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30441         mode for addition resulting in exact zero.
30442         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30443         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30444         exact 0 + 0.
30445         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30446         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30447         * math/libm-test.inc (fma_test): Add more tests.
30448         (fma_test_towardzero): New function.
30449         (fma_test_downward): Likewise.
30450         (fma_test_upward): Likewise.
30451         (main): Call the new functions.
30452
30453 2012-09-28  David S. Miller  <davem@davemloft.net>
30454
30455         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30456
30457 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30458
30459         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30460         instead of SIGALRM.
30461
30462         * sysdeps/gnu/_G_config.h: Moved to ...
30463         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30464         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30465         * sysdeps/generic/_G_config.h: ... here.
30466
30467         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30468
30469         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30470
30471         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30472         Conditionalize target on [libnss_test1.so-version].
30473
30474         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30475
30476         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30477         (elfobjdir): Move out of conditionals.
30478
30479         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30480         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30481         (__nss_lookup_function): Conditionalize label remove_from_tree on
30482         [!DO_STATIC_NSS || SHARED], matching its only use.
30483
30484 2012-09-28  David S. Miller  <davem@davemloft.net>
30485
30486         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30487         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30488         file.
30489         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30490         sysdep_routines.
30491         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30492         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30493         when HWCAP_SPARC_CRYPTO is present.
30494
30495 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30496
30497         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30498
30499 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30500
30501         [BZ #6530]
30502         * stdio-common/vfprintf.c (process_string_arg): Revert
30503         2000-07-22 change.
30504
30505 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30506
30507         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30508         for testcase.
30509         * stdio-common/tst-sprintf.c: Include <locale.h>
30510         (main): Test sprintf's handling of incomplete multibyte
30511         characters.
30512
30513 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30514
30515         * elf/dl-runtime.c (VERSYMIDX): Removed.
30516         * elf/dl-version.c (VERSYMIDX): Likewise.
30517         * elf/do-rel.h (VERSYMIDX): Likewise.
30518         (VALIDX): Likewise.
30519         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30520         * elf/rtld.c (VALIDX): Likewise.
30521         (ADDRIDX): Likewise.
30522         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30523         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30524         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30525         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30526         (VALIDX): Likewise.
30527         (ADDRIDX): Likewise.
30528
30529 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30530
30531         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30532
30533 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30534
30535         [BZ #11438]
30536         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30537         to global scope.
30538         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30539         addresses are in the same scope as 192.0.2/24.
30540         * posix/gai.conf: Document new scope table defaults.
30541
30542 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30543
30544         [BZ #5298]
30545         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30546         for ftell.  Compute offsets from write pointers instead.
30547         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30548
30549 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30550
30551         [BZ #14543]
30552         * libio/Makefile (tests): New test case tst-fseek.
30553         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30554         combination works in wide mode.
30555         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30556         state when the external buffer state changes.
30557
30558 2012-09-27  David S. Miller  <davem@davemloft.net>
30559
30560         [BZ #14376]
30561         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30562         pass reloc->r_addend in as the 'high' argument to
30563         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30564
30565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30566
30567 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30568
30569         * rt/tst-aio2.c: Include <pthread.h>.
30570         * rt/tst-aio3.c: Likewise.
30571
30572 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30573
30574         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30575
30576 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30577
30578         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30579         contents on [SHARED].
30580
30581 2012-09-26  Marek Polacek  <polacek@redhat.com>
30582
30583         [BZ #14530]
30584         [BZ #13741]
30585         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30586         for C++ and GCC <4.3 as well as for non GCC compilers.
30587
30588 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30589
30590         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30591
30592 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30593
30594         * Makefile.in (all, install): Declare with .PHONY.
30595         Reported by Michael Hope <michael.hope@linaro.org>.
30596
30597 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30598
30599         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30600         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30601         system header.
30602         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30603         Likewise.
30604         (sydep_routines): Add the new and the internal functions.
30605         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30606         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30608         (GLIBC_2.17): Add the new function.
30609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30610         (GLIBC_2.17): Likewise.
30611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30612         (GLIBC_2.17): Likewise.
30613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30614         (GLIBC_2.17): Likewise.
30615         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30616
30617 2012-09-25  Alan Modra  <amodra@gmail.com>
30618
30619         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30620         Add release barrier before setting once_control to say
30621         initialisation is done.  Add hints on lwarx.  Use macro in
30622         place of isync.
30623         (clear_once_control): Add release barrier.
30624
30625 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30626
30627         [BZ #13629]
30628         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30629         specially.
30630         * math/s_clog10.c (__clog10): Likewise.
30631         * math/s_clog10f.c (__clog10f): Likewise.
30632         * math/s_clog10l.c (__clog10l): Likewise.
30633         * math/s_clogf.c (__clogf): Likewise.
30634         * math/s_clogl.c (__clogl): Likewise.
30635         * math/Makefile (libm-calls): Add x2y2m1.
30636         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30637         (__x2y2m1): Likewise.
30638         (__x2y2m1l): Likewise.
30639         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30640         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30641         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30642         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30643         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30644         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30645         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30646         * sysdeps/i386/fpu/libm-test-ulps: Update.
30647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30648
30649         [BZ #14621]
30650         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30651         int as type of variable DEPTH.
30652         (glob): Use size_t instead of int as type of variables NEWCOUNT
30653         and OLD_PATHC.
30654
30655 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30656
30657         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30658         Add s_sincosf-sse2.
30659         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30660         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30661         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30662         macros for using routine as __sincosf_ia32.
30663         Use macro for function declaration and weak_alias.
30664         * sysdeps/i386/fpu/libm-test-ulps: Update.
30665
30666         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30667         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30668
30669         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30670         subnormal argument.
30671         * math/s_cexpf.c (__cexpf): Likewise.
30672         * math/s_csinf.c (__csinf): Likewise.
30673         * math/s_csinhf.c (__csinhf): Likewise.
30674         * math/s_ctanf.c (__ctanf): Likewise.
30675         * math/s_ctanhf.c (__ctanhf): Likewise.
30676         * math/s_ccosh.c (__ccoshf): Likewise.
30677         * math/s_cexp.c (__cexpl): Likewise.
30678         * math/s_csin.c (__csin): Likewise.
30679         * math/s_csinh.c (__csinh): Likewise.
30680         * math/s_ctan.c (__ctan): Likewise.
30681         * math/s_ctanh.c (ctanh): Likewise.
30682         * math/s_ccoshl.c (__ccoshl): Likewise.
30683         * math/s_cexpl.c (__cexpl): Likewise.
30684         * math/s_csinl.c (__csinl): Likewise.
30685         * math/s_csinhl.c (__csinhl): Likewise.
30686         * math/s_ctanl.c (__ctanl): Likewise.
30687         * math/s_ctanhl.c (__ctanhl): Likewise.
30688
30689 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30690
30691         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30692         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30693         (_IO_off_t): Define to __off_t, not _G_off_t.
30694         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30695         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30696         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30697         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30698         type of __dummy and __dummy2 fields.
30699         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30700         (_G_ssize_t): Likewise.
30701         (_G_off_t): Likewise.
30702         (_G_pid_t): Likewise.
30703         (_G_uid_t): Likewise.
30704         (_G_wchar_t): Likewise.
30705         (_G_wint_t): Likewise.
30706         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30707         (_G_ssize_t): Likewise.
30708         (_G_off_t): Likewise.
30709         (_G_pid_t): Likewise.
30710         (_G_uid_t): Likewise.
30711         (_G_wchar_t): Likewise.
30712         (_G_wint_t): Likewise.
30713         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30714         (_G_ssize_t): Likewise.
30715         (_G_off_t): Likewise.
30716         (_G_pid_t): Likewise.
30717         (_G_uid_t): Likewise.
30718         (_G_wchar_t): Likewise.
30719         (_G_wint_t): Likewise.
30720
30721 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30722
30723         * malloc/arena.c: Include malloc-sysdep.h.
30724         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30725         is sufficient to shrink the heap or an unmap is needed.
30726         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30727         new function check_may_shrink_heap.
30728         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30729         new function check_may_shrink_heap.
30730
30731 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30732
30733         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30734         comments.
30735
30736 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30737
30738         * catgets/test-gencat.sh: Add "set -e".
30739         * elf/tst-pathopt.sh: Likewise.
30740         * grp/tst_fgetgrent.sh: Likewise.
30741         * iconvdata/run-iconv-test.sh: Likewise.
30742         * intl/tst-gettext.sh: Likewise.
30743         * intl/tst-gettext2.sh: Likewise.
30744         * intl/tst-gettext4.sh: Likewise.
30745         * intl/tst-gettext6.sh: Likewise.
30746         * intl/tst-translit.sh: Likewise.
30747         * io/ftwtest-sh: Likewise.
30748         * libio/test-freopen.sh: Likewise.
30749         * malloc/tst-mtrace.sh: Likewise.
30750         * posix/globtest.sh: Likewise.
30751         * posix/tst-getconf.sh: Likewise.
30752         * posix/wordexp-tst.sh: Likewise.
30753         * stdio-common/tst-printf.sh: Likewise.
30754         * stdio-common/tst-unbputc.sh: Likewise.
30755         * stdlib/tst-fmtmsg.sh: Likewise.
30756         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30757         * catgets/Makefile: Do not specify -e option when running
30758         testsuite shell scripts.
30759         * elf/Makefile: Likewise.
30760         * grp/Makefile: Likewise.
30761         * iconvdata/Makefile: Likewise.
30762         * intl/Makefile: Likewise.
30763         * io/Makefile: Likewise.
30764         * libio/Makefile: Likewise.
30765         * malloc/Makefile: Likewise.
30766         * posix/Makefile: Likewise.
30767         * stdio-common/Makefile: Likewise.
30768         * stdlib/Makefile: Likewise.
30769         * sysdeps/x86_64/Makefile: Likewise.
30770
30771         * io/ftwtest-sh: Add copyright header.
30772         * posix/globtest.sh: Likewise.
30773         * posix/tst-getconf.sh: Likewise.
30774         * posix/wordexp-tst.sh: Likewise.
30775         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30776
30777 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30778
30779         [BZ #13679]
30780         * Makeconfig (+link): Defined as $(+link-static) if
30781         $(build-shared) isn't yes.
30782         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30783         isn't yes.
30784         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30785
30786         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30787
30788         [BZ #14562]
30789         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30790         new chunk size with MALLOC_ALIGN_MASK.
30791
30792 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30793
30794         [BZ #5044]
30795         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30796         <rounding-mode.h>.
30797         (__printf_fphex): Determine rounding using get_rounding_mode and
30798         round_away.
30799         * stdio-common/tst-printf-round.c (struct hex_test): New
30800         structure.
30801         (hex_tests): New variable.
30802         (test_hex_in_one_mode): New function.
30803         (do_test): Also run tests for hex float output.
30804
30805 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30806
30807         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30808         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30809         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30810         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30811         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30812         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30813         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30814         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30815
30816 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30817
30818         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30819         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30820         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30821         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30822
30823 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30824
30825         [BZ #14579]
30826         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30827         mode only.
30828         * elf/tst-rtld-load-self.sh: New test.
30829         * elf/Makefile: Run it.
30830
30831 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30832
30833         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30834         (tst-writev-ENV): Remove.
30835         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30836
30837 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30838
30839         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30840
30841 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30842
30843         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30844         unconditional.
30845         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30846         Likewise.
30847         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30848         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30849         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30850         Likewise.
30851
30852 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30853
30854         [BZ #14587]
30855         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30856         * config.make.in (have-cpp-asm-debuginfo): Removed.
30857         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30858         * configure: Regenerated.
30859
30860 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30861
30862         [BZ #5044]
30863         * stdio-common/printf_fp.c: Include <stdbool.h> and
30864         <rounding-mode.h>.
30865         (___printf_fp): Determine rounding using get_rounding_mode and
30866         round_away.
30867         * stdio-common/tst-printf-round.c: New file.
30868         * stdio-common/Makefile (tests): Add tst-printf-round.
30869         (link-libm): New variable.
30870         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30871
30872 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30873
30874         [BZ #14576]
30875         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30876         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30877         Likewise.
30878         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30879         Likewise.
30880
30881 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30882
30883         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30884         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30885         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30886         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30887
30888 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30889
30890         [BZ #14518]
30891         * include/rounding-mode.h: New file.
30892         * sysdeps/generic/get-rounding-mode.h: Likewise.
30893         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30894         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30895         (MAX_VALUE): New macro.
30896         (MIN_VALUE): Likewise.
30897         (overflow_value): New function.
30898         (underflow_value): Likewise.
30899         (round_and_return): Use overflow_value and underflow_value to
30900         determine return values in overflow and underflow cases.  Use
30901         round_away to determine rounding depending on rounding mode.
30902         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30903         determine return values in overflow and underflow cases.
30904         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30905         (struct test_results): New structure.
30906         (struct test): Use struct test_results to store expected results
30907         for all rounding modes.
30908         (TEST): Include expected results for all rounding modes.
30909         (test_in_one_mode): New function.
30910         (do_test): Use test_in_one_mode to compute and check results.
30911         Check results for all rounding modes.
30912         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30913         $(link-libm).
30914
30915 2012-12-09  Allan McRae  <allan@archlinux.org>
30916
30917         * sysdeps/i386/fpu/libm-test-ulps: Update
30918
30919 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30920
30921         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30922         (_G_int32_t): Likewise.
30923         (_G_uint16_t): Likewise.
30924         (_G_uint32_t): Likewise.
30925         (_G_HAVE_BOOL): Likewise.
30926         (_G_HAVE_ATEXIT): Likewise.
30927         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30928         (_G_HAVE_IO_FILE_OPEN): Likewise.
30929         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30930         (_G_int32_t): Likewise.
30931         (_G_uint16_t): Likewise.
30932         (_G_uint32_t): Likewise.
30933         (_G_HAVE_BOOL): Likewise.
30934         (_G_HAVE_ATEXIT): Likewise.
30935         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30936         (_G_HAVE_IO_FILE_OPEN): Likewise.
30937         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30938         (_G_int32_t): Likewise.
30939         (_G_uint16_t): Likewise.
30940         (_G_uint32_t): Likewise.
30941         (_G_HAVE_BOOL): Likewise.
30942         (_G_HAVE_ATEXIT): Likewise.
30943         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30944         (_G_HAVE_IO_FILE_OPEN): Likewise.
30945
30946 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30947
30948         * csu/libc-tls.c: Update copyright years.
30949
30950 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30951
30952         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30953         [!_G_USING_THUNKS]: Remove conditional code.
30954         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30955         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30956
30957         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30958         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30959         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30960         (_G_VTABLE_LABEL_PREFIX): Likewise.
30961         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30962         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30963         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30964         (_G_VTABLE_LABEL_PREFIX): Likewise.
30965         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30966         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30967         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30968         (_G_VTABLE_LABEL_PREFIX): Likewise.
30969         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30970
30971 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30972
30973         * libio/Makefile: Include ../Makeconfig before tests.
30974         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30975         only if $(build-shared) is yes.
30976
30977         * iconv/gconv_db.c: Update copyright years.
30978
30979 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30980
30981         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30982         unwind info if defined PIC. Fix special cases description.
30983         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30984
30985         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30986         DP_HI_MASK entry.
30987         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30988
30989 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30990
30991         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30992
30993         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30994         is NULL.
30995
30996         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30997         (LDLIBS-tst-chk4): This.
30998         (LDFLAGS-tst-chk5): Renamed to ...
30999         (LDLIBS-tst-chk5): This.
31000         (LDFLAGS-tst-chk6): Renamed to ...
31001         (LDLIBS-tst-chk6): This.
31002         (LDFLAGS-tst-lfschk4): Renamed to ...
31003         (LDLIBS-tst-lfschk4): This.
31004         (LDFLAGS-tst-lfschk5): Renamed to ...
31005         (LDLIBS-tst-lfschk5): This.
31006         (LDFLAGS-tst-lfschk6): Renamed to ...
31007         (LDLIBS-tst-lfschk6): This.
31008
31009         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31010         on $(common-objpfx)soversions.mk.
31011
31012 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31013
31014         [BZ #10014]
31015         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31016         example host name.
31017
31018 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31019
31020         * malloc/arena.c (arena_get_retry): New function that gets
31021         another arena for the caller to try its request on.
31022         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31023         current arena cannot fulfill the request.
31024         (__libc_memalign): Likewise.
31025         (__libc_memalign): Likewise.
31026         (__libc_pvalloc): Likewise.
31027         (__libc_calloc): Likewise.
31028
31029 2012-09-05  John Tobey  <john.tobey@gmail.com>
31030
31031         [BZ #13542]
31032         * manual/arith.texi (Operations on Complex): Fix description
31033         of carg branch cut.
31034
31035 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31036
31037         [BZ #10014]
31038         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31039         host name.
31040
31041         [BZ #10038]
31042         * manual/memory.texi (Memory): Make order of menu items match
31043         order of sections.
31044
31045 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31046
31047         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31048         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31049         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31050
31051 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31052
31053         * csu/libc-tls.c (static_dtv): Renamed to ...
31054         (_dl_static_dtv): This.  Make it global.
31055         (_dl_initial_dtv): Removed.
31056         (__libc_setup_tls): Updated.
31057         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31058         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31059         DL_INITIAL_DTV.
31060
31061 2012-09-06  Petr Machata  <pmachata@redhat.com>
31062
31063         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31064         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31065         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31066         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31067
31068 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31069
31070         [BZ #14545]
31071         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31072         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31073         freeing dtv[-1].
31074
31075 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31076
31077         [BZ #14544]
31078         * Makeconfig (link-static-before-libc): Replace $(+prector)
31079         with $(+prectorT).
31080         (link-static-after-libc): Replace $(+postctor) with
31081         $(+postctorT).
31082         (link-bounded): Replace $(+prector)/$(+postctor) with
31083         $(+prectorT)/$(+postctorT).
31084         (+prectorT): New macro.
31085         (+postctorT): Likewise.
31086
31087 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31088
31089         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31090         (round_str): Handle values above the maximum for IBM long double
31091         as inexact.
31092         * stdlib/tst-strtod-round.c (tests): Regenerated.
31093
31094 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31095
31096         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31097         assembler flag.
31098         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31099         zarch_nohighgprs around the zarch optimized routines.
31100         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31101         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31102         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31103         for zarch.
31104
31105 2012-09-05  David S. Miller  <davem@davemloft.net>
31106
31107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31108
31109         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31110         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31111         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31112         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31113         entries.
31114
31115 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31116
31117         * malloc/arena.c: Fold copyright years.
31118         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31119
31120 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31121
31122         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31123
31124 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31125
31126         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31127
31128 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31129
31130         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31131         change internal state upon failure.
31132
31133 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31134
31135         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31136         * malloc/memusage.c (mmap): Likewise.
31137         (mmap64, mremap): Likewise.  Adjust name in comment.
31138
31139 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31140
31141         * libio/fileops.c: Fix typos in comments.
31142         * libio/oldfileops.c: Likewise.
31143         * libio/wfileops.c: Likewise.
31144
31145 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31146
31147         [BZ #1349]
31148         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31149         (tst-malloc-usable-ENV): Set environment for test case.
31150         * malloc/hooks.c (malloc_check_get_size): New function to get
31151         requested size.
31152         * malloc/malloc.c (musable): Use malloc_check_get_size.
31153         * malloc/tst-malloc-usable.c: New test case.
31154
31155 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31156
31157         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31158
31159 2012-09-05  Allan McRae  <allan@archlinux.org>
31160
31161         [BZ #13966]
31162         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31163         determine header location.
31164         * configure: Regenerated.
31165
31166 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31167
31168         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31169         float format.
31170         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31171         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31172         format.
31173         (test): Regenerate.
31174
31175 2012-09-04  David S. Miller  <davem@davemloft.net>
31176
31177         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31178         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31179         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31180
31181 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31182
31183         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31184         failures.
31185
31186         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31187
31188 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31189
31190         [BZ #9914]
31191         * libio/iogetdelim.c: Include <limits.h>.
31192         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31193         + len + 1 would overflow.
31194
31195 2012-09-03  Andreas Jaeger  <aj@suse.de>
31196
31197         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31198         * sysdeps/i386/fpu/libm-test-ulps: Update.
31199
31200 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31201
31202         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31203         Add s_sinf-sse2, s_conf-sse2.
31204
31205         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31206         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31207         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31208         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31209
31210         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31211         for using routine as __sinf_ia32.
31212         Use macro for function declaration and weak_alias.
31213         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31214         for using routine as __cosf_ia32.
31215         Use macro for function declaration and weak_alias.
31216
31217         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31218         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31219
31220         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31221         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31222         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31223
31224         * math/libm-test.inc (cos_test): Add more test cases.
31225         (sin_test): Likewise.
31226         (sincos_test): Likewise.
31227
31228 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31229
31230         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31231         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31232         hidden.
31233         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31234
31235 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31236
31237         [BZ #14538]
31238         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31239         first element of the GOT.
31240         (elf_machine_load_address): Return the difference between
31241         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31242
31243 2012-09-01  Allan McRae  <allan@archlinux.org>
31244
31245         [BZ #13412]
31246         * configure.in (AWK): Require gawk version 3.0 or later.
31247         * configure: Regenerated.
31248
31249 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31250
31251         * sysdeps/unix/sysv/linux/kernel-features.h
31252         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31253         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31254         [__NR_clock_getres]: Make code unconditional.
31255         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31256         (clock_getcpuclockid): Remove code left unreachable by removal of
31257         conditionals.
31258         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31259         code unconditional.
31260         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31261         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31262         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31263         Make code unconditional.
31264         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31265         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31266         * sysdeps/unix/sysv/linux/clock_settime.c
31267         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31268         conditional code.
31269         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31270         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31271
31272 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31273
31274         [BZ #14476]
31275         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31276         scripts/test-installation.pl.
31277
31278         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31279         and $ld_so_version if it is set.
31280
31281 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31282
31283         [BZ #14516]
31284         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31285         failure if reading from procfs failed.
31286         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31287
31288 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31289
31290         * sysdeps/unix/sysv/linux/kernel-features.h
31291         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31292         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31293         Remove conditional code.
31294         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31295         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31296         Remove conditional code.
31297         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31298         * sysdeps/unix/sysv/linux/i386/fxstat.c
31299         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31300         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31301         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31302         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31303         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31304         * sysdeps/unix/sysv/linux/i386/lxstat.c
31305         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31306         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31307         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31308         Remove conditional code.
31309         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31310         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31311         Remove conditional code.
31312         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31313         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31314         <kernel-features.h>.
31315         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31316         Remove.
31317         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31318         Remove conditional code.
31319         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31320         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31321         Remove conditional.
31322
31323 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31324
31325         [BZ #5400]
31326         * NEWS: Add fixed bug number.
31327
31328 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31329
31330         [BZ #14519]
31331         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31332         underflowing exponent in case of negative sign.
31333         * stdlib/tst-strtod-round-data: Add more tests.
31334         * stdlib/tst-strtod-round.c (tests): Regenerated.
31335
31336         [BZ #3479]
31337         * stdlib/strtod_l.c (NDIG): Remove.
31338         (HEXNDIG): Likewise.
31339         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31340         smallest representable value.
31341         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31342         lie within an exact representation of 1/2 ulp of the result.
31343         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31344         unconditionally.
31345         (TENS_P9_IDX): Define unconditionally.
31346         (TENS_P9_SIZE): Likewise.
31347         (TENS_P10_IDX): Likewise.
31348         (TENS_P10_SIZE): Likewise.
31349         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31350         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31351         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31352         entries for 10^2^13 and 10^2^14.
31353         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31354         (TENS_P13_IDX): Define.
31355         (TENS_P13_SIZE): Likewise.
31356         (TENS_P14_IDX): Likewise.
31357         (TENS_P14_SIZE): Likewise.
31358         (_fpioconst_pow10): Change array size to
31359         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31360         unconditional.
31361         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31362         1024]: Add entries for 10^2^13 and 10^2^14.
31363         [LAST_POW10 > _LAST_POW10]: Remove #error.
31364         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31365         (_fpioconst_pow10): Change array size to
31366         FPIOCONST_POW10_ARRAY_SIZE.
31367         * stdlib/gen-fpioconst.c: New file.
31368         * stdlib/gen-tst-strtod-round.c: Likewise.
31369         * stdlib/tst-strtod-round-data: Likewise.
31370         * stdlib/tst-strtod-round.c: Likewise.
31371         * stdlib/Makefile (tests): Add tst-strtod-round.
31372
31373         [BZ #14459]
31374         * stdlib/strtod_l.c: Include <stdint.h>.
31375         (NDEBUG): Do not define.
31376         (round_and_return): Change EXPONENT parameter to type intmax_t.
31377         Rearrange calculations to avoid internal overflow possibilities.
31378         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31379         Rearrange calculations to avoid internal overflow possibilities.
31380         Assert that number fits inside MPNSIZE limbs.
31381         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31382         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31383         calculations and add assertions to avoid internal overflow
31384         possibilities.  Add casts to avoid signed/unsigned operations.
31385         * stdlib/tst-strtod-overflow.c: New file.
31386         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31387
31388 2012-08-25  Marek Polacek  <polacek@redhat.com>
31389
31390         * time/time.h: Fix some typos in comments.
31391
31392 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31393
31394         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31395         * posix/tst-rfc3484-2.c: Likewise.
31396         * posix/tst-rfc3484-3.c: Likewise.
31397
31398 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31399
31400         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31401         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31402
31403 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31404
31405         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31406         #include of fxstatat64.c.
31407
31408 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31409
31410         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31411         * shadow/getspent_r.c: Likewise.
31412         * shadow/getspnam.c: Likewise.
31413         * shadow/getspnam_r.c: Likewise.
31414         * gshadow/getsgent.c: Likewise.
31415         * gshadow/getsgent_r.c: Likewise.
31416         * gshadow/getsgnam.c: Likewise.
31417         * gshadow/getsgnam_r.c: Likewise.
31418         * inet/getnetbyad.c: Likewise.
31419         * inet/getnetbyad_r.c: Likewise.
31420         * inet/getnetbynm.c: Likewise.
31421         * inet/getnetbynm_r.c: Likewise.
31422         * inet/getnetent.c: Likewise.
31423         * inet/getnetent_r.c: Likewise.
31424         * inet/getproto.c: Likewise.
31425         * inet/getproto_r.c: Likewise.
31426         * inet/getprtent.c: Likewise.
31427         * inet/getprtent_r.c: Likewise.
31428         * inet/getprtname.c: Likewise.
31429         * inet/getprtname_r.c: Likewise.
31430         * inet/getrpcbyname.c: Likewise.
31431         * inet/getrpcbyname_r.c: Likewise.
31432         * inet/getrpcbynumber.c: Likewise.
31433         * inet/getrpcbynumber_r.c: Likewise.
31434         * inet/getrpcent.c: Likewise.
31435         * inet/getrpcent_r.c: Likewise.
31436         * inet/getaliasent.c: Likewise.
31437         * inet/getaliasent_r.c: Likewise.
31438         * inet/getaliasname.c: Likewise.
31439         * inet/getaliasname_r.c: Likewise.
31440         * nscd/getgrgid_r.c: Likewise.
31441         * nscd/getgrnam_r.c: Likewise.
31442         * nscd/gethstbyad_r.c: Likewise.
31443         * nscd/gethstbynm3_r.c: Likewise.
31444         * nscd/getpwnam_r.c: Likewise.
31445         * nscd/getpwuid_r.c: Likewise.
31446         * nscd/getsrvbynm_r.c: Likewise.
31447         * nscd/getsrvbypt_r.c: Likewise.
31448         * nscd/gai.c: Likewise.
31449
31450         * configure.in (build_nscd): New substituted variable, set
31451         by --disable-build-nscd and defaults to $use_nscd.
31452         * configure: Regenerated.
31453         * config.make.in (build-nscd): New substituted variable.
31454         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31455         Change conditional to require [$(build-nscd) = yes] as well.
31456         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31457
31458         [BZ# 13696]
31459         * configure.in (use_nscd): New substituted variable, set by
31460         --disable-nscd.  If enabled, define USE_NSCD.
31461         * configure: Regenerated.
31462         * config.h.in: Add USE_NSCD.
31463         * config.make.in (use-nscd): New substituted variable.
31464         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31465         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31466         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31467         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31468         (CFLAGS-getgrnam_r.c): Likewise.
31469         (CFLAGS-initgroups.c): Likewise.
31470         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31471         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31472         Variables removed.
31473         * inet/getnetgrent_r.c
31474         (nscd_setnetgrent): New function, broken out of ...
31475         (setnetgrent): ... here.  Call it.
31476         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31477         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31478         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31479         * nscd/Makefile (routines, aux): Move definitions after include of
31480         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31481         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31482         Conditionalize on [USE_NSCD].
31483         (is_nscd, nscd_init_cb): Likewise.
31484         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31485         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31486         * nss/nss_db/db-init.c: Likewise.
31487         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31488         [USE_NSCD].
31489         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31490         (make_request): Use it.
31491         (cache_valid_p): New function.
31492         (__check_pf): Use it.
31493         * NEWS: Add item for --disable-nscd.
31494
31495 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31496
31497         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31498         to support sed >= 4.2.1-20-ga9bf076.
31499         * configure: Regenerated.
31500
31501 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31502
31503         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31504         Conditionalize whole body on [IREL].
31505
31506 2012-08-22  Jeff Law <law@redhat.com>
31507
31508         [BZ #14505]
31509         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31510         if the family is PF_UNSPEC.
31511
31512 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31513
31514         * Makerules (lib-version): Rename from V.
31515         (install-lib-nosubdir): Change V to lib-version.
31516
31517 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31518
31519         [BZ #14252]
31520         * powerpc32/power6/wcschr.c: New file.
31521         * powerpc32/power6/wcscpy.c: New file.
31522         * powerpc32/power6/wcsrchr.c: New file.
31523         * powerpc64/power6/wcschr.c: New file.
31524         * powerpc64/power6/wcscpy.c: New file.
31525         * powerpc64/power6/wcsrchr.c: New file.
31526
31527 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31528
31529         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31530         (two_way_short_needle): Use it.
31531         * string/strstr.c (AVAILABLE1_USES_J): Define.
31532         * string/strcasestr.c: Likewise.
31533
31534         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31535         array references.
31536         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31537
31538         [BZ #11607]
31539         * NEWS: Add an entry.
31540         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31541         define their defaults.
31542         (two_way_short_needle): Detect end-of-string on-the-fly.
31543         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31544         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31545         * string/bug-strcasestr1.c: New test.
31546         * string/Makefile: Run it.
31547
31548 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31549
31550         [BZ #11607]
31551         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31552         the first character.
31553
31554 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31555
31556         * csu/elf-init.c (__libc_csu_irel): Function removed.
31557         * csu/libc-start.c (apply_irel): New function.
31558         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31559
31560 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31561
31562         * sysdeps/unix/sysv/linux/kernel-features.h
31563         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31564         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31565         <kernel-features.h>.
31566         [__NR_fadvise64_64]: Make code unconditional.
31567         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31568         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31569         !__NR_fadvise64_64)]: Likewise.
31570         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31571         !__NR_fadvise64_64))]: Likewise.
31572         [__NR_fadvise64]: Make code unconditional.
31573         [!__NR_fadvise64]: Remove conditional code.
31574         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31575         <kernel-features.h>.
31576         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31577         unconditional.
31578         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31579         conditional code.
31580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31581         not include <kernel-features.h>.
31582         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31583         unconditional.
31584         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31585         conditional code.
31586         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31587         include <kernel-features.h>.
31588         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31589         unconditional.
31590         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31591         conditional code.
31592
31593 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31594
31595         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31596         slight instruction rearrangements per scrollpipe analysis.
31597         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31598
31599 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31600
31601         * manual/syslog.texi (syslog; vsyslog, closelog):
31602         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31603         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31604
31605         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31606         DSOCAPS to match condition on defining it.
31607
31608 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31609
31610         * sysdeps/unix/sysv/linux/kernel-features.h
31611         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31613         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31614         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31616         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31617         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31619         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31620         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31621
31622         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31623         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31624
31625         * sysdeps/unix/sysv/linux/kernel-features.h
31626         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31627         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31628         unconditional.
31629         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31630         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31631         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31632         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31633         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31634         Make code unconditional.
31635         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31636         (__mmap64) [!__NR_mmap2]: Likewise.
31637         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31638         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31639         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31640         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31641         [__NR_mmap2]: Make code unconditional.
31642         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31643         (__mmap64) [!__NR_mmap2]: Likewise.
31644
31645 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31646
31647         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31648
31649 2012-08-18  Andreas Jaeger  <aj@suse.de>
31650
31651         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31652
31653 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31654
31655         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31656         * include/unistd.h (__have_sock_cloexec): Likewise.
31657         (__have_pipe2): Likewise.
31658         (__have_dup3): Likewise.
31659
31660 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31661
31662         [BZ #9685]
31663         * include/unistd.h (__have_pipe2): Change define into an extern int.
31664         (__have_dup3): Likewise.
31665         * socket/have_sock_cloexec.c: Include fcntl.h.
31666         (__have_pipe2): New variable.
31667         (__have_dup3): Likewise.
31668
31669 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31670
31671         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31672
31673 2012-08-17  Marek Polacek  <polacek@redhat.com>
31674
31675         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31676         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31677
31678 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31679
31680         * configure.in: Add AC_SUBST for sysheaders.
31681         * configure: Regenerated.
31682         * config.make.in (sysheaders): New substituted variable.
31683
31684         * sysdeps/unix/mkfifo.c: Moved ...
31685         * sysdeps/posix/mkfifo.c: ... here.
31686         * sysdeps/unix/mkfifoat.c: Moved ...
31687         * sysdeps/posix/mkfifoat.c: ... here.
31688
31689         * sysdeps/unix/utime.c: Moved ...
31690         * sysdeps/posix/utime.c: ... here.
31691
31692         * sysdeps/unix/time.c: Moved ...
31693         * sysdeps/posix/time.c: ... here.
31694         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31695         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31696
31697         * sysdeps/unix/nice.c: Moved ...
31698         * sysdeps/posix/nice.c: ... here.
31699
31700         * sysdeps/unix/alarm.c: Moved ...
31701         * sysdeps/posix/alarm.c: ... here.
31702
31703         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31704
31705 2012-08-17  Jeff Law <law@redhat.com>
31706
31707         * intl/Makefile (codeset_mo): New variable.
31708         ($(codeset_mo)): New target.
31709         (tst-codeset.out): Depend on that.  Remove explicit rule.
31710         (tst-gettext3.out, tst-gettext5.out): Likewise.
31711         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31712         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31713         * intl/tst-codeset.sh: Remove.
31714         * intl/tst-gettext3.sh: Likewise.
31715         * intl/tst-gettext5.sh: Likewise.
31716
31717 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31718
31719         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31720         * sysdeps/unix/syscalls.list: ... here.
31721
31722         * sysdeps/posix/getaddrinfo.c
31723         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31724         (gaiconf_init, gaiconf_reload): Use them.
31725         [!_STATBUF_ST_NSEC]
31726         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31727         Define using time_t rather than struct timespec.
31728
31729         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31730         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31731         Macros removed.
31732         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31733         [!NO_THREADS].
31734         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31735         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31736         Likewise.
31737
31738         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31739         __libc_cleanup_push argument.
31740
31741         * bits/param.h: New file.
31742         * misc/sys/param.h: New file.
31743         * include/sys/param.h: New file.
31744         * misc/Makefile (headers): Add bits/param.h.
31745         * sysdeps/generic/sys/param.h: File removed.
31746         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31747         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31748         * sysdeps/mach/hurd/bits/param.h: New file.
31749         * sysdeps/mach/hurd/sys/param.h: File removed.
31750
31751         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31752         last change.
31753
31754         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31755         [_IO_MTSAFE_IO].
31756         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31757         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31758         New macros.
31759
31760         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31761         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31762         rather than -D_IO_MTSAFE_IO conditionally.
31763         * stdio-common/Makefile (CPPFLAGS): Likewise.
31764         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31765         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31766         Use $(libio-mtsafe).
31767         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31768         of -D_IO_MTSAFE_IO.
31769         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31770         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31771         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31772         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31773         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31774         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31775         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31776         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31777         (CFLAGS-fread_u_chk.c): Likewise.
31778         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31779         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31780         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31781         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31782         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31783         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31784         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31785         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31786         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31787
31788         * libio/Makefile: Test [$(libc-reentrant) = yes]
31789         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31790
31791         * Makeconfig
31792         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31793         * sysdeps/pthread/configure: File removed.
31794         * sysdeps/pthread/Makeconfig: New file.
31795         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31796         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31797
31798 2012-08-16  Gary Benson  <gbenson@redhat.com>
31799
31800         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31801         unmapping the first object in a namespace.
31802
31803 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31804
31805         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31806         (__internal_setnetgrent): ... this.  Add internal_function to
31807         definition.  Add libc_hidden_def.
31808         (setnetgrent): Update caller.
31809         (internal_endnetgrent): Renamed to ...
31810         (__internal_endnetgrent): ... this.  Add internal_function to
31811         definition.  Add libc_hidden_def.
31812         (endnetgrent): Update caller.
31813         (internal_getnetgrent_r): Renamed to ...
31814         (__internal_getnetgrent_r): ... this.  Add internal_function to
31815         definition.  Add libc_hidden_def.
31816         (__getnetgrent_r): Update caller.
31817         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31818
31819 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31820
31821         * stdlib/longlong.h: Update from GCC.
31822
31823 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31824
31825         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31826         on _QL, which is set by umul_ppmm but never used.
31827         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31828         variables, which are set by GMP macros but never used.
31829         * stdio-common/_itowa.c (_itowa): Likewise.
31830         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31831         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31832
31833 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31834
31835         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31836         struct La_sh_regs is not constant.
31837         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31838         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31839         and struct La_sparc64_regs are not constant.
31840
31841 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31842
31843         * sysdeps/unix/sysv/linux/kernel-features.h
31844         (__ASSUME_POSIX_TIMERS): Remove.
31845         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31846         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31847         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31848         Make code unconditional.
31849         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31850         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31851         Make code unconditional.
31852         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31853         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31854         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31855         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31856         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31857         Make code unconditional.
31858         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31859         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31860         (__libc_missing_posix_timers): Remove.
31861
31862 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31863
31864         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31865         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31866
31867         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31868
31869         * elf/dl-sym.c: Include <stdlib.h>.
31870
31871         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31872         constants, which avoids warnings in 32-bit builds.
31873
31874         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31875         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31876
31877         * misc/lseek.c: File moved to ...
31878         * io/lseek.c: ... here.
31879
31880         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31881
31882         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31883         shifting LEN more than 31 bits at once.
31884
31885 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31886
31887         [BZ #14195]
31888         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31889         segmentation fault for a case of two empty input strings.
31890         * string/test-strncasecmp.c (check1): Renamed to...
31891         (bz12205): ...this.
31892         (bz14195): Add new testcase for two empty input strings and N > 0.
31893         (test_main): Call new testcase, adapt for renamed function.
31894
31895 2012-08-15  Andreas Jaeger  <aj@suse.de>
31896
31897         [BZ #14090]
31898         * crypt/md5test2.c: New test, based on test supplied by Serge
31899         Belyshev <belyshev@depni.sinp.msu.ru>.
31900         * crypt/Makefile (xtests): Add md5test-giant..
31901         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31902
31903 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31904
31905         [BZ #14090]
31906         * crypt/md5.c (md5_process_block): Don't assume the buffer
31907         length is less than 2**32.
31908         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31909         length is less than 2**64.
31910
31911 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31912
31913         * string/str-two-way.h: Include <sys/param.h>.
31914         (MAX): Macro removed.
31915
31916         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31917         Move #define and #undef of memmove to just before and after
31918         including <string.h>.
31919
31920         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31921         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31922         and after including <string.h>.  Move declarations of
31923         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31924         to before #include "string/memmove.c".
31925
31926         * include/dirent.h: Declare __getdirentries.
31927
31928         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31929         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31930
31931 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31932
31933         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31934         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31935         * sysdeps/i386/configure: Regenerated.
31936         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31937         STABS_CURRENT_FILE, and STABS_FUN.
31938         (END): Remove call to STABS_FUN_END.
31939         (STABS_CURRENT_FILE1): Delete.
31940         (STABS_CURRENT_FILE): Likewise.
31941         (STABS_FUN): Likewise.
31942         (STABS_FUN_END): Likewise.
31943         (STABS_FUN2): Likewise.
31944         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31945         * sysdeps/x86_64/configure: Regenerated.
31946
31947 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31948
31949         * elf/dl-open.c: Include <atomic.h>.
31950         * elf/dl-lookup.c: Likewise.
31951
31952 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31953
31954         * sysdeps/unix/sysv/linux/kernel-features.h
31955         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31956         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31957         unconditionally.
31958         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31959         unconditionally.
31960         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31961         condition on __ASSUME_CLONE_THREAD_FLAGS.
31962
31963 2012-08-14  Andreas Jaeger  <aj@suse.de>
31964
31965         * sysdeps/i386/fpu/libm-test-ulps: Update.
31966
31967 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31968
31969         * include/atomic.h (atomic_exchange_and_add): Split into ...
31970         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31971         New atomic macros.
31972
31973 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31974
31975         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31976
31977 2012-08-13  Jeff Law <law@redhat.com>
31978
31979         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31980         null byte in the output string.
31981
31982 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31983
31984         * sysdeps/unix/sysv/linux/kernel-features.h
31985         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31986         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31987         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31988         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31989         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31990         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31991         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31992
31993 2012-08-09  Jeff Law <law@redhat.com>
31994
31995         [BZ #13939]
31996         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31997         When avoid_arena is set, don't retry in the that arena.  Pick the
31998         next one, whatever it might be.
31999         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32000         (arena_lock): Pass in new parameter to arena_get2.
32001         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32002         arena_get2.
32003         (__libc_malloc): Unify retrying after main arena failure with
32004         __libc_memalign version.
32005         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32006
32007 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32008
32009         [BZ #14166]
32010         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32011         to __redirect_strstr.
32012         (__strstr_sse42): Use typeof __redirect_strstr.
32013         (__strstr_ia32): Likewise.
32014         (__libc_strstr): New prototype.
32015         (strstr): Renamed to ...
32016         (__libc_strstr): This.
32017         (strstr): New strong alias of __libc_strstr.
32018         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32019         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32020         __redirect_time.
32021         Include <time.h>.
32022         (__libc_time): New prototype.
32023         (time_ifunc): Replace time with __libc_time.
32024         (time): New strong alias and hidden definition of __libc_time.
32025         (__GI_time): Remove strong alias.
32026         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32027         Include <stddef.h>.
32028         (memmove): Redefined to __redirect_memmove.
32029         (__memmove_sse2): Use typeof __redirect_memmove.
32030         (__memmove_ssse3): Likewise.
32031         (__memmove_ssse3_back): Likewise.
32032         (__libc_memmove): New prototype.
32033         (memmove): Renamed to ...
32034         (__libc_memmove): This.
32035         (memmove): New strong alias of __libc_memmove.
32036
32037 2012-08-08  Mark Salter  <msalter@redhat.com>
32038
32039         * elf/elf.h
32040         (R_MN10300_TLS_GD): Define.
32041         (R_MN10300_TLS_LD): Likewise.
32042         (R_MN10300_TLS_LDO): Likewise.
32043         (R_MN10300_TLS_GOTIE): Likewise.
32044         (R_MN10300_TLS_IE): Likewise.
32045         (R_MN10300_TLS_LE): Likewise.
32046         (R_MN10300_TLS_DTPMOD): Likewise.
32047         (R_MN10300_TLS_DTPOFF): Likewise.
32048         (R_MN10300_TLS_TPOFF): Likewise.
32049         (R_MN10300_SYM_DIFF): Likewise.
32050         (R_MN10300_ALIGN): Likewise.
32051         (R_MN10300_NUM): Update.
32052
32053 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32054
32055         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32056         Remove.
32057
32058 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32059
32060         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32061
32062         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32063         sysdeps/unix -> sysdeps/posix move.
32064         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32065
32066 2012-08-07      Allan McRae     <allan@archlinux.org>
32067
32068         [BZ #14303]
32069         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32070         (SUNOS_CPP): Likewise.
32071         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32072         not found.
32073         (open_input): Call CPP using execvp.
32074
32075 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32076
32077         * sysdeps/unix/sysv/linux/kernel-features.h
32078         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32079         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32080         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32081         (__ASSUME_WAITID_SYSCALL): Likewise.
32082         * sysdeps/unix/sysv/linux/dl-execstack.c
32083         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32084         code unconditional.
32085         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32086         conditional code.
32087         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32088         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32089         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32090         code.
32091         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32092         unconditional.
32093         [__ASSUME_WAITID_SYSCALL]: Likewise.
32094         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32095
32096 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32097
32098         * sysdeps/unix/closedir.c: Renamed to ...
32099         * sysdeps/posix/closedir.c: ... here.
32100         * sysdeps/unix/dirfd.c: Renamed to ...
32101         * sysdeps/posix/dirfd.c: ... here.
32102         * sysdeps/unix/dirstream.h: Renamed to ...
32103         * sysdeps/posix/dirstream.h: ... here.
32104         * sysdeps/unix/fdopendir.c: Renamed to ...
32105         * sysdeps/posix/fdopendir.c: ... here.
32106         * sysdeps/unix/opendir.c: Renamed to ...
32107         * sysdeps/posix/opendir.c: ... here.
32108         * sysdeps/unix/readdir.c: Renamed to ...
32109         * sysdeps/posix/readdir.c: ... here.
32110         * sysdeps/unix/readdir_r.c: Renamed to ...
32111         * sysdeps/posix/readdir_r.c: ... here.
32112         * sysdeps/unix/rewinddir.c: Renamed to ...
32113         * sysdeps/posix/rewinddir.c: ... here.
32114         * sysdeps/unix/seekdir.c: Renamed to ...
32115         * sysdeps/posix/seekdir.c: ... here.
32116         * sysdeps/unix/telldir.c: Renamed to ...
32117         * sysdeps/posix/telldir.c: ... here.
32118         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32119         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32120         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32121         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32122
32123         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32124         * bits/fcntl.h: ... here.
32125
32126         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32127         not 0.
32128         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32129         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32130         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32131         (struct flock): Move l_start, l_len to the beginning.
32132         Use __pid_t for l_pid.
32133         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32134         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32135         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32136         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32137         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32138         [__USE_LARGEFILE64] (struct flock64): New type.
32139         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32140
32141         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32142         * bits/dirent.h: ... here.
32143
32144         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32145         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32146
32147 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32148
32149         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32150         Change from 2.6.0 to 2.6.16.
32151         * sysdeps/unix/sysv/linux/configure: Regenerated.
32152         * sysdeps/unix/sysv/linux/kernel-features.h
32153         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32154         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32155         version.
32156         (__ASSUME_UTIMES): Likewise.
32157         (__ASSUME_CLONE_STOPPED): Remove.
32158         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32159         architectures, not kernel version.
32160         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32161         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32162         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32163         (__ASSUME_WAITID_SYSCALL): Likewise.
32164         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32165         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32166         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32167         refer to older versions.
32168
32169 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32170
32171         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32172         Define alphasort64 as an alias.
32173         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32174         Define versionsort64 as an alias.
32175         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32176         Define scandir64 as an alias.
32177         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32178         Define scandirat64 as an alias.
32179         * dirent/alphasort64.c (alphasort64):
32180         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32181         * dirent/versionsort64.c: Likewise.
32182         * dirent/scandir64.c: Likewise.
32183         * dirent/scandirat64.c: Likewise.
32184         * sysdeps/wordsize-64/alphasort.c: File removed.
32185         * sysdeps/wordsize-64/alphasort64.c: File removed.
32186         * sysdeps/wordsize-64/scandir.c: File removed.
32187         * sysdeps/wordsize-64/scandir64.c: File removed.
32188         * sysdeps/wordsize-64/scandirat.c: File removed.
32189         * sysdeps/wordsize-64/scandirat64.c: File removed.
32190         * sysdeps/wordsize-64/versionsort.c: File removed.
32191         * sysdeps/wordsize-64/versionsort64.c: File removed.
32192         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32193         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32194         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32195         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32196         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32197         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32198         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32199         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32200
32201         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32202         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32203         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32204         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32205         [defined __arch64__ || defined __sparcv9]
32206         (__INO_T_MATCHES_INO64_T): New macro.
32207         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32208         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32209         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32210         * sysdeps/unix/sysv/linux/bits/dirent.h
32211         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32212         (_DIRENT_MATCHES_DIRENT64): New macro.
32213
32214         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32215         Define lockf64 as an alias.
32216         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32217         Define fseeko64 as an alias.
32218         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32219         Define ftello64 as an alias.
32220         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32221         Define _IO_fgetpos64 and fgetpos64 as aliases.
32222         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32223         Define _IO_fsetpos64 and fsetpos64 as aliases.
32224         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32225         Conditionalize body on this.
32226         * libio/fseeko64.c: Likewise.
32227         * libio/ftello64.c: Likewise.
32228         * libio/iofgetpos64.c: Likewise.
32229         * libio/iofsetpos64.c: Likewise.
32230         * sysdeps/wordsize-64/lockf.c: File removed.
32231         * sysdeps/wordsize-64/lockf64.c: File removed.
32232         * sysdeps/wordsize-64/fseeko.c: File removed.
32233         * sysdeps/wordsize-64/fseeko64.c: File removed.
32234         * sysdeps/wordsize-64/ftello.c: File removed.
32235         * sysdeps/wordsize-64/ftello64.c: File removed.
32236         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32237         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32238         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32239         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32240         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32241         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32242         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32243         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32244         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32245         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32246         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32247         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32248         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32249         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32250
32251         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32252         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32253         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32254         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32255         [defined __arch64__ || defined __sparcv9]
32256         (__OFF_T_MATCHES_OFF64_T): New macro.
32257         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32258         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32259         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32260         (__OFF_T_MATCHES_OFF64_T): New macro.
32261
32262 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32263
32264         * stdlib/secure-getenv.c (__secure_getenv): Replace
32265         GLIBC_2_16 with GLIBC_2_17.
32266
32267 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32268
32269         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32270         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32271
32272 2012-08-03  David S. Miller  <davem@davemloft.net>
32273
32274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32275
32276 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32277
32278         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32279         Remove.
32280         (__ASSUME_CORRECT_SI_PID): Likewise.
32281         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32282         (__ASSUME_TMPFS_NAME): Likewise.
32283         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32284         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32285         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32286         (HAVE_AUX_SECURE): Make definition unconditional.
32287         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32288         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32289
32290 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32291
32292         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32293         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32294         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32295         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32296         __eloop_threshold instead of SYMLOOP_MAX.
32297
32298         * sysdeps/generic/eloop-threshold.h: New file.
32299         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32300         of MAXSYMLINKS.
32301         * elf/chroot_canon.c (chroot_canon): Likewise.
32302
32303 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32304
32305         [BZ #13717]
32306         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32307         Change to 2.6.0 everywhere.
32308         * sysdeps/unix/sysv/linux/configure: Regenerated.
32309         * sysdeps/unix/sysv/linux/kernel-features.h
32310         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32311         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32312         kernel versions.
32313         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32314         (__ASSUME_FUTEX_REQUEUE): Remove.
32315         (__ASSUME_STATFS64): Define unconditionally.
32316         (__ASSUME_AT_SECURE): Likewise.
32317         (__ASSUME_CORRECT_SI_PID): Likewise.
32318         (__ASSUME_TGKILL): Define without depending on kernel version for
32319         i386.
32320         (__ASSUME_UTIMES): Likewise.
32321         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32322         kernel version.
32323         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32324         (__ASSUME_TMPFS_NAME): Likewise.
32325         * README: Update reference to Linux kernel versions.
32326
32327 2012-08-02  Marek Polacek  <polacek@redhat.com>
32328
32329         [BZ# 14150]
32330         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32331         libc_cv_asm_type_prefix with %.
32332         * configure: Regenerated.
32333         * include/libc-symbols.h: Remove comment about
32334         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32335         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32336         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32337         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32338         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32339         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32340         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32341         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32342         * elf/tst-unique2mod1.c: Likewise.
32343         * elf/tst-unique1mod2.c: Likewise.
32344         * elf/tst-unique1mod1.c: Likewise.
32345         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32346         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32347         Replace ASM_TYPE_DIRECTIVE with .type.
32348         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32349         * sysdeps/i386/sysdep.h: Likewise.
32350         * sysdeps/x86_64/sysdep.h: Likewise.
32351         * sysdeps/sh/sysdep.h: Likewise.
32352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32353         Do not define ASM_TYPE_DIRECTIVE.
32354         * sysdeps/powerpc/sysdep.h: Likewise.
32355         * sysdeps/powerpc/powerpc32/sysdep.h:
32356         Replace ASM_TYPE_DIRECTIVE with .type.
32357         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32358         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32359         * sysdeps/i386/fpu/e_powf.S: Likewise.
32360         * sysdeps/i386/fpu/e_expl.S: Likewise.
32361         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32362         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32363         * sysdeps/i386/fpu/e_pow.S: Likewise.
32364         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32365         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32366         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32367         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32368         * sysdeps/i386/fpu/e_log2.S: Likewise.
32369         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32370         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32371         * sysdeps/i386/fpu/e_powl.S: Likewise.
32372         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32373         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32374         * sysdeps/i386/fpu/e_logl.S: Likewise.
32375         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32376         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32377         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32378         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32379         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32380         * sysdeps/i386/fpu/e_log.S: Likewise.
32381         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32382         * sysdeps/i386/fpu/e_logf.S: Likewise.
32383         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32384         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32385         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32386         * sysdeps/i386/fpu/e_log10.S: Likewise.
32387         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32388         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32389         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32390         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32391         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32392         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32393         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32394         * sysdeps/i386/i686/strtok.S: Likewise.
32395         * sysdeps/i386/i386-mcount.S: Likewise.
32396         * sysdeps/i386/strtok.S: Likewise.
32397         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32398         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32399         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32400         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32401         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32402         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32403         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32404         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32405         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32406         * sysdeps/x86_64/_mcount.S: Likewise.
32407         * sysdeps/x86_64/strtok.S: Likewise.
32408         * sysdeps/sh/_mcount.S: Likewise.
32409
32410 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32411
32412         * libio/iofopen.c: Include <fcntl.h>.
32413         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32414         (_IO_fopen64, fopen64): Define as aliases.
32415         * libio/iofopen64.c: Include <fcntl.h>.
32416         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32417         Conditionalize body on this.
32418         * sysdeps/wordsize-64/iofopen.c: File removed.
32419         * sysdeps/wordsize-64/iofopen64.c: File removed.
32420
32421 2012-08-01  Marek Polacek  <polacek@redhat.com>
32422
32423         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32424         Use dlfcn directly instead of a variable.
32425         (binfmt-subdir): Do not define.
32426         (dlfcn): Likewise.
32427
32428 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32429
32430         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32431         Remove all definitions.
32432         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32433         <kernel-features.h>.
32434         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32435         (miss_F_GETOWN_EX): Remove all definitions.
32436         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32437         macro definition.
32438         [!__ASSUME_FCNTL64]: Remove conditional code.
32439         [__ASSUME_FCNTL64]: Make code unconditional.
32440         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32441         <kernel-features.h>.
32442         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32443         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32444         (lockf64) [__NR_fcntl64]: Make code unconditional.
32445         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32446
32447         * sysdeps/unix/sysv/linux/kernel-features.h
32448         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32449         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32450         Make code unconditional.
32451         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32452         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32454         [__NR_vfork]: Make code unconditional.
32455         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32456         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32458         [__NR_vfork]: Make code unconditional.
32459         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32460         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32461
32462 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32463
32464         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32465         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32466
32467         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32468         Define mkstemp64 as an alias.
32469         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32470         Define mkstemps64 as an alias.
32471         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32472         Define mkostemp64 as an alias.
32473         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32474         Define mkostemps64 as an alias.
32475         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32476         Conditionalize body on this.
32477         * misc/mkostemp64.c: Likewise.
32478         * misc/mkostemps64.c: Likewise.
32479         * misc/mkstemps64.c: Likewise.
32480         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32481         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32482         * sysdeps/wordsize-64/mkostemp.c: File removed.
32483         * sysdeps/wordsize-64/mkstemp.c: File removed.
32484         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32485         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32486         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32487         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32488
32489         [BZ #14138]
32490         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32491         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32492         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32493         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32494
32495         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32496         compat_symbol macros from <shlib-compat.h> rather than the underlying
32497         default_symbol_version and symbol_version macros, so that DEFAULT
32498         lines in shlib-versions are respected.
32499         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32500
32501 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32502
32503         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32504         Declare with warn_unused_result.
32505         (setgid, setregid, setegid, setresgid): Likewise.
32506         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32507         Likewise.
32508         * WUR-REPORT: Remove set*id functions.
32509
32510 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32511
32512         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32513
32514 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32515
32516         [BZ #10191]
32517         * include/sys/socket.h (__libc_accept, __libc_accept4):
32518         Add attribute_hidden.
32519         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32520
32521         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32522         use of PTR_MANGLE.
32523         * inet/getnetgrent_r.c (setup): Likewise.
32524
32525         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32526
32527 2012-07-31  David S. Miller  <davem@davemloft.net>
32528
32529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32530
32531 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32532
32533         [BZ #13629]
32534         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32535         value between 1.0 and 2.0 and smaller part has absolute value less
32536         than 1.0.
32537         * math/s_clog10.c (__clog10): Likewise.
32538         * math/s_clog10f.c (__clog10f): Likewise.
32539         * math/s_clog10l.c (__clog10l): Likewise.
32540         * math/s_clogf.c (__clogf): Likewise.
32541         * math/s_clogl.c (__clogl): Likewise.
32542         * math/libm-test.inc (clog_test): Add more tests.
32543         (clog10_test): Likewise.
32544         * sysdeps/i386/fpu/libm-test-ulps: Update.
32545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32546
32547 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32548
32549         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32550         Exit with zero in case no suitable GID is found, and write a
32551         message to standard error.
32552
32553 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32554
32555         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32556         rather than to 1.
32557         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32558         (MAXPATHLEN): Removed.
32559         (NOGROUP, NODEV): New macros.
32560         (setbit, clrbit, isset, isclr): New macros.
32561         (howmany, roundup, powerof2): New macros.
32562         (DEV_BSIZE): New macro.
32563
32564         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32565         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32566
32567         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32568         definition on [!__NO_LONG_DOUBLE_MATH].
32569
32570         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32571         PTR_MANGLE and PTR_DEMANGLE.
32572
32573         * socket/accept4.c (accept4): Rename to __libc_accept4.
32574         Define accept4 as a weak alias.
32575
32576         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32577         on [_DIRENT_HAVE_D_TYPE].
32578         * io/ftw.c (ftw_dir): Likewise.
32579
32580         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32581
32582         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32583
32584         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32585         Use the BSD numbers rather than the arbitrary ones we had.
32586         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32587         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32588         (SIGXCPU, SIGXFSZ): New macros.
32589         (_NSIG): Now 32.
32590
32591         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32592         initializer on [_LIBC_REENTRANT].
32593
32594         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32595         definitions inside [_POSIX_MAPPED_FILES].
32596
32597         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32598
32599         * dirent/opendir.c: Include <fcntl.h>.
32600
32601         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32602         (__libc_getspecific): Likewise.
32603         (__libc_key_create): Likewise.
32604
32605         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32606         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32607         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32608         (tmpfile64): Define as alias.
32609         * sysdeps/wordsize-64/tmpfile.c: File removed.
32610         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32611         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32612         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32613
32614         * stdio-common/vfscanf.c: Include <stdbool.h>.
32615         * nss/makedb.c: Likewise.
32616         * stdio-common/_i18n_number.h: Likewise.
32617         * argp/argp-help.c: Likewise.
32618         * posix/wordexp.c: Likewise.
32619         * sysdeps/posix/spawni.c: Likewise.
32620         * nss/nss_files/files-initgroups.c: Likewise.
32621         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32622         * nss/nss_files/files-initgroups.c: Likewise.
32623         * nss/nss_db/db-netgrp.c: Likewise.
32624         * nss/nss_db/db-initgroups.c: Likewise.
32625         * io/fchmodat.c: Include <sys/stat.h>.
32626
32627         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32628         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32629
32630         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32631         [HAVE_MMAP].
32632
32633         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32634         Add multiple inclusion protection.
32635
32636 2012-07-27  David S. Miller  <davem@davemloft.net>
32637
32638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32639
32640 2012-07-27  Gary Benson  <gbenson@redhat.com>
32641
32642         [BZ #14298]
32643         * elf/rtld.c: Include <stap-probe.h>.
32644         (dl_main): Added static probes "init_start" and "init_complete".
32645         * elf/dl-load.c: Include <stap-probe.h>.
32646         (lose): Take new parameter "nsid".
32647         Added static probe "map_failed".
32648         (_dl_map_object_from_fd): Pass namespace id to lose.
32649         Added static probe "map_start".
32650         (open_verify): Pass namespace id to lose.
32651         * elf/dl-open.c: Include <stap-probe.h>.
32652         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32653         and "reloc_complete".
32654         * elf/dl-close.c: Include <stap-probe.h>.
32655         (_dl_close_worker): Added static probes "unmap_start" and
32656         "unmap_complete".
32657         * elf/rtld-debugger-interface.txt: New file documenting the above.
32658
32659 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32660
32661         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32662         rather than a string variable.
32663         * sunrpc/rpc_main.c (h_output): Likewise.
32664         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32665
32666 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32667
32668         * inet/check_native.c: New file.
32669
32670 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32671
32672         [BZ #13629]
32673         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32674         if larger part has absolute value 1.0.
32675         * math/s_clog10.c (__clog10): Likewise.
32676         * math/s_clog10f.c (__clog10f): Likewise.
32677         * math/s_clog10l.c (__clog10l): Likewise.
32678         * math/s_clogf.c (__clogf): Likewise.
32679         * math/s_clogl.c (__clogl): Likewise.
32680         * math/libm-test.inc (clog_test): Add more tests.
32681         (clog10_test): Likewise.
32682         * sysdeps/i386/fpu/libm-test-ulps: Update.
32683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32684
32685         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32686         (pltexit): Likewise.
32687         (La_regs): Likewise.
32688         (La_retval): Likewise.
32689         (int_retval): Likewise.
32690         Update #error for removed macros to refer only to definitions in
32691         tst-audit.h.
32692         * elf/tst-auditmod3b.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-auditmod4b.c (pltenter): Remove all definitions of
32699         macro.
32700         (pltexit): Likewise.
32701         (La_regs): Likewise.
32702         (La_retval): Likewise.
32703         (int_retval): Likewise.
32704         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32705         macro.
32706         (pltexit): Likewise.
32707         (La_regs): Likewise.
32708         (La_retval): Likewise.
32709         (int_retval): Likewise.
32710         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32711         macro.
32712         (pltexit): Likewise.
32713         (La_regs): Likewise.
32714         (La_retval): Likewise.
32715         (int_retval): Likewise.
32716         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32717         macro.
32718         (pltexit): Likewise.
32719         (La_regs): Likewise.
32720         (La_retval): Likewise.
32721         (int_retval): Likewise.
32722         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32723         macro.
32724         (pltexit): Likewise.
32725         (La_regs): Likewise.
32726         (La_retval): Likewise.
32727         (int_retval): Likewise.
32728         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32729         macro definitions in tst-audit.h.
32730         * sysdeps/i386/tst-audit.h: New file.
32731         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32732         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32733         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32734         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32735         * sysdeps/sh/tst-audit.h: Likewise.
32736         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32737         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32738         * sysdeps/x86_64/tst-audit.h: Likewise.
32739
32740 2012-07-26  Andreas Jaeger  <aj@suse.de>
32741
32742         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32743         ptrace.
32744
32745         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32746         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32747         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32748         PTRACE_O_MASK.
32749         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32750         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32751         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32752
32753         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32754         value.
32755
32756         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32757         _sigsys.
32758         (si_call_addr, si_syscall, si_arch): Define new macro.
32759         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32760         _sigsys.
32761         (si_call_addr, si_syscall, si_arch): Define new marcro.
32762         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32763         _sigsys.
32764         (si_call_addr, si_syscall, si_arch): Define new macro.
32765         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32766         _sigsys.
32767         (si_call_addr, si_syscall, si_arch): Define new macro.
32768
32769 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32770
32771         [BZ #13717]
32772         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32773         Change to 2.4.21 where previously 2.4.1.
32774         * sysdeps/unix/sysv/linux/configure: Regenerated.
32775         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32776         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32777         Linux kernel version.
32778         (__ASSUME_STD_AUXV): Remove.
32779         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32780         kernel version.
32781         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32782         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32783         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32784         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32785         (__ASSUME_NETLINK_SUPPORT): Likewise.
32786         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32787         (__no_netlink_support): Remove conditional definition.
32788         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32789         Remove.
32790         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32791         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32792         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32793         (if_nameindex_ioctl): Remove.
32794         (if_nameindex_netlink): Do not handle __no_netlink_support.
32795         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32796         code.
32797         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32798         Remove conditional code.
32799         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32800         code.
32801         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32802         unconditional.
32803         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32804         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32805         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32806         Remove.
32807         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32808         [!__ASSUME_STD_AUXV]: Remove conditional code.
32809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32810         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32811         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32813         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32814         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32815         code.
32816         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32818         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32819         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32820         conditional code.
32821         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32823         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32824         code.
32825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32826         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32827         conditional code.
32828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32829         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32830         code unconditional.
32831         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32832         conditional code.
32833         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32834         unconditional.
32835         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32836         conditional code.
32837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32838         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32839         unconditional.
32840         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32841         conditional code.
32842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32843         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32844         code unconditional.
32845         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32846         conditional code.
32847         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32848         unconditional.
32849         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32850         conditional code.
32851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32852         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32853         code unconditional.
32854         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32855         conditional code.
32856         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32857         unconditional.
32858         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32859         conditional code.
32860
32861 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32862
32863         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32864         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32865         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32866         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32867         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32868         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32869         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32870         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32871         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32872         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32873         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32874         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32875         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32876         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32877         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32878         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32879         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32880         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32881         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32882         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32883         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32884         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32885         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32886
32887 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32888
32889         * Versions.def: Add GLIBC_2.17.
32890         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32891         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32892         Introduce __libc_secure_getenv.
32893         * stdlib/Versions (2.17): Add secure_getenv
32894         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32895         * stdlib/secure-getenv.c: Rename __secure_getenv to
32896         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32897         symbol __secure_getenv for GLIBC_2.0.
32898         * stdlib/tst-secure-getenv.c: New.
32899         * stdlib/Makefile (tests): Add testcase.
32900         * manual/startup.texi (Environment Access): Document
32901         secure_getenv.
32902         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32903         __libc_secure_getenv.
32904         * inet/ruserpass.c (ruserpass): Likewise.
32905         * malloc/mtrace.c (mtrace): Likewise.
32906         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32907         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32908         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32909         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32910         HAVE_SECURE_GETENV.
32911         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32912         __secure_getenv to __libc_secure_getenv.
32913         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32915         Likewise.
32916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32917         Likewise.
32918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32920         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32925
32926 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32927
32928         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32929         (struct La_i86_retval): Likewise.
32930         (struct La_x86_64_regs): Likewise.
32931         (struct La_x86_64_retval): Likewise.
32932         (struct La_x32_regs): Likewise.
32933         (struct La_x32_retval): Likewise.
32934         (struct La_ppc32_regs): Likewise.
32935         (struct La_ppc32_retval): Likewise.
32936         (struct La_ppc64_regs): Likewise.
32937         (struct La_ppc64_retval): Likewise.
32938         (struct La_sh_regs): Likewise.
32939         (struct La_sh_retval): Likewise.
32940         (struct La_s390_32_regs): Likewise.
32941         (struct La_s390_32_retval): Likewise.
32942         (struct La_s390_64_regs): Likewise.
32943         (struct La_s390_64_retval): Likewise.
32944         (struct La_sparc32_regs): Likewise.
32945         (struct La_sparc32_retval): Likewise.
32946         (struct La_sparc64_regs): Likewise.
32947         (struct La_sparc64_retval): Likewise.
32948         (struct audit_ifaces): Remove architecture-specific pltenter and
32949         pltexit members.
32950         * sysdeps/i386/ldsodefs.h: New file.
32951         * sysdeps/powerpc/ldsodefs.h: Likewise.
32952         * sysdeps/s390/ldsodefs.h: Likewise.
32953         * sysdeps/sh/ldsodefs.h: Likewise.
32954         * sysdeps/sparc/ldsodefs.h: Likewise.
32955         * sysdeps/x86_64/ldsodefs.h: Likewise.
32956
32957 2012-07-25  Marek Polacek  <polacek@redhat.com>
32958
32959         [BZ #6808]
32960         * math/libm-test.inc (yn_test): Add another test.
32961         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32962         to ERANGE when the result is +-Inf.
32963         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32964         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32965         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32966         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32967
32968 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32969
32970         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32971         equal to 0.
32972         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32973         clock_t.
32974         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32975
32976 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32977
32978         * configure.in <sysdeps resolving>: Correct printing
32979         Implies_before.
32980         * configure: Regenerate.
32981
32982 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32983
32984         * math/w_ilogb.c: Include <limits.h>.
32985         * math/w_ilogbl.c: Likewise.
32986
32987 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32988
32989         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32990         va_copy.  Document allowing for unavailable va_copy only as
32991         pre-C99 compatibility.
32992         * manual/string.texi (Copying and Concatenation): Use va_copy
32993         instead of __va_copy in concat example.
32994
32995 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32996
32997         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32998         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32999         it if not null.
33000
33001         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33002         with O_NOLINK passed to __file_name_lookup.
33003
33004         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33005         with O_NOLINK passed to __file_name_lookup.
33006
33007         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33008         negative N or less than NGIDS.
33009
33010         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33011         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33012         enough.  Use memcpy instead of strncpy.
33013
33014 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33015
33016         * elf/Makefile (check-data): Remove.
33017         (localplt.data): New vpath directive.
33018         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33019         instead of $(check-data).
33020         * scripts/data/localplt-generic.data: Move to ...
33021         * sysdeps/generic/localplt.data: ... here.
33022         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33023         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33024         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33026         ... here.
33027         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33029         ... here.
33030         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33032         ... here.
33033         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33035         ... here.
33036         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33038         ... here.
33039         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33041         ... here.
33042
33043 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33044
33045         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33046         PPC32 and PPC64 files.
33047         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33048         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33049
33050 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33051
33052         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33053         __makecontext_ret to ...
33054         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33055         ... here and call exit if uc_link is NULL.  New file.
33056         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33057         __makecontext_ret.S.
33058         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33059         __makecontext_ret to ...
33060         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33061         ... here and call exit if uc_link is NULL.  New file.
33062         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33063         __makecontext_ret.S.
33064
33065 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33066
33067         * elf/elf.h (R_390_IRELATIVE): New definition.
33068         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33069         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33070         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33071         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33072         (elf_machine_lazy_rel): Likewise.
33073         * sysdeps/s390/dl-irel.h: New file.
33074         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33075         * sysdeps/s390/s390-64/memset.S: New asm code.
33076         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33077         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33078         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33079         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33080         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33081         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33082         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33083         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33084         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33085         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33086         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33087         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33088         * sysdeps/s390/s390-32/memset.S: New asm code.
33089         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33090
33091 2012-07-17  Marek Polacek  <polacek@redhat.com>
33092
33093         [BZ #14349]
33094         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33095         * sysdeps/s390/s390-64/configure.in: Likewise.
33096         * sysdeps/sparc/configure.in: Likewise.
33097         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33098         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33099         * sysdeps/i386/configure.in: Likewise.
33100         * sysdeps/x86_64/configure.in: Likewise.
33101         * sysdeps/sh/configure.in: Likewise.
33102         * sysdeps/s390/s390-32/configure: Regenerated.
33103         * sysdeps/s390/s390-64/configure: Likewise.
33104         * sysdeps/x86_64/configure: Likewise.
33105         * sysdeps/sh/configure: Likewise.
33106         * sysdeps/powerpc/powerpc64/configure: Likewise.
33107         * sysdeps/powerpc/powerpc32/configure: Likewise.
33108         * sysdeps/sparc/configure: Likwise.
33109         * sysdeps/i386/configure: Likewise.
33110
33111         * elf/dl-open.c: Comment fixes.
33112
33113 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33114
33115         * Makefile [CXX] (check-data): Remove.
33116         [CXX] (c++-types.data): New vpath directive.
33117         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33118         vpath.  Do not allow for C++ type data being missing.
33119         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33120         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33121         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33122         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33123         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33124         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33125         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33127         ... here.
33128         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33130         ... here.
33131         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33133         ... here.
33134         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33136         ... here.
33137         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33139         ... here.
33140         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33142         ... here.
33143         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33145         ... here.
33146         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33148
33149         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33150         definitions to architecture-specific files.
33151         (TLS_IE): Likewise.
33152         (TLS_LD): Likewise.
33153         (TLS_GD): Likewise.
33154         * sysdeps/i386/tls-macros.h: New file.
33155         * sysdeps/powerpc/tls-macros.h: Likewise.
33156         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33157         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33158         * sysdeps/sh/tls-macros.h: Likewise.
33159         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33160         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33161         * sysdeps/x86_64/tls-macros.h: Likewise.
33162
33163 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33164
33165         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33166         zero value for regular exit case.
33167
33168         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33169         (__start_context): Preserve zero value for regular exit case.
33170
33171 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33172             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33173
33174         * manual/setjmp.texi (setcontext): Clarify normal process
33175         termination when uc_link is the null pointer.
33176         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33177         exit call.
33178
33179 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33180
33181         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33182         preprocessor.  Test for each exception mask separately.
33183
33184 2012-07-16  Andreas Jaeger  <aj@suse.de>
33185
33186         * po/ru.po: Update from translation team.
33187
33188 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33189
33190         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33191         equal to 0.
33192         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33193         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33194         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33195         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33196         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33197
33198 2012-07-13  Andreas Jaeger  <aj@suse.de>
33199
33200         * po/fr.po: Update from translation team.
33201
33202 2012-07-12  Marek Polacek  <polacek@redhat.com>
33203
33204         [BZ #14173]
33205         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33206         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33207         loop condition.
33208
33209 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33210
33211         [BZ #13717]
33212         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33213         Change to 2.4.1 where previously 2.4.0.
33214         * sysdeps/unix/sysv/linux/configure: Regenerated.
33215         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33216         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33217         version.
33218         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33219         (__ASSUME_AT_CLKTCK): Remove.
33220         (__ASSUME_AT_PAGESIZE): Likewise.
33221         (__ASSUME_AT_XID): Likewise.
33222         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33223         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33224         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33225         unconditionally.
33226         (HAVE_AUX_PAGESIZE): Likewise.
33227         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33228         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33229         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33230
33231 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33232
33233         [BZ #14307]
33234         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33235         the temporary buffer used to invoke __gethostbyname2_r,
33236         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33237         host_data / struct gaih_addrtuple.
33238         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33239         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33240         header file nss/nsswitch.h.
33241         * nss/nsswitch.h (global scope): Add definition of implementation
33242         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33243         resolv/nss_dns/dns-host.c).
33244
33245 2012-07-11  Andreas Jaeger  <aj@suse.de>
33246
33247         * po/fr.po: Update from translation team.
33248
33249         * po/sv.po: Update from translation team
33250         * po/fr.po: Another update from translation team.
33251
33252 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33253
33254         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33255         for subnormals or multiply small sinh result by itself.
33256         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33258
33259 2012-07-11  David S. Miller  <davem@davemloft.net>
33260
33261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33262
33263 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33264
33265         [BZ #14347]
33266         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33267         (INTERNAL_MARK): Shift it here.
33268
33269 2012-07-10  Marek Polacek  <polacek@redhat.com>
33270
33271         [BZ #14151]
33272         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33273         libc_cv_asm_global_directive with .globl.
33274         * configure: Regenerated.
33275         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33276         with .globl.
33277         * sysdeps/i386/configure: Regenerated.
33278         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33279         with .globl.
33280         * sysdeps/x86_64/configure: Regenerated.
33281         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33282         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33283         * elf/tst-unique2mod2.c: Likewise.
33284         * elf/tst-unique2mod1.c: Likewise.
33285         * elf/tst-unique1mod2.c: Likewise.
33286         * elf/tst-unique1mod1.c: Likewise.
33287         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33288         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33289         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33290         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33291         * sysdeps/mach/sysdep.h: Likewise.
33292         * sysdeps/i386/sysdep.h: Likewise.
33293         * sysdeps/i386/i386-mcount.S: Likewise.
33294         * sysdeps/x86_64/_mcount.S: Likewise.
33295         * sysdeps/x86_64/sysdep.h: Likewise.
33296         * sysdeps/sh/_mcount.S: Likewise.
33297         * sysdeps/sh/sysdep.h: Likewise.
33298         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33299         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33300         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33301         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33302         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33303         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33304         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33305         * locale/localeinfo.h: Likewise.
33306         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33307         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33308
33309 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33310
33311         [BZ #14336]
33312         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33313         system".
33314         * manual/message.texi (The Uniforum approach): Likewise.
33315         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33316         (glibc iconv Implementation): Likewise.
33317
33318 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33319
33320         [BZ #14337]
33321         * math/s_clog.c (__clog): Avoid scaling a value down where that
33322         could result in underflow.
33323         * math/s_clog10.c (__clog10): Likewise.
33324         * math/s_clog10f.c (__clog10f): Likewise.
33325         * math/s_clog10l.c (__clog10l): Likewise.
33326         * math/s_clogf.c (__clogf): Likewise.
33327         * math/s_clogl.c (__clogl): Likewise.
33328         * math/libm-test.inc (clog_test): Add more tests.
33329         (clog10_test): Likewise.
33330         * sysdeps/i386/fpu/libm-test-ulps: Update.
33331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33332
33333 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33334
33335         [BZ #14283]
33336         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33337         by 7 not 8 to examine high bit of fractional part.
33338
33339         [BZ #14042]
33340         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33341         for call to __mcount_internal.
33342         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33343         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33344         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33345
33346 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33347
33348         [BZ #14154]
33349         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33350         approximation for values within 0x1p-13f of an odd multiple of
33351         pi/4.
33352         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33353         exception.  Add more tests.
33354         * sysdeps/i386/fpu/libm-test-ulps: Update.
33355
33356         [BZ #6778]
33357         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33358         inputs and return -1 for them.  Do not check for +Inf in case not
33359         reachable for +Inf.
33360         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33361         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33362         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33363         and return -1 for them.  Do not check for +Inf in case not
33364         reachable for +Inf.
33365         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33366         define.
33367         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33368         and return -1 for them.  Do not check for +Inf in case not
33369         reachable for +Inf.
33370         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33371         spurious underflow.
33372         * sysdeps/i386/fpu/libm-test-ulps: Update.
33373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33374
33375 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33376
33377         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33378
33379 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33380
33381         [BZ #14157]
33382         [BZ #14331]
33383         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33384         could result in spurious underflow.  Scale down values above
33385         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33386         * math/s_csqrtf.c (__csqrtf): Likewise.
33387         * math/s_csqrtl.c (__csqrtl): Likewise.
33388         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33389         spurious underflow.
33390         * sysdeps/i386/fpu/libm-test-ulps: Update.
33391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33392
33393 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33394
33395         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33396         xopen-msg.sed.
33397         * catgets/xopen-msg.awk: New file.
33398         * catgets/xopen-msg.sed: Removed.
33399
33400         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33401         po2text.sed.
33402         * intl/po2test.awk: New file.
33403         * intl/po2test.sed: Removed.
33404
33405 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33406
33407         [BZ #14328]
33408         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33409         or multiply small sinh result by itself.
33410         * math/s_ctanf.c (__ctanf): Likewise.
33411         * math/s_ctanh.c (__ctanh): Likewise.
33412         * math/s_ctanhf.c (__ctanhf): Likewise.
33413         * math/s_ctanhl.c (__ctanhl): Likewise.
33414         * math/s_ctanl.c (__ctanl): Likewise.
33415         * math/libm-test.inc (ctan_test_tonearest): New function.
33416         (ctan_test_towardzero): Likewise.
33417         (ctan_test_downward): Likewise.
33418         (ctan_test_upward): Likewise.
33419         (ctanh_test_tonearest): Likewise.
33420         (ctanh_test_towardzero): Likewise.
33421         (ctanh_test_downward): Likewise.
33422         (ctanh_test_upward): Likewise.
33423         (main): Call these new functions.
33424         * sysdeps/i386/fpu/libm-test-ulps: Update.
33425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33426
33427 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33428
33429         * .gitignore: Delete /ports entry.
33430
33431 2012-07-03  Andreas Jaeger  <aj@suse.de>
33432
33433         * po/bg.po: Update from translation team.
33434         * po/cs.po: Likewise.
33435         * po/de.po: Likewise.
33436         * po/hr.po: Likewise.
33437         * po/nl.pl: Likewise.
33438         * po/pl.po: Likewise.
33439         * po/vi.po: Likewise.
33440
33441 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33442
33443         * Makeconfig [!+link] (+link-before-libc): New variable.
33444         [!+link] (+link-after-libc): Likewise.
33445         [!+link] (+link-tests): Likewise.
33446         [!+link] (+link): Define in terms of $(+link-before-libc) and
33447         $(+link-after-libc).
33448         [!+link-static] (+link-static-before-libc): New variable.
33449         [!+link-static] (+link-static-after-libc): Likewise.
33450         [!+link-static] (+link-static-tests): Likewise.
33451         [!+link-static] (+link-static): Define in terms of
33452         $(+link-static-before-libc) and $(+link-static-after-libc).
33453         [build-shared] (link-libc-before-gnulib): New variable.
33454         [build-shared] (link-libc-tests): Likewise.
33455         [build-shared] (link-libc): Define in terms of
33456         $(link-libc-before-gnulib).
33457         [!build-shared] (link-libc-tests): New variable.
33458         (link-libc-static-tests): New variable.
33459         [!gnulib] (gnulib-arch): New variable.
33460         [!gnulib] (gnulib-tests): Likewise.
33461         [!gnulib] (static-gnulib-arch): Likewise.
33462         [!gnulib] (static-gnulib-tests): Likewise.
33463         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33464         Define with "=" instead of ":=".
33465         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33466         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33467         * Rules (binaries-all-notests): New variable.
33468         (binaries-all-tests): Likewise.
33469         (binaries-static-notests): Likewise.
33470         (binaries-static-tests): Likewise.
33471         (binaries-all): Define using $(binaries-all-notests) and
33472         $(binaries-all-tests).
33473         (binaries-static): Define using $(binaries-static-notests) and
33474         $(binaries-static-tests).
33475         (binaries-shared-tests): New variable.
33476         (binaries-shared-notests): Likewise.
33477         (binaries-shared): Remove variable.
33478         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33479         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33480         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33481         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33482         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33483         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33484         * elf/Makefile (sln-modules): New variable.
33485         (extra-objs): Add $(sln-modules:=.o).
33486         (ldconfig-modules): Add static-stubs.
33487         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33488         * elf/static-stubs.c: New file.
33489
33490         [BZ #14283]
33491         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33492         by 7 not 8 to examine high bit of fractional part.  Use volatile
33493         variables when splitting into final array of floats if
33494         __FLT_EVAL_METHOD__ != 0.
33495         * math/libm-test.inc (cos_test): Add another test.
33496         (sin_test): Likewise.
33497         * sysdeps/i386/fpu/libm-test-ulps: Update.
33498
33499         [BZ #14273]
33500         * math/libm-test.inc (cosh_test): Add more tests.
33501
33502         * version.h (RELEASE): Set to "development".
33503         (VERSION): Set to "2.16.90".
33504
33505 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33506
33507         * NEWS: Update copyright. Remove last-updated date.
33508         Mention math library bug fixes and timezone data changes.
33509         * README: Mention GNU/Hurd, x32, and HPPA support status.
33510
33511 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33512
33513         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33514
33515 2012-06-27  Andreas Jaeger  <aj@suse.de>
33516
33517         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33518
33519 2012-06-25  Andreas Jaeger  <aj@suse.de>
33520
33521         * sysdeps/s390/fpu/libm-test-ulps: Update.
33522
33523 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33524             Thomas Schwinge  <thomas@codesourcery.com>
33525
33526         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33527         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33528         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33529         fanotify_mark.
33530
33531 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33532
33533         * sysdeps/mach/start.c: Remove file.
33534         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33535         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33536         * sysdeps/sh/init-first.c: Likewise.
33537
33538         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33539         registers for frame unwinding purposes, add CFI directives.
33540         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33541         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33542         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33543         Likewise.
33544
33545         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33546         __fortify_fail returning.
33547         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33548
33549         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33550         sysdeps/sh/____longjmp_chk.S.
33551         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33552         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33553         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33554         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33555
33556         * sysdeps/sh/abort-instr.h: New file.
33557         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33558         process in case exit returns.
33559
33560         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33561         initialize the GOT register before use.
33562
33563         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33564         calculation of ARGC > 4.
33565
33566         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33567         meaningful names to some local labels.
33568
33569 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33570             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33571
33572         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33573         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33574         (__arch_compare_and_exchange_val_16_acq): Likewise.
33575         (__arch_compare_and_exchange_val_32_acq): Likewise.
33576         (atomic_exchange_and_add): Fix gUSA sequence.
33577         (atomic_add): Likewise.
33578         (atomic_add_negative): Likewise.
33579         (atomic_add_zero): Likewise.
33580         (atomic_bit_test_set): Likewise.
33581
33582 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33583
33584         [BZ #13579]
33585         * include/link.h (struct link_map): Add l_free_initfini.
33586         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33587         l_initfini.
33588         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33589         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33590         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33591         set.
33592
33593 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33594
33595         * configure.in: Use AC_LANG_SOURCE.
33596         * configure: Regenerate.
33597
33598 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33599
33600         * configure.in (libc_cv_localstatedir): New substituted variable.
33601         * configure: Regenerated.
33602         * config.make.in (localstatedir): New variable, substituted from
33603         libc_cv_localstatedir.
33604         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33605         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33606         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33607         * sysdeps/gnu/configure: Regenerated.
33608
33609 2012-06-21  Jeff Law  <law@redhat.com>
33610
33611         [BZ #14277]
33612         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33613         free.  Simplify list management for _LIBC case.
33614
33615 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33616
33617         [BZ #14273]
33618         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33619         Clear sign bit of 64-bit integer value before comparing against
33620         overflow value.
33621
33622         * sysdeps/mach/configure: Regenerated.
33623
33624 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33625
33626         [BZ #14278]
33627         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33628
33629 2012-06-21  Jeff Law  <law@redhat.com>
33630
33631         [BZ #13882]
33632         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33633         uint16_t for elements in the "seen" array to avoid char overflows.
33634         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33635         * elf/dl-open.c (dl_open_worker): Likewise.
33636
33637 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33638
33639         * scripts/list-sources.sh: Scan PORTS for translations.
33640         * po/libc.pot: Regenerated.
33641
33642 2012-06-21  Andreas Jaeger  <aj@suse.de>
33643
33644         [BZ #12194]
33645         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33646         warning.
33647         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33648         * bits/byteswap-16.h (__bswap_16): Likewise.
33649         * bits/byteswap.h (__bswap_constant_16): Likewise.
33650
33651 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33652
33653         [BZ #14117]
33654         * sysdeps/i386/fpu_control.h: Removed.
33655         * sysdeps/x86_64/fpu_control.h: Moved to ...
33656         * sysdeps/x86/fpu_control.h: Here.
33657
33658         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33659         (_FPU_SETCW): Likewise.
33660
33661 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33662
33663         [BZ #14117]
33664         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33665         * sysdeps/x86/fpu/bits/mathinline.h: This.
33666         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33667
33668         [BZ #14050]
33669         [BZ #14117]
33670         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33671         functions if __x86_64__ is defined.
33672
33673 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33674
33675         * string/endian.h: Add !__ASSEMBLER__ condition for including
33676         conversion interfaces.
33677
33678 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33679
33680         [BZ #14241]
33681         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33682         of ABS(x) in calculating zero to negative powers other than odd
33683         integers.
33684         * math/libm-test.inc (pow_test): Add more tests.
33685
33686 2012-06-15  Andreas Jaeger  <aj@suse.de>
33687
33688         * manual/contrib.texi (Contributors): Update entry of Liubov
33689         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33690         Machado Filho.
33691
33692 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33693
33694         * string/string.h: Add __wur to GNU version of strerror_r.
33695
33696 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33697
33698         [BZ #14229]
33699         * string/Makefile (tests): Add tst-strtok_r.
33700         * string/tst-strtok_r.c: New file.
33701         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33702         RAX_LP/RDX_LP on SAVE_PTR.
33703
33704 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33705
33706         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33707
33708 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33709
33710         * libm_test.inc (csqrt_test): Allow more spurious underflow
33711         exceptions.
33712         (j0_test): Likewise.
33713         (j1_test): Likewise.
33714         (y0_test): Likewise.
33715         (y1_test): Likewise.
33716
33717 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33718
33719         * po/Makefile (libc.pot): Use UTF-8 charset.
33720
33721 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33722
33723         [BZ #14210]
33724         Suppress sign-conversion warning from FD_SET.
33725         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33726         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33727         not unsigned long int.
33728         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33729
33730 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33731
33732         [BZ #14050]
33733         [BZ #14117]
33734         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33735         __extern_always_inline instead of __extern_inline.
33736         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33737         (__signbit): Likewise.
33738         (__signbitl): Support C++ namespace.
33739         (lrintf): New inline function.
33740         (lrint): Likewise.
33741         (llrintf): Likewise.
33742         (llrint): Likewise.
33743         (fmaxf): Likewise.
33744         (fmax): Likewise.
33745         (fminf): Likewise.
33746         (fmin): Likewise.
33747         (rint): Likewise.
33748         (rintf): Likewise.
33749         (ceil): Likewise.
33750         (ceilf): Likewise.
33751         (floor): Likewise.
33752         (floorf): Likewise.
33753         (nearbyint): Likewise.
33754         (nearbyintf): Likewise.
33755
33756 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33757
33758         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33759         non-default versions.
33760
33761 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33762
33763         [BZ #14218]
33764         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33765
33766 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33767
33768         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33769         (FE_UPWARD, FE_DOWNWARD): Don't define.
33770         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33771         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33772
33773         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33774         reading it.
33775         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33776         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33777
33778 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33779
33780         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33781         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33782         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33783         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33784
33785 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33786
33787         [BZ #14117]
33788         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33789         * sysdeps/i386/fpu/Implies: New file.
33790         * sysdeps/x86_64/fpu/Implies: Likewise.
33791         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33792         * sysdeps/x86/fpu/bits/fenv.h: This.
33793
33794         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33795         __SSE_MATH__.
33796
33797 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33798
33799         [BZ #14134]
33800         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33801         character 0xffff that matches the last element of the
33802         conversion table.
33803
33804 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33805
33806         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33807         fmodl commit.
33808
33809 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33810
33811         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33812         values higher than 25.6283.
33813
33814 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33815
33816         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33817         subnormal exponent extraction and add some __builtin_expect.
33818         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33819         Fix for subnormal mantissa calculation.
33820
33821 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33822
33823         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33824         cpu2 is -1 and errno is not ENOSYS.
33825
33826 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33827
33828         [BZ #14117]
33829         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33830         * sysdeps/x86/bits/string.h: This.
33831         * sysdeps/x86_64/bits/string.h: Removed.
33832
33833         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33834         if not compiling for x86-64, but compiling for >= i486.
33835
33836         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33837         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33838
33839         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33840         New macro from Linux kernel 3.4.0.
33841         (FP_XSTATE_MAGIC2): Likewise.
33842         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33843         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33844         (struct _fpx_sw_bytes): New struct.
33845         (struct _xsave_hdr): Likewise.
33846         (struct _ymmh_state): Likewise.
33847         (struct _xstate): Likewise.
33848
33849         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33850         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33851         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33852         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33853         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33854         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33855
33856         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33857         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33858         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33859         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33860         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33861         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33862
33863 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33864
33865         [BZ #13743]
33866         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33867         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33868         (sysdep_headers): Include sys/platform/ppc.h.
33869         * sysdeps/powerpc/test-gettimebase.c: Test for
33870         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33871         * manual/Makefile (appendices): Include platform.texi.
33872         * manual/contrib.texi (Contributors): Update @node pointers.
33873         * manual/maint.texi (Maintenance): Likewise.
33874         (Platform): New node.
33875         * manual/platform.texi: New file.  Document the new features.
33876
33877 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33878             Jakub Jelinek  <jakub@redhat.com>
33879
33880         [BZ #14188]
33881         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33882         where __builtin_expect is unavailable.
33883
33884 2012-06-03  David S. Miller  <davem@davemloft.net>
33885
33886         * stdlib/longlong.h: Updated from GCC.
33887
33888 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33889
33890         [BZ #14042]
33891         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33892         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33893         __mcount_internal.
33894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33895         (GLIBC_2.16): Likewise.
33896
33897 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33898
33899         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33900
33901 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33902
33903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33904         (default-abi): New variable.
33905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33906         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33907         variable.
33908         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33909         Likewise.
33910         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33911         Likewise.
33912         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33913         Likewise.
33914
33915         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33916         definition.  Document in comment.
33917
33918 2012-06-01  David S. Miller  <davem@davemloft.net>
33919
33920         * stdlib/longlong.h: Updated from GCC.
33921
33922 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33923
33924         [BZ #14117]
33925         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33926         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33927         sys/debugreg.h sys/io.h here.
33928         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33929         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33930         sys/io.h.
33931         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33932         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33933         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33934         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33935         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33936         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33937
33938         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33939         Define only if __x86_64__ is defined.
33940
33941 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33942
33943         [BZ #14048]
33944         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33945         Use int64_t for variable i.
33946         * math/libm-test.inc (fmod_test): Add more tests.
33947
33948         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33949         z computation is not scheduled after fetestexcept.
33950         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33951         Use math_force_eval instead of asm to ensure calculation scheduled
33952         before exception test.
33953         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33954         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33955
33956 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33957
33958         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33959         computation is not scheduled after fetestexcept.
33960
33961 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33962
33963         [BZ #14117]
33964         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33965         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33966
33967 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33968
33969         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33970         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33971
33972 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33973
33974         [BZ #14117]
33975         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33976         <bits/wordsize.h>.
33977         (__WCHAR_MIN): Support __WORDSIZE == 64.
33978         (__WCHAR_MAX): Likewise.
33979
33980         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33981         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33982
33983         [BZ #14183]
33984         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33985         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33986
33987         [BZ #14117]
33988         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33989         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33990
33991         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33992         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33993
33994         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33995         Defined to 1 if __x86_64__ isn't defined.
33996         (_STAT_VER_LINUX_OLD): New.
33997         (st_atime): Remove duplicate.
33998         (st_mtime): Likewise.
33999         (st_ctime): Likewise.
34000
34001 2012-05-31  David S. Miller  <davem@davemloft.net>
34002
34003         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34004         entries.
34005
34006 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34007
34008         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34009         gen-libm-test.pl.
34010
34011         [BZ #14132]
34012         * elf/dl-reloc.c: Include <_itoa.h>.
34013         (_dl_reloc_bad_type): Remove use of INTUSE.
34014         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34015         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34016         * stdio-common/psiginfo.c (psiginfo): Likewise.
34017         * stdio-common/psignal.c (psignal): Likewise.
34018         * string/strsignal.c (strsignal): Likewise.
34019         * include/signal.h (_sys_siglist): Declare hidden proto.
34020         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34021         INTVARDEF with libc_hidden_data_def.
34022         * stdio-common/itoa-udigits.c: Likewise.
34023         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34024         (_itoa_lower_digits_internal): Remove declaration.
34025         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34026         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34027         (_sys_sigabbrev_internal): Remove aliases.
34028         (_sys_siglist): Define hidden alias.
34029
34030 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34031
34032         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34033         bits/sysctl.h.
34034
34035 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34036
34037         [BZ #14117]
34038         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34039         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34040
34041         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34042         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34043         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34044         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34045         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34046         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34047
34048         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34049         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34050         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34051
34052         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34053         with __addr.
34054         (insw): Likewise.
34055         (insl): Likewise.
34056         (outsb): Likewise.
34057         (outsw): Likewise.
34058         (outsl): Likewise.
34059
34060         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34061         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34062         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34063
34064         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34065         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34066         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34067         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34068         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34069         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34070
34071         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34072         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34073
34074         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34075         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34076
34077         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34078         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34079         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34080
34081         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34082         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34083         to ...
34084         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34085
34086         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34087         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34088         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34089
34090         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34091         for x86-64.
34092         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34093
34094 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34095
34096         * math/math.h (M_El): Use two more decimal places.
34097         (M_LOG2El): Likewise.
34098         (M_LOG10El): Likewise.
34099         (M_LN2l): Likewise.
34100         (M_LN10l): Likewise.
34101         (M_PIl): Likewise.
34102         (M_PI_2l): Likewise.
34103         (M_PI_4l): Likewise.
34104         (M_1_PIl): Likewise.
34105         (M_2_PIl): Likewise.
34106         (M_2_SQRTPIl): Likewise.
34107         (M_SQRT2l): Likewise.
34108         (M_SQRT1_2l): Likewise.
34109
34110 2012-05-31  David S. Miller  <davem@davemloft.net>
34111
34112         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34113         values between float registers.
34114         * sysdeps/sparc/sparc64/memset.S: Likewise.
34115         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34116
34117 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34118
34119         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34120         -D_FORTIFY_SOURCE=1.
34121         (CPPFLAGS-tst-longjmp_chk.c): Define.
34122         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34123         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34124         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34125         CFLAGS-tst-wchar-h.c.
34126
34127 2012-05-31  Marek Polacek  <polacek@redhat.com>
34128
34129         [BZ #14132]
34130         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34131         __endmntent_internal): Remove declaration.
34132         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34133         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34134         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34135
34136 2012-05-30  David S. Miller  <davem@davemloft.net>
34137
34138         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34139         (___Q_simulate_exceptions): Use real FP ops rather than writing
34140         into the %fsr.
34141         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34142         Likewise.
34143
34144 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34145
34146         [BZ #14117]
34147         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34148         * sysdeps/x86/bits/xtitypes.h: This.
34149
34150         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34151         * sysdeps/x86/bits/wordsize.h: This.
34152
34153         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34154         * sysdeps/x86/bits/huge_vall.h: This.
34155
34156         * sysdeps/i386/bits/select.h: Removed.
34157         * sysdeps/x86_64/bits/select.h: Renamed to ...
34158         * sysdeps/x86/bits/select.h: This.
34159
34160         * sysdeps/i386/bits/setjmp.h: Removed.
34161         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34162         * sysdeps/x86/bits/setjmp.h: This.
34163
34164         * sysdeps/i386/bits/mathdef.h: Removed.
34165         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34166         * sysdeps/x86/bits/mathdef.h: This.
34167
34168 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34169
34170         [BZ #14132]
34171         * include/sys/socket.h (__connect_internal)
34172         (__libc_sa_len_internal): Remove declaration.
34173         (__connect, __libc_sa_len): Declare hidden_proto.
34174         (SA_LEN): Remove use of INTUSE.
34175         * socket/connect.c: Add libc_hidden_def.
34176         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34177         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34178         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34179         alias.
34180         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34181         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34182         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34183         of adding _internal alias.
34184
34185 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34186
34187         [BZ #14117]
34188         * sysdeps/i386/bits/link.h: Removed.
34189         * sysdeps/i386/bits/linkmap.h: Likewise.
34190         * sysdeps/x86_64/bits/link.h: Renamed to ...
34191         * sysdeps/x86/bits/link.h: This.
34192         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34193         * sysdeps/x86/bits/linkmap.h: This.
34194
34195         * sysdeps/i386/bits/endian.h: Removed.
34196         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34197         * sysdeps/x86/bits/endian.h: This.
34198
34199         * sysdeps/i386/bits/byteswap.h: Removed.
34200         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34201         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34202         * sysdeps/x86/bits/byteswap.h: This.
34203         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34204         * sysdeps/x86/bits/byteswap-16.h: This.
34205         * sysdeps/i386/Implies: Add x86.
34206         * sysdeps/x86_64/Implies: Likewise.
34207
34208 2012-05-30  David S. Miller  <davem@davemloft.net>
34209
34210         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34211         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34212         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34213         (FP_TRAPPING_EXCEPTIONS): Define.
34214         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34215         (FP_TRAPPING_EXCEPTIONS): Define.
34216         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34217         subnormals only when inexact has been signalled or underflow
34218         exceptions are enabled.
34219         (_FP_PACK_CANONICAL): Likewise.
34220
34221 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34222
34223         [BZ #14183]
34224         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34225         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34226
34227 2012-05-30  Richard Henderson  <rth@twiddle.net>
34228
34229         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34230         with #ifndef NOT_IN_libc.
34231
34232         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34233         marked to avoid plt entry.
34234
34235 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34236
34237         [BZ #14112]
34238         * Makeconfig (default-abi): New macro.
34239         (abi-includes): Likewise.
34240         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34241         $(abi-$(default-abi)-lib-soname) for soname if defined.
34242         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34243         abi-variants.
34244         * Makefile (installed-stubs): Likewise.
34245         * include/stubs-biarch.h: Removed.
34246         * scripts/lib-names.awk: Only handle one library at a time.
34247         * scripts/soversions.awk: Remove WORDSIZE support.
34248         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34249         entries.
34250         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34251         Removed.
34252         (syscall-list-default-condition): Likewise.
34253         (syscall-list-default-condition): Likewise.
34254         (syscall-list-includes): Likewise.
34255         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34256         syscall-list-* with abi-*.  Handle undefined abi-variants.
34257         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34258         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34259         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34260         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34261         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34262         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34263         Removed.
34264         (syscall-list-32-options): Likewise.
34265         (syscall-list-32-condition): Likewise.
34266         (syscall-list-64-options): Likewise.
34267         (syscall-list-64-condition): Likewise.
34268         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34269         macro.
34270         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34271         Renamed to ...
34272         (abi-*): This.
34273         (abi-64-ld-soname): New macro.
34274         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34275         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34276         Renamed to ...
34277         (abi-*): This.
34278         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34279         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34280
34281 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34282
34283         * sysdeps/unix/sysv/linux/kernel-features.h
34284         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34285         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34286         include <kernel-features.h>.
34287         [!__NR_ftruncate64]: Remove conditional code.
34288         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34289         [__NR_ftruncate64]: Make code unconditional.
34290         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34291         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34292         include <kernel-features.h>.
34293         [!__NR_ftruncate64]: Remove conditional code.
34294         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34295         [__NR_ftruncate64]: Make code unconditional.
34296         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34298         include <kernel-features.h>.
34299         [!__NR_ftruncate64]: Remove conditional code.
34300         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34301         [__NR_ftruncate64]: Make code unconditional.
34302         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34304         include <kernel-features.h>.
34305         [!__NR_ftruncate64]: Remove conditional code.
34306         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34307         [__NR_ftruncate64]: Make code unconditional.
34308         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34309
34310         * configure.in (libc_cv_fpie): Weaken to a compile test using
34311         LIBC_TRY_CC_OPTION.
34312         * configure: Regenerated.
34313
34314 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34315
34316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34320         Refreshed.
34321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34327         Refreshed.
34328
34329 2012-05-27  David S. Miller  <davem@davemloft.net>
34330
34331         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34332         (___Q_zero): New.
34333         (__Q_simulate_exceptions): Return void.  Change to simulate
34334         exceptions by writing into the %fsr.
34335         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34336         (__Qp_handle_exceptions): Likewise.
34337         (numbers): Delete.
34338         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34339         __Qp_handle_exceptions.
34340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34341         __Qp_handle_exceptions.
34342         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34343         as unused and give dummy FP_RND_NEAREST initializer.
34344         (FP_INHIBIT_RESULTS): Define.
34345         (___Q_simulate_exceptions): Update declaration.
34346         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34347         formatting.
34348         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34349         as unused and give dummy FP_RND_NEAREST initializer.
34350         (__Qp_handle_exceptions): Update declaration.
34351         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34352         formatting.
34353
34354 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34355
34356         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34357         the temporary FPU control word.
34358         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34359         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34360         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34361         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34362         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34363         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34364         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34365         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34366         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34367         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34368         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34369
34370 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34371
34372         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34373         fields.
34374
34375 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34376
34377         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34378         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34379         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34380         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34381         Likewise.
34382         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34383         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34384         Likewise.
34385
34386 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34387
34388         * po/h.po: Update from translation team.
34389
34390 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34391
34392         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34393
34394         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34395         handling of denormals.
34396         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34397         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34398         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34399         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34400         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34401         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34402         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34403         Likewise.
34404
34405 2012-05-26  Marek Polacek  <polacek@redhat.com>
34406
34407         [BZ #14152]
34408         * math/libm-test.inc (fma_test): Don't always expect underflow
34409         exception.
34410
34411 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34412
34413         [BZ #12416]
34414         * elf/tst-execstack.c: Include stackinfo.h.
34415         (do_test): Adjust test case to ensure that pthread_getattr_np
34416         behaviour remains the same after marking stack executable.
34417
34418 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34419
34420         * sysdeps/unix/sysv/linux/kernel-features.h
34421         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34422         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34423         kernel-features.h.
34424         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34425         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34426         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34427         kernel-features.h.
34428         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34429         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34430
34431 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34432
34433         * configure.in: Define the default includes to being none.
34434         * configure: Regenerated.
34435
34436 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34437
34438         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34439         * sysdeps/x86_64/setjmp.S: Likewise.
34440         * sysdeps/i386/bsd-setjmp.S: Likewise.
34441         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34442         * sysdeps/i386/setjmp.S: Likewise.
34443         * sysdeps/i386/__longjmp.S: Likewise.
34444         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34445         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34446
34447         * include/stap-probe.h: New file.
34448         * configure.in: Handle --enable-systemtap.
34449         * configure: Regenerated.
34450         * config.h.in (USE_STAP_PROBE): New #undef.
34451         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34452         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34453         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34454
34455 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34456
34457         [BZ #13717]
34458         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34459         to 2.4.0 where earlier.
34460         * sysdeps/unix/sysv/linux/configure: Regenerated.
34461         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34462         <kernel-features.h>.
34463         [__ASSUME_32BITUIDS]: Make code unconditional.
34464         [!__ASSUME_32BITUIDS]: Remove conditional code.
34465         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34466         <kernel-features.h>.
34467         [__ASSUME_32BITUIDS]: Make code unconditional.
34468         [!__ASSUME_32BITUIDS]: Remove conditional code.
34469         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34470         [__ASSUME_32BITUIDS]: Make code unconditional.
34471         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34472         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.c: Do not include
34489         <kernel-features.h>.
34490         [__ASSUME_32BITUIDS]: Make code unconditional.
34491         [!__ASSUME_32BITUIDS]: Remove conditional code.
34492         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34493         <kernel-features.h>.
34494         [__ASSUME_32BITUIDS]: Make code unconditional.
34495         [!__ASSUME_32BITUIDS]: Remove conditional code.
34496         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34497         <kernel-features.h>.
34498         [__ASSUME_32BITUIDS]: Make code unconditional.
34499         [!__ASSUME_32BITUIDS]: Remove conditional code.
34500         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34501         <kernel-features.h>.
34502         [__ASSUME_32BITUIDS]: Make code unconditional.
34503         [!__ASSUME_32BITUIDS]: Remove conditional code.
34504         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34505         <kernel-features.h>.
34506         [__ASSUME_32BITUIDS]: Make code unconditional.
34507         [!__ASSUME_32BITUIDS]: Remove conditional code.
34508         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34509         <kernel-features.h>.
34510         [__ASSUME_32BITUIDS]: Make code unconditional.
34511         [!__ASSUME_32BITUIDS]: Remove conditional code.
34512         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34513         <kernel-features.h>.
34514         [__NR_setresgid] (__setresgid): Do not declare.
34515         [__ASSUME_32BITUIDS]: Make code unconditional.
34516         [!__ASSUME_32BITUIDS]: Remove conditional code.
34517         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34518         <kernel-features.h>.
34519         [__NR_setresuid] (__setresuid): Do not declare.
34520         [__ASSUME_32BITUIDS]: Make code unconditional.
34521         [!__ASSUME_32BITUIDS]: Remove conditional code.
34522         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/i386/setregid.c: Do not include
34539         <kernel-features.h>.
34540         [__ASSUME_32BITUIDS]: Make code unconditional.
34541         [!__ASSUME_32BITUIDS]: Remove conditional code.
34542         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34543         <kernel-features.h>.
34544         [__ASSUME_32BITUIDS]: Make code unconditional.
34545         [!__ASSUME_32BITUIDS]: Remove conditional code.
34546         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34547         <kernel-features.h>.
34548         [__ASSUME_32BITUIDS]: Make code unconditional.
34549         [!__ASSUME_32BITUIDS]: Remove conditional code.
34550         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34551         <kernel-features.h>.
34552         [__ASSUME_32BITUIDS]: Make code unconditional.
34553         [!__ASSUME_32BITUIDS]: Remove conditional code.
34554         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34555         <kernel-features.h>.
34556         [__ASSUME_32BITUIDS]: Make code unconditional.
34557         [!__ASSUME_32BITUIDS]: Remove conditional code.
34558         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34559         <kernel-features.h>.
34560         [__ASSUME_32BITUIDS]: Make code unconditional.
34561         [!__ASSUME_32BITUIDS]: Remove conditional code.
34562         * sysdeps/unix/sysv/linux/kernel-features.h
34563         (__ASSUME_SETRESUID_SYSCALL): Remove.
34564         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34565         (__ASSUME_32BITUIDS): Likewise.
34566         (__ASSUME_LDT_WORKS): Likewise.
34567         (__ASSUME_O_DIRECTORY): Likewise.
34568         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34569         architecture but not kernel version.
34570         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34571         (__ASSUME_MMAP2_SYSCALL): Likewise.
34572         (__ASSUME_STAT64_SYSCALL): Likewise.
34573         (__ASSUME_IPC64): Likewise.
34574         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34575         <kernel-features.h>.
34576         [__ASSUME_32BITUIDS]: Make code unconditional.
34577         [!__ASSUME_32BITUIDS]: Remove conditional code.
34578         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34579         <kernel-features.h>.
34580         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34581         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34582         132096]: Remove conditional code.
34583         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34584         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34585         <kernel-features.h>.
34586         [__ASSUME_32BITUIDS]: Make code unconditional.
34587         [!__ASSUME_32BITUIDS]: Remove conditional code.
34588         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34589         <kernel-features.h>.
34590         [__ASSUME_32BITUIDS]: Make code unconditional.
34591         [!__ASSUME_32BITUIDS]: Remove conditional code.
34592         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34593         <kernel-features.h>.
34594         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34595         unconditional.
34596         (__setresgid): Do not declare.
34597         [__ASSUME_32BITUIDS]: Make code unconditional.
34598         [!__ASSUME_32BITUIDS]: Remove conditional code.
34599         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34600         <kernel-features.h>.
34601         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34602         unconditional.
34603         (__setresuid): Do not declare.
34604         [__ASSUME_32BITUIDS]: Make code unconditional.
34605         [!__ASSUME_32BITUIDS]: Remove conditional code.
34606         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34607         <kernel-features.h>.
34608         [__ASSUME_32BITUIDS]: Make code unconditional.
34609         [!__ASSUME_32BITUIDS]: Remove conditional code.
34610         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34611         <kernel-features.h>.
34612         [__ASSUME_32BITUIDS]: Make code unconditional.
34613         [!__ASSUME_32BITUIDS]: Remove conditional code.
34614
34615 2012-05-25  Richard Henderson  <rth@twiddle.net>
34616
34617         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34618         dl_hwcap to ifunc resolver.
34619         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34620         elf_ifunc_invoke.
34621         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34622         dl_hwcap to ifunc resolver.
34623         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34624
34625 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34626
34627         [BZ #14153]
34628         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34629         for |x| <= 2**-26, not 2**-57.
34630         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34631         exception.
34632
34633 2012-05-24  Jeff Law  <law@redhat.com>
34634
34635         * stdio-common/Makefile (tests): Add bug25.
34636         * stdio-common/bug25.c: New test.
34637
34638 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34639
34640         [BZ #13576]
34641         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34642         multiple of MALLOC_ALIGNMENT in size.
34643         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34644
34645 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34646
34647         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34648         Require >= 256.
34649         (FILENAME_MAX): Use macro-int-constant.
34650         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34651         (_IOFBF): Use macro-int-constant.
34652         (_IOLBF): Likewise.
34653         (_IONBF): Likewise.
34654         (SEEK_CUR): Likewise.
34655         (SEEK_END): Likewise.
34656         (SEEK_SET): Likewise.
34657         (TMP_MAX): Likewise.
34658         (EOF): Use macro-int-constant.  Require < 0.
34659         (NULL): Use macro-constant.  Require == 0.
34660         (stdin): Require type to be FILE *.
34661         (stdout): Likewise.
34662         (stderr): Likewise.
34663         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34664         macro-int-constant.
34665         (EXIT_SUCCESS): Likewise.
34666         (NULL): Use macro-constant.  Require == 0.
34667         (RAND_MAX): Use macro-int-constant.
34668         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34669         [C99-based standards] (strtof): Require function.
34670         [C99-based standards] (strtold): Likewise.
34671         [C99-based standards] (strtoll): Likewise.
34672         [C99-based standards] (strtoull): Likewise.
34673         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34674         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34675         [ISO || ISO99 || ISO11] (math.h): Likewise.
34676         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34677         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34678         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34679
34680 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34681
34682         [BZ #14132]
34683         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34684         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34685         * intl/dgettext.c (DCGETTEXT): Likewise.
34686         * intl/gettext.c (DCGETTEXT): Likewise.
34687         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34688         * posix/regex_internal.h (gettext): Likewise.
34689         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34690         Remove declaration.
34691         * include/argz.h (__argz_count_internal)
34692         (__argz_stringify_internal): Remove declaration.
34693         (__argz_count, __argz_stringify): Declare hidden proto.
34694         * intl/dcgettext.c: Remove use of INTDEF.
34695         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34696         * string/argz-stringify.c: Likewise.
34697         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34698         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34699         Declare hidden proto.
34700         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34701         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34702         Declare hidden proto.
34703         * include/stdio.h (__asprintf_internal): Don't declare.
34704         (__asprintf): Don't define as macro.  Declare hidden proto.
34705         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34706         (__fsetlocking): Declare hidden proto.
34707         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34708         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34709         hidden proto.
34710         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34711         (_IO_setlinebuf): Remove use of INTUSE.
34712         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34713         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34714         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34715         Remove declaration.
34716         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34717         (_IO_do_flush): Remove use of INTUSE.
34718         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34719         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34720         (_IO_adjust_column, _IO_least_wmarker)
34721         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34722         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34723         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34724         (_IO_default_doallocate, _IO_wdefault_doallocate)
34725         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34726         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34727         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34728         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34729         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34730         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34731         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34732         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34733         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34734         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34735         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34736         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34737         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34738         proto.
34739         (_IO_flush_all_internal, _IO_adjust_column_internal)
34740         (_IO_default_uflow_internal, _IO_default_finish_internal)
34741         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34742         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34743         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34744         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34745         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34746         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34747         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34748         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34749         (_IO_file_close_internal, _IO_file_close_it_internal)
34750         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34751         (_IO_file_init_internal, _IO_file_attach_internal)
34752         (_IO_file_fopen_internal, _IO_file_read_internal)
34753         (_IO_file_sync_internal, _IO_file_seek_internal)
34754         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34755         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34756         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34757         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34758         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34759         (_IO_list_all_internal, _IO_link_in_internal)
34760         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34761         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34762         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34763         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34764         (_IO_do_write_internal, _IO_padn_internal)
34765         (_IO_getline_info_internal, _IO_getline_internal)
34766         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34767         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34768         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34769         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34770         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34771         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34772         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34773         with libc_hidden_ver, remove use of INTUSE.
34774         * libio/genops.c: Likewise.
34775         * libio/freopen.c: Likewise.
34776         * libio/freopen64.c: Likewise.
34777         * libio/iofclose.c: Likewise.
34778         * libio/iofdopen.c: Likewise.
34779         * libio/iofflush.c: Likewise.
34780         * libio/iofflush_u.c: Likewise.
34781         * libio/iofgets.c: Likewise.
34782         * libio/iofgets_u.c: Likewise.
34783         * libio/iofopen.c: Likewise.
34784         * libio/iofopncook.c: Likewise.
34785         * libio/iofread.c: Likewise.
34786         * libio/iofread_u.c: Likewise.
34787         * libio/ioftell.c: Likewise.
34788         * libio/iofwrite.c: Likewise.
34789         * libio/iogetline.c: Likewise.
34790         * libio/iogets.c: Likewise.
34791         * libio/iogetwline.c: Likewise.
34792         * libio/iopadn.c: Likewise.
34793         * libio/iopopen.c: Likewise.
34794         * libio/ioseekoff.c: Likewise.
34795         * libio/ioseekpos.c: Likewise.
34796         * libio/iosetbuffer.c: Likewise.
34797         * libio/iosetvbuf.c: Likewise.
34798         * libio/ioungetc.c: Likewise.
34799         * libio/ioungetwc.c: Likewise.
34800         * libio/iovdprintf.c: Likewise.
34801         * libio/iovsprintf.c: Likewise.
34802         * libio/iovsscanf.c: Likewise.
34803         * libio/memstream.c: Likewise.
34804         * libio/obprintf.c: Likewise.
34805         * libio/oldfileops.c: Likewise.
34806         * libio/oldiofclose.c: Likewise.
34807         * libio/oldiofdopen.c: Likewise.
34808         * libio/oldiofopen.c: Likewise.
34809         * libio/oldiopopen.c: Likewise.
34810         * libio/oldstdfiles.c: Likewise.
34811         * libio/putc.c: Likewise.
34812         * libio/setbuf.c: Likewise.
34813         * libio/setlinebuf.c: Likewise.
34814         * libio/stdfiles.c: Likewise.
34815         * libio/strops.c: Likewise.
34816         * libio/vasprintf.c: Likewise.
34817         * libio/vscanf.c: Likewise.
34818         * libio/vsnprintf.c: Likewise.
34819         * libio/vswprintf.c: Likewise.
34820         * libio/wfiledoalloc.c: Likewise.
34821         * libio/wfileops.c: Likewise.
34822         * libio/wgenops.c: Likewise.
34823         * libio/wmemstream.c: Likewise.
34824         * libio/wstrops.c: Likewise.
34825         * libio/__fpurge.c: Likewise.
34826         * libio/__fsetlocking.c: Likewise.
34827         * assert/assert.c: Likewise.
34828         * debug/fgets_chk.c: Likewise.
34829         * debug/fgets_u_chk.c: Likewise.
34830         * debug/fread_chk.c: Likewise.
34831         * debug/fread_u_chk.c: Likewise.
34832         * debug/gets_chk.c: Likewise.
34833         * debug/obprintf_chk.c: Likewise.
34834         * debug/vasprintf_chk.c: Likewise.
34835         * debug/vdprintf_chk.c: Likewise.
34836         * debug/vsnprintf_chk.c: Likewise.
34837         * debug/vsprintf_chk.c: Likewise.
34838         * malloc/mtrace.c: Likewise.
34839         * misc/error.c: Likewise.
34840         * misc/syslog.c: Likewise.
34841         * stdio-common/asprintf.c: Likewise.
34842         * stdio-common/fxprintf.c: Likewise.
34843         * stdio-common/getw.c: Likewise.
34844         * stdio-common/isoc99_fscanf.c: Likewise.
34845         * stdio-common/isoc99_scanf.c: Likewise.
34846         * stdio-common/isoc99_vfscanf.c: Likewise.
34847         * stdio-common/isoc99_vscanf.c: Likewise.
34848         * stdio-common/isoc99_vsscanf.c: Likewise.
34849         * stdio-common/printf-prs.c: Likewise.
34850         * stdio-common/printf_fp.c: Likewise.
34851         * stdio-common/printf_fphex.c: Likewise.
34852         * stdio-common/printf_size.c: Likewise.
34853         * stdio-common/putw.c: Likewise.
34854         * stdio-common/scanf.c: Likewise.
34855         * stdio-common/sprintf.c: Likewise.
34856         * stdio-common/tmpfile.c: Likewise.
34857         * stdio-common/vfprintf.c: Likewise.
34858         * stdio-common/vfscanf.c: Likewise.
34859         * stdlib/strfmon_l.c: Likewise.
34860         * sunrpc/openchild.c: Likewise.
34861         * sunrpc/xdr_stdio.c: Likewise.
34862         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34863         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34864
34865 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34866
34867         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34868
34869         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34870         in the third column, to generate for the shared library an IFUNC
34871         that uses _dl_vdso_vsym.
34872         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34873         * Makeconfig (object-suffixes-noshared): New variable.
34874
34875         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34876         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34877         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34878         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34879
34880         [BZ #14132]
34881         * include/sys/time.h (__gettimeofday): Remove macro.
34882         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34883         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34884         Remove INTDEF.
34885         (__gettimeofday): Add libc_hidden_def.
34886         (gettimeofday): Add libc_hidden_weak.
34887         * sysdeps/mach/gettimeofday.c: Likewise.
34888         * sysdeps/posix/gettimeofday.c: Likewise.
34889         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34890         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34891         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34892         (__gettimeofday_internal): Remove strong_alias.
34893         (__gettimeofday): Add libc_hidden_def.
34894         (gettimeofday): Add libc_hidden_weak.
34895         * sysdeps/unix/syscalls.list (gettimeofday):
34896         Remove __gettimeofday_internal alias.
34897
34898 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34899             H.J. Lu  <hongjiu.lu@intel.com>
34900
34901         [BZ #12495]
34902         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34903         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34904         (largebin_index_32_big): New.
34905         (largebin_index): Use it for 16-byte alignment.
34906         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34907         correction with front_misalign.
34908
34909 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34910
34911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34913         Likewise.
34914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34915         Likewise.
34916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34917         Likewise.
34918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34919         Likewise.
34920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34921         Likewise.
34922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34923         Likewise.
34924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34925         Likewise.
34926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34927         Likewise.
34928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34929         Likewise.
34930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34931         Likewise.
34932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34933         Likewise.
34934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34935         Likewise.
34936
34937         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34938         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34939
34940 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34941
34942         [BZ #10846]
34943         [BZ #14036]
34944         * math/libm-test.inc (exp_test): Add test from bug 14036.
34945         (pow_test): Add test from bug 10846.
34946
34947         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34948         and other flags.
34949         (special_function): Do not include flags in test name.
34950         (parse_args): Likewise.
34951         * sysdeps/i386/fpu/libm-test-ulps: Update.
34952         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34953         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34954         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34956
34957         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34958         exceptions.
34959         * math/libm-test.inc ("Philosophy"): Update comment about
34960         exception testing.
34961         (UNDERFLOW_EXCEPTION): New macro.
34962         (UNDERFLOW_EXCEPTION_OK): Likewise.
34963         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34964         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34965         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34966         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34967         (INVALID_EXCEPTION_OK): Update value.
34968         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34969         (OVERFLOW_EXCEPTION_OK): Likewise.
34970         (IGNORE_ZERO_INF_SIGN): Likewise.
34971         (test_exceptions): Handle underflow exceptions.
34972         (acos_test): Update for underflow exception expectations.
34973         (cexp_test): Likewise.
34974         (clog_test): Likewise.
34975         (clog10_test): Likewise.
34976         (csqrt_test): Likewise.
34977         (ctan_test): Likewise.
34978         (ctanh_test): Likewise.
34979         (exp_test): Likewise.
34980         (exp10_test): Likewise.
34981         (exp2_test): Likewise.
34982         (expm1_test): Likewise.
34983         (fma_test): Likewise.
34984         (j0_test): Likewise.
34985         (jn_test): Likewise.
34986         (nexttoward_test): Likewise.
34987         (pow_test): Likewise.
34988         (scalbn_test): Likewise.
34989         (scalbln_test): Likewise.
34990         (tan_test): Likewise.
34991         (y1_test): Likewise.
34992         * sysdeps/i386/fpu/libm-test-ulps: Update.
34993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34994
34995 2012-05-23  David S. Miller  <davem@davemloft.net>
34996
34997         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34998         (__libc_sigaction): Remove unused local variables.
34999
35000 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35001
35002         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35003
35004 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35005
35006         mktime: avoid signed integer overflow
35007         * time/mktime.c (__mktime_internal): Do not mishandle the case
35008         where diff == INT_MIN.
35009
35010         mktime: simplify computation of average
35011         * time/mktime.c (ranged_convert): Use new time_t_avg function
35012         instead of rolling our own (probably-slower) code.
35013
35014         mktime: do not assume signed right shift propagates sign bit
35015         * time/mktime.c (isdst_differ): New static function.
35016         (__mktime_internal): No need to normalize tm_isdst now.
35017         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35018         tm_isdst values.
35019
35020         mktime: merge another wrapv change from gnulib
35021         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35022         from some compilers.
35023
35024         mktime: remove incorrect attempt at unusual arithmetics
35025         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35026         The code didn't really work on such machines anyway.
35027         (TYPE_MINIMUM): Assume two's complement.
35028         (twos_complement_arithmetic): Verify that long_int and time_t
35029         are two's complement (or unsigned, in the latter case).
35030
35031         mktime: check signed shifts on long_int and time_t, too
35032         * time/mktime.c (SHR): Check that shifts work as desired
35033         on the types long_int and time_t too, as SHR is used on
35034         such types.
35035
35036         mktime: do not assume 'long' is wide enough
35037         * time/mktime.c (verify): Move decl up.
35038         (long_int): New type.
35039         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35040         to remove assumption in the code that 'long' is wide enough to
35041         store year values.  This assumption is not true on x32 and on
35042         some non-glibc platforms.
35043
35044         mktime: merge wrapv change from gnulib
35045         * time/mktime.c (WRAPV): New macro.
35046         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35047         (guess_time_tm, __mktime_internal): Do not assume that signed
35048         integer overflow wraps around; modern compilers generate code
35049         where this assumption is no longer valid.
35050
35051 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35052
35053         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35054         Replace "jmp L(pseudo_end)" with "ret".
35055         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35056         Likewise.
35057
35058 2012-05-23  Andreas Jaeger  <aj@suse.de>
35059
35060         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35061         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35062
35063 2012-05-23  Andreas Jaeger  <aj@suse.de>
35064             Maximilian Attems  <max@stro.at>
35065
35066         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35067         New macros.
35068
35069 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35070
35071         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35072         code so that pseudo_end is just ret and the stack pointer is
35073         correct also for static library in error case.
35074
35075 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35076
35077         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35078         move to syscalls.list.
35079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35083
35084         * manual/install.texi (Running make install): Do not mention Linux
35085         kernel version for which pt_chown is not needed.
35086         (Linux): Do not mention problems with nscd with 2.0 kernels.
35087         * INSTALL: Regenerated.
35088
35089 2012-05-23  Andreas Jaeger  <aj@suse.de>
35090
35091         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35092         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35093         macro.
35094         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35095         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35096         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35097         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35098         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35099         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35100         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35101         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35102         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35103         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35104         * sysdeps/unix/sysv/linux/bits/in.h
35105         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35106
35107 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35108
35109         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35110         (PREPARE_VERSION): Just use assert instead, it will be elided
35111         under [NDEBUG] anyway.
35112
35113 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35114
35115         * sysdeps/unix/sysv/linux/Makefile: Include
35116         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35117         (sysdep_routines): Remove sysctl.
35118         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35119         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35120         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35121         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35122         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35123
35124 2012-05-22  Andreas Jaeger  <aj@suse.de>
35125
35126         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35127         that pseudo_end is just ret and the stack pointer is correct also
35128         for static library in error case.
35129
35130 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35131
35132         [BZ #14122]
35133         * nss/nsswitch.c (defconfig_entries): New variable.
35134         (__nss_database_lookup): Don't leak defconfig entries.
35135         (nss_parse_service_list): Don't leak on error paths.
35136         (free_database_entries): New function.
35137         (free_defconfig): New function.
35138         (free_mem): Move common code to free_database_entries.
35139
35140 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35141
35142         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35143         Add arch_prctl.
35144         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35145
35146         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35147         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35148         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35149         New macro.
35150         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35151         (INTERNAL_SYSCALL_TYPES): Likewise.
35152         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35153         (LOAD_REGS_TYPES_[1-6]): Likewise.
35154         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35155         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35156
35157 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35158
35159         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35160         copysignl for GLIBC_2_0.
35161         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35162         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35163         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35164         logbl for GLIBC_2_0.
35165         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35166         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35167
35168 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35169
35170         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35171         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35172
35173         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35174         Use "neg %eax".
35175
35176         * time/mktime.c: Update copyright years.
35177
35178 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35179
35180         mktime: merge comment-quoting-style change from gnulib
35181         * time/mktime.c: Quote 'like this' in comments.
35182         The GNU coding standards suggest that we no longer quote `like this',
35183         as "`" and "'" are typically rendered asymmetrically nowadays.
35184         The typical gnulib style is to quote 'like this' when quoting
35185         code, and "like this" when quoting English.
35186
35187         * time/mktime.c (compile-command): Add "-I.".
35188
35189         mktime: merge mktime-internal.h change from gnulib
35190         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35191
35192         mktime: merge time_r change from gnulib
35193         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35194
35195         mktime: merge DEBUG change from gnulib
35196         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35197         case system <time.h> has a #define.
35198
35199         mktime: merge <sys/types.h> change from gnulib
35200         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35201         since <time.t> is now guaranteed to define time_t.
35202
35203         mktime: merge HAVE_CONFIG_H change from gnulib
35204         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35205
35206 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35207
35208         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35209         Use "neg %eax".
35210
35211         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35212         __rlim_t cast.
35213         (struct rusage): Use anonymous union to pad each field to
35214         __syscall_slong_t.
35215
35216 2012-05-21  David S. Miller  <davem@davemloft.net>
35217
35218         * Makefules (o-iterator): Remove .s cases.
35219         (compile-command.s): Delete.
35220         (COMPILE.s): Delete.
35221         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35222
35223 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35224
35225         * configure.in (libc_cv_predef_stack_protector): Only consider
35226         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35227         * configure: Regenerated.
35228
35229 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35230
35231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35232         New macro.  Use R*LP on int and pointer.
35233         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35234         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35235         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35236         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35237
35238         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35239         [__WORDSIZE_TIME64_COMPAT32] instead of
35240         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35241         (struct utmp): Likewise.
35242         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35243         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35244         Renamed to ...
35245         (__WORDSIZE_TIME64_COMPAT32): This.
35246         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35247         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35248         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35249         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35250         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35251         (__WORDSIZE_TIME64_COMPAT32): New macro.
35252
35253 2012-05-21  Andreas Jaeger  <aj@suse.de>
35254
35255         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35256         only if [SHARED]. Add prototype for __wcschr_ia32.
35257
35258 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35259
35260         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35261         of %rbp unmolested in the jmp_buf while mangling the low bits.
35262         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35263         unmolested high bits of %rbp while demangling the low bits.
35264         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35265
35266 2012-05-21  Andreas Jaeger  <aj@suse.de>
35267
35268         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35269         * sunrpc/svc_simple.c: Use it for registerrpc.
35270         * sunrpc/xcrypt.c: Use it for passwd2des.
35271
35272         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35273
35274 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35275
35276         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35277         Don't define if [__SYSCALL_WORDSIZE != 32].
35278         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35279         New macro.
35280
35281 2012-05-21  Bruno Haible  <bruno@clisp.org>
35282             Andreas Jaeger  <aj@suse.de>
35283
35284         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35285         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35286         inptr and inend for must_buffer_ch.
35287         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35288         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35289         * stdio-common/Makefile (tests): Remove bug15.
35290         (bug15-ENV): Remove macro.
35291         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35292         anymore.
35293
35294 2012-05-19  Andreas Jaeger  <aj@suse.de>
35295             Roland McGrath  <roland@hack.frob.com>
35296
35297         * manual/contrib.texi: Completely rewritten. It contains now an
35298         alphabetical list of contributors and their contributions.
35299
35300 2012-05-21  Richard Henderson  <rth@twiddle.net>
35301
35302         * misc/getauxval.c (__getauxval): Use unsigned long int.
35303         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35304         (getauxval): Use unsigned long int.
35305
35306 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35307
35308         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35309
35310 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35311
35312         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35313         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35314         __alignof__ (long double).
35315
35316 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35317
35318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35319
35320 2012-05-20  Richard Henderson  <rth@twiddle.net>
35321
35322         * misc/getauxval.c: New file.
35323         * misc/sys/auxv.h: New file.
35324         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35325         (routines): Add getauxval.
35326         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35327         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35328         * elf/dl-sysdep.c (_dl_auxv): Remove.
35329         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35330         * elf/dl-support.c (_dl_auxv): New variable.
35331         (_dl_aux_init): Initialize it.
35332         * manual/startup.texi (Auxiliary Vector): New node.
35333         * sysdeps/generic/bits/hwcap.h: New file.
35334         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35335         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35336         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35337         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35338         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35339         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35341         Update.
35342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35345         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35350
35351 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35352
35353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35354
35355 2012-05-19  David S. Miller  <davem@davemloft.net>
35356
35357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35358
35359 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35360
35361         [BZ #14123]
35362         * math/s_ccosh.c: Include <float.h>
35363         (__ccosh): Avoid internal overflow calculating sinh and cosh
35364         values before multiplying by sin and cos values.
35365         * math/s_ccoshf.c: Likewise.
35366         * math/s_ccoshl.c: Likewise.
35367         * math/s_csin.c: Likewise.
35368         * math/s_csinf.c: Likewise.
35369         * math/s_csinl.c: Likewise.
35370         * math/s_csinh.c: Likewise.
35371         * math/s_csinhf.c: Likewise.
35372         * math/s_csinhl.c: Likewise.
35373         * math/libm-test.inc (ccos_test): Add more tests.
35374         (ccosh_test): Likewise.
35375         (csin_test): Likewise.
35376         (csinh_test): Likewise.
35377         * sysdeps/i386/fpu/libm-test-ulps: Update.
35378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35379
35380 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35381
35382         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35383         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35384
35385         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35386
35387 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35388
35389         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35390         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35391         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35392         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35393         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35394         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35395         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35396         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35397         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35398         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35399         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35400         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35401         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35402         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35403         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35404         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35405         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35406         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35407         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35408         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35409         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35410         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35411         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35412         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35413         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35414         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35415         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35416         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35417         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35418         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35419         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35420
35421 2012-05-18  Andreas Jaeger  <aj@suse.de>
35422
35423         * csu/.gitignore: Delete.
35424
35425 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35426
35427         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35428         (timex): Use __syscall_slong_t.
35429
35430 2012-05-18  Andreas Jaeger  <aj@suse.de>
35431             Carlos O'Donell  <carlos_odonell@mentor.com>
35432
35433         * manual/install.texi (Configuring and compiling): Update
35434         description about files modified in the source directory.
35435         * INSTALL: Regenerated.
35436
35437 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35438
35439         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35440         value.  Use "or" to set return value to -1.
35441         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35442         negate return value.
35443
35444 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35445
35446         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35447         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35448         failure if the compiler has Graphite support disabled.
35449         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35450         Likewise.
35451         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35452         (CFLAGS-memmove.c): Likewise.
35453         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35454         Likewise.
35455
35456 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35457
35458         * sysdeps/x86_64/x32/_itoa.h: New file.
35459
35460         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35461         getdents system call only if kernel and user dirents have the
35462         same d_ino and d_off.
35463
35464         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35465         LLONG_MAX != LONG_MAX.
35466         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35467         (_fitoa_word): Likewise.
35468
35469         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35470         years.
35471         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35472         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35473         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35474
35475         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35476         include <bits/wordsize.h>.  Check __x86_64__ instead of
35477         __WORDSIZE.
35478         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35479         if __x86_64__ is defined.  Use anonymous union on fpstate.
35480
35481         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35482         anonymous union.
35483
35484 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35485
35486         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35487         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35488         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35489         Refer to _rtld_local_ro instead of _rtld_global_ro.
35490         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35491         Likewise.
35492         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35493         Likewise.
35494         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35495         Likewise.
35496         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35497         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35498         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35499
35500         * sysdeps/powerpc/powerpc32/dl-machine.c
35501         (__elf_machine_runtime_setup) [PROF]: Don't reference
35502         _dl_prof_resolve.
35503
35504 2012-05-18  Andreas Jaeger  <aj@suse.de>
35505
35506         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35507         function only available for GCCs before 3.4 since GCC 3.4
35508         introduced a builtin.
35509         (lrint): Likewise.
35510         (llrintf): Likewise.
35511         (llrint): Likewise.
35512         (fmaxf): Likewise.
35513         (fmax): Likewise.
35514         (fminf): Likewise.
35515         (fmin): Likewise.
35516         (rint): Likewise.
35517         (rintf): Likewise.
35518         (nearbyint): Likewise.
35519         (nearbyintf): Likewise.
35520         (ceil): Likewise.
35521         (ceilf): Likewise.
35522         (floor): Likewise.
35523         (floorf): Likewise.
35524
35525 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35526
35527         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35528         on both fields and cast pointer to __syscall_ulong_t.
35529
35530         * bits/types.h (__fsword_t): New type.
35531         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35532         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35533         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35534         (__FSWORD_T_TYPE): Likewise.
35535         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35536         (__FSWORD_T_TYPE): Likewise.
35537         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35538         (__FSWORD_T_TYPE): Likewise.
35539         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35540         (__FSWORD_T_TYPE): Likewise.
35541         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35542         __SWORD_TYPE with __fsword_t.
35543         (statfs64): Likewise.
35544
35545 2012-05-17  David S. Miller  <davem@davemloft.net>
35546
35547         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35548
35549 2012-05-17  Andreas Jaeger  <aj@suse.de>
35550
35551         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35552         warning.
35553
35554 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35555
35556         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35557
35558 2012-05-17  Andreas Jaeger  <aj@suse.de>
35559
35560         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35561         when it is used.
35562
35563 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35564
35565         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35566
35567 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35568
35569         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35570         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35571
35572 2012-05-17  Andreas Jaeger  <aj@suse.de>
35573             Carlos O'Donell  <carlos_odonell@mentor.com>
35574
35575         [BZ #14059]
35576         * sysdeps/x86_64/multiarch/init-arch.h
35577         (bit_YMM_Usable): Rename to...
35578         (bit_AVX_Usable): ... this.
35579         (bit_FMA4_Usable): New macro.
35580         (bit_XMM_state): New macro.
35581         (bit_YMM_state): New macro.
35582         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35583         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35584         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35585         (CPUID_OSXSAVE): New macro.
35586         (CPUID_AVX): New macro.
35587         (CPUID_FMA4): New macro.
35588         (index_YMM_Usable): Rename to...
35589         (index_AVX_Usable): ... this.
35590         (HAS_AVX): Use HAS_ARCH_FEATURE.
35591         (HAS_FMA4): Likewise.
35592         (HAS_YMM_USABLE): Remove.
35593         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35594         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35595         are present.
35596         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35597         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35598         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35599         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35600         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35601
35602 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35603
35604         * math/libm-test.c: Support platforms without multiple rounding modes.
35605         * math/bug-nextafter.c: Support platforms without FP exceptions.
35606         * math/bug-nexttoward.c: Likewise.
35607         * math/test-fenv.c: Likewise.
35608         * math/test-misc.c: Likewise.
35609         * stdlib/bug-getcontext.c: Likewise.
35610
35611 2012-05-17  Andreas Jaeger  <aj@suse.de>
35612
35613         * manual/examples/search.c (critter_cmp): Change signature to
35614         avoid warnings.
35615         * manual/string.texi (Collation Functions): Likewise.
35616
35617 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35618
35619         * bits/types.h: Fold copyright years.
35620         * bits/typesizes.h: Likewise.
35621         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35622         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35623         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35624         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35625         * time/time.h: Likewise.
35626
35627 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35628
35629         [BZ #208]
35630         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35631         in instead of returning them.  Return void.
35632         (__libc_mallinfo): Accumulate over all arenas.
35633         (__malloc_stats): Adjust for change in int_mallinfo interface.
35634
35635 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35636
35637         [BZ #10375]
35638         * configure.in (NM): Add AC_CHECK_TOOL for it.
35639         (libc_extra_cflags): New substituted variable.
35640         Check for -fstack-protector being used implicitly.
35641         * configure: Regenerated.
35642         * config.make.in (config-extra-cflags): New variable,
35643         gets @libc_extra_cflags@.
35644         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35645
35646         [BZ #10375]
35647         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35648         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35649         * configure: Regenerated.
35650         * config.make.in (CPPUNDEFS): New substituted variable.
35651         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35652         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35653         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35654
35655 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35656
35657         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35658         (mq_attr): Use __syscall_slong_t.
35659
35660 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35661
35662         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35663         Check __x86_64__ instead of __WORDSIZE.
35664         (_STAT_VER_LINUX): Likewise.
35665         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35666         __syscall_ulong_t and __syscall_slong_t.
35667         (stat64): Likewise.
35668
35669 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35670
35671         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35672
35673 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35674
35675         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35676
35677 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35678
35679         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35680         __syscall_ulong_t.
35681
35682         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35683         include <bits/wordsize.h>.  Check __x86_64__ instead of
35684         __WORDSIZE.
35685         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35686         defined.
35687         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35688
35689         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35690         include <bits/wordsize.h>.  Check __x86_64__ instead of
35691         __WORDSIZE.
35692         (user_regs_struct): Use "__extension__ unsigned long long"
35693         instead of "unsigned long" if __x86_64__ is defined.
35694         (user): Likewise.  Pad after pointer field if __ILP32__ is
35695         defined.
35696
35697 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35698
35699         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35700         versions 5 to 9.
35701         * configure: Regenerated.
35702         * manual/install.texi (texinfo): Increase version requirement to
35703         4.5 or later.
35704         * INSTALL: Regenerated.
35705
35706         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35707
35708 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35709
35710         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35711
35712         * sysdeps/x86_64/x32/ffs.c: New file.
35713
35714         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35715         __syscall_ulong_t.
35716         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35717         defined.  Use __syscall_ulong_t.
35718         (shminfo): Use __syscall_ulong_t.
35719         (shm_info): Likewise.
35720
35721         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35722         __syscall_ulong_t.
35723
35724         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35725         <bits/wordsize.h>.
35726         (msgqnum_t): Use __syscall_ulong_t.
35727         (msglen_t): Likewise.
35728         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35729         __syscall_ulong_t.
35730
35731         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35732         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35733
35734         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35735
35736         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35737         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35738
35739         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35740         __syscall_slong_t.
35741
35742         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35743         include <bits/wordsize.h>.  Check __x86_64__ instead of
35744         __WORDSIZE.
35745
35746         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35747         "unsigned long long int" if __x86_64__ is defined.
35748         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35749
35750         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35751         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35752         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35753
35754         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35755         <stdint.h>.
35756         (GET_PC): Cast to uintptr_t first.
35757         (GET_FRAME): Likewise.
35758         (GET_STACK): Likewise.
35759
35760         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35761         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35762         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35763         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35764         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35765         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35766         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35767         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35768         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35769         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35770         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35771         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35772         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35773         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35774         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35775         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35776         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35777         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35778         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35779         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35780         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35781         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35782         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35783         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35784         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35785         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35786         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35787         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35788         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35789
35790 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35791
35792         * Makerules (+depfiles): Also collect depfiles from .oS in
35793         $(extra-objs).
35794         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35795         .oS, $(libnldbl-routines)).
35796
35797         * Makerules (native-compile-mkdep-flags): Define.
35798         * sunrpc/Makefile (extra-objs): Add $(addprefix
35799         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35800         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35801         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35802         calling $(make-target-directory).
35803
35804 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35805
35806         * bits/types.h (__snseconds_t): Removed.
35807         * time/time.h (struct timespec): Replace __snseconds_t with
35808         __syscall_slong_t.
35809         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35810         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35811         Likewise.
35812         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35813         (__SNSECONDS_T_TYPE): Likewise.
35814         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35815         (__SNSECONDS_T_TYPE): Likewise.
35816         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35817         (__SNSECONDS_T_TYPE): Likewise.
35818
35819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35820
35821         * sysdeps/mach/hurd/bits/typesizes.h
35822         (__SYSCALL_SLONG_TYPE): New macro.
35823         (__SYSCALL_ULONG_TYPE): Likewise.
35824
35825 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35826
35827         * bits/types.h (__syscall_slong_t): New type.
35828         (__syscall_ulong_t): Likewise.
35829
35830         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35831         (__SYSCALL_ULONG_TYPE): Likewise.
35832         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35833         (__SYSCALL_SLONG_TYPE): Likewise.
35834         (__SYSCALL_ULONG_TYPE): Likewise.
35835         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35836         (__SYSCALL_SLONG_TYPE): Likewise.
35837         (__SYSCALL_ULONG_TYPE): Likewise.
35838         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35839         (__SYSCALL_SLONG_TYPE): Likewise.
35840         (__SYSCALL_ULONG_TYPE): Likewise.
35841
35842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35843
35844         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35845         Add sigaltstack-offsets.sym.
35846         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35847         <sigaltstack-offsets.h>.
35848         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35849         longjmp_msg pointer.
35850         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35851         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35852         signal stack.
35853         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35854
35855 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35856
35857         * elf/stackguard-macros.h: Remove file.
35858         * sysdeps/generic/stackguard-macros.h: New file.
35859         * sysdeps/i386/stackguard-macros.h: Likewise.
35860         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35861         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35862         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35863         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35864         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35865         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35866         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35867         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35868         <elf/stackguard-macros.h>.
35869
35870         [BZ #14109]
35871         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35872         __aligned__ in attribute.
35873         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35874         (gregset_t): Likewise.
35875
35876 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35877
35878         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35879         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35880         * sysdeps/x86_64/x32/Implies-after: New file.
35881
35882 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35883
35884         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35885         and access return value for _dl_profile_fixup.  Use R10_LP to
35886         load frame size.
35887
35888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35889
35890         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35891
35892 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35893
35894         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35895         * sysdeps/x86_64/x32/sysdep.h: New file.
35896
35897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35898
35899         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35900         * sysdeps/x86_64/setjmp.S: Likewise.
35901
35902 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35903
35904         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35905         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35906         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35907         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35908         remove unused global constant.
35909
35910 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35911
35912         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35913         include of <not-cancel.h>.
35914
35915 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35916
35917         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35918
35919 2012-05-15  Jeff Law  <law@redhat.com>
35920             Andreas Jaeger  <aj@suse.de>
35921
35922         [BZ #13594]
35923         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35924         out from...
35925         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35926         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35927         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35928         code changing __hst_map_handle.map.
35929
35930 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35931
35932         * configure.in (sysnames): Look for Implies-before and Implies-after
35933         files.
35934         * configure: Regenerated.
35935
35936 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35937
35938         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35939         8-byte data alignment with LP_SIZE alignment.
35940
35941 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35942
35943         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35944         into R10_LP.
35945
35946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35947
35948         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35949
35950 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35951
35952         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35953         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35954         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35955         Likewise.
35956         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35957
35958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35959
35960         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35961         (stackinfo_sub_sp): Likewise.
35962
35963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35964
35965         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35966         RAX_LP.
35967
35968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35969
35970         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35971         into R*_LP.
35972
35973 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35974
35975         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35976         sizes into R*_LP.
35977
35978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35979
35980         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35981
35982 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35983
35984         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35985         into R11_LP and load __x86_64_shared_cache_size_half into
35986         R8_LP.
35987
35988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35989
35990         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35991         R8_LP.
35992
35993 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35994
35995         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35996         logb for POWER7.
35997         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35998         logbf for POWER7.
35999         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36000         logbl for POWER7.
36001         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36002         powerpc32/power7/fpu/s_logb.c via #include.
36003         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36004         powerpc32/power7/fpu/s_logbf.c via #include.
36005         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36006         powerpc32/power7/fpu/s_logbl.c via #include.
36007
36008 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36009
36010         * README.libm: Remove file.
36011
36012 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36013
36014         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36015         count for x32.  Use R*_LP and omit operand-size suffix.
36016
36017 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36018
36019         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36020         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36021         * sysdeps/x86_64/x32/shlib-versions: New file.
36022
36023 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36024
36025         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36026         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36027         Use _dl_fatal_printf instead.
36028
36029 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36030
36031         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36032         set if not set by the user.  Do not allow for being unset.
36033         * sysdeps/unix/sysv/linux/configure: Regenerated.
36034
36035 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36036
36037         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36038         the `q' suffix from lea and replace .quad with ASM_ADDR.
36039
36040 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36041
36042         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36043         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36044         instead of $17.
36045         (PTR_DEMANGLE): Likewise.
36046
36047 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36048
36049         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36050         (LP_OP): Likewise.
36051         (ASM_ADDR): Likewise.
36052         (RAX_LP): Likewise.
36053         (RBP_LP): Likewise.
36054         (RBX_LP): Likewise.
36055         (RCX_LP): Likewise.
36056         (RDI_LP): Likewise.
36057         (RSI_LP): Likewise.
36058         (RSP_LP): Likewise.
36059         (R8_LP): Likewise.
36060         (R9_LP): Likewise.
36061         (R10_LP): Likewise.
36062         (R10_LP): Likewise.
36063         (R11_LP): Likewise.
36064         (R12_LP): Likewise.
36065         (R13_LP): Likewise.
36066         (R14_LP): Likewise.
36067         (R15_LP): Likewise.
36068
36069 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36070
36071         * sysdeps/x86_64/x32/dl-machine.h: New file.
36072
36073 2012-05-14  Andreas Jaeger  <aj@suse.de>
36074
36075         * manual/Makefile (subdir): Remove export of subdir.
36076         (all): Remove target.
36077         (.PHONY): Remove all from list.
36078         (mkinstalldirs): Remove.
36079         (.PHONY): Remove installdirs from list.
36080         ($(inst_infodir)/libc.info): Use make-target-directory.
36081         (installdirs): Remove.
36082         (subdir_%): Remove.
36083         (glibc-targets): Remove.
36084         (lib): Remove.
36085         (stubs): Remove.
36086         ($(objpfx)stubs ../po/manual.pot): Remove.
36087         ($(objpfx)stamp%): Remove.
36088         (make-target-directory): Remove.
36089         (subdir_install): Remove.
36090         (routines): Remove.
36091         (aux): Remove.
36092         (sources): Remove.
36093         (objects): Remove.
36094         (headers): Remove.
36095
36096         [BZ #13750]
36097         * manual/.gitignore: Remove, it's not needed anymore.
36098         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36099         all files in it.
36100         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36101         directory.
36102         (texis): Renamed to $(objpfx)texis.
36103         (texis-path): New, contains path to generated files.
36104         (chapters.%): Use texis-path for complete path, add extra argument
36105         libc-texinfo.sh.
36106         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36107         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36108         (summary,texi, stamp-summary): Use complete path of
36109         files. Generate files in build dir.
36110         (dir-add.texi): Build in build dir.
36111         (libm-err.texi,stamp-libm-err): Likewise.
36112         (version.texi, stamp-version): Likewise.
36113         (.%c.texi): Likewise.
36114         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36115         (mostlyclean): Remove target.
36116         (realclean): Remove target.
36117         (generated): Add new variable with contents from mostlyclean and
36118         realclean, remove entries duplicated in common-mostlyclean, add
36119         stamp-libm-err and stamp-version.
36120         (generated-dirs): Add libc directory.
36121         ($(inst_infodir)/libc.info): Install files from build dir.
36122
36123         * manual/install.texi (Configuring and compiling): Adjust since
36124         the info files are not part of the tar ball anymore.
36125
36126 2012-05-14  Andreas Jaeger  <aj@suse.de>
36127
36128         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36129         variable.
36130
36131 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36132
36133         [BZ #13717]
36134         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36135         to 2.2.0 where earlier.
36136         * sysdeps/unix/sysv/linux/configure: Regenerated.
36137         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36138         Remove conditional code.
36139         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36140         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36141         Remove conditional code.
36142         [!__NR_lchown]: Likewise.
36143         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36144         [__NR_lchown]: Likewise.
36145         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36146         comment referencing __ASSUME_LCHOWN_SYSCALL.
36147         * sysdeps/unix/sysv/linux/i386/sigaction.c
36148         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36149         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36150         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36151         Remove conditional code.
36152         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36153         (__protocol_available): Remove #if 0 code.
36154         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36155         conditional code.
36156         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36157         * sysdeps/unix/sysv/linux/kernel-features.h
36158         (__ASSUME_GETCWD_SYSCALL): Don't define.
36159         (__ASSUME_REALTIME_SIGNALS): Likewise.
36160         (__ASSUME_PREAD_SYSCALL): Likewise.
36161         (__ASSUME_PWRITE_SYSCALL): Likewise.
36162         (__ASSUME_POLL_SYSCALL): Likewise.
36163         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36164         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36165         non-SPARC.
36166         (__ASSUME_SIOCGIFNAME): Don't define.
36167         (__ASSUME_MSG_NOSIGNAL): Likewise.
36168         (__ASSUME_SENDFILE): Define unconditionally.
36169         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36170         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36171         conditional code.
36172         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36173         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36174         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36175         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36176         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36177         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36178         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36180         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36181         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36183         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36184         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36186         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36187         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36189         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36190         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36192         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36193         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36195         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36196         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36198         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36199         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36201         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36202         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36203         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36204         Remove conditional code.
36205         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36206         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36207         Remove conditional code.
36208         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36209         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36210         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36211         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36212         Remove conditional code.
36213         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36214         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36215         Remove conditional code.
36216         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36217         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36218         Remove conditional code.
36219         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36220         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36221         Remove conditional code.
36222         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36223         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36224         Remove conditional code.
36225         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36226         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36227         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36228         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36229         * sysdeps/unix/sysv/linux/sigaction.c
36230         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36231         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36232         * sysdeps/unix/sysv/linux/sigpending.c
36233         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36234         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36235         * sysdeps/unix/sysv/linux/sigprocmask.c
36236         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36237         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36238         * sysdeps/unix/sysv/linux/sigsuspend.c
36239         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36240         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36241         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36242         (__libc_missing_rt_sigs): Remove.
36243         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36244         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36245         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36246         Remove conditional code.
36247         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36248         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36249         return 1.
36250         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36251         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36252         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36253         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36254
36255 2012-05-14  Andreas Jaeger  <aj@suse.de>
36256
36257         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36258         it's not used in glibc.
36259         (__coshm1): Likewise.
36260         (__acosh1p): Likewise.
36261         (__sgn): Likewise.
36262
36263         * manual/string.texi (Copying and Concatenation): Add missing
36264         variable in concat example.
36265         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36266
36267 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36268
36269         [BZ #14103]
36270         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36271         __builtin_clzl with __builtin_clzll.
36272
36273 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36274
36275         [BZ #14104]
36276         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36277         libc_freeres_ptr.
36278
36279 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36280
36281         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36282         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36283         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36284         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36285
36286 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36287
36288         * NEWS: Update ia64 info.
36289
36290 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36291
36292         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36293         used as bcopy.
36294
36295 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36296
36297         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36298         * sysdeps/unix/syscalls.list (dup3): Likewise.
36299         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36300         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36301
36302 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36303
36304         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36305         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36306
36307 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36308
36309         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36310         thread pointer.
36311         (TLS_IE): Use mov/add instead of movq/addq to load thread
36312         pointer.
36313         (TLS_GD_PREFIX): New.
36314         (TLS_GD): Use it.
36315
36316 2012-05-11  David S. Miller  <davem@davemloft.net>
36317
36318         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36319         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36320         (_FPU_SETCW): Likewise.
36321
36322 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36323
36324         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36325         is 32-byte aligned.
36326
36327 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36328
36329         [BZ #11837]
36330         * iconvdata/gb18030.c: Update tables.
36331         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36332         characters specially.
36333         (BODY for TO_LOOP): Add encoding of missing ranges.
36334
36335 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36336
36337         [BZ #13673]
36338         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36339         * sysdeps/mach/hurd/dup3.c: Likewise.
36340         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36341         * sysdeps/powerpc/memmove.c:: Likewise.
36342
36343 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36344
36345         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36346         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36347
36348 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36349
36350         * elf/elf.h (R_X86_64_RELATIVE64): New.
36351         (R_X86_64_NUM): Updated.
36352         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36353         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36354         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36355         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36356         tst-quad1pie tst-quad2pie
36357         (modules-names): Add tst-quadmod1 tst-quadmod2.
36358         ($(objpfx)tst-quad1): New dependency.
36359         ($(objpfx)tst-quad2): Likewise.
36360         ($(objpfx)tst-quad1pie): Likewise.
36361         ($(objpfx)tst-quad2pie): Likewise.
36362         * sysdeps/x86_64/tst-quad1.c: New file.
36363         * sysdeps/x86_64/tst-quad1pie.c: New file.
36364         * sysdeps/x86_64/tst-quad2.c: Likewise.
36365         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36366         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36367         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36368         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36369         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36370
36371 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36372
36373         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36374         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36375         * streams/stropts.h (t_scalar_t): Define type.
36376
36377         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36378         (_PATH_PRESERVE): Set to "/var/lib".
36379         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36380
36381         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36382         instead of int.
36383
36384         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36385         if __dir_mkfile succeeded.
36386
36387         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36388         checking for _hurd_dtablesize.  Unlock it right after having
36389         finished _hurd_dtable allocation.
36390
36391 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36392
36393         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36394         * sysdeps/mach/hurd/configure: Regenerated.
36395         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36396         special-casing to...
36397         * sysdeps/gnu/configure.in: ... this new file.
36398         * sysdeps/unix/sysv/linux/configure: Regenerated.
36399         * sysdeps/gnu/configure: New generated file.
36400
36401         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36402         for Linux: use nsec instead of usec, as well as:
36403         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36404         members of type struct timespec.
36405         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36406         New macros.
36407         (struct stat64): Likewise.
36408         (_STATBUF_ST_NSEC): New macro.
36409         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36410
36411         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36412         __strtoul_internal rather than strtoul.
36413
36414 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36415
36416         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36417         and reject them.
36418
36419 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36420
36421         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36422         which preserves existing values.
36423         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36424
36425 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36426
36427         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36428         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36429         greater than FD_SETSIZE.
36430
36431 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36432
36433         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36434         allocated, call __vm_protect to finish enabling the existing space, and
36435         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36436         allocate the remainder.
36437
36438 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36439
36440         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36441         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36442
36443 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36444
36445         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36446         sysdeps/mach/hurd/readlink.c.
36447
36448         * posix/tst-sysconf.c (posix_options): Only use
36449         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36450         _POSIX_SYNCHRONIZED_IO when they are defined
36451         * sysdeps/mach/hurd/bits/posix_opt.h:
36452         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36453         (_XOPEN_REALTIME): Undefine macro.
36454         (_XOPEN_REALTIME_THREADS): Undefine macro.
36455         (_XOPEN_SHM): Undefine macro.
36456         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36457         macro to -1.
36458         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36459         macro to -1.
36460         (_POSIX_ASYNC_IO): Undefine macro.
36461         (_POSIX_PRIORITIZED_IO): Undefine macro.
36462         (_POSIX_SPIN_LOCKS): Define macro to -1.
36463
36464         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36465         SA_NODEFER, SA_RESETHAND.
36466         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36467         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36468         F_DUPFD_CLOEXEC.
36469
36470 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36471
36472         * elf/Makefile (pldd-modules): Define unconditionally.
36473
36474 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36475
36476         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36477
36478 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36479
36480         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36481         Return ENOENT when name is empty.
36482         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36483
36484 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36485
36486         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36487
36488         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36489
36490 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36491
36492         Fix mlock in all cases except non-readable pages.
36493         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36494         instead of VM_PROT_ALL as parameter to __vm_wire function.
36495
36496         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36497         (__mkdir): When path is `/', just fail with EEXIST.
36498         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36499
36500 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36501
36502         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36503         <sys/uio.h> (for writev).
36504         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36505         and <sys/param.h> (for MIN).
36506
36507 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36508
36509         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36510         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36511         if interrupted.
36512
36513 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36514
36515         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36516         Depend on against $(link-rpcuserlibs).
36517
36518 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36519
36520         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36521         (__libc_stack_end): Do not use attribute_relro.
36522         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36523         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36524         to libthread-provided value.
36525         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36526         attribute_relro.
36527
36528 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36529
36530         [BZ #3748]
36531         * bits/libc-lock.h (__libc_once_get): New macro.
36532         * sysdeps/mach/bits/libc-lock.h: Likewise.
36533         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36534         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36535         instead of using implementation details.
36536
36537         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36538         * libio/freopen.c: Likewise.
36539         * libio/freopen64.c: Likewise.
36540         * misc/syslog.c: Likewise.
36541         * nscd/connections.c: Likewise.
36542         * nscd/netgroupcache.c: Likewise.
36543         * sysdeps/posix/getcwd.c: Likewise.
36544
36545 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36546
36547         * math/w_ilogbf.c: Add #include <limits.h>.
36548
36549 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36550
36551         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36552         path instead of returning without unlocking.
36553
36554         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36555         immediate-write ioctls.
36556         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36557
36558 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36559
36560         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36561         __builtin_frame_address instead of making assumptions about the
36562         location of the return address relative to DATA.  Force early load of
36563         the return address.
36564         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36565         __builtin_frame_address.
36566
36567         dup3 for GNU Hurd.
36568         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36569         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36570         implement dup3 and do some further code clean-ups.
36571         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36572         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36573
36574 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36575
36576         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36577
36578         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36579         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36580         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36581         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36582         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36583         d->port.lock.
36584
36585         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36586         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36587         when handler == SIG_ERR, not when handler != SIG_ERR.
36588
36589 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36590
36591         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36592         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36593         definitions.
36594
36595         accept4 for GNU Hurd.
36596         * include/sys/socket.h (__libc_accept4): New prototype.
36597         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36598         to implement __libc_accept4.
36599         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36600         __libc_accept4.
36601         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36602
36603         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36604         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36605         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36606         signal-defines.sym.
36607
36608 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36609
36610         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36611
36612 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36613
36614         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36615         assertion on O_CLOEXEC flag.
36616         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36617         * hurd/intern-fd.c: Likewise.
36618         * hurd/port2fd.c: Likewise.
36619
36620 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36621
36622         [BZ #3906]
36623         * bits/in.h (IPV6_PKTINFO): Define new macro.
36624         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36625
36626 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36627
36628         [BZ #13954]
36629         [BZ #13955]
36630         [BZ #13956]
36631         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36632         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36633         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36634         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36635         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36636         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36637         * math/libm-test.inc (logb_test) : Additional logb tests.
36638
36639 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36640             Andreas Jaeger  <aj@suse.de>
36641
36642         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36643         * configure: Regenerated.
36644         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36645         * config.make.in (link-obsolete-rpc): New substituted variable.
36646         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36647         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36648         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36649         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36650         so that libc.a contains the symbols.
36651         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36652         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36653         * sunrpc/auth_none.c: Likewise.
36654         * sunrpc/auth_unix.c: Likewise.
36655         * sunrpc/authdes_prot.c: Likewise.
36656         * sunrpc/authuxprot.c: Likewise.
36657         * sunrpc/clnt_gen.c: Likewise.
36658         * sunrpc/clnt_perr.c: Likewise.
36659         * sunrpc/clnt_raw.c: Likewise.
36660         * sunrpc/clnt_simp.c: Likewise.
36661         * sunrpc/clnt_tcp.c: Likewise.
36662         * sunrpc/clnt_udp.c: Likewise.
36663         * sunrpc/clnt_unix.c: Likewise.
36664         * sunrpc/des_crypt.c: Likewise.
36665         * sunrpc/des_soft.c: Likewise.
36666         * sunrpc/get_myaddr.c: Likewise.
36667         * sunrpc/key_call.c: Likewise.
36668         * sunrpc/key_prot.c: Likewise.
36669         * sunrpc/netname.c: Likewise.
36670         * sunrpc/pm_getmaps.c: Likewise.
36671         * sunrpc/pm_getport.c: Likewise.
36672         * sunrpc/pmap_clnt.c: Likewise.
36673         * sunrpc/pmap_prot.c: Likewise.
36674         * sunrpc/pmap_prot2.c: Likewise.
36675         * sunrpc/pmap_rmt.c: Likewise.
36676         * sunrpc/publickey.c: Likewise.
36677         * sunrpc/rpc_cmsg.c: Likewise.
36678         * sunrpc/rpc_common.c: Likewise.
36679         * sunrpc/rpc_dtable.c: Likewise.
36680         * sunrpc/rpc_prot.c: Likewise.
36681         * sunrpc/rpc_thread.c: Likewise.
36682         * sunrpc/rtime.c: Likewise.
36683         * sunrpc/svc.c: Likewise.
36684         * sunrpc/svc_auth.c: Likewise.
36685         * sunrpc/svc_raw.c: Likewise.
36686         * sunrpc/svc_run.c: Likewise.
36687         * sunrpc/svc_tcp.c: Likewise.
36688         * sunrpc/svc_udp.c: Likewise.
36689         * sunrpc/svc_unix.c: Likewise.
36690         * sunrpc/svcauth_des.c: Likewise.
36691         * sunrpc/xcrypt.c: Likewise.
36692         * sunrpc/xdr.c: Likewise.
36693         * sunrpc/xdr_array.c: Likewise.
36694         * sunrpc/xdr_float.c: Likewise.
36695         * sunrpc/xdr_intXX_t.c: Likewise.
36696         * sunrpc/xdr_mem.c: Likewise.
36697         * sunrpc/xdr_rec.c: Likewise.
36698         * sunrpc/xdr_ref.c: Likewise.
36699         * sunrpc/xdr_sizeof.c: Likewise.
36700         * sunrpc/xdr_stdio.c: Likewise.
36701
36702 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36703
36704         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36705         change.  Update copyright years.
36706
36707 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36708
36709         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36710
36711 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36712             Joseph Myers  <joseph@codesourcery.com>
36713             Paul Pluzhnikov  <ppluzhnikov@google.com>
36714
36715         [BZ #14012]
36716         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36717         requiring rpcgen.
36718         [cross-compiling] (extra-libs): Likewise.
36719         [cross-compiling] (extra-libs-others): Likewise.
36720         [cross-compiling] (librpcsvc-routines): Likewise.
36721         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36722         [cross-compiling] (omit-deps): Likewise.
36723         (sunrpc-CPPFLAGS): New variable.
36724         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36725         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36726         (cross-rpcgen-objs): New variable.
36727         (extra-objs): Append $(cross-rpcgen-objs).
36728         ($(cross-rpcgen-objs)): New rule.
36729         ($(objpfx)cross-rpcgen): Likewise.
36730         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36731         comment.
36732         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36733         ($(objpfx)x%.stmp): Likewise.
36734         * sunrpc/proto.h [IS_IN_build] (_): Define.
36735         [IS_IN_build] (_libc_intl_domainname): Likewise.
36736
36737 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36738
36739         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36740         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36741         and R_X86_64_TPOFF64.
36742
36743 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36744
36745         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36746         sysdeps/unix/sysv/syscalls.list.
36747         (stime): Likewise.
36748         (utime): Likewise.
36749         * sysdeps/unix/sysv/syscalls.list: Remove file.
36750
36751 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36752
36753         [BZ #3440]
36754         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36755         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36756         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36757         (__LC_IDENTIFICATION): Make these macros useful in #if
36758         expressions, as required by C99.
36759
36760 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36761
36762         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36763         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36764         after this.
36765
36766 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36767
36768         * stdlib/longlong.h: Updated from GCC.
36769
36770 2012-05-09  Andreas Jaeger  <aj@suse.de>
36771
36772         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36773         default is first entry.
36774         (run_mode): Set type.
36775         (main): Remove informal message about syslog.
36776         (options): Fix typo.
36777
36778         [BZ #14053]
36779         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36780         to asm.
36781         (lrint): Likewise.
36782         (llrintf): Likewise.
36783         (llrint): Likewise.
36784         (rint): Likewise.
36785         (rintf): Likewise.
36786         (nearbyint): Likewise.
36787         (nearbyintf): Likewise.
36788
36789 2012-05-09  Andreas Jaeger  <aj@suse.de>
36790             Pedro Alves  <palves@redhat.com>
36791
36792         * nscd/nscd.c (run_mode): Use enum.
36793         (main): Cleanup coding style issue.
36794
36795 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36796             Andreas Jaeger  <aj@suse.de>
36797
36798         * nscd/nscd.c (go_background): Replaced with...
36799         (run_mode): ... this.
36800         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36801         (options): Add -F --foreground.
36802         (main): Implement it.
36803         (parse_opt): Parse it.
36804
36805 2012-05-09  Andreas Jaeger  <aj@suse.de>
36806
36807         [BZ #14083]
36808         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36809         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36810         -Wconversion warning.
36811         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36812         Likewise.
36813
36814 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36815
36816         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36817         == 0.
36818         (LC_ALL): Use macro-int-constant.
36819         (LC_COLLATE): Likewise.
36820         (LC_CTYPE): Likewise.
36821         (LC_MESSAGES): Likewise.
36822         (LC_MONETARY): Likewise.
36823         (LC_NUMERIC): Likewise.
36824         (LC_TIME): Likewise.
36825         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36826         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36827         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36828         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36829         Specify type.
36830         [C99-based standards] (float_t): Expect type.
36831         [C99-based standards] (double_t): Expect type.
36832         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36833         type.
36834         [C99-based standards] (HUGE_VALL): Likewise.
36835         [C99-based standards] (INFINITY): Likewise.
36836         [C99-based standards] (NAN): Likewise.
36837         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36838         [C99-based standards] (FP_NAN): Likewise.
36839         [C99-based standards] (FP_NORMAL): Likewise.
36840         [C99-based standards] (FP_SUBNORMAL): Likewise.
36841         [C99-based standards] (FP_ZERO): Likewise.
36842         [C99-based standards] (FP_FAST_FMA): Use
36843         optional-macro-int-constant.  Specify type.  Require == 1.
36844         [C99-based standards] (FP_FAST_FMAF): Likewise.
36845         [C99-based standards] (FP_FAST_FMAL): Likewise.
36846         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36847         [C99-based standards] (FP_ILOGBNAN): Likewise.
36848         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36849         Specify type.
36850         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36851         [C99-based standards] (math_errhandling): Specify type.
36852         [ISO99 || ISO11] (signgam): Do not allow.
36853         [non-C99-based standards] (copysignf): Do not allow.
36854         [non-C99-based standards] (exp2f): Likewise.
36855         [non-C99-based standards] (log2f): Likewise.
36856         [non-C99-based standards] (modff): Allow.
36857         [non-C99-based standards] (erff): Do not allow.
36858         [non-C99-based standards] (erfcf): Likewise.
36859         [non-C99-based standards] (gammaf): Likewise.
36860         [non-C99-based standards] (hypotf): Likewise.
36861         [non-C99-based standards] (j0f): Likewise.
36862         [non-C99-based standards] (j1f): Likewise.
36863         [non-C99-based standards] (jnf): Likewise.
36864         [non-C99-based standards] (lgammaf): Likewise.
36865         [non-C99-based standards] (tgammaf): Likewise.
36866         [non-C99-based standards] (y0f): Likewise.
36867         [non-C99-based standards] (y1f): Likewise.
36868         [non-C99-based standards] (ynf): Likewise.
36869         [non-C99-based standards] (isnanf): Likewise.
36870         [non-C99-based standards] (acoshf): Likewise.
36871         [non-C99-based standards] (asinhf): Likewise.
36872         [non-C99-based standards] (atanhf): Likewise.
36873         [non-C99-based standards] (cbrtf): Likewise.
36874         [non-C99-based standards] (expm1f): Likewise.
36875         [non-C99-based standards] (ilogbf): Likewise.
36876         [non-C99-based standards] (log1pf): Likewise.
36877         [non-C99-based standards] (logbf): Likewise.
36878         [non-C99-based standards] (nextafterf): Likewise.
36879         [non-C99-based standards] (remainderf): Likewise.
36880         [non-C99-based standards] (rintf): Likewise.
36881         [non-C99-based standards] (scalbf): Likewise.
36882         [non-C99-based standards] (copysignl): Likewise.
36883         [non-C99-based standards] (exp2l): Likewise.
36884         [non-C99-based standards] (log2l): Likewise.
36885         [non-C99-based standards] (modfl): Allow.
36886         [non-C99-based standards] (erfl): Do not allow.
36887         [non-C99-based standards] (erfcl): Likewise.
36888         [non-C99-based standards] (gammal): Likewise.
36889         [non-C99-based standards] (hypotl): Likewise.
36890         [non-C99-based standards] (j0l): Likewise.
36891         [non-C99-based standards] (j1l): Likewise.
36892         [non-C99-based standards] (jnl): Likewise.
36893         [non-C99-based standards] (lgammal): Likewise.
36894         [non-C99-based standards] (tgammal): Likewise.
36895         [non-C99-based standards] (y0l): Likewise.
36896         [non-C99-based standards] (y1l): Likewise.
36897         [non-C99-based standards] (ynl): Likewise.
36898         [non-C99-based standards] (isnanl): Likewise.
36899         [non-C99-based standards] (acoshl): Likewise.
36900         [non-C99-based standards] (asinhl): Likewise.
36901         [non-C99-based standards] (atanhl): Likewise.
36902         [non-C99-based standards] (cbrtl): Likewise.
36903         [non-C99-based standards] (expm1l): Likewise.
36904         [non-C99-based standards] (ilogbl): Likewise.
36905         [non-C99-based standards] (log1pl): Likewise.
36906         [non-C99-based standards] (logbl): Likewise.
36907         [non-C99-based standards] (nextafterl): Likewise.
36908         [non-C99-based standards] (remainderl): Likewise.
36909         [non-C99-based standards] (rintl): Likewise.
36910         [non-C99-based standards] (scalbl): Likewise.
36911         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36912         [non-C99-based standards] (FP_*): Do not allow.
36913         [C99-based standards] (FP_*): Change to
36914         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36915         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36916         allow.
36917         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36918         (SIG_ERR): Likewise.
36919         [X/Open-based standards] (SIG_HOLD): Likewise.
36920         (SIG_IGN): Likewise.
36921         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36922         positive value.
36923         (SIGFPE): Likewise.
36924         (SIGILL): Likewise.
36925         (SIGINT): Likewise.
36926         (SIGSEGV): Likewise.
36927         (SIGTER): Likewise.
36928         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36929         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36930         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36931         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36932         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36933         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36934         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36935         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36936         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36937         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36938         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36939         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36940         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36941         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36942         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36943         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36944         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36945         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36946         [X/Open-based standards] (SIGTRAP): Likewise.
36947         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36948         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36949         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36950         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36951         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36952         allow.
36953
36954 2012-05-08  Ian Wienand  <ianw@vmware.com>
36955
36956         [BZ #14080]
36957         * time/tzset.c (__tzset_parse_tz): Update default rules for
36958         daylight time changes in the Energy Policy Act of 2005.
36959
36960 2012-05-09  Andreas Jaeger  <aj@suse.de>
36961
36962         [BZ #13983]
36963         * elf/ldconfig.c (parse_conf): Change string to make clear that
36964         ldconfig only issued a warning if ld.so.conf does not exist.
36965
36966 2012-05-08  David S. Miller  <davem@davemloft.net>
36967
36968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36969         movxtod instead of popping the value on the stack.
36970
36971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36972
36973 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36974
36975         * config.h.in: Add HAVE_ARM_PCS_VFP.
36976
36977 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36978
36979         [BZ #13979]
36980         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36981         checking but the checks are disabled for any reason.
36982
36983 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36984
36985         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36986         and ELF64_R_TYPE with ELFW(R_TYPE).
36987
36988 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36989
36990         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36991         (ulimit): Likewise.
36992
36993         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36994         (settimeofday): Likewise.
36995
36996 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36997
36998         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36999         a struct th_u2 inside the union, and move tu_block/tu_code into
37000         a new th_u3 union of tu_block/tu_code inside of that.  Move
37001         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37002         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37003         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37004         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37005         (th_stuff): Change to th_u1.tu_stuff.
37006         (th_data): Define.
37007         (th_msg): Change to th_u1.th_u2.tu_data.
37008
37009 2012-05-07  David S. Miller  <davem@davemloft.net>
37010
37011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37012
37013         [BZ #14074]
37014         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37015         (SETUP_PIC_REG): Use it.
37016         (SETUP_PIC_REG_LEAF): Use it.
37017
37018 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37019
37020         [BZ #13885]
37021         [BZ #13923]
37022         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37023         USE_AS_EXPM1L.
37024         (EXPL_FINITE): Likewise.
37025         (FLDLOG): Likewise.
37026         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37027         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37028         e_expl.S.
37029         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37030         USE_AS_EXPM1L.
37031         (EXPL_FINITE): Likewise.
37032         (FLDLOG): Likewise.
37033         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37034         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37035         e_expl.S.
37036         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37037         test of -max_value argument for long double.
37038         * sysdeps/i386/fpu/libm-test-ulps: Update.
37039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37040
37041 2012-05-06  David S. Miller  <davem@davemloft.net>
37042
37043         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37044         quad soft-float symbols whose references which are compiler
37045         generated.
37046         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37047
37048 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37049
37050         [BZ #13884]
37051         [BZ #13914]
37052         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37053         USE_AS_EXP10L.
37054         (EXPL_FINITE): Likewise.
37055         (FLDLOG): Likewise.
37056         (c0): Likewise.
37057         (c1): Likewise.
37058         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37059         Adjust comments for base varying.
37060         (__expl_finite): Change alias to EXPL_FINITE.
37061         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37062         e_expl.S.
37063         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37064         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37065         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37066         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37067         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37068         USE_AS_EXP10L.
37069         (EXPL_FINITE): Likewise.
37070         (FLDLOG): Likewise.
37071         (c0): Likewise.
37072         (c1): Likewise.
37073         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37074         Adjust comments for base varying.
37075         (__expl_finite): Change alias to EXPL_FINITE.
37076         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37077         tests for bugs.
37078         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37079
37080         [BZ #14064]
37081         * math/libm-test.inc (check_float_internal): Correct ulp
37082         calculation for subnormal expected results.
37083
37084 2012-05-06  Andreas Jaeger  <aj@suse.de>
37085
37086         * Makeconfig (+math-flags): New, set to -frounding-math.
37087         (+cflags): Add +math-flags so that all of glibc gets compiled with
37088         it.
37089
37090         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37091
37092 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37093
37094         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37095         Disable one test.
37096
37097         [BZ #13787]
37098         [BZ #13922]
37099         [BZ #14036]
37100         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37101         (__ieee754_expl): Allow for and saturate large arguments.
37102         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37103         (u_threshold): Likewise.
37104         (__exp): Call __ieee754_exp before checking for overflow and
37105         underflow.
37106         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37107         (u_threshold): Likewise.
37108         (__expf): Call __ieee754_expf before checking for overflow and
37109         underflow.
37110         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37111         (u_threshold): Likewise.
37112         (__expl): Call __ieee754_expl before checking for overflow and
37113         underflow.
37114         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37115         (__ieee754_expl): Allow for and saturate large arguments.
37116         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37117         missing overflow exception on overflow.
37118         (expm1_test): Do not allow missing overflow exception on overflow.
37119
37120         * sysdeps/i386/fpu/e_expl.c: Move to ...
37121         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37122         rather than using inline asm.
37123         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37124         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37125         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37126
37127         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37128         (nice): Likewise.
37129         (poll): Likewise.
37130         (signal): Likewise.
37131         (time): Likewise.
37132         (times): Likewise.
37133
37134 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37135
37136         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37137         sysdeps/unix/common/syscalls.list.
37138         (fchmod): Likewise.
37139         (fchown): Likewise.
37140         (ftruncate): Likewise.
37141         (getrusage): Likewise.
37142         (gettimeofday): Likewise.
37143         (setpgid): Likewise.
37144         (setregid): Likewise.
37145         (setreuid): Likewise.
37146         (sigaction): Likewise.
37147         (truncate): Likewise.
37148         (vhangup): Likewise.
37149         * sysdeps/unix/common/syscalls.list: Remove file.
37150         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37151         * sysdeps/unix/sysv/linux/Implies: Likewise.
37152
37153 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37154
37155         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37157         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37158         Moved to ...
37159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37160         Here.
37161         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37162         to ...
37163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37164         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37165         to ...
37166         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37167         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37168         to ...
37169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37170         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37171         to ...
37172         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37173         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37174         to ...
37175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37176         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37177         to ...
37178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37179         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37180         to ...
37181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37182         Here.
37183         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37184         to ...
37185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37186         Here.
37187         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37188         to ...
37189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37190         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37191         Moved to ...
37192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37193         Here.
37194         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37195         to ...
37196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37197
37198 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37199
37200         * sysdeps/unix/common/bits/dirent.h: Remove file.
37201         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37202
37203         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37204         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37205         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37206         * sysdeps/unix/bsd/isatty.c: Likewise.
37207         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37208         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37209         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37210
37211 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37212
37213         [BZ #13563]
37214         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37215         long double comparison inaccuracies.
37216         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37218
37219 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37220
37221         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37222         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37223
37224 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37225
37226         [BZ #14049]
37227         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37228         nonzero digits before rounding a hex value.
37229         * stdlib/tst-strtod.c (tests): Add another test.
37230
37231 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37232
37233         * sysdeps/s390/fpu/libm-test-ulps: Update.
37234
37235 2012-05-03  Andreas Jaeger  <aj@suse.de>
37236
37237         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37238         does not get optimized out.
37239         (malloc_opt_barrier): New.
37240
37241 2012-05-03  Andreas Jaeger  <aj@suse.de>
37242             Roland McGrath  <roland@hack.frob.com>
37243
37244         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37245         intermediate file deletion.
37246         (generated): Add .symlist files.
37247
37248 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37249
37250         [BZ #13775]
37251         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37252         Redirect under this condition.
37253         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37254         [__USE_GNU] (__dprintf_chk): Not under this condition.
37255         [__USE_GNU] (__vdprintf_chk): Likewise.
37256         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37257         under this condition.
37258         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37259         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37260         [__USE_XOPEN2K8] (vdprintf): Likewise.
37261         [__USE_GNU] (__dprintf_chk): Not under this condition.
37262         [__USE_GNU] (__vdprintf_chk): Likewise.
37263         [__USE_GNU] (dprintf): Likewise.
37264         [__USE_GNU] (vdprintf): Likewise.
37265
37266 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37267
37268         * elf/Makefile (common-generated): Set this instead of generated for
37269         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37270         $(all-built-dso)-derived lists.
37271
37272 2012-05-03  Andreas Jaeger  <aj@suse.de>
37273
37274         * sysdeps/i386/fpu/libm-test-ulps: Update.
37275
37276         * FAQ: Removed.
37277         * FAQ.in: Likewise.
37278         * scripts/gen-FAQ.pl: Likewise.
37279         * manual/install.texi (Installation): Point to online location of
37280         FAQ.
37281         * Makefile (files-for-dist): Remove FAQ.
37282         (FAQ): Remove.
37283
37284 2012-05-02  Allan McRae  <allan@archlinux.org>
37285
37286         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37287         (LDFLAGS-reldepmod5.so): Likewise.
37288         (LDFLAGS-reldep6mod1.so): Likewise.
37289         (LDFLAGS-reldep6mod4.so): Likewise.
37290         (LDFLAGS-reldep8mod3.so): Likewise.
37291         (LDFLAGS-unload4mod1.so): Likewise.
37292         (LDFLAGS-unload4mod2.so): Likewise.
37293         (LDFLAGS-tst-initorder): Likewise.
37294         (LDFLAGS-tst-initordera2.so): Likewise.
37295         (LDFLAGS-tst-initordera3.so): Likewise.
37296         (LDFLAGS-tst-initordera4.so): Likewise.
37297         (LDFLAGS-tst-initorderb2.so): Likewise.
37298         (LDFLAGS-noload): Likewise.
37299         (LDFLAGS-next): Likewise.
37300         (LDFLAGS-order2mod1.so): Likewise.
37301         (LDFLAGS-order2mod2.so): Likewise.
37302         (LDFLAGS-tst-initorder2): Likewise.
37303         (LDFLAGS-tst-initorder2a.so): Likewise.
37304         (LDFLAGS-tst-initorder2b.so): Likewise.
37305         (LDFLAGS-tst-initorder2c.so): Likewise.
37306         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37307
37308 2012-05-02  David S. Miller  <davem@davemloft.net>
37309
37310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37311
37312 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37313
37314         [BZ #14055]
37315         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37316
37317 2012-05-02  Andreas Jaeger  <aj@suse.de>
37318
37319         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37320         since we manipulate rounding mode.
37321         (CPPFLAGS-test-idouble.c): Likewise.
37322         (CPPFLAGS-test-ifloat.c): Likewise.
37323         (CFLAGS-test-ldouble.c): Likewise.
37324         (CFLAGS-test-double.c): Likewise.
37325         (CFLAGS-test-float.c): Likewise.
37326         (CFLAGS-test-misc.c): Likewise.
37327         (CFLAGS-test-test-fenv.c): Likewise.
37328
37329 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37330
37331         [BZ #2550]
37332         [BZ #2570]
37333         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37334         comparisons to determine direction to adjust input.
37335
37336 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37337
37338         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37339         output to the target.
37340
37341         * scripts/localplt.awk: New file.
37342         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37343         (check-localplt-CFLAGS): Variable removed.
37344         ($(all-built-dso:=.jmprel)): New static pattern rule.
37345         (generated): Add those targets.
37346         (localplt-built-dso): New variable.
37347         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37348
37349         * elf/check-localplt.c: File removed.
37350
37351         * scripts/check-execstack.awk: New file.
37352         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37353         (check-execstack-CFLAGS): Variable removed.
37354         ($(objpfx)check-execstack.h): Target removed.
37355         ($(objpfx)execstack-default): New target.
37356         (generated): Add that instead of check-execstack.h.
37357         ($(all-built-dso:=.phdr)): New static pattern rule.
37358         (generated): Add those targets.
37359         * elf/check-execstack.c: File removed.
37360
37361         * scripts/check-textrel.awk: New file.
37362         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37363         (check-textrel-CFLAGS): Variable removed.
37364         (all-built-dso): Use := to define.o
37365         ($(all-built-dso:=.dyn)): New static pattern rule.
37366         (generated): Add those targets.
37367         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37368         * config.make.in (READELF): New substituted variable.
37369         * elf/check-textrel.c: File removed.
37370
37371 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37372
37373         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37374         allow.
37375         * conform/data/ctype.h-data [C99-based standards] (isblank):
37376         Expect function.
37377         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37378         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37379         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37380         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37381         Specify type.  Require positive value.
37382         (EILSEQ): Likewise.
37383         (ERANGE): Likewise.
37384         [ISO || POSIX] (EILSEQ): Do not expect.
37385         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37386         Specify type.  Require positive value.
37387         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37388         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37389         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37390         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37391         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37392         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37393         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37394         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37395         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37396         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37397         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37398         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37399         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37400         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37401         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37402         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37403         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37404         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37405         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37406         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37407         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37408         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37409         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37410         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37411         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37412         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37413         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37414         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37415         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37416         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37417         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37418         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37419         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37420         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37421         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37422         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37423         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37424         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37425         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37426         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37427         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37428         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37429         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37430         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37431         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37432         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37433         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37434         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37435         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37436         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37437         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37438         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37439         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37440         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37441         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37442         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37443         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37444         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37445         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37446         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37447         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37448         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37449         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37450         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37451         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37452         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37453         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37454         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37455         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37456         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37457         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37458         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37459         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37460         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37461         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37462         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37463         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37464         Require >= 2.
37465         (FLT_ROUNDS): Expect as macro, not constant.
37466         (FLT_MANT_DIG): Use macro-int-constant.
37467         (DBL_MANT_DIG): Likewise.
37468         (LDBL_MANT_DIG): Likewise.
37469         (FLT_DIG): Likewise.
37470         (DBL_DIG): Likewise.
37471         (LDBL_DIG): Likewise.
37472         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37473         (DBL_MIN_EXP): Likewise.
37474         (LDBL_MIN_EXP): Likewise.
37475         (FLT_MAX_EXP): Use macro-int-constant.
37476         (DBL_MAX_EXP): Likewise.
37477         (LDBL_MAX_EXP): Likewise.
37478         (FLT_MAX_10_EXP): Likewise.
37479         (DBL_MAX_10_EXP): Likewise.
37480         (LDBL_MAX_10_EXP): Likewise.
37481         (FLT_MAX): Use macro-constant.
37482         (DBL_MAX): Likewise.
37483         (LDBL_MAX): Likewise.
37484         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37485         (DBL_EPSILON): Likewise.
37486         (LDBL_EPSILON): Likewise.
37487         (FLT_MIN): Likewise.
37488         (DBL_MIN): Likewise.
37489         (LDBL_MIN): Likewise.
37490         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37491         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37492         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37493         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37494         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37495         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37496         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37497         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37498         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37499         [ISO11] (FLT_TRUE_MIN): Likewise.
37500         [ISO11] (LDBL_TRUE_MIN): Likewise.
37501         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37502         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37503         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37504         (SCHAR_MAX): Likewise.
37505         (UCHAR_MAX): Likewise.
37506         (CHAR_MIN): Likewise.
37507         (CHAR_MAX): Likewise.
37508         (MB_LEN_MAX): Use macro-int-constant.
37509         (SHRT_MIN): Use macro-int-constant.  Specify type.
37510         (SHRT_MAX): Likewise.
37511         (USHRT_MAX): Likewise.
37512         (INT_MAX): Likewise.
37513         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37514         bound negative.
37515         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37516         bound with "U".
37517         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37518         bound with "L".
37519         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37520         bound negative.  Suffix upper bound with "L".
37521         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37522         bound with "UL".
37523         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37524         Specify type.
37525         [C99-based standards] (LLONG_MAX): Likewise.
37526         [C99-based standards] (ULLONG_MAX): Likewise.
37527         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37528         == 0.
37529         [ISO11] (max_align_t): Require type.
37530         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37531
37532         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37533         from $CFLAGS, without defining away __attribute__ calls.
37534         (checknamespace): Use $CFLAGS_namespace.
37535
37536         * conform/conformtest.pl (@keywords): Only include C99 keywords
37537         for standards based on C99 or C11.
37538
37539         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37540         Disable tests.
37541         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37542         UNIX98]: Likewise.
37543
37544         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37545         usability of symbols in #if.
37546
37547         * conform/conformtest.pl: If macro or constant types start
37548         "promoted:", expect the symbol to be of the following type
37549         promoted by the integer promotions.
37550
37551         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37552         in one place.  Also handle "macro-constant".
37553
37554         * conform/conformtest.pl: Only accept expected macro values with
37555         "==".  Parse all "macro" lines in one place.
37556         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37557
37558         * conform/conformtest.pl: Handle braced types on "constant" lines
37559         instead of handling "typed-constant".
37560         * conform/data/signal.h-data: Use "constant" instead of
37561         "typed-constant".
37562
37563         * conform/conformtest.pl: Handle "optional-" at start of lines in
37564         one place rather than duplicating several cases.  Handle each
37565         format of "macro" line with initial "optional-".
37566
37567         * conform/conformtest.pl: Only accept expected constant or
37568         optional-constant values with "==".  Parse all "constant" lines in
37569         one place.  Parse all "optional-constant" lines in one place.
37570         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37571         * conform/data/fmtmsg.h-data: Likewise.
37572         * conform/data/netinet/in.h-data: Likewise.
37573         * conform/data/tar.h-data: Likewise.
37574         * conform/data/limits.h-data: Use "==" form on "constant" and
37575         "optional-constant" lines.
37576
37577         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37578         Use -std=c99 for XOPEN2K.
37579         (@knownproblems): Remove.
37580         (newtoken): Don't check %isknown.
37581
37582         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37583         Do not expect macro.
37584         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37585         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37586         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37587         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37588         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37589         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37590         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37591         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37592         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37593         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37594         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37595         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37596         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37597         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37598         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37599         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37600         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37601         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37602         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37603         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37604         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37605         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37606         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37607         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37608         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37609         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37610         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37611         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37612         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37613         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37614         [XPG3] (acosh): Likewise.
37615         [XPG3] (asinh): Likewise.
37616         [XPG3] (atanh): Likewise.
37617         [XPG3] (cbrt): Likewise.
37618         [XPG3] (expm1): Likewise.
37619         [XPG3] (ilogb): Likewise.
37620         [XPG3] (log1p): Likewise.
37621         [XPG3] (logb): Likewise.
37622         [XPG3] (nextafter): Likewise.
37623         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37624         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37625         [XPG3] (remainder): Likewise.
37626         [XPG3] (rint): Likewise.
37627         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37628         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37629         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37630         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37631         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37632         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37633         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37634         [UNIX98 || XOPEN2K] (scalb): Expect.
37635         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37636         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37637         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37638         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37639         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37640         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37641         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37642         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37643         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37644         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37645         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37646         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37647         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37648         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37649         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37650         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37651         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37652         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37653         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37654         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37655         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37656         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37657         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37658         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37659         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37660         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37661         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37662         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37663         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37664         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37665         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37666         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37667         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37668         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37669         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37670         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37671         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37672         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37673         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37674         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37675         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37676         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37677         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37678         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37679         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37680         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37681         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37682         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37683         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37684         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37685         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37686         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37687         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37688         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37689         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37690         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37691         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37692         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37693         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37694         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37695         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37696         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37697         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37698         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37699         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37700         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37701         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37702         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37703         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37704         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37705         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37706         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37707         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37708         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37709         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37710         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37711         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37712         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37713         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37714         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37715         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37716         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37717         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37718         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37719         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37720         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37721         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37722         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37723         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37724         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37725         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37726         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37727         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37728         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37729         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37730         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37731         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37732         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37733         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37734         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37735         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37736         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37737         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37738         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37739         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37740         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37741         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37742         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37743         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37744         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37745         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37746         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37747         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37748         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37749         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37750         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37751         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37752         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37753         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37754         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37755         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37756         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37757         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37758         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37759         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37760         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37761         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37762         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37763         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37764         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37765         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37766         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37767         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37768         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37769         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37770         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37771         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37772
37773         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37774         _XOPEN_SOURCE_EXTENDED for XPG4.
37775
37776         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37777
37778         * Makeconfig (localtime): Remove variable.
37779         (inst_localtime-file): Likewise.
37780
37781 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37782
37783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37784         Update.
37785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37786         Update.
37787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37788         Update.
37789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37790         Update.
37791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37792         Update.
37793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37794         Update.
37795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37796         Update.
37797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37798         Update.
37799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37800         Update.
37801
37802 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37803
37804         [BZ #2550]
37805         [BZ #2570]
37806         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37807         comparisons to determine direction to adjust input.
37808         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37809         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37810         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37811         Likewise.
37812         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37813         Likewise.
37814         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37815         Likewise.
37816         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37817         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37818         Likewise.
37819         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37820         Likewise.
37821         * math/libm-test.inc (nexttoward_test): Add more tests.
37822
37823 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37824
37825         [BZ #14040]
37826         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37827         in version GLIBC_2.1, not GLIBC_2.0.
37828         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37829         Likewise.
37830
37831 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37832
37833         [BZ #13942]
37834         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37835         (1 - x) * (1 + x).
37836         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37837         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37838         * math/libm-test.inc (acos_test): Add more tests.
37839         (asin_test): Likewise.
37840         * sysdeps/i386/fpu/libm-test-ulps: Update.
37841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37842
37843         [BZ #14034]
37844         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37845         of square root.
37846         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37847         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37848         * math/libm-test.inc (acos_test_tonearest): New function.
37849         (acos_test_towardzero): Likewise.
37850         (acos_test_downward): Likewise.
37851         (acos_test_upward): Likewise.
37852         (asin_test_tonearest): Likewise.
37853         (asin_test_towardzero): Likewise.
37854         (asin_test_downward): Likewise.
37855         (asin_test_upward): Likewise.
37856         (main): Call the new functions.
37857         * sysdeps/i386/fpu/libm-test-ulps: Update.
37858         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37859
37860         [BZ #13884]
37861         [BZ #13924]
37862         * math/e_exp10.c: Include <float.h>.
37863         (__ieee754_exp10): Handle underflow here rather than multiplying
37864         large negative argument by M_LN10.
37865         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37866         of __ieee754_expf.
37867         * math/e_exp10l.c: Include <float.h>.
37868         (__ieee754_exp10l): Handle underflow here rather than multiplying
37869         large negative argument by M_LN10l.
37870         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37871         spurious overflow exception on underflow.
37872
37873 2012-04-29  Marek Polacek  <polacek@redhat.com>
37874
37875         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37876         (__fortify_function): New macro.
37877         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37878         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37879         __extern_always_inline.
37880         * libio/bits/stdio2.h: Likewise.
37881         * libio/bits/stdio.h: Likewise.
37882         * string/string.h: Likewise.
37883         * string/bits/string3.h: Likewise.
37884         * include/stdio.h: Likewise.
37885         * stdlib/bits/stdlib.h: Likewise.
37886         * stdlib/stdlib.h: Likewise.
37887         * rt/bits/mqueue2.h: Likewise.
37888         * rt/mqueue.h: Likewise.
37889         * posix/bits/unistd.h: Likewise.
37890         * posix/unistd.h: Likewise.
37891         * io/bits/poll2.h: Likewise.
37892         * io/bits/fcntl2.h: Likewise.
37893         * io/fcntl.h: Likewise.
37894         * io/sys/poll.h: Likewise.
37895         * misc/bits/syslog.h: Likewise.
37896         * misc/bits/syslog-ldbl.h: Likewise.
37897         * misc/sys/syslog.h: Likewise.
37898         * socket/bits/socket2.h: Likewise.
37899         * socket/sys/socket.h: Likewise.
37900         * debug/tst-chk1.c: Likewise.
37901         * wcsmbs/bits/wchar2.h: Likewise.
37902         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37903         * wcsmbs/wchar.h: Likewise.
37904
37905 2012-04-29  Andreas Jaeger  <aj@suse.de>
37906
37907         * Makerules (tests): Remove enable-check-abi protection.
37908         (check-abi-warn): Remove.
37909         (check-abi-%): Remove check-abi-warn usage.
37910
37911         * configure.in: Remove check-abi configure option.
37912         * configure: Regenerated.
37913         * config.make.in (enable-check-abi): Remove.
37914
37915 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37916
37917         [BZ #14033]
37918         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37919         double functions to double *_finite functions.
37920
37921         [BZ #13941]
37922         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37923         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37924         LDBL_MIN_EXP.
37925         * stdio-common/Makefile (tests): Add tst-sprintf3.
37926         * stdio-common/tst-sprintf3.c: New file.
37927
37928         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37929         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37930
37931 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37932
37933         * conform/conformtest.pl: Remove duplicate typed-constant
37934         handling.
37935
37936 2012-04-28  David S. Miller  <davem@davemloft.net>
37937
37938         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37939         (check-abi-%): Remove AWK script prerequisite and explicit
37940         abilist directory.
37941         (check-abi): Rewrite to just diff the symlist with the abilist.
37942         (config-tls, config-abi-config): Delete, no longer used.
37943         (update-abi-%): Remove AWK script and explicit abilist directory.
37944         (update-abi): Rewrite to simply compare and conditionally copy the
37945         symlist and the sysdep abilist file.  Remove update-abi-config
37946         checks.
37947         * abilist/ld.abilist: Remove.
37948         * abilist/libBrokenLocale.abilist: Remove.
37949         * abilist/libanl.abilist: Remove.
37950         * abilist/libcrypt.abilist: Remove.
37951         * abilist/libdl.abilist: Remove.
37952         * abilist/librt.abilist: Remove.
37953         * abilist/libthread_db.abilist: Remove.
37954         * abilist/libutil.abilist: Remove.
37955         * scripts/extract-abilist.awk: Remove.
37956         * scripts/merge-abilist.awk: Remove.
37957         * sysdeps/generic/libcidn.abilist: New file.
37958         * sysdeps/generic/libnss_compat.abilist: New file.
37959         * sysdeps/generic/libnss_db.abilist: New file.
37960         * sysdeps/generic/libnss_dns.abilist: New file.
37961         * sysdeps/generic/libnss_files.abilist: New file.
37962         * sysdeps/generic/libnss_hesiod.abilist: New file.
37963         * sysdeps/generic/libnss_nis.abilist: New file.
37964         * sysdeps/generic/libnss_nisplus.abilist: New file.
37965         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37966         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37967         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37968         file.
37969         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37970         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37971         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37972         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37973         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37974         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37975         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37976         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37977         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37978         file.
37979         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37980         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37981         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37982         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37983         file.
37984         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37985         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37986         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37987         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37988         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37989         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37990         file.
37991         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37992         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37993         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37994         file.
37995         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37996         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37997         New file.
37998         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37999         New file.
38000         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38001         New file.
38002         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38003         New file.
38004         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38005         New file.
38006         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38007         New file.
38008         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38009         New file.
38010         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38011         New file.
38012         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38013         New file.
38014         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38015         New file.
38016         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38017         New file.
38018         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38019         New file.
38020         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38021         New file.
38022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38023         file.
38024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38025         New file.
38026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38027         New file.
38028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38029         file.
38030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38031         New file.
38032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38033         New file.
38034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38035         file.
38036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38037         New file.
38038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38039         New file.
38040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38041         New file.
38042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38043         New file.
38044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38045         New file.
38046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38047         New file.
38048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38050         file.
38051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38052         New file.
38053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38054         file.
38055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38056         file.
38057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38058         file.
38059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38060         file.
38061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38062         file.
38063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38064         New file.
38065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38066         file.
38067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38068         file.
38069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38070         New file.
38071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38072         file.
38073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38075         file.
38076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38077         New file.
38078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38079         file.
38080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38081         file.
38082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38083         file.
38084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38085         file.
38086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38087         file.
38088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38089         New file.
38090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38091         file.
38092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38093         file.
38094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38095         New file.
38096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38097         file.
38098         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38099         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38100         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38101         file.
38102         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38103         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38104         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38105         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38106         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38107         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38108         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38109         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38110         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38111         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38114         file.
38115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38116         New file.
38117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38118         file.
38119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38120         file.
38121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38122         file.
38123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38124         file.
38125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38126         file.
38127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38128         New file.
38129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38130         New file.
38131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38132         file.
38133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38134         New file.
38135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38136         file.
38137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38139         file.
38140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38141         New file.
38142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38143         file.
38144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38145         file.
38146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38147         file.
38148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38149         file.
38150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38151         file.
38152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38153         New file.
38154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38155         New file.
38156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38157         file.
38158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38159         New file.
38160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38161         file.
38162
38163 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38164
38165         * conform/conformtest.pl: Fix typo in handling typed-constant from
38166         allow-header.
38167
38168 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38169
38170         * README: Cut down references to pre-2.6 Linux kernels and
38171         Linuxthreads.  Update lists of configurations in libc and ports
38172         and sort alphabetically.  Say "or newer" with Linux kernel version
38173         requirements.
38174
38175         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38176
38177 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38178
38179         [BZ #887]
38180         * math/libm-test.inc (logb_test_downward): New test to expose
38181         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38182         rounding mode.
38183
38184 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38185
38186         [BZ #14027]
38187         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38188         to be done.
38189         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38190         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38191
38192 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38193
38194         * sysdeps/unix/i386/brk.S: Remove file.
38195         * sysdeps/unix/i386/dl-brk.S: Likewise.
38196         * sysdeps/unix/i386/pipe.S: Likewise.
38197         * sysdeps/unix/i386/sigreturn.S: Likewise.
38198         * sysdeps/unix/i386/syscall.S: Likewise.
38199         * sysdeps/unix/i386/vfork.S: Likewise.
38200         * sysdeps/unix/i386/wait.S: Likewise.
38201
38202         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38203         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38204
38205         * configure.in (arm*-none*): Do not allow without
38206         --enable-hacker-mode.
38207         (netbsd*): Remove case setting base_os.
38208         (386bsd*): Likewise.
38209         (freebsd*): Likewise.
38210         (bsdi*): Likewise.
38211         (osf*): Likewise.
38212         (sunos*): Likewise.
38213         (ultrix*): Likewise.
38214         (newsos*): Likewise.
38215         (dynix*): Likewise.
38216         (*bsd*): Likewise.
38217         (sysv*): Likewise.
38218         (isc*): Likewise.
38219         (esix*): Likewise.
38220         (sco*): Likewise.
38221         (minix*): Likewise.
38222         (irix4*): Likewise.
38223         (irix6*): Likewise.
38224         (solaris[2-9]*): Likewise.
38225         (none): Likewise.
38226         * configure: Regenerated.
38227
38228 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38229
38230         [BZ #11521]
38231         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38232         overflow or cancellation in calculating denominator.
38233         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38234         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38235         down expression to avoid unexpected rounding in newer GCCs.
38236         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38237
38238 2012-04-26  David S. Miller  <davem@davemloft.net>
38239
38240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38241         long-double compat symbols.
38242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38255
38256 2012-04-25  David S. Miller  <davem@davemloft.net>
38257
38258         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38259         HWCAP_* values only after the memory barriers have been defined.
38260         (atomic_full_barrier): Define.
38261         (atomic_read_barrier): Define.
38262         (atomic_write_barrier): Define.
38263
38264 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38265
38266         * shlib-versions: Add libgcc_s version information.
38267         * sysdeps/generic/libgcc_s.h: Remove.
38268         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38269         libgcc_s.h.
38270         * sysdeps/gnu/unwind-resume.c: Likewise.
38271         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38272
38273 2012-04-25  David S. Miller  <davem@davemloft.net>
38274
38275         * sysdeps/unix/sparc/brk.S: Delete.
38276         * sysdeps/unix/sparc/dl-brk.S: Delete.
38277         * sysdeps/unix/sparc/pipe.S: Delete.
38278         * sysdeps/unix/sparc/sysdep.S: Delete.
38279         * sysdeps/unix/sparc/sysdep.h: Delete.
38280         * sysdeps/unix/sparc/vfork.S: Delete.
38281         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38282         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38283         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38284         (ret_ERRVAL, r0, r1, MOVE): Define.
38285         (JUMPTARGET): Remove.
38286         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38287         sysdeps/unix/sparc/sysdep.h
38288         (ENTRY, END): Remove.
38289         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38290
38291 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38292
38293         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38294         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38295         -DIS_IN_build.
38296
38297         * timezone/README: Update upstream location and email address for
38298         tzcode and tzdata.
38299         * timezone/zdump.c: Update from tzcode 2012b.
38300         * timezone/zic.c: Likewise.
38301
38302         * configure.in (libc_cv_as_needed): Remove test.
38303         * configure: Regenerated.
38304         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38305         conditional definition.
38306         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38307         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38308         * config.make.in (have-as-needed): Remove variable.
38309
38310 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38311             Paul Pluzhnikov  <ppluzhnikov@google.com>
38312
38313         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38314         strings correctly.
38315
38316 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38317
38318         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38319         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38320         * sysdeps/sh/strlen.S: Likewise.
38321
38322 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38323
38324         * sysdeps/unix/fork.S: Remove file.
38325         * sysdeps/unix/i386/fork.S: Likewise.
38326         * sysdeps/unix/sparc/fork.S: Likewise.
38327
38328         * sysdeps/unix/system.c: Remove file.
38329         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38330
38331         * sysdeps/unix/getegid.S: Remove file.
38332         * sysdeps/unix/geteuid.S: Likewise.
38333
38334 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38335
38336         * scripts/check-localplt.awk: New file.
38337         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38338         of diff.
38339         * scripts/data/localplt-generic.data: Add a comment.
38340
38341         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38342         NODE when __dir_mkfile failed.
38343         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38344         Reported by Ludovic Courtès <ludo@gnu.org>.
38345
38346 2012-04-24  Andreas Jaeger  <aj@suse.de>
38347
38348         * Makerules (common-clean): Also remove gen-as-const-headers
38349         files.
38350
38351 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38352
38353         * Makerules (native-compile): Do not change working directory for
38354         build.  Use $(OUTPUT_OPTION) in command.
38355         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38356
38357 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38358
38359         [BZ #13886]
38360         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38361         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38362         * math/libm-test.inc (floor_test): Add more tests.
38363         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38364
38365 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38366
38367         * sysdeps/unix/getdents.c: Remove file.
38368         * sysdeps/unix/sysv/getdents.c: Likewise.
38369         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38370
38371         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38372         sysdeps/unix/mman/syscalls.list.
38373         (mmap): Likewise.
38374         (mprotect): Likewise.
38375         (msync): Likewise.
38376         (munmap): Likewise.
38377         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38378         * sysdeps/unix/mman/syscalls.list: Remove.
38379         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38380
38381         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38382         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38383         * configure: Regenerated.
38384         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38385         $(libgcc_s_suffix).
38386         * config.make.in (libgcc_s_suffix): Remove variable.
38387
38388 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38389
38390         * sysdeps/unix/sysv/gethostname.c: Move to ...
38391         * sysdeps/posix/gethostname.c: ... here.
38392
38393         * sysdeps/unix/execve.S: Remove file.
38394
38395         * sysdeps/unix/_exit.S: Remove file.
38396
38397 2012-04-23  Andreas Jaeger  <aj@suse.de>
38398
38399         [BZ #13739]
38400         * manual/Makefile: Remove make dist support, there's no
38401         need for a stand-alone documentation tar ball.
38402         (TEXI2DVI): Define always, it's not in Makeconfig.
38403         (dist): Removed.
38404         (tar-it): Removed.
38405         (edition): Removed.
38406         (glibc-doc-$(edition).tar): Removed
38407         (%.Z): Removed.
38408         (%.gz): Removed.
38409         (%.uu): Removed.
38410         (ETAGS): Remove, it's in Makeconfig.
38411         (move-if-change): Remove, it's in Makeconfig.
38412
38413 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38414
38415         [BZ #13970]
38416         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38417         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38418         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38419         (strtod_l, strtof_l, strtold_l): Remove __wur.
38420         It is not necessarily an error to ignore strtol's return value.
38421         One can reliably look at the stored endptr to decide whether
38422         the number had valid syntax.
38423
38424 2012-04-21  Andreas Jaeger  <aj@suse.de>
38425
38426         [BZ #13739]
38427         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38428
38429 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38430
38431         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38432         * sysdeps/unix/sysv/Versions: Remove file.
38433
38434 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38435
38436         [BZ #13927]
38437         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38438
38439 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38440
38441         [BZ #7064]
38442         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38443         version from __vm86.
38444
38445 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38446
38447         * sysdeps/unix/common/lxstat.c: Remove file.
38448         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38449
38450         * sysdeps/unix/sysv/Makefile: Remove file.
38451
38452         * sysdeps/unix/sysv/direct.h: Remove file.
38453
38454         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38455         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38456         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38457         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38458         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38459         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38460         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38461
38462         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38463
38464         * sysdeps/unix/xmknod.c: Remove file.
38465         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38466
38467         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38468
38469         * sysdeps/unix/sysv/i386/time.S: Remove file.
38470
38471         * sysdeps/unix/fxstat.c: Remove file.
38472         * sysdeps/unix/xstat.c: Likewise.
38473         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38474
38475         * sysdeps/unix/sysv/sigaction.c: Remove file.
38476
38477         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38478         (sysdep_headers): Remove variable.
38479         [termio.h not in sysdep_headers] (generated): Likewise.
38480         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38481         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38482         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38483         * sysdeps/unix/sysv/tcflow.c: Likewise.
38484         * sysdeps/unix/sysv/tcflush.c: Likewise.
38485         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38486         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38487         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38488         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38489         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38490
38491         * sysdeps/unix/siglist.c: Remove file.
38492
38493         * sysdeps/unix/getppid.S: Remove file.
38494
38495         * sysdeps/unix/mkdir.c: Remove file.
38496         * sysdeps/unix/rmdir.c: Likewise.
38497
38498 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38499
38500         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38501         ERR_MAX value.
38502         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38503         errlist-compat value.
38504
38505 2012-04-18  David S. Miller  <davem@davemloft.net>
38506
38507         * sysdeps/generic/memcopy.h (reg_char): Delete.
38508         * debug/strcat_chk.c: Use char, not reg_char.
38509         * debug/strcpy_chk.c: Likewise.
38510         * debug/strncat_chk.c: Likewise.
38511         * debug/strncpy_chk.c: Likewise.
38512         * string/memchr.c: Likewise.
38513         * string/memrchr.c: Likewise.
38514         * string/rawmemchr.c: Likewise.
38515         * string/strcat.c: Likewise.
38516         * string/strchr.c: Likewise.
38517         * string/strchrnul.c: Likewise.
38518         * string/strcmp.c: Likewise.
38519         * string/strcpy.c: Likewise.
38520         * string/strncat.c: Likewise.
38521         * string/strncmp.c: Likewise.
38522         * string/strncpy.c: Likewise.
38523
38524 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38525
38526         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38527         __builtin_memcopy is called when src and dest ranges are known to not
38528         overlap.
38529
38530 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38531
38532         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38533         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38534         fwd_align_merge macro call.
38535         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38536         bwd_align_merge macro call.
38537         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38538
38539 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38540
38541         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38542         bwd_align_merge macros.
38543         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38544         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38545         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38546
38547 2012-04-18  David S. Miller  <davem@davemloft.net>
38548
38549         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38550
38551 2012-04-18  Andreas Jaeger  <aj@suse.de>
38552
38553         [BZ# 6794]
38554         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38555         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38556         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38557
38558         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38559         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38560         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38561
38562         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38563         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38564         Adjust for changed ldbl-128 files.
38565
38566         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38567         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38568         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38569
38570 2012-04-17  David S. Miller  <davem@davemloft.net>
38571
38572         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38573
38574 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38575
38576         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38577         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38578         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38579         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38580         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38581         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38582
38583 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38584
38585         [BZ #6794]
38586         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38587         * math/libm-test.inc: Add ilogb errno and exception tests.
38588         * math/w_ilogb.c: New file: ilogb wrapper.
38589         * math/w_ilogbf.c: New file: ilogbf wrapper.
38590         * math/w_ilogbl.c: New file: ilogbl wrapper.
38591         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38592         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38593         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38594         exception being thrown with 0.0 as argument.
38595         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38596         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38597         exception being thrown with 0.0 as argument.
38598         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38599         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38600         exception being thrown with 0.0 as argument.
38601         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38602         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38603         exception being thrown with 0.0 as argument.
38604         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38605         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38606         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38607         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38608         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38609         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38610         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38611         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38612         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38613
38614 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38615
38616         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38617         with altivec.
38618
38619 2012-04-16  Marek Polacek  <polacek@redhat.com>
38620
38621         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38622
38623 2012-04-16  Marek Polacek  <polacek@redhat.com>
38624
38625         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38626         operands of fdivp instruction.
38627
38628 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38629
38630         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38631         * elf/tst-auditmod3b.c: Likewise.
38632         * elf/tst-auditmod4b.c: Likewise.
38633         * elf/tst-auditmod5b.c: Likewise.
38634         * elf/tst-auditmod6b.c: Likewise.
38635         * elf/tst-auditmod6c.c: Likewise.
38636         * elf/tst-auditmod7b.c: Likewise.
38637         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38638         * sysdeps/x86_64/preconfigure.in: Likewise.
38639         * sysdeps/x86_64/preconfigure: Regenerated.
38640
38641 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38642
38643         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38644         __ILP32__.
38645
38646 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38647
38648         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38649         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38650
38651 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38652
38653         [BZ #13973]
38654         * locale/iso-639.def: Fix gl language name. Spotted by
38655         Yaron Shahrabani.
38656
38657 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38658
38659         [BZ #2074]
38660         * libio/libio.h (__io_write_fn): Update comment.
38661
38662 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38663
38664         [BZ #2074]
38665         * stdio.texi (Hook Functions): The user provided writer function
38666         is not allowed to return -1.
38667
38668 2012-04-11  David S. Miller  <davem@davemloft.net>
38669
38670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38671
38672 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38673
38674         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38675         Add a leading slash to rtkaio.
38676
38677 2012-04-11  Jim Meyering  <meyering@redhat.com>
38678
38679         [BZ #11959]
38680         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38681         It is not necessarily an error to ignore fwrite's return
38682         value.  One can reliably use ferror to test for errors after
38683         the fact.
38684
38685 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38686
38687         * bits/types.h (__snseconds_t): New type.
38688         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38689
38690         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38691         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38692         (__SNSECONDS_T_TYPE): Likewise.
38693         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38694         (__SNSECONDS_T_TYPE): Likewise.
38695         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38696         (__SNSECONDS_T_TYPE): Likewise.
38697
38698 2012-04-10  Andreas Jaeger  <aj@suse.de>
38699
38700         [BZ #2636]
38701         * manual/time.texi (Processor Time): Return type of times is
38702         elapsed real time since an arbitrary point in the past.
38703         (CPU Time): Move CLK_TCK from here...
38704         (Processor Time): ...to here.  Correct description.
38705         * manual/conf.texi (Constants for Sysconf): Correct description of
38706         _SC_CLK_TCK.
38707
38708 2012-04-10  David S. Miller  <davem@davemloft.net>
38709
38710         [BZ #13967]
38711         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38712         where the is a gap between DT_REL(A) and DT_JMPREL.
38713
38714 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38715
38716         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38717         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38718         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38719
38720 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38721
38722         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38723         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38724         (dl_main): Handle --inhibit-cache.
38725         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38726         _dl_inhibit_cache.
38727         * elf/dl-load.c (_dl_map_object): Use it.
38728         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38729
38730 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38731
38732         [BZ #13872]
38733         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38734         (__ieee754_powl): Saturate large exponents rather than testing for
38735         overflow of y*log2(x).
38736         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38737         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38738         exceptions.
38739
38740         [BZ #11521]
38741         * math/s_ctan.c: Include <float.h>.
38742         (__ctan): Avoid internal overflow or cancellation in calculating
38743         denominator.
38744         * math/s_ctanf.c: Likewise.
38745         * math/s_ctanl.c: Likewise.
38746         * math/s_ctanh.c: Likewise.
38747         * math/s_ctanhf.c: Likewise.
38748         * math/s_ctanhl.c: Likewise.
38749         * math/libm-test.inc (ctan_test): Add more tests.
38750         (ctanh_test): Likewise.
38751         * sysdeps/i386/fpu/libm-test-ulps: Update.
38752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38753
38754 2012-04-09  Andreas Jaeger  <aj@suse.de>
38755
38756         [BZ #6894]
38757         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38758         is an optional BSD extension.
38759
38760         [BZ #10254]
38761         * manual/stdio.texi (Opening Streams): Document additional fopen
38762         parameters.
38763
38764 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38765
38766         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38767         %eax without telling the compiler.
38768
38769 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38770
38771         [BZ # 13963]
38772         * manual/install.texi: Use sourceware.org.
38773
38774 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38775
38776         [BZ #13873]
38777         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38778         (__ieee754_pow): Generate overflow and underflow using huge*huge
38779         and tiny*tiny rather than just returning constant infinity or zero
38780         for large exponents.
38781         * math/libm-test.inc (pow_test): Require overflow exceptions for
38782         applicable cases of large exponents.
38783
38784         [BZ #706]
38785         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38786         (__ieee754_pow): Use iterative multiplication algorithm only for
38787         integer exponents with absolute value below 1024.  Check for odd
38788         integer exponents when using algorithm for real exponents.
38789         * math/libm-test.inc (pow_test): Add more tests.
38790         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38791
38792 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38793
38794         [BZ #13705]
38795         * math/libm-test.inc (exp_test): Do not allow overflow exception
38796         on underflow test.
38797
38798 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38799
38800         [BZ #13705]
38801         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38802         instead of __kernel_standard_f.
38803
38804 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38805
38806         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38807         * sysdeps/x86_64/memset_chk.S: Likewise.
38808
38809 2012-04-08  Andreas Jaeger  <aj@suse.de>
38810
38811         [BZ #10153]
38812         * manual/startup.texi (Environment Access): Describe return value
38813         for putenv and setenv.
38814
38815         [BZ #6895]
38816         * manual/filesys.texi (Directory Entries): Add description for
38817         DT_LNK.
38818
38819         [BZ #6890]
38820         * manual/filesys.texi (Directory Entries): Clarify that it's file
38821         system not operating system in the description of DT_UNKNOWN.
38822
38823         [BZ #6578]
38824         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38825
38826 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38827
38828         [BZ #6649]
38829         * manual/llio.texi (Opening and Closing Files): Add cross
38830         reference to explain mode argument.
38831
38832 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38833
38834         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38835         * sysdeps/x86_64/memset_chk.S: Likewise.
38836
38837 2012-04-07  David S. Miller  <davem@davemloft.net>
38838
38839         * elf/elf.h (R_SPARC_WDISP10): Define.
38840         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38841         R_SPARC_SIZE32.
38842         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38843         R_SPARC_SIZE64 and R_SPARC_H34.
38844
38845 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38846
38847         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38848         conditions and remove no longer applicable assertion.
38849
38850 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38851
38852         * bits/byteswap.h: Include <features.h>.
38853         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38854         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38855
38856 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38857
38858         * bits/byteswap.h (__bswap_16): Removed.
38859         Include <bits/byteswap-16.h> to get __bswap_16.
38860         * sysdeps/i386/bits/byteswap.h: Likewise.
38861         * sysdeps/s390/bits/byteswap.h: Likewise.
38862         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38863         * bits/byteswap-16.h: New file.
38864         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38865         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38866         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38867         * string/Makefile (headers): Add bits/byteswap-16.h.
38868
38869 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38870
38871         [BZ #13895]
38872         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38873         extra indirection.
38874         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38875         * nss/tst-nss-static.c: New.
38876
38877 2012-04-06  Robert Millan  <rmh@gnu.org>
38878
38879         [BZ #6486]
38880         * manual/llio.texi (File Position Primitive): lseek
38881         refers to WHENCE when it really means OFFSET.
38882
38883 2012-04-06  Andreas Jaeger  <aj@suse.de>
38884
38885         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38886         strncmp declarations.
38887
38888         * abilist/libc.abilist: Add __poll and __ppoll.
38889
38890 2012-04-05  David S. Miller  <davem@davemloft.net>
38891
38892         * scripts/check-local-headers.sh: Accept a host triplet in the
38893         path matched by the exclude regexp.
38894
38895         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38896         definition.
38897         * sysdeps/powerpc/powerpc32/dl-machine.h
38898         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38899         * sysdeps/s390/s390-32/dl-machine.h
38900         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38901         * sysdeps/sparc/sparc32/dl-machine.h
38902         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38903         * sysdeps/sparc/sparc64/dl-machine.h
38904         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38905
38906         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38907         lazy binding.
38908         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38909         undefined symbol errors.
38910
38911         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38912         DT_NEEDED entries.
38913
38914 2012-04-05  Michael Matz  <matz@suse.de>
38915
38916         [BZ #13592]
38917         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38918
38919 2012-04-05  Andreas Jaeger  <aj@suse.de>
38920
38921         [BZ #13908]
38922         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38923         comment.
38924
38925 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38926
38927         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38928         which ROUND is no valid rounding mode.
38929
38930 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38931
38932         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38933         read again.
38934         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38935
38936 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38937
38938         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38939         an exception using FPU order intentionally.
38940
38941 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38942
38943         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38944         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38945         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38946         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38947
38948 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38949
38950         [BZ #12340]
38951         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38952         EINVAL when BUFLEN is too smal.
38953
38954 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38955
38956         [BZ #13553]
38957         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38958         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38959
38960 2012-04-03  Andreas Jaeger  <aj@suse.de>
38961
38962         [BZ #13938]
38963         * manual/setjmp.texi (System V contexts): Fix sentence.
38964
38965         [BZ #13926]
38966         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38967         New macro for this case.
38968         [!__GNUC__] (__bswap_64): New inline function for this case.
38969         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38970         * bits/byteswap.h: Likewise.
38971         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38972         ull, guard with __GLIBC_HAVE_LONG_LONG.
38973
38974         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38975         __GLIBC_HAVE_LONG_LONG.
38976
38977         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38978         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38979
38980 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38981
38982         [BZ #13691]
38983         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38984         inptr and inend, rather than using last_ch.
38985
38986 2012-04-02  David S. Miller  <davem@davemloft.net>
38987
38988         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38989         * stdio-common/printf-parse.h (read_int): Change return type to
38990         'int', return -1 on INT_MAX overflow.
38991         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38992         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38993         overflows INT_MAX.  Check for overflow of in-format-string precision
38994         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38995         SIZE_MAX not INT_MAX for integer overflow test.
38996         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38997         skip the construct in the format string but do not record anything.
38998         * stdio-common/bug22.c: Adjust to test both width/prevision
38999         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39000         explicitly for proper errno values.
39001
39002 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39003
39004         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39005         CHAR_MAX.
39006         * string/test-strcmp.c [! WIDE]: Likewise.
39007         * time/tst-mktime2.c: Likewise for INT_MAX.
39008         * string/test-string.h: #include <sys/param.h> for MIN.
39009
39010         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39011         * sysdeps/i386/init-first.c (init): Likewise.
39012         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39013         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39014         * sysdeps/sh/init-first.c (init): Likewise.
39015
39016 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39017
39018         * po/ru.po: Update from translation team.
39019         * po/vi.po: Likewise.
39020
39021 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39022
39023         * resolv/nss_dns/dns-host.c: Merge copyright years.
39024
39025 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39026
39027         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39028         Optimize memcpy with prefetch if
39029         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39030         src, dst pointers have unequal 16 byte alignments.
39031
39032 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39033
39034         [BZ #13928]
39035         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39036         from a CNAME entry and return the minimum ttl for the query.
39037         (gaih_getanswer_slice): Likewise.
39038
39039 2012-03-30  Jeff Law  <law@redhat.com>
39040
39041         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39042         due to long keys.
39043         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39044         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39045
39046         * resolv/nss_dns/dns-host.c: Update copyright year.
39047
39048 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39049
39050         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39051         requests to save a system call.  Fix check that all bytes are sent.
39052
39053         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39054         comments for sendmmsg.
39055
39056 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39057
39058         [BZ #13691]
39059         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39060         with only 1 character between 0x0041 and 0x01b0.
39061         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39062         * wcsmbs/tst-mbsnrtowcs.c: New file.
39063
39064 2012-03-29  David S. Miller  <davem@davemloft.net>
39065
39066         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39067         small copies by hand.
39068
39069 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39070
39071         [BZ #13761]
39072         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39073         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39074         group memberships.
39075
39076 2012-03-28  David S. Miller  <davem@davemloft.net>
39077
39078         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39079         that branches into memcpy.
39080         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39081         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39082         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39083         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39084         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39085         bits.
39086         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39087         implementation too.
39088         * sysdeps/sparc/mempcpy.S: New file.
39089
39090         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39091         the IFUNC routine in the libc case.
39092         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39093
39094         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39095         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39096         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39097         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39098         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39099         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39100         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39101         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39102
39103         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39104         loop to 256 bytes instead of 64 bytes and fix test signedness.
39105
39106         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39107         * sysdeps/sparc/sparc32/Makefile: rather than here...
39108         * sysdeps/sparc/sparc64/Makefile: and here.
39109
39110 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39111
39112         * malloc/mallocbug.c: Avoid warnings about unused variables.
39113
39114 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39115
39116         [BZ #13760]
39117         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39118         in the right place. Discard and retry query if response is
39119         larger than input buffer size.
39120
39121 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39122
39123         [BZ #369]
39124         [BZ #2678]
39125         [BZ #3866]
39126         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39127         x for large integer exponent.
39128         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39129         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39130         sign of result as needed afterwards.
39131         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39132         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39133         result for underflowing pow the same as for overflow.
39134         (__kernel_standard_l): Handle powl overflow and underflow here
39135         rather than calling __kernel_standard.
39136         * math/libm-test.inc (pow_test): Add more tests.
39137
39138         [BZ #3868]
39139         [BZ #13879]
39140         [BZ #13910]
39141         [BZ #13911]
39142         [BZ #13912]
39143         [BZ #13913]
39144         [BZ #13915]
39145         [BZ #13916]
39146         [BZ #13917]
39147         [BZ #13918]
39148         [BZ #13919]
39149         [BZ #13920]
39150         [BZ #13921]
39151         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39152         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39153         (__kernel_standard_l): New function.
39154         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39155         __kernel_standard.
39156         * math/w_acosl.c (__acosl): Likewise.
39157         * math/w_asinl.c (__asinl): Likewise.
39158         * math/w_atan2l.c (__atan2l): Likewise.
39159         * math/w_atanhl.c (__atanhl): Likewise.
39160         * math/w_coshl.c (__coshl): Likewise.
39161         * math/w_exp10l.c (__exp10l): Likewise.
39162         * math/w_exp2l.c (__exp2l): Likewise.
39163         * math/w_fmodl.c (__fmodl): Likewise.
39164         * math/w_hypotl.c (__hypotl): Likewise.
39165         * math/w_j0l.c (__j0l, __y0l): Likewise.
39166         * math/w_j1l.c (__j1l, __y1l): Likewise.
39167         * math/w_jnl.c (__jnl, __ynl): Likewise.
39168         * math/w_lgammal.c (__lgammal): Likewise.
39169         * math/w_log10l.c (__log10l): Likewise.
39170         * math/w_log2l.c (__log2l): Likewise.
39171         * math/w_logl.c (__logl): Likewise.
39172         * math/w_powl.c (__powl): Likewise.
39173         * math/w_remainderl.c (__remainderl): Likewise.
39174         * math/w_scalbl.c (sysv_scalbl): Likewise.
39175         * math/w_sinhl.c (__sinhl): Likewise.
39176         * math/w_sqrtl.c (__sqrtl): Likewise.
39177         * math/w_tgammal.c (__tgammal): Likewise.
39178         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39179         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39180         * math/libm-test.inc (acos_test): Add more tests.
39181         (acosh_test): Likewise.
39182         (asin_test): Likewise.
39183         (atanh_test): Likewise.
39184         (exp_test): Likewise.
39185         (exp10_test): Likewise.
39186         (exp2_test): Likewise.
39187         (expm1_test): Likewise.
39188         (lgamma_test): Likewise.
39189         (log_test): Likewise.
39190         (log10_test): Likewise.
39191         (log1p_test): Likewise.
39192         (log2_test): Likewise.
39193         (pow_test): Do not allow some spurious overflow exceptions.
39194         (sqrt_test): Add more tests.
39195         (tgamma_test): Likewise.
39196         (y0_test): Likewise.
39197         (y1_test): Likewise.
39198         (yn_test): Likewise.
39199
39200 2012-03-27  Anton Blanchard  <anton@samba.org>
39201
39202         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39203         MAP_HUGETLB.
39204         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39205         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39206         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39207
39208 2012-03-27  David S. Miller  <davem@davemloft.net>
39209
39210         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39211
39212         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39213         have-as-vis3 check.
39214
39215 2012-03-27  Andreas Jaeger  <aj@suse.de>
39216
39217         * sysdeps/x86_64/elf/configure.in: Moved to ...
39218         * sysdeps/x86_64/configure.in: ... here.
39219         * sysdeps/x86_64/elf/start.S: Moved to ...
39220         * sysdeps/x86_64/start.S: ... here.
39221         * sysdeps/x86_64/elf/configure: Delete.
39222
39223         * sysdeps/x86_64/configure.in: Merge contents from
39224         sysdeps/i386/configure.in (without i686 check).
39225
39226         * sysdeps/i386/elf/Versions: Merge into ...
39227         * sysdeps/i386/Versions: ... this.
39228         * sysdeps/i386/elf/Versions: Delete file.
39229         * sysdeps/i386/elf/start.S: Moved to ...
39230         * sysdeps/i386/start.S: ...here.
39231         * sysdeps/i386/elf/configure.in: Merge into...
39232         * sysdeps/i386/configure.in: ...here.
39233         * sysdeps/i386/elf/configure.in: Delete file.
39234         * sysdeps/i386/elf/configure: Delete file.
39235
39236         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39237         * debug/backtracesyms.c: ... here.
39238         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39239         * debug/backtracesymsfd.c: ... here.
39240         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39241         * sysdeps/generic/ifunc-sel.h: ... here.
39242
39243         * sysdeps/unix/i386/start.c: Delete file.
39244         * sysdeps/unix/sparc/start.c: Delete file.
39245         * sysdeps/unix/start.c: Delete file.
39246
39247         * sysdeps/sh/elf/configure.in: Moved to ...
39248         * sysdeps/sh/configure.in: ... here.
39249         * sysdeps/sh/elf/start.S: Moved to ...
39250         * sysdeps/sh/start.S: ... here.
39251         * sysdeps/sh/elf/configure: Delete file.
39252
39253         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39254         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39255         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39256         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39257         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39258         * sysdeps/powerpc/powerpc64/start.S: here.
39259         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39260         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39261         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39262         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39263         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39264
39265         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39266         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39267         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39268         * sysdeps/powerpc/powerpc32/start.S: ... here.
39269         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39270         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39271         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39272
39273         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39274         * sysdeps/powerpc/ifunc-sel.h: ... here.
39275         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39276         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39277
39278         * sysdeps/sparc/elf/configure.in: Moved to ...
39279         * sysdeps/sparc/configure.in: ... here.
39280         * sysdeps/sparc/elf/configure: Delete file.
39281         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39282         * sysdeps/sparc/sparc32/start.S: ... here.
39283         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39284         * sysdeps/sparc/sparc64/start.S: ... here.
39285         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39286         * sysdeps/sparc/sparc32/Makefile: ... this.
39287         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39288         * sysdeps/sparc/sparc64/Makefile: ... this.
39289
39290         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39291         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39292         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39293         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39294         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39295         * sysdeps/s390/s390-32/setjmp.S: ... here.
39296         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39297         * sysdeps/s390/s390-32/configure.in: ... here.
39298         * sysdeps/s390/s390-32/elf/configure: Delete file.
39299         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39300         * sysdeps/s390/s390-32/start.S: ... here.
39301
39302         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39303         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39304         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39305         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39306         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39307         * sysdeps/s390/s390-64/setjmp.S: ... here.
39308         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39309         * sysdeps/s390/s390-64/configure.in: ... here
39310         * sysdeps/s390/s390-64/elf/configure: Delete file.
39311         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39312         * sysdeps/s390/s390-64/start.S: ... here.
39313         * sysdeps/s390/s390-64/elf/configure: Delete.
39314
39315         * configure.in: Remove support for elf directories in sysdeps.
39316
39317         * configure: Regenerated.
39318         * sysdeps/i386/configure: Regenerated.
39319         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39320         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39321         * sysdeps/s390/s390-32/configure: Regenerated.
39322         * sysdeps/s390/s390-64/configure: Regenerated.
39323         * sysdeps/sh/configure: Regenerated.
39324         * sysdeps/sparc/configure: Regenerated.
39325         * sysdeps/x86_64/configure: Regenerated.
39326
39327 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39328
39329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39330
39331         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39332         denormal result into account.
39333
39334 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39335
39336         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39337         Reported by Allan McRae <allan@archlinux.org>.
39338
39339 2012-03-23  Jeff Law  <law@redhat.com>
39340
39341         * nss/getnssent.c (__nss_getent): Fix typo.
39342
39343 2012-03-23  David S. Miller  <davem@davemloft.net>
39344
39345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39346
39347 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39348
39349         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39350         to pad to uint64_t for each field.
39351         (dl_tls_index): Replace unsigned long with uint64_t.
39352
39353 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39354         Paul Pluzhnikov  <ppluzhnikov@google.com>
39355
39356         [BZ #6528]
39357         * grp/Makefile (otherlibs): Don't set it.
39358         * inet/Makefile (otherlibs): Likewise.
39359         * login/Makefile (otherlibs): Likewise.
39360         * nscd/Makefile (otherlibs): Likewise.
39361         * posix/Makefile (otherlibs): Likewise.
39362         * pwd/Makefile (otherlibs): Likewise.
39363         * rt/Makefile (otherlibs): Likewise.
39364         * sunrpc/Makefile (otherlibs): Likewise.
39365         * nss/Makefile (otherlibs): Likewise.
39366         Add libnss_files to routines and static-only-routines.
39367         ($(objpfx)getent): Remove rule.
39368         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39369         static-only-routines.
39370
39371 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39372
39373         [BZ #13892]
39374         * math/s_cexp.c: Include <float.h>.
39375         (__cexp): Handle exp result overflowing not necessarily
39376         overflowing both real and imaginary parts of result.
39377         * math/s_cexpf.c: Likewise.
39378         * math/s_cexpl.c: Likewise.
39379         * math/libm-test.inc (cexp_test): Add more tests.
39380         * sysdeps/i386/fpu/libm-test-ulps: Update.
39381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39382
39383 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39384
39385         * include/link.h (ELFW): New macro.
39386         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39387         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39388
39389 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39390
39391         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39392         with uint64_t.
39393
39394 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39395
39396         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39397         declaration.
39398         (struct La_x32_retval): Likewise.
39399
39400 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39401
39402         * sysdeps/x86_64/preconfigure.in: New file.
39403         * sysdeps/x86_64/preconfigure: New generated file.
39404
39405 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39406
39407         [BZ #13824]
39408         * math/e_exp2l.c: Include <float.h>.
39409         (__ieee754_exp2l): Handle overflow and underflow cases
39410         separately.  Only pass fractional part of argument to
39411         __ieee754_expl.
39412         * math/libm-test.inc (exp2_test): Add more tests.
39413
39414         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39415         negating x to take absolute value.
39416         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39417         Likewise.
39418         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39419         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39420         Likewise.
39421         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39422         computing low part if x was negated.
39423         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39424
39425 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39426
39427         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39428         la_x32_gnu_pltexit.
39429         (pltexit): Cast int_retval to ptrdiff_t.
39430         * elf/tst-auditmod3b.c: Likewise.
39431         * elf/tst-auditmod4b.c: Likewise.
39432         * elf/tst-auditmod5b.c: Likewise.
39433         * elf/tst-auditmod6b.c: Likewise.
39434         * elf/tst-auditmod6c.c: Likewise.
39435         * elf/tst-auditmod7b.c: Likewise.
39436
39437         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39438         and x32_gnu_pltexit.
39439
39440         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39441         __ELF_NATIVE_CLASS.
39442         (La_x32_regs): New macro.
39443         (La_x32_retval): Likewise.
39444         (la_x32_gnu_pltenter): New function prototype.
39445         (la_x32_gnu_pltexit): Likewise.
39446
39447 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39448
39449         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39450         exponent.
39451
39452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39453
39454         * configure.in (libc_cv_cc_nofma): Check for option to disable
39455         generation of FMA instructions.
39456         * configure: Regenerate.
39457         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39458         * sysdeps/ieee754/dbl-64/Makefile: New file.
39459         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39460         Remove brandred-fma4.
39461         (CFLAGS-brandred-fma4.c): Remove.
39462         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39463         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39464         define.
39465         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39466         define.
39467
39468 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39469
39470         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39471         LLONG_MAX != LONG_MAX.
39472         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39473         (_fitoa_word): Likewise.
39474         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39475         LLONG_MAX != LONG_MAX.
39476         * stdio-common/_itowa.h: Include <_itoa.h>.
39477         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39478         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39479         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39480         only if not defined.
39481         (_ITOA_WORD_TYPE): Likewise.
39482         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39483         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39484
39485 2012-03-21  David S. Miller  <davem@davemloft.net>
39486
39487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39488
39489 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39490
39491         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39492         of x86_64 when setting libc_cv_slibdir, libdir and
39493         libc_cv_localedir.
39494         * sysdeps/unix/sysv/linux/configure: Regenerated.
39495
39496 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39497
39498         * manual/lang.texi (Old Varargs): Remove section.
39499         (How Variadic): Update menu.
39500         (va_start): Do not mention varargs.h.
39501
39502 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39503             Joseph Myers  <joseph@codesourcery.com>
39504
39505         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39506         link test.
39507         * configure: Regenerated.
39508
39509 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39510
39511         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39512         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39513         conformtest.pl
39514
39515 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39516
39517         * NOTES: Remove.
39518         * Makefile (files-for-dist): Remove NOTES.
39519         (NOTES): Remove rule.
39520         * README: Don't refer to NOTES.
39521         * manual/creature.texi: Don't include macros.texi.
39522         * manual/intro.texi (creature.texi): Remove comment referring to
39523         NOTES.
39524
39525         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39526         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39527         * configure: Regenerated.
39528         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39529         LIBC_TRY_CC_OPTION.
39530         (libc_cv_as_i686): Likewise.
39531         (libc_cv_cc_avx): Likewise.
39532         (libc_cv_cc_sse2avx): Likewise.
39533         (libc_cv_cc_fma4): Likewise.
39534         (libc_cv_cc_novzeroupper): Likewise.
39535         * sysdeps/i386/configure: Regenerated.
39536
39537         [BZ #13883]
39538         * sysdeps/i386/fpu/s_cexp.S: Remove.
39539         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39540         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39541         * math/libm-test.inc (cexp_test): Add more tests.
39542         * sysdeps/i386/fpu/libm-test-ulps: Update.
39543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39544
39545 2012-03-21  Allan McRae  <allan@archlinux.org>
39546
39547         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39548
39549 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39550
39551         [BZ #13871]
39552         * math/w_exp2.c: Do not include <float.h>.
39553         (o_threshold, u_threshold): Remove.
39554         (__exp2): Calculate result before checking finiteness and calling
39555         __kernel_standard.
39556         * math/w_exp2f.c: Likewise.
39557         * math/w_exp2l.c: Likewise.
39558         * math/libm-test.inc (exp2_test): Require overflow exception for
39559         1e6 input.
39560
39561         [BZ #3866]
39562         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39563         range of signed 64-bit integers before using fistpll.  Remove
39564         checks for whether integers fit in mantissa bits.
39565         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39566         the range of signed 32-bit integers before using fistpl.  Remove
39567         checks for whether integers fit in mantissa bits.
39568         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39569         (__ieee754_powl): Test for y outside the range of signed 64-bit
39570         integers before using fistpll.  Reduce 64-bit values to 63-bit
39571         ones as needed.
39572         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39573         divide-by-zero is raised for zero to large negative powers.
39574         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39575         (__ieee754_powl): Test for y outside the range of signed 64-bit
39576         integers before using fistpll.  Reduce 64-bit values to 63-bit
39577         ones as needed.
39578         * math/libm-test.inc (pow_test): Add more tests.
39579
39580 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39581
39582         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39583         <stdio-common/_itoa.h>.
39584         * debug/segfault.c: Likewise.
39585         * elf/dl-cache.c: Likewise.
39586         * elf/dl-minimal.c: Likewise.
39587         * elf/dl-misc.c: Likewise.
39588         * elf/dl-sysdep.c: Likewise.
39589         * elf/dl-version.c: Likewise.
39590         * elf/rtld.c: Likewise.
39591         * hurd/hurdsock.c: Likewise.
39592         * hurd/lookup-retry.c: Likewise.
39593         * malloc/malloc.c: Likewise.
39594         * malloc/mtrace.c: Likewise.
39595         * nscd/nscd_getgr_r.c: Likewise.
39596         * nscd/nscd_getpw_r.c: Likewise.
39597         * nscd/nscd_getserv_r.c: Likewise.
39598         * posix/getopt_init.c: Likewise.
39599         * posix/wordexp.c: Likewise.
39600         * stdio-common/_itoa.c: Likewise.
39601         * stdio-common/printf_fphex.c: Likewise.
39602         * stdio-common/vfprintf.c: Likewise.
39603         * string/_strerror.c: Likewise.
39604         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39605         * sysdeps/i386/i686/hp-timing.h: Likewise.
39606         * sysdeps/mach/_strerror.c: Likewise.
39607         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39608         * sysdeps/mach/hurd/sethostid.c: Likewise.
39609         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39610         * sysdeps/mach/xpg-strerror.c: Likewise.
39611         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39612         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39613         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39614         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39615         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39616         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39617         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39618         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39619         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39620         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39621         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39622         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39623         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39624         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39625         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39626         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39627         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39628         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39629         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39630         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39631         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39632
39633         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39634
39635         * stdio-common/_itoa.h: Moved to ...
39636         * sysdeps/generic/_itoa.h: Here.
39637
39638         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39639
39640         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39641         instead of "_itoa.h" and "_itowa.h".
39642         * stdio-common/vfprintf.: Likewise.
39643
39644 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39645
39646         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39647         <bits/wordsize.h>.
39648         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39649         (__signbit): Likwise.
39650         (llrintf): Likwise.
39651         (llrint): Likwise.
39652
39653 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39654
39655         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39656         __WORDSIZE != 64.
39657
39658 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39659
39660         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39661         OVERFLOW_EXCEPTION_OK.
39662         * math/libm-test.inc ("Philosophy"): Update comment about
39663         exception testing.
39664         (OVERFLOW_EXCEPTION): Define.
39665         (OVERFLOW_EXCEPTION_OK): Likewise.
39666         (INVALID_EXCEPTION_OK): Renumber.
39667         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39668         (IGNORE_ZERO_INF_SIGN): Likewise.
39669         (test_exceptions): Handle FE_OVERFLOW.
39670         (exp10_test): Expect overflow exceptions.
39671         (exp2_test): Likewise.
39672         (expm1_test): Likewise.
39673         (nextafter_test): Likewise.
39674         (pow_test): Likewise.
39675         (scalbn_test): Likewise.
39676         (scalbln_test): Likewise.
39677
39678 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39679
39680         * sysdeps/x86_64/bits/atomic.h
39681         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39682         64bit integer.
39683         (atomic_exchange_acq): Likewise.
39684         (__arch_exchange_and_add_body): Likewise.
39685         (__arch_add_body): Likewise.
39686         (atomic_add_negative): Likewise.
39687         (atomic_add_zero): Likewise.
39688
39689 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39690
39691         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39692         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39693
39694 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39695
39696         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39697         Check __x86_64__ instead of __WORDSIZE.
39698
39699 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39700
39701         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39702
39703 2012-03-19  David S. Miller  <davem@davemloft.net>
39704
39705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39706
39707         * sysdeps/sparc/fpu/fenv_private.h: New file.
39708         * sysdeps/sparc/fpu/math_private.h: Use it.
39709         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39710         Remove.
39711         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39712         (libc_feholdexcept_setroundl): Remove.
39713         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39714         Remove.
39715         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39716         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39717
39718 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39719
39720         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39721         int64_t instead of long int.
39722         (INSERT_WORDS64): Likwise.
39723
39724 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39725
39726         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39727         _Unwind_GetCFA return to _Unwind_Ptr first.
39728
39729 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39730
39731         [BZ #13629]
39732         * math/s_clog.c: Include <float.h>.
39733         (__clog): Scale large or subnormal inputs.
39734         * math/s_clogf.c: Likewise.
39735         * math/s_clogl.c: Likewise.
39736         * math/s_clog10.c: Include <float.h>.
39737         (M_LOG10_2): Define.
39738         (__clog10): Scale large or subnormal inputs.
39739         * math/s_clog10f.c: Likewise.
39740         * math/s_clog10l.c: Likewise.
39741         * math/libm-test.inc (clog_test): Add more tests.
39742         (clog10_test): Likewise.
39743         * sysdeps/i386/fpu/libm-test-ulps: Update.
39744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39745
39746         [BZ #11451]
39747         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39748         x and y.
39749         * math/libm-test.inc (atan2_test): Add another test.
39750
39751         * Makerules (common-objdir-compile): Remove.
39752         * sysdeps/unix/Makefile (config-generated): Do not add
39753         $(unix-generated) to variable.
39754         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39755         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39756         Remove rule.
39757         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39758         Likewise.
39759         [generic bits/local_lim.h] (before-compile): Do not append to
39760         variable.
39761         [generic bits/local_lim.h] (common-generated): Likewise.
39762         [generic sys/param.h] (before-compile): Do not append to variable.
39763         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39764         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39765         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39766         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39767         include.
39768         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39769         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39770         [generic sys/param.h] ($(addprefix
39771         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39772         [generic sys/param.h] (common-generated): Do not append to
39773         variable.
39774         [generic sys/param.h] (sysdep_headers): Likewise.
39775         [generic bits/errno.h] (before-compile): Do not append to
39776         variable.
39777         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39778         rule.
39779         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39780         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39781         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39782         [generic bits/errno.h] (common-generated): Do not append to
39783         variable.
39784         [generic bits/ioctls.h] (before-compile): Do not append to
39785         variable.
39786         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39787         rule.
39788         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39789         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39790         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39791         rule.
39792         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39793         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39794         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39795         [generic bits/ioctls.h] (common-generated): Do not append to
39796         variable.
39797         [generic sys/syscall.h] (syscall.h): Remove variable.
39798         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39799         rule.
39800         [generic sys/syscall.h] (before-compile): Do not append to
39801         variable.
39802         [generic sys/syscall.h] (common-generated): Likewise.
39803         * sysdeps/unix/errnos-tmpl.c: Remove file.
39804         * sysdeps/unix/errnos.awk: Likewise.
39805         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39806         * sysdeps/unix/ioctls.awk: Likewise.
39807         * sysdeps/unix/mk-local_lim.c: Likewise.
39808         * sysdeps/unix/snarf-ioctls: Likewise.
39809
39810 2012-03-19  Richard Henderson  <rth@twiddle.net>
39811
39812         * sysdeps/i386/fpu/fenv_private.h: New file.
39813         * sysdeps/i386/fpu/math_private.h: Use it.
39814         (math_opt_barrier, math_force_eval): Remove.
39815         (libc_feholdexcept_setround_53bit): Remove.
39816         (libc_feupdateenv_53bit): Remove.
39817         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39818         (math_opt_barrier, math_force_eval): Remove.
39819         (libc_feholdexcept): Remove.
39820         (libc_feholdexcept_setround): Remove.
39821         (libc_fetestexcept, libc_fesetenv): Remove.
39822         (libc_feupdateenv_test): Remove.
39823         (libc_feupdateenv, libc_feholdsetround): Remove.
39824         (libc_feresetround): Remove.
39825
39826         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39827         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39828
39829         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39830         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39831         (libc_feupdateenv_testl): New.
39832         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39833         (libc_feupdateenv_testf): New.
39834         (libc_feupdateenv): Use libc_feupdateenv_test.
39835         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39836         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39837
39838         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39839         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39840         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39841         (libc_feresetround_noex): New.
39842         (libc_feresetround_noexf): New.
39843         (libc_feresetround_noexl): New.
39844         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39845         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39846         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39847         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39848         SET_RESTORE_ROUND.
39849         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39850         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39851         (__cos): Likewise.
39852         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39853         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39854         SET_RESTORE_ROUND_NOEX.
39855         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39856         SET_RESTORE_ROUND_NOEXF.
39857         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39858         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39859         (libc_feholdsetroundf): New.
39860         (libc_feresetround, libc_feresetroundf): New.
39861
39862         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39863         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39864         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39865
39866         * sysdeps/generic/math_private.h: Include <fenv.h>.
39867         (default_libc_feholdexcept): New.
39868         (default_libc_feholdexcept_setround): New.
39869         (default_libc_fesetenv, default_libc_feupdateenv): New.
39870         (libc_feholdexcept): Only define if undefined.
39871         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39872         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39873         (libc_feholdexcept_setroundl): Likewise.
39874         (libc_feholdexcept_setround_53bit): Likewise.
39875         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39876         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39877         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39878         (libc_feupdateenv_53bit): Likewise.
39879         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39880         (libc_feholdexcept): Convert from macro to inline function.
39881         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39882         (libc_fesetenv, libc_feupdateenv): Likewise.
39883
39884         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39885         not previously defined.
39886         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39887         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39888         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39889         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39890         * sysdeps/ieee754/flt-32/math_private.h: New file.
39891         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39892         math_private.h below SET_FLOAT_WORD.
39893         (__isnan, __isinf_ns, __finite): Remove.
39894         (__isnanf, __isinf_nsf, __finitef): Remove.
39895
39896 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39897
39898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39899
39900 2012-03-17  David S. Miller  <davem@davemloft.net>
39901
39902         [BZ #6471]
39903         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39904         for 2.16.
39905
39906 2012-03-16  David S. Miller  <davem@davemloft.net>
39907
39908         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39909         warnings.
39910
39911         [BZ #6471]
39912         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39913         properly.
39914         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39915         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39916         sysdep_routines when subdir is sysvipc.
39917         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39918         __getshmlba helper.
39919
39920         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39921
39922 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39923
39924         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39925         [__LP64__].
39926
39927 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39928
39929         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39930         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39931         (__lround): Renamed to ...
39932         (__llround): This.  Replace long int with long long int.
39933         Define lround functions as aliases of llround functions.
39934         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39935
39936 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39937
39938         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39939         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39940         adresses to uintptr_t.  Replace "long int" and "unsigned long
39941         int" with "greg_t" on va_arg.
39942
39943 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39944
39945         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39946         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39947
39948         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39949         Move e_machine check before EI_CLASS check.  Handle x32
39950         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39951         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39952         SKIP_EM_IA_64 and include
39953         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39954
39955         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39956         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39957         (add_system_dir): New macro.
39958
39959         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39960         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39961
39962 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39963
39964         [BZ #2551]
39965         [BZ #2552]
39966         [BZ #2553]
39967         [BZ #2554]
39968         [BZ #2562]
39969         [BZ #2563]
39970         [BZ #2565]
39971         [BZ #2566]
39972         [BZ #2576]
39973         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39974         (y0): Likewise.
39975         * math/w_j0f.c (j0f): Likewise.
39976         (y0f): Likewise.
39977         * math/w_j0l.c (__j0l): Likewise.
39978         (__y0l): Likewise.
39979         * math/w_j1.c (j1): Likewise.
39980         (y1): Likewise.
39981         * math/w_j1f.c (j1f): Likewise.
39982         (y1f): Likewise.
39983         * math/w_j1l.c (__j1l): Likewise.
39984         (__y1l): Likewise.
39985         * math/w_jn.c (jn): Likewise.
39986         (yn): Likewise.
39987         * math/w_jnf.c (jnf): Likewise.
39988         (ynf): Likewise.
39989         * math/w_jnl.c (__jnl): Likewise.
39990         (__ynl): Likewise.
39991         * math/libm-test.inc (j0_test): Add more tests.
39992         (j1_test): Likewise.
39993         (jn_test): Likewise.  Add trailing semicolon to existing test.
39994         (y0_test): Likewise.
39995         (y1_test): Likewise.
39996         * sysdeps/i386/fpu/libm-test-ulps: Update.
39997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39998
39999         [BZ #13851]
40000         [BZ #13854]
40001         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40002         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40003         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40004         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40005         (__tanl): Set errno for infinite argument.
40006         * sysdeps/i386/fpu/mptan.c: Remove.
40007         * sysdeps/i386/fpu/s_tan.S: Likewise.
40008         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40009         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40010         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40011         * math/libm-test.inc (tan_test): Add more tests and enable more
40012         tests for double and long double.
40013         * sysdeps/i386/fpu/libm-test-ulps: Update.
40014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40015
40016 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40017
40018         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40019         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40020
40021 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40022
40023         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40024         * configure.in: Use it for both main tree and add-ons.
40025         * configure: Regenerated.
40026
40027 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40028
40029         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40030
40031 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40032
40033         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40034         in comment.
40035
40036         [BZ #13851]
40037         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40038         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40039         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40040         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40041         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40042         infinite argument.
40043         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40044         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40045         != 0 for prec == 2.
40046         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40047         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40048         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40049         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40050         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40051         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40052         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40053         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40054         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40055         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40056         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40057         * math/libm-test.inc (cos_test): Add more tests and enable more
40058         tests for long double.
40059         (sin_test): Likewise.
40060         (sincos_test): Likewise.
40061         * sysdeps/i386/fpu/libm-test-ulps: Update.
40062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40063
40064 2012-03-16  David S. Miller  <davem@davemloft.net>
40065
40066         * sysdeps/sparc/fpu/math_private.h: New file.
40067
40068 2012-03-15  David S. Miller  <davem@davemloft.net>
40069
40070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40071         file.
40072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40074         file.
40075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40076         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40077         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40078         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40079         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40080         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40081         sysdep routines.
40082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40083
40084         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40085         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40086
40087         * sysdeps/sparc/sparc-ifunc.h: New file.
40088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40089         sparc-ifunc.h
40090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40092         Likewise.
40093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40094         Likewise.
40095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40099         Likewise.
40100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40105         Likewise.
40106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40107         Likewise.
40108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40112         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40113         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40114         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40115         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40116         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40117         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40118         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40119         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40120         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40121         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40122         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40123         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40124         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40125         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40126         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40127         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40128         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40129         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40130         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40131         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40132
40133 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40134
40135         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40136         scaling.
40137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40138
40139 2012-03-15  Andreas Jaeger  <aj@suse.de>
40140
40141         [BZ #13852]
40142         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40143         ieee754/flt-32 implementation for sin, cos and sincos.
40144         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40145         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40146         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40147         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40148         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40149         ieee754/flt-32 implementation for tan.
40150
40151         * math/libm-test.inc (cos_test): Enable some large input tests for
40152         float as well
40153         (sin_test): Likewise.
40154         (sincos_test): Likewise.
40155         (tan_test): Add tests for large input.
40156
40157         * sysdeps/i386/fpu/libm-test-ulps: Update.
40158
40159 2012-03-15  Andreas Jaeger  <aj@suse.de>
40160
40161         [BZ #13658]
40162         * math/libm-test.inc (cos_test): Add more test cases.
40163         (sin_test): Likewise.
40164         (sincos_test): Likewise.
40165
40166 2012-03-15  Andreas Jaeger  <aj@suse.de>
40167
40168         [BZ #13837]
40169         * math/libm-test.inc (cos_test): Add a test case for large input
40170         value.
40171         (sin_test): Likewise.
40172         (sincos_test): Likewise.
40173
40174 2012-03-15  Andreas Jaeger  <aj@suse.de>
40175             Joseph Myers  <joseph@codesourcery.com>
40176
40177         [BZ #13658]
40178         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40179         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40180         * sysdeps/i386/fpu/branred.c: Likewise.
40181         * sysdeps/i386/fpu/dosincos.c: Likewise.
40182         * sysdeps/i386/fpu/mpa.c: Likewise.
40183         * sysdeps/i386/fpu/s_cos.S: Likewise.
40184         * sysdeps/i386/fpu/s_sin.S: Likewise.
40185         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40186         * sysdeps/i386/fpu/sincos32.c: Likewise.
40187
40188         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40189         Define.
40190         (libc_feupdateenv_53bit): Define.
40191         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40192         Define.
40193         (libc_feupdateenv_53bit): Define.
40194
40195         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40196         53 bit (without extend i386 double precision).
40197
40198         * math/libm-test.inc (sincos_test): Add tests for large input.
40199         (sin): Likewise.
40200         (cos): Likewise.
40201
40202         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40203
40204 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40205
40206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40207
40208 2012-03-15  David S. Miller  <davem@davemloft.net>
40209
40210         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40211         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40212         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40213         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40218         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40219         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40220         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40221         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40222         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40223         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40224         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40226         file.
40227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40229         file.
40230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40232         file.
40233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40235         file.
40236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40237         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40238         fmin/fmax sysdep routines.
40239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40240
40241 2012-03-14  David S. Miller  <davem@davemloft.net>
40242
40243         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40244         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40245         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40246         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40247         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40248         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40249         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40250         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40251         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40252         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40253         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40254         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40255         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40256         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40257         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40258         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40259         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40260         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40261         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40262         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40263         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40264         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40265         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40266         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40267         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40268         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40269         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40270         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40271         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40272         routines.
40273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40274         file.
40275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40277         file.
40278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40280         file.
40281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40283         file.
40284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40286         file.
40287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40289         file.
40290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40291         file.
40292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40293         file.
40294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40295         file.
40296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40297         New file.
40298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40299         file.
40300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40301         file.
40302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40304         file.
40305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40307         file.
40308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40310         file.
40311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40313         VIS3 routines.
40314
40315         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40316         New file.
40317
40318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40319
40320         * sysdeps/sparc/configure.in: New file.
40321         * sysdeps/sparc/configure: Generate.
40322         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40323         * configure: Regenerate.
40324         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40325         * config.make.in (have-as-vis3): New.
40326         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40327         available use -Av9d instead of -Av9a.
40328         * sysdeps/sparc/sparc64/Makefile: Likewise.
40329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40331         New file.
40332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40333         file.
40334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40335         New file.
40336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40337         file.
40338         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40339         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40340         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40341         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40342         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40343
40344         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40345         fzeros/fnegs to load 0x80000000 into a float register instead of
40346         using the stack.
40347         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40348
40349 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40350
40351         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40352         bits/syscall.h.
40353         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40354         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40355         ($(inst_includedir)/bits/syscall.h): Remove rule.
40356         ($(objpfx)bits/syscall.d): Include instead of
40357         $(objpfx)syscall-list.d.
40358         (generated): Change syscall-list.h and syscall-list.d to
40359         bits/syscall.h and bits/syscall.d.
40360
40361 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40362
40363         [BZ #13846]
40364         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40365
40366 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40367
40368         [BZ #13841]
40369         * math/s_csqrt.c: Include <float.h>.
40370         (__csqrt): Scale large or subnormal inputs.
40371         * math/s_csqrtf.c: Likewise.
40372         * math/s_csqrtl.c: Likewise.
40373         * math/libm-test.inc (csqrt_test): Add more tests.
40374         * sysdeps/i386/fpu/libm-test-ulps: Update.
40375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40376
40377         [BZ #13840]
40378         * math/libm-test.inc (hypot_test): Add more tests.
40379
40380 2012-03-13  David S. Miller  <davem@davemloft.net>
40381
40382         [BZ #13840]
40383         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40384         double-precision for the calculation instead of scaling.
40385
40386 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40387
40388         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40389         manipulate bits before adding and subtracting TWO52[sx].
40390         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40391         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40392         Likewise.
40393         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40394
40395 2012-03-13  David S. Miller  <davem@davemloft.net>
40396
40397         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40398         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40399         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40400         rtld-global-offsets.h
40401         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40402
40403         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40404         large parameters.
40405
40406         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40407
40408         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40409         'err' in the ifdef scope in which it is actually used.
40410
40411         * nss/nss_db/db-init.c: Include string.h
40412
40413 2012-03-12  David S. Miller  <davem@davemloft.net>
40414
40415         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40416         masking out of the most significant byte of random value used.
40417         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40418         Fix coding style in previous change.
40419
40420         * sysdeps/unix/sysv/linux/kernel-features.h
40421         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40422         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40423         expression.
40424         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40425         later.
40426
40427 2012-03-11  David S. Miller  <davem@davemloft.net>
40428
40429         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40430         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40431         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40432         for 'resultvar' otherwise things get truncated on 64-bit.
40433
40434         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40435         Fix masking out of the most significant byte of random value used.
40436
40437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40438
40439 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40440
40441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40442
40443 2012-03-09  David S. Miller  <davem@davemloft.net>
40444
40445         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40446         variables with appropriate CPP guards.
40447         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40448         from the frame pointer, not the stack pointer.  Correct layout
40449         comments.  Fix test on resulting framesize and the management of
40450         the outregs buffer for pltexit.  Preserve floating point return
40451         values across _dl_call_pltexit call.
40452         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40453         framesize and the management of the outregs buffer for pltexit.
40454         Preserve floating point return values across _dl_call_pltexit
40455         call.
40456         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40457         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40458         (la_sparc64_gnu_pltexit): New functions.
40459         (print_exit): Fix format string for return register value.
40460
40461 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40462
40463         * sunrpc/Makefile (others): Add rpcgen.
40464         ($(objpfx)rpcgen): Remove special build rule and dependency on
40465         libc.
40466         * sunrpc/rpcgen.c: New file.
40467
40468 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40469
40470         [BZ #13673]
40471         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40472         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40473         * sysdeps/i386/crti.S: Likewise.
40474         * sysdeps/i386/crtn.S: Likewise.
40475         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40476         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40477         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40478         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40479         * sysdeps/sh/crti.S: Likewise.
40480         * sysdeps/sh/crtn.S: Likewise.
40481         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40482
40483         [BZ #13673]
40484         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40485         with URL.
40486         * locale/programs/locfile-kw.gperf: Likewise.
40487         * locale/programs/charmap-kw.h: Regenerated.
40488         * locale/programs/locfile-kw.h: Likewise.
40489
40490         [BZ #13673]
40491         * intl/plural.y: Replace FSF snail mail address with URL.
40492         * intl/plural.c: Regenerated.
40493
40494 2012-03-09  Richard Henderson  <rth@twiddle.net>
40495
40496         * include/math_private.h: Remove file.
40497         * math/math_private.h: Move file ...
40498         * sysdeps/generic/math_private.h: ... here.
40499
40500         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40501         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40502         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40503
40504         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40505         and <math_private.h>.
40506         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40507         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40508         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40509         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40510         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40511         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40512         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40513         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40514         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40515         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40516         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40517         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40518         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40519         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40520         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40521         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40522         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40523         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40524         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40525         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40526         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40527         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40528         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40529         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40530         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40531         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40532         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40533         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40534         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40535         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40536         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40537         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40538         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40539         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40540         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40541         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40542         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40543         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40544         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40545         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40546         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40547         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40548         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40549         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40550         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40551         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40552         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40553         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40554         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40555         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40556         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40557         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40558         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40559         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40560         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40561         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40562         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40563         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40564         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40565         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40566         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40567         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40568         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40569         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40570         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40571         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40572         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40573         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40574         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40575         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40576         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40577         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40578         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40579         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40580         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40581         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40582         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40583         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40584         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40585         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40586         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40587         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40588         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40589         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40590         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40591         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40592         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40593         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40594         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40595         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40596         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40597         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40598         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40599         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40600         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40601         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40602         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40603         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40604         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40605         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40606         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40607         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40608         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40609         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40610         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40611         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40612         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40613         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40614         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40615         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40616         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40617         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40618         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40619         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40620         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40621         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40622         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40623         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40624         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40625         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40626         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40627         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40628         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40629         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40630         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40631         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40632         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40633         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40634         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40635         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40636         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40637         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40638         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40639         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40640         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40641         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40642         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40643         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40644         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40645         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40646         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40647         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40648         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40649         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40650         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40651         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40652         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40653         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40654         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40655         * sysdeps/ieee754/k_standard.c: Likewise.
40656         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40657         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40658         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40659         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40660         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40661         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40662         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40663         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40664         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40665         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40666         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40667         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40668         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40669         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40670         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40671         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40672         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40673         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40674         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40675         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40676         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40677         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40678         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40679         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40680         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40681         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40682         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40683         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40684         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40685         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40686         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40687         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40688         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40689         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40690         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40691         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40692         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40693         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40694         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40695         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40696         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40697         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40698         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40699         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40700         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40701         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40702         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40703         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40704         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40705         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40706         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40707         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40708         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40709         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40710         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40711         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40712         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40713         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40714         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40715         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40716         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40717         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40718         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40719         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40720         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40721         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40722         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40723         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40724         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40725         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40726         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40727         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40728         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40729         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40730         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40731         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40732         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40733         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40734         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40735         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40736         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40737         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40738         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40739         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40740         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40741         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40742         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40743         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40744         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40745         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40746         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40747         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40748         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40749         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40750         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40751         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40752         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40753         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40754         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40755         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40756         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40757         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40758         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40759         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40760         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40761         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40762         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40763         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40764         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40765         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40766         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40767         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40768         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40769         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40770         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40771         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40772         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40773         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40774         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40775         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40776         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40777         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40778         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40779         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40780         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40781         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40782         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40783         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40784         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40785         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40786         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40787         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40788         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40789         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40790         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40791         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40792         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40793         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40794         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40795         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40796         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40797         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40798         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40799         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40800         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40801         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40802         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40803         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40804         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40805         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40806         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40807         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40808         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40809         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40810         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40811         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40812         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40813         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40814         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40815         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40816         * sysdeps/ieee754/s_lib_version.c: Likewise.
40817         * sysdeps/ieee754/s_matherr.c: Likewise.
40818         * sysdeps/ieee754/s_signgam.c: Likewise.
40819         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40820         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40821         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40822         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40823         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40824         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40825         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40826         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40827         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40828         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40829         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40830         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40831         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40832         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40833         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40834         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40835         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40836         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40837         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40838         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40839         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40840
40841 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40842
40843         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40844         * sunrpc/rpc_main.c: Likewise.
40845         * sunrpc/rpc_svcout.c: Likewise.
40846
40847 2012-03-09  David S. Miller  <davem@davemloft.net>
40848
40849         * include/math_private.h: New file.
40850
40851 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40852
40853         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40854         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40855         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40856         from <bits/socket_type.h>.
40857         (enum __socket_type): Don't define here.
40858         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40859         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40860         bits/socket_type.h.
40861
40862         [BZ #13566]
40863         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40864         checking __USE_GNU.
40865
40866         * Makerules ($(inst_includedir)/%.h): New rule.
40867         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40868         (install-others): Remove variable setting.
40869         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40870
40871 2012-03-08  Richard Henderson  <rth@twiddle.net>
40872
40873         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40874         from macro to inline function; merge with the
40875         !__LIBC_INTERNAL_MATH_INLINES version.
40876         (__ieee754_sqrtf): Likewise.
40877
40878         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40879         to inline function.
40880         (__rintf, __floor, __floorf): Likewise.
40881
40882         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40883         macro to inline function.
40884         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40885
40886         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40887         not <math/math_private.h>.
40888
40889 2012-03-08  David S. Miller  <davem@davemloft.net>
40890
40891         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40892         copyright year.
40893         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40894
40895 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40896
40897         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40898         normalization.
40899         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40900         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40901
40902 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40903
40904         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40905         be defined individually, they must be defined as a block.  Define
40906         S for printing a string instead of hidint the different by using a
40907         macro for adding the 'l'.
40908         * stdio-common/tst-fphex-wide.c: Adjust.
40909
40910 2012-03-07  Marek Polacek  <polacek@redhat.com>
40911
40912         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40913
40914 2012-03-08  Marek Polacek  <polacek@redhat.com>
40915
40916         [BZ #13806]
40917         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40918         * stdio-common/tst-fphex.c: Define a few macros to make the
40919         test reusable.  Use them.
40920         * stdio-common/tst-fphex-wide.c: New file.
40921
40922 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40923
40924         [BZ #6911]
40925         * manual/macros.texi (gnusystems): New macro.
40926         (nongnusystems): Likewise.
40927         (gnulinuxhurdsystems): Likewise.
40928         (gnuhurdsystems): Likewise..
40929         (gnulinuxsystems): Likewise.
40930         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40931         variants of the GNU system, not "GNU system".
40932         * manual/conf.texi: Likewise.
40933         * manual/errno.texi: Likewise.  Update example of errno macro
40934         expansion.
40935         * manual/filesys.texi: Likewise.
40936         (getumask): Document as specific to GNU/Hurd.
40937         * manual/install.texi: Likewise.  Reword some references to
40938         GNU/Linux.
40939         * manual/intro.texi: Likewise.
40940         * manual/io.texi: Likewise.
40941         (File Name Portability): Detail which constraints are inapplicable
40942         to all GNU systems and which are only inapplicable to GNU/Hurd.
40943         * manual/job.texi: Likewise.
40944         * manual/llio.texi: Likewise.
40945         (O_NOCTTY): Document as present on GNU/Linux.
40946         * manual/maint.texi: Likewise.
40947         * manual/memory.texi: Likewise.
40948         * manual/pattern.texi: Likewise.
40949         * manual/pipe.texi: Likewise.
40950         * manual/process.texi: Likewise.
40951         * manual/resource.texi: Likewise.
40952         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40953         child on GNU/Hurd.
40954         * manual/setjmp.texi: Likewise.
40955         * manual/signal.texi: Likewise.
40956         * manual/startup.texi: Likewise.
40957         * manual/stdio.texi: Likewise.
40958         * manual/terminal.texi: Likewise.
40959         (ONLCR): Document as POSIX.
40960         (OXTABS): Document availability on GNU/Linux as XTABS.
40961         (ONOEOT): Document availability separately from other bits.
40962         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40963         * manual/time.texi: Likewise.
40964         * manual/users.texi: Likewise.
40965         * INSTALL: Regenerated.
40966         * sysdeps/gnu/errlist.c: Regenerated.
40967
40968         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40969         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40970         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40971         puts.
40972         * configure: Regenerated.
40973
40974 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40975
40976         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40977         default includes instead of AC_HEADER_CHECK.
40978         * sysdeps/i386/configure: Regenerated.
40979
40980         [BZ #10716]
40981         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40982         * math/s_cacoshf.c (__cacoshf): Likewise.
40983         * math/s_cacoshl.c (__cacoshl): Likewise.
40984         * math/s_casinh.c (__casinh): Set signs of result from argument.
40985         * math/s_casinhf.c (__casinhf): Likewise.
40986         * math/s_casinhl.c (__casinhl): Likewise.
40987         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40988         (casinh_test): Add more tests.
40989         * sysdeps/i386/fpu/libm-test-ulps: Update.
40990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40991
40992 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40993
40994         * po/zh_TW.po: Update from translation team.
40995
40996         * login/Makefile (distribute): Remove variable.
40997         * catgets/Makefile: Likewise.
40998         * mach/Makefile: Likewise.
40999         * malloc/Makefile: Likewise.
41000         * misc/Makefile: Likewise.
41001         * iconv/Makefile: Likewise.
41002         * nscd/Makefile: Likewise.
41003         * hurd/Makefile: Likewise.
41004         * manual/Makefile: Likewise.
41005         * locale/Makefile: Likewise.
41006         * intl/Makefile: Likewise.
41007         * conform/Makefile: Likewise.
41008         * nss/Makefile: Likewise.
41009         * time/Makefile: Likewise.
41010         * soft-fp/Makefile: Likewise.
41011         * dirent/Makefile: Likewise.
41012         * gmon/Makefile: Likewise.
41013         * po/Makefile: Likewise.
41014         * rt/Makefile: Likewise.
41015         * socket/Makefile: Likewise.
41016         * math/Makefile: Likewise.
41017         * signal/Makefile: Likewise.
41018         * debug/Makefile: Likewise.
41019         * elf/Makefile: Likewise.
41020         * timezone/Makefile: Likewise.
41021         * stdlib/Makefile: Likewise.
41022         * iconvdata/Makefile: Likewise.
41023         * sunrpc/Makefile: Likewise.
41024         * io/Makefile: Likewise.
41025         * argp/Makefile: Likewise.
41026         * inet/Makefile: Likewise.
41027         * hesiod/Makefile: Likewise.
41028         * grp/Makefile: Likewise.
41029         * csu/Makefile: Likewise.
41030         * wctype/Makefile: Likewise.
41031         * crypt/Makefile: Likewise.
41032         * libio/Makefile: Likewise.
41033         * string/Makefile: Likewise.
41034         * nis/Makefile: Likewise.
41035         * resolv/Makefile: Likewise.
41036         * stdio-common/Makefile: Likewise.
41037         * wcsmbs/Makefile: Likewise.
41038         * dlfcn/Makefile: Likewise.
41039         * posix/Makefile: Likewise.
41040
41041         [BZ #6959]
41042         * timezone/Makefile: Don't install timezone files, just the programs
41043         and scripts.
41044
41045 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41046
41047         * nss/databases.def: Add missing gshadow entry.
41048
41049         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41050
41051 2012-03-06  Marek Polacek  <polacek@redhat.com>
41052
41053         [BZ #13726]
41054         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41055         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41056         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41057         * stdio-common/tst-long-dbl-fphex.c: New file.
41058
41059 2012-03-06  David S. Miller  <davem@davemloft.net>
41060
41061         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41062         (set_obp_int): New function.
41063         (get_obp_int): New function.
41064         (__get_clockfreq_via_dev_openprom): Likewise.
41065         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41066         Avoid unused variable warnings on 'val' and use builtin_expect.
41067         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41068         __builtin_expect.
41069         (INLINE_CLONE_SYSCALL): Likewise.
41070
41071 2012-03-05  David S. Miller  <davem@davemloft.net>
41072
41073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41074
41075 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41076
41077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41078
41079         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41080         only for |x| >= 40.
41081         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41082
41083 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41084
41085         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41086         Replace gettimeofday with __vdso_gettimeofday.
41087
41088         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41089         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41090         __vdso_clock_gettime and __vdso_getcpu.
41091
41092         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41093         time with __vdso_time.
41094
41095 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41096
41097         * manual/lang.texi (size_t): Note types to which size_t may be
41098         equivalent with the GNU C Library, but do not describe when
41099         differences between them are significant.
41100
41101 2012-03-05  Andreas Jaeger  <aj@suse.de>
41102
41103         * sysdeps/i386/fpu/libm-test-ulps: Update.
41104
41105 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41106
41107         [BZ #3976]
41108         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41109         (__ieee754_pow): Save and restore rounding mode and use
41110         round-to-nearest for main computations.
41111         * math/libm-test.inc (pow_test_tonearest): New function.
41112         (pow_test_towardzero): Likewise.
41113         (pow_test_downward): Likewise.
41114         (pow_test_upward): Likewise.
41115         (main): Call the new functions.
41116         * sysdeps/i386/fpu/libm-test-ulps: Update.
41117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41118
41119         [BZ #3976]
41120         * math/libm-test.inc (cosh_test_tonearest): New function.
41121         (cosh_test_towardzero): Likewise.
41122         (cosh_test_downward): Likewise.
41123         (cosh_test_upward): Likewise.
41124         (sinh_test_tonearest): Likewise.
41125         (sinh_test_towardzero): Likewise.
41126         (sinh_test_downward): Likewise.
41127         (sinh_test_upward): Likewise.
41128         (main): Call the new functions.
41129         * sysdeps/i386/fpu/libm-test-ulps: Update.
41130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41131
41132 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41133
41134         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41135         default stack guard is set in last bytes.
41136         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41137
41138 2012-03-05  Kees Cook  <keescook@chromium.org>
41139
41140         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41141
41142         [BZ #13656]
41143         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41144         possibly allocate from heap instead of stack.
41145         * stdio-common/bug-vfprintf-nargs.c: New file.
41146         * stdio-common/Makefile (tests): Add nargs overflow test.
41147
41148 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41149
41150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41151
41152 2012-03-03  Marek Polacek  <polacek@redhat.com>
41153
41154         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41155         * math/math_private.h: Likewise.
41156         * stdlib/tst-strtod.c: Likewise.
41157         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41158         * sysdeps/x86_64/bits/atomic.h: Likewise.
41159
41160 2012-03-02  David S. Miller  <davem@davemloft.net>
41161
41162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41166         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41167         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41168         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41169         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41170
41171 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41172
41173         [BZ #13792]
41174         * manual/examples/README: New file, says the example source files
41175         can be used under GPL>=2.
41176         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41177         line containing just "*/".
41178         * manual/examples/add.c: Add copyright header (GPL>=2).
41179         * manual/examples/argp-ex1.c: Likewise.
41180         * manual/examples/argp-ex2.c: Likewise.
41181         * manual/examples/argp-ex3.c: Likewise.
41182         * manual/examples/argp-ex4.c: Likewise.
41183         * manual/examples/atexit.c: Likewise.
41184         * manual/examples/db.c: Likewise.
41185         * manual/examples/dir.c: Likewise.
41186         * manual/examples/dir2.c: Likewise.
41187         * manual/examples/execinfo.c: Likewise.
41188         * manual/examples/filecli.c: Likewise.
41189         * manual/examples/filesrv.c: Likewise.
41190         * manual/examples/fmtmsgexpl.c: Likewise.
41191         * manual/examples/genpass.c: Likewise.
41192         * manual/examples/inetcli.c: Likewise.
41193         * manual/examples/inetsrv.c: Likewise.
41194         * manual/examples/isockad.c: Likewise.
41195         * manual/examples/longopt.c: Likewise.
41196         * manual/examples/memopen.c: Likewise.
41197         * manual/examples/memstrm.c: Likewise.
41198         * manual/examples/mkfsock.c: Likewise.
41199         * manual/examples/mkisock.c: Likewise.
41200         * manual/examples/mygetpass.c: Likewise.
41201         * manual/examples/pipe.c: Likewise.
41202         * manual/examples/popen.c: Likewise.
41203         * manual/examples/rprintf.c: Likewise.
41204         * manual/examples/search.c: Likewise.
41205         * manual/examples/select.c: Likewise.
41206         * manual/examples/setjmp.c: Likewise.
41207         * manual/examples/sigh1.c: Likewise.
41208         * manual/examples/sigusr.c: Likewise.
41209         * manual/examples/stpcpy.c: Likewise.
41210         * manual/examples/strdupa.c: Likewise.
41211         * manual/examples/strftim.c: Likewise.
41212         * manual/examples/strncat.c: Likewise.
41213         * manual/examples/subopt.c: Likewise.
41214         * manual/examples/swapcontext.c: Likewise.
41215         * manual/examples/termios.c: Likewise.
41216         * manual/examples/testopt.c: Likewise.
41217         * manual/examples/testpass.c: Likewise.
41218         * manual/examples/timeval_subtract.c: Likewise.
41219
41220         [BZ #13792]
41221         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41222         function to ...
41223         * manual/timeval_subtract.c.texi: ... here, new file.
41224
41225 2012-03-02  David S. Miller  <davem@davemloft.net>
41226
41227         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41228
41229 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41230
41231         [BZ #3976]
41232         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41233         (__sin): Save and restore rounding mode and use round-to-nearest
41234         for all computations.
41235         (__cos): Save and restore rounding mode and use round-to-nearest
41236         for all computations.
41237         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41238         <fenv.h>.
41239         (tan): Save and restore rounding mode and use round-to-nearest for
41240         all computations.
41241         * math/libm-test.inc (cos_test_tonearest): New function.
41242         (cos_test_towardzero): Likewise.
41243         (cos_test_downward): Likewise.
41244         (cos_test_upward): Likewise.
41245         (sin_test_tonearest): Likewise.
41246         (sin_test_towardzero): Likewise.
41247         (sin_test_downward): Likewise.
41248         (sin_test_upward): Likewise.
41249         (tan_test_tonearest): Likewise.
41250         (tan_test_towardzero): Likewise.
41251         (tan_test_downward): Likewise.
41252         (tan_test_upward): Likewise.
41253         (main): Call the new functions.
41254         * sysdeps/i386/fpu/libm-test-ulps: Update.
41255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41256
41257         [BZ #10135]
41258         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41259         small n, then large n, before computing and testing k+n.
41260         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41261         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41262         Likewise.
41263         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41264         Likewise.
41265         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41266         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41267         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41268         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41269         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41270         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41271         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41272         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41273         * math/libm-test.inc (scalbn_test): Add more tests.
41274         (scalbln_test): Likewise.
41275
41276         * manual/filesys.texi (mode_t): Describe constraints on size and
41277         signedness, not exact equivalence to a particular type.
41278         (ino_t): Likewise.
41279         (ino64_t): Likewise.
41280         (dev_t): Likewise.
41281         (nlink_t): Likewise.
41282         (blkcnt_t): Likewise.
41283         (blkcnt64_t): Likewise.
41284         * manual/llio.texi (off_t): Likewise.
41285
41286         [BZ #3976]
41287         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41288         (__ieee754_exp): Save and restore rounding mode and use
41289         round-to-nearest for all computations.
41290         * math/libm-test.inc (exp_test_tonearest): New function.
41291         (exp_test_towardzero): Likewise.
41292         (exp_test_downward): Likewise.
41293         (exp_test_upward): Likewise.
41294         (main): Call the new functions.
41295         * sysdeps/i386/fpu/libm-test-ulps: Update.
41296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41297
41298 2012-03-01  Chris Demetriou  <cgd@google.com>
41299
41300         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41301         have predictable order.
41302
41303 2012-03-01  David S. Miller  <davem@davemloft.net>
41304
41305         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41306
41307         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41308         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41309         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41310         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41311
41312         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41313         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41314         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41316         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41317         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41318         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41319         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41320         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41321
41322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41323
41324         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41325         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41326         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41327
41328         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41329         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41330         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41331         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41332         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41333         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41334         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41335         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41336         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41337         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41338         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41339         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41340         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41341         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41342         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41343         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41344         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41345         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41346         * sysdeps/sparc/elf/configure: Regenerated.
41347
41348 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41349
41350         * configure.in (AS, LD): Require binutils 2.20 or later.
41351         * configure: Regenerated.
41352         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41353         as required minimum version.
41354         * INSTALL: Regenerated.
41355
41356         [BZ #2541]
41357         [BZ #4108]
41358         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41359         before squaring exponent.
41360         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41361         bottom long double and 27 bits of top long double before squaring
41362         exponent.
41363         * math/libm-test.inc (erfc_test): Add more tests.
41364         * sysdeps/i386/fpu/libm-test-ulps: Update.
41365         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41367
41368 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41369
41370         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41371         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41372         containing bit-fields.
41373         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41374         * soft-fp/single.h (_FP_UNION_S): Likewise.
41375         * soft-fp/double.h (_FP_UNION_D): Likewise.
41376
41377 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41378
41379         [BZ #13786]
41380         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41381         not include ../strcmp.S.
41382         [USE_AS_STRNCASECMP_L]: Likewise.
41383         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41384         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41385         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41386         (__strncasecmp_l_ia32): Define as alias to
41387         __strncasecmp_l_nonascii.
41388
41389         [BZ #5794]
41390         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41391         * sysdeps/i386/fpu/libm-test-ulps: Update.
41392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41393
41394         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41396
41397 2012-02-29  Jeff Law  <law@redhat.com>
41398
41399         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41400         out of bounds read.
41401
41402 2012-02-29  Marek Polacek  <polacek@redhat.com>
41403
41404         [BZ #13706]
41405         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41406         * elf/Makefile: Add rules to run tst-unused-dep.out.
41407
41408 2012-02-28  David S. Miller  <davem@davemloft.net>
41409
41410         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41411         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41412         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41413         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41414         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41415         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41416
41417 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41418
41419         * math/libm-test.inc (llround_test): Move one test from
41420         lround_test.  Use TEST_f_L in moved test.
41421         (lround_test): Move misplaced test to llround_test.  Add testcase
41422         from bug 2561.
41423
41424 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41425
41426         * sysdeps/x86_64/fpu/e_expf.S: New file.
41427         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41428
41429 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41430
41431         [BZ #13637]
41432         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41433         of remain_len that may cause incomplete multi-byte character and
41434         false match.
41435         * posix/bug-regex33.c: New file.
41436         * posix/Makefile (tests): Add bug-regex33.
41437
41438 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41439
41440         * manual/macros.texi: New file.
41441         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41442         * manual/libc.texinfo: Include macros.texi.
41443         * manual/creatute.texi: Likewise.
41444         * manual/install.texi: Likewise.
41445         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41446         @glibcadj{} in references to the GNU C Library.
41447         * manual/charset.texi: Likewise.
41448         * manual/conf.texi: Likewise.
41449         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41450         when not using those macros.
41451         * manual/creature.texi: Likewise.
41452         * manual/crypt.texi: Likewise.
41453         * manual/errno.texi: Likewise.
41454         * manual/filesys.texi: Likewise.
41455         * manual/header.texi: Likewise.
41456         * manual/install.texi: Likewise.
41457         * manual/intro.texi: Likewise.
41458         * manual/io.texi: Likewise.
41459         * manual/job.texi: Likewise.
41460         * manual/lang.texi: Likewise.
41461         * manual/libc.texiinfo: Likewise.
41462         * manual/llio.texi: Likewise.
41463         * manual/locale.texi: Likewise.
41464         * manual/maint.texi: Likewise.
41465         * manual/math.texi: Likewise.
41466         * manual/memory.texi: Likewise.
41467         * manual/message.texi: Likewise.
41468         * manual/nss.texi: Likewise.
41469         * manual/pattern.texi: Likewise.
41470         * manual/process.texi: Likewise.
41471         * manual/resource.texi: Likewise.
41472         * manual/search.texi: Likewise.
41473         * manual/setjmp.texi: Likewise.
41474         * manual/signal.texi: Likewise.
41475         * manual/socket.texi: Likewise.
41476         * manual/startup.texi: Likewise.
41477         * manual/stdio.texi: Likewise.
41478         * manual/string.texi: Likewise.
41479         * manual/sysinfo.texi: Likewise.
41480         * manual/syslog.texi: Likewise.
41481         * manual/terminal.texi: Likewise.
41482         * manual/time.texi: Likewise.
41483         * manual/users.texi: Likewise.
41484         * INSTALL: Regenerated.
41485         * NOTES: Regenerated.
41486         * sysdeps/gnu/errlist.c: Regenerated.
41487
41488 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41489
41490         * include/dirent.h: Include <dirstream.h> before
41491         <dirent/dirent.h>.
41492
41493 2012-02-28  David S. Miller  <davem@davemloft.net>
41494
41495         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41496         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41497         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41498         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41499
41500 2012-02-27  David S. Miller  <davem@davemloft.net>
41501
41502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41504         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41505         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41506
41507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41508         frame pointer instead of stack pointer relative arg slot.
41509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41510         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41511         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41512
41513 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41514
41515         [BZ #3992]
41516         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41517
41518 2012-02-27  David S. Miller  <davem@davemloft.net>
41519
41520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41524         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41525         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41526         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41527         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41528
41529 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41530
41531         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41532         later.  Allow versions 5-9.
41533         * configure: Regenerated.
41534         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41535         required minimum version and 4.6 as recommended version.  Do not
41536         mention bugs in GCC 2.7 and 2.8.
41537         * INSTALL: Regenerated.
41538
41539 2012-02-27  David S. Miller  <davem@davemloft.net>
41540
41541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41545         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41546         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41547         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41548         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41549
41550         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41551         manipulate bits before adding and subtracting TWO112[sx].
41552         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41553
41554 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41555
41556         [BZ #13775]
41557         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41558         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41559         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41560         being in POSIX, because they are in 1003.1-2008.
41561
41562         * rt/tst-aio.c: Include <fcntl.h>.
41563         * rt/tst-aio7.c: Likewise.
41564         * rt/tst-aio64.c: Likewise.
41565
41566         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41567
41568 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41569
41570         * manual/install.texi (--with-headers): Describe headers as
41571         interface headers, not private headers.
41572         (Specific advice for GNU/Linux systems): Describe use of headers
41573         from "make headers_install", not private headers from older
41574         kernels.
41575         * INSTALL: Regenerated.
41576         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41577         Change to 2.6.19.
41578         * sysdeps/unix/sysv/linux/configure: Regenerated.
41579
41580         * manual/llio.texi (fclean): Remove documentation.
41581
41582         * manual/Makefile (libc-texi-generated): New variable.  Include
41583         version.texi.
41584         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41585         $(libc-texi-generated), not duplicated list of files.
41586         (version.texi, stamp-version): New rules.
41587         (realclean): Remove $(libc-texi-generated), not individual files
41588         from that list.  Do not remove dir-add.texinfo.
41589         * manual/libc.texinfo: Comment out uses of edition numbers and
41590         references to printed manual.  Remove last-updated dates.
41591         (EDITION): Comment out.
41592         (ISBN): Likewise.
41593         (VERSION, UPDATED): Remove.
41594         (version.texi): Include.
41595
41596 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41597
41598         * sysdeps/posix/spawni.c: Include <signal.h>.
41599         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41600         * sysdeps/pthread/aio_fsync.c: Likewise.
41601
41602 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41603
41604         * conform/Makefile (tests): Run only when not cross-compiling and
41605         when fast-check is not defined.
41606
41607         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41608         * conform/data/limits.h-data: Fixes for POSIX2008.
41609         * conform/run-conformtest.sh: Run all tests.
41610         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41611         headers.
41612         * include/bits/dlfcn.h: Likewise.
41613         * include/langinfo.h: Likewise.
41614         * include/monetary.h: Likewise.
41615         * include/sys/poll.h: Likewise.
41616
41617         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41618         for __USE_GNU.
41619         * posix/spawn.h: Define __need_sigset_t.
41620         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41621         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41622         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41623         to get sigevent_t only.
41624         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41625         only for __USE_GNU.
41626         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41627         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41628         process_vm_writev only for __USE_GNU.
41629         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41630
41631         * conform/Makefile: For now ignore errors from run-conformtest.
41632         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41633         POSIX to avoid namespace pollution.  Don't prepend headers.
41634         * conform/data/aio.h-data: Fixes for POSIX testing.
41635         * conform/data/fcntl.h-data: Likewise.
41636         * conform/data/glob.h-data: Likewise.
41637         * conform/data/grp.h-data: Likewise.
41638         * conform/data/pthread.h-data: Likewise.
41639         * conform/data/pwd.h-data: Likewise.
41640         * conform/data/signal.h-data: Likewise.
41641         * conform/data/spawn.h-data: Likewise.
41642         * conform/data/stdio.h-data: Likewise.
41643         * conform/data/stdlib.h-data: Likewise.
41644         * conform/data/stropts.h-data: Likewise.
41645         * conform/data/sys/mman.h-data: Likewise.
41646         * conform/data/sys/stat.h-data: Likewise.
41647         * conform/data/sys/types.h-data: Likewise.
41648         * conform/data/sys/wait.h-data: Likewise.
41649         * conform/data/time.h-data: Likewise.
41650         * conform/data/unistd.h-data: Likewise.
41651         * conform/data/utime.h-data: Likewise.
41652
41653         * io/sys/stat.h: fchmod was always in POSIX.
41654         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41655         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41656         * rt/aio.h: Define __need_timespec before including <time.h>.
41657         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41658         struct.  Add forward declaration of pthread_attr_t and use it in
41659         sigevent.
41660         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41661         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41662         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41663         always remove CLK_TCK definition.
41664
41665 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41666
41667         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41668
41669 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41670
41671         * conform/run-conformtest.sh: New file.
41672         * conform/Makefile: Run run-conformtest for tests.
41673         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41674         support.
41675
41676         * conform/data/uchar.h-data: New file.
41677         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41678         * conform/data/arpa/inet.h-data: Likewise.
41679         * conform/data/assert.h-data: Likewise.
41680         * conform/data/complex.h-data: Likewise.
41681         * conform/data/cpio.h-data: Likewise.
41682         * conform/data/ctype.h-data: Likewise.
41683         * conform/data/dirent.h-data: Likewise.
41684         * conform/data/dlfcn.h-data: Likewise.
41685         * conform/data/errno.h-data: Likewise.
41686         * conform/data/fcntl.h-data: Likewise.
41687         * conform/data/float.h-data: Likewise.
41688         * conform/data/fmtmsg.h-data: Likewise.
41689         * conform/data/fnmatch.h-data: Likewise.
41690         * conform/data/ftw.h-data: Likewise.
41691         * conform/data/glob.h-data: Likewise.
41692         * conform/data/grp.h-data: Likewise.
41693         * conform/data/iconv.h-data: Likewise.
41694         * conform/data/inttypes.h-data: Likewise.
41695         * conform/data/langinfo.h-data: Likewise.
41696         * conform/data/libgen.h-data: Likewise.
41697         * conform/data/limits.h-data: Likewise.
41698         * conform/data/locale.h-data: Likewise.
41699         * conform/data/math.h-data: Likewise.
41700         * conform/data/monetary.h-data: Likewise.
41701         * conform/data/mqueue.h-data: Likewise.
41702         * conform/data/ndbm.h-data: Likewise.
41703         * conform/data/net/if.h-data: Likewise.
41704         * conform/data/netdb.h-data: Likewise.
41705         * conform/data/netinet/in.h-data: Likewise.
41706         * conform/data/nl_types.h-data: Likewise.
41707         * conform/data/poll.h-data: Likewise.
41708         * conform/data/pthread.h-data: Likewise.
41709         * conform/data/pwd.h-data: Likewise.
41710         * conform/data/regex.h-data: Likewise.
41711         * conform/data/sched.h-data: Likewise.
41712         * conform/data/search.h-data: Likewise.
41713         * conform/data/semaphore.h-data: Likewise.
41714         * conform/data/setjmp.h-data: Likewise.
41715         * conform/data/signal.h-data: Likewise.
41716         * conform/data/spawn.h-data: Likewise.
41717         * conform/data/stdarg.h-data: Likewise.
41718         * conform/data/stdio.h-data: Likewise.
41719         * conform/data/stdlib.h-data: Likewise.
41720         * conform/data/string.h-data: Likewise.
41721         * conform/data/strings.h-data: Likewise.
41722         * conform/data/stropts.h-data: Likewise.
41723         * conform/data/sys/ipc.h-data: Likewise.
41724         * conform/data/sys/mman.h-data: Likewise.
41725         * conform/data/sys/msg.h-data: Likewise.
41726         * conform/data/sys/resource.h-data: Likewise.
41727         * conform/data/sys/select.h-data: Likewise.
41728         * conform/data/sys/sem.h-data: Likewise.
41729         * conform/data/sys/shm.h-data: Likewise.
41730         * conform/data/sys/socket.h-data: Likewise.
41731         * conform/data/sys/stat.h-data: Likewise.
41732         * conform/data/sys/statvfs.h-data: Likewise.
41733         * conform/data/sys/time.h-data: Likewise.
41734         * conform/data/sys/timeb.h-data: Likewise.
41735         * conform/data/sys/times.h-data: Likewise.
41736         * conform/data/sys/types.h-data: Likewise.
41737         * conform/data/sys/uio.h-data: Likewise.
41738         * conform/data/sys/un.h-data: Likewise.
41739         * conform/data/sys/utsname.h-data: Likewise.
41740         * conform/data/sys/wait.h-data: Likewise.
41741         * conform/data/syslog.h-data: Likewise.
41742         * conform/data/tar.h-data: Likewise.
41743         * conform/data/termios.h-data: Likewise.
41744         * conform/data/utime.h-data: Likewise.
41745         * conform/data/utmpx.h-data: Likewise.
41746         * conform/data/varargs.h-data: Likewise.
41747         * conform/data/wchar.h-data: Likewise.
41748         * conform/data/wctype.h-data: Likewise.
41749         * conform/data/wordexp.h-data: Likewise.
41750
41751         * include/stropts.h: New file.
41752         * include/uchar.h: New file.
41753         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41754         * include/assert.h: Likewise.
41755         * include/ctype.h: Likewise.
41756         * include/dirent.h: Likewise.
41757         * include/dlfcn.h: Likewise.
41758         * include/fcntl.h: Likewise.
41759         * include/fnmatch.h: Likewise.
41760         * include/glob.h: Likewise.
41761         * include/grp.h: Likewise.
41762         * include/libio.h: Likewise.
41763         * include/locale.h: Likewise.
41764         * include/math.h: Likewise.
41765         * include/net/if.h: Likewise.
41766         * include/netdb.h: Likewise.
41767         * include/netinet/in.h: Likewise.
41768         * include/pthread.h: Likewise.
41769         * include/pwd.h: Likewise.
41770         * include/regex.h: Likewise.
41771         * include/sched.h: Likewise.
41772         * include/search.h: Likewise.
41773         * include/setjmp.h: Likewise.
41774         * include/signal.h: Likewise.
41775         * include/stdio.h: Likewise.
41776         * include/stdlib.h: Likewise.
41777         * include/string.h: Likewise.
41778         * include/sys/cdefs.h: Likewise.
41779         * include/sys/mman.h: Likewise.
41780         * include/sys/msg.h: Likewise.
41781         * include/sys/resource.h: Likewise.
41782         * include/sys/select.h: Likewise.
41783         * include/sys/socket.h: Likewise.
41784         * include/sys/stat.h: Likewise.
41785         * include/sys/statvfs.h: Likewise.
41786         * include/sys/time.h: Likewise.
41787         * include/sys/times.h: Likewise.
41788         * include/sys/uio.h: Likewise.
41789         * include/sys/utsname.h: Likewise.
41790         * include/sys/wait.h: Likewise.
41791         * include/termios.h: Likewise.
41792         * include/time.h: Likewise.
41793         * include/ulimit.h: Likewise.
41794         * include/unistd.h: Likewise.
41795         * include/utime.h: Likewise.
41796         * include/wchar.h: Likewise.
41797         * include/wctype.h: Likewise.
41798         * include/wordexp.h: Likewise.
41799
41800         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41801
41802         * time/time.h: TIME_UTC must be a macro.
41803         Make timespec_get available for ISO C11 only as well.
41804
41805 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41806
41807         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41808         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41809
41810 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41811
41812         * configure.in: Use -o not -a in test for unsupported multi-arch.
41813
41814 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41815
41816         * manual/texinfo.tex: Update to version 2012-01-19.16.
41817
41818 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41819
41820         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41821
41822 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41823
41824         [BZ #13738]
41825         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41826         * manual/fdl-1.3.texi: New file.
41827         * manual/fdl-1.1.texi: File removed.
41828
41829         [BZ #13738]
41830         * manual/libc.texinfo (FDL_VERSION): New @set.
41831         Use it for mention of FDL in cover text.
41832         (Documentation License): Use it in @include file name.
41833
41834 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41835             Roland McGrath  <roland@hack.frob.com>
41836
41837         [BZ #5461]
41838         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41839         (not LONG_LONG_MAX and LONG_LONG_MIN.
41840         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41841         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41842         name.
41843         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41844
41845 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41846
41847         [BZ #2547]
41848         [BZ #11365]
41849         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41850         manipulate bits before adding and subtracting TWO23[sx].
41851         * math/libm-test.inc (nearbyint_test): Add more tests.
41852
41853 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41854
41855         [BZ #2548]
41856         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41857         bits before adding and subtracting TWO23[sx].
41858         * math/libm-test.inc (rint_test): Add more tests.
41859         (rint_test_tonearest): Likewise.
41860         (rint_test_towardzero): Likewise.
41861         (rint_test_downward): Likewise.
41862         (rint_test_upward: Likewise.
41863
41864 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41865
41866         [BZ #10110]
41867         * include/stdc-predef.h: New file.  Extracted from features.h.
41868         * include/features.h: Include stdc-predef.h.
41869         * Makefile (headers): Add stdc-predef.h.
41870         * CONFORMANCE (Compiler limitations): Update.
41871
41872 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41873
41874         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41875
41876 2012-02-21  David S. Miller  <davem@davemloft.net>
41877
41878         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41879         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41880
41881 2012-02-20  David S. Miller  <davem@davemloft.net>
41882
41883         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41884         using a normal save/restore sequence, rather than allocating a
41885         dummy stack frame just to store a frame pointer and restore.
41886         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41887
41888 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41889
41890         * manual/install.texi: Fix stray word in line-wrapped comment.
41891
41892 2012-02-20  David S. Miller  <davem@davemloft.net>
41893
41894         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41895         both binutils and gcc support GOTDATA.
41896
41897         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41898         "rd %pc" in the PIC register setup sequences.
41899
41900         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41901         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41902         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41903         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41904         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41905         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41906         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41907         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41908         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41909         (SYSCALL_ERROR_HANDLER): Likewise.
41910         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41911         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41912         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41913         (SYSCALL_ERROR_HANDLER): Likewise.
41914
41915         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41916         (HAVE_GCC_GOTDATA): New.
41917         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41918         relocation support in both binutils and gcc.
41919         * sysdeps/sparc/elf/configure: Regenerate.
41920
41921         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41922         * sysdeps/sparc/sparc32/elf/configure: Delete.
41923         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41924         * sysdeps/sparc/sparc64/elf/configure: Delete.
41925         * sysdeps/sparc/elf/configure.in: New file.
41926         * sysdeps/sparc/elf/configure: Generate.
41927
41928         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41929         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41930         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41931         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41932         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41933
41934 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41935
41936         * manual/install.texi: Do not mention specific glibc version
41937         numbers.
41938         * manual/libc.texinfo (VERSION, UPDATED): Update.
41939         (@copying): Use @copyright{} and range of years.
41940
41941 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41942
41943         [BZ #13695]
41944         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41945         [crti.S not in sysdirs] (generated): Do not append.
41946         [crti.S not in sysdirs] (omit-deps): Likewise.
41947         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41948         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41949         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41950         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41951         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41952         Likewise.
41953         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41954         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41955         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41956         * csu/defs.awk: Remove file.
41957         * sysdeps/generic/initfini.c: Likewise.
41958         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41959         variable.
41960         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41961         Likewise.
41962
41963 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41964
41965         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41966         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41967         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41968         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41969         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41970         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41971         <bits/epoll.h>.
41972         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41973         (__EPOLL_PACKED): Define to empty if not defined by
41974         <bits/epoll.h>.
41975         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41976         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41977         bits/epoll.h.
41978
41979 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41980
41981         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41982         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41983         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41984         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41985         <bits/timerfd.h>.
41986         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41987         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41988         bits/timerfd.h.
41989
41990 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41991
41992         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41993         in C locale.
41994         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41995         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41996         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41998
41999 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42000
42001         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42002         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42003
42004 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42005
42006         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42007         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42008         defined.
42009         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42010         Likewise.
42011         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42012         entry for 2.16.
42013
42014 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42015
42016         * math/w_acos.c: Use non-signaling floating-point comparisons.
42017         * math/w_acosf.c: Likewise.
42018         * math/w_acosh.c: Likewise.
42019         * math/w_acoshf.c: Likewise.
42020         * math/w_acoshl.c: Likewise.
42021         * math/w_acosl.c: Likewise.
42022         * math/w_asin.c: Likewise.
42023         * math/w_asinf.c: Likewise.
42024         * math/w_asinl.c: Likewise.
42025         * math/w_atanh.c: Likewise.
42026         * math/w_atanhf.c: Likewise.
42027         * math/w_atanhl.c: Likewise.
42028         * math/w_exp2.c: Likewise.
42029         * math/w_exp2f.c: Likewise.
42030         * math/w_exp2l.c: Likewise.
42031         * math/w_j0.c: Likewise.
42032         * math/w_j0f.c: Likewise.
42033         * math/w_j0l.c: Likewise.
42034         * math/w_j1.c: Likewise.
42035         * math/w_j1f.c: Likewise.
42036         * math/w_j1l.c: Likewise.
42037         * math/w_jn.c: Likewise.
42038         * math/w_jnf.c: Likewise.
42039         * math/w_log.c: Likewise.
42040         * math/w_log10.c: Likewise.
42041         * math/w_log10f.c: Likewise.
42042         * math/w_log10l.c: Likewise.
42043         * math/w_log2.c: Likewise.
42044         * math/w_log2f.c: Likewise.
42045         * math/w_log2l.c: Likewise.
42046         * math/w_logf.c: Likewise.
42047         * math/w_logl.c: Likewise.
42048         * math/w_sqrt.c: Likewise.
42049         * math/w_sqrtf.c: Likewise.
42050         * math/w_sqrtl.c: Likewise.
42051         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42052         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42053         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42054         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42055         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42056
42057 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42058
42059         [BZ #9739]
42060         * manual/string.texi (strnlen): Use correct parameter name in
42061         equivalent expression.
42062
42063 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42064
42065         [BZ #11174]
42066         * manual/users.texi (seteuid): Consistently use neweuid for
42067         argument name.
42068
42069 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42070
42071         [BZ #13704]
42072         * manual/nss.texi (Services in the NSS configuration): Correct
42073         list of services in example configuration file.
42074
42075 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42076
42077         [BZ #11322]
42078         * manual/arith.texi: Remove statements about negative zero
42079         behaving identically to zero.
42080
42081 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42082
42083         [BZ #5993]
42084         * manual/install.texi: Do not document upgrading from libc5.
42085
42086 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42087
42088         [BZ #4596]
42089         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42090
42091 2012-02-18  David S. Miller  <davem@davemloft.net>
42092
42093         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42094         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42095         %o7 across the call.
42096         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42097         instead.
42098         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42099         SETUP_PIC_REG_LEAF.
42100         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42101         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42102         * sysdeps/sparc/crtn.S: Likewise.
42103
42104 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42105
42106         * aout/Makefile: Remove.
42107
42108 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42109
42110         [BZ #13058]
42111         * manual/examples/argp-ex1.c (main): Format definition in GNU
42112         style.
42113         * manual/examples/argp-ex2.c (main): Likewise.
42114         * manual/examples/argp-ex3.c (main): Likewise.
42115         * manual/examples/argp-ex4.c (main): Likewise.
42116         * manual/examples/longopt.c (main): Use new-style prototype
42117         definition.
42118         * manual/examples/strncat.c (main): Specify return type and use
42119         (void) for arguments.
42120         * manual/examples/subopt.c (main): Use char **argv argument.
42121
42122 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42123
42124         [BZ #5077]
42125         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42126         rounding modes.
42127
42128 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42129
42130         [BZ #6907]
42131         * manual/string.texi (strchr): Change when strchrnul is
42132         recommended.
42133
42134 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42135
42136         [BZ #174]
42137         * manual/locale.texi (setlocale): Document LOCPATH.
42138
42139 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42140
42141         [BZ #10210]
42142         * manual/process.texi (execle): Move @dots{} before last argument.
42143
42144 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42145
42146         [BZ #12047]
42147         * manual/charset.texi (Generic Charset Conversion): Fix typo
42148         (LC_TYPE -> LC_CTYPE).
42149
42150 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42151
42152         [BZ #5805]
42153         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42154         (scalbnf): Likewise.
42155         (scalbnl): Likewise.
42156         (scalbln): Likewise.
42157         (scalblnf): Likewise.
42158         (scalblnl): Likewise.
42159         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42160         (vwarnx): Likewise.
42161         (verr): Likewise.
42162         (verrx): Likewise.
42163         * manual/filesys.texi (telldir): Use braces around return type.
42164         * manual/llio.texi (mmap): Add space after comma.
42165         (mmap64): Likewise.
42166         * manual/math.texi (jn): Use @var{} on parameter names.
42167         (jnf): Likewise.
42168         (jnl): Likewise.
42169         (yn): Likewise.
42170         (ynf): Likewise.
42171         (ynl): Likewise.
42172         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42173         line.
42174         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42175         "...".
42176         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42177         (sched_get_priority_max): Likewise.
42178         * manual/signal.texi (sigvec): Add space after comma.
42179         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42180         names.
42181         (if_indextoname): Likewise.
42182         (if_freenameindex): Likewise.
42183         (sendto): Use ',' instead of '.' in prototype.
42184         * manual/startup.texi (syscall): Use @dots{} instead of literal
42185         "...".
42186         * manual/stdio.texi (__fpending): Separate initial words of
42187         paragraph from @deftypefun line.
42188         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42189         "...".
42190         (vsyslog): Use @var{} on parameter names.
42191         * manual/terminal.texi (stty): Use @var{} on parameter names.
42192         * manual/users.texi (getutmp): Use @var{} on parameter names.
42193         (getutmpx): Likewise.
42194
42195 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42196
42197         [BZ #6884]
42198         * manual/stdio.texi (fopen): Fix typos in description of
42199         ",ccs=STRING".
42200
42201 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42202
42203         [BZ #4026]
42204         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42205         get clock_id definition.
42206
42207 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42208
42209         [BZ #4822]
42210         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42211         (madvise): Cast every argument to void on its own.
42212
42213 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42214
42215         [BZ #9902]
42216         * manual/startup.texi (Exit Status): Fix typo.
42217
42218 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42219
42220         [BZ #10140]
42221         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42222         * manual/examples/argp-ex2.c: Likewise.
42223         * manual/examples/argp-ex3.c: Likewise.
42224
42225 2012-02-16  Richard Henderson  <rth@redhat.com>
42226
42227         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42228         * sysdeps/s390/s390-32/initfini.c: Remove.
42229         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42230         * sysdeps/s390/s390-64/initfini.c: Remove.
42231
42232 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42233
42234         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42235         compiler output for sysdeps/generic/initfini.c.
42236         * sysdeps/sh/elf/initfini.c: Remove file.
42237
42238 2012-02-16  David S. Miller  <davem@davemloft.net>
42239
42240         [BZ #11494]
42241         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42242
42243         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42244         * sysdeps/sparc/crti.S: New file.
42245         * sysdeps/sparc/crtn.S: New file.
42246         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42247         * sysdeps/sparc/sparc64/Makefile: Likewise.
42248
42249 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42250
42251         [BZ #3335]
42252         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42253
42254 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42255
42256         [BZ #4822]
42257         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42258
42259         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42260         (write, read, close): Likewise.
42261         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42262
42263 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42264
42265         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42266         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42267         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42268         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42269         <bits/signalfd.h>.
42270         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42272         bits/signalfd.h.
42273
42274 2012-02-14  Marek Polacek  <polacek@redhat.com>
42275
42276         * sysdeps/x86_64/crti.S: New file.
42277         * sysdeps/x86_64/crtn.S: New file.
42278         * sysdeps/x86_64/elf/initfini.c: Remove file.
42279
42280 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42281
42282         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42283         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42284         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42285         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42286         <bits/inotify.h>.
42287         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42288         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42289         bits/inotify.h.
42290
42291 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42292
42293         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42294         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42295         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42296         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42297         <bits/eventfd.h>.
42298         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42299         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42300         bits/eventfd.h.
42301
42302 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42303
42304         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42305         __feraiseexcept instead of feraiseexcept.
42306
42307         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42308         nanosleep invocations.
42309         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42310         strings, and add error checking for a nanosleep invocations.
42311
42312 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42313
42314         Replace FSF snail mail address with URLs, as per GNU coding standards.
42315         Most of the snail mail addresses were wrong anyway, and omitting
42316         them makes the source code easier to maintain.  Almost all of the
42317         changes are to license notices and to locale LC_IDENTIFICATION
42318         addresses, except for this one:
42319         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42320         not its snail mail address.
42321
42322 2012-02-09  Richard Henderson  <rth@twiddle.net>
42323
42324         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42325         of kernel-features.h.
42326
42327         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42328
42329 2012-02-08  Marek Polacek  <polacek@redhat.com>
42330
42331         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42332         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42333         * sysdeps/gnu/_G_config.h: Likewise.
42334         * sysdeps/generic/_G_config.h: Likewise.
42335
42336 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42337
42338         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42339         tests.
42340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42341
42342         * sysdeps/powerpc/powerpc32/crti.S: New file.
42343         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42344         * sysdeps/powerpc/powerpc64/crti.S: New file.
42345         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42346
42347         * Makeconfig (have-initfini): Don't set.
42348         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42349         * configure.in (nopic_initfini): Don't substitute.
42350         * config.h.in (HAVE_INITFINI): Don't #undef.
42351         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42352         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42353
42354 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42355
42356         Support crti.S and crtn.S provided directly by architectures.
42357         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42358         [crti.S in sysdirs] (omit-deps): Likewise.
42359         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42360         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42361         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42362         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42363         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42364         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42365         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42366         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42367         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42368         compiler output for sysdeps/generic/initfini.c.
42369         * sysdeps/i386/elf/Makefile: Remove file.
42370         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42371
42372 2012-02-07  Marek Polacek  <polacek@redhat.com>
42373
42374         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42375         * sysdeps/gnu/_G_config.h: Likewise.
42376         * sysdeps/mach/hurd/_G_config.h: Likewise.
42377
42378 2012-02-07  Marek Polacek  <polacek@redhat.com>
42379
42380         * math/Makefile (tests): Add tst-CMPLX2.
42381         * math/tst-CMPLX2.c: New file.
42382
42383 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42384
42385         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42386
42387         * math/libm-test.inc (jn_test): Add missing L suffix.
42388
42389 2012-02-06  Marek Polacek  <polacek@redhat.com>
42390
42391         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42392         * sysdeps/i386/fpu/e_powf.S: Likewise.
42393         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42394         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42395         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42396         * sysdeps/i386/fpu/e_pow.S: Likewise.
42397         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42398         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42399         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42400         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42401         * sysdeps/i386/fpu/e_log2.S: Likewise.
42402         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42403         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42404         * sysdeps/i386/fpu/e_powl.S: Likewise.
42405         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42406         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42407         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42408         * sysdeps/i386/fpu/e_logl.S: Likewise.
42409         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42410         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42411         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42412         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42413         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42414         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42415         * sysdeps/i386/fpu/e_log.S: Likewise.
42416         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42417         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42418         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42419         * sysdeps/i386/fpu/e_logf.S: Likewise.
42420         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42421         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42422         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42423         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42424         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42425         * sysdeps/i386/fpu/e_log10.S: Likewise.
42426         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42427         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42428         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42429         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42430         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42431         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42432         * sysdeps/i386/asm-syntax.h: Likewise.
42433         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42434         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42435         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42436         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42437         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42438         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42439         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42440         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42441         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42442         * sysdeps/powerpc/sysdep.h: Likewise.
42443         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42444         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42445
42446 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42447
42448         [BZ #411]
42449         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42450
42451 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42452
42453         * sysdeps/i386/sysdep.h: Include <features.h>.
42454         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42455         version.
42456
42457 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42458
42459         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42460         Define.
42461         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42462         LOAD_PIC_REG_STR.
42463
42464 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42465
42466         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42467         (SETUP_PIC_REG): Use GET_PC_THUNK.
42468         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42469         macro.
42470
42471 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42472
42473         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42474         for non-PIC compilation.
42475         (SETUP_PIC_REG): Add .p2align directive.
42476         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42477         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42478         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42479         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42480         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42481         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42482         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42483         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42484         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42485         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42486         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42487         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42488         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42489         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42490         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42491         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42492         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42493         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42494         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42495         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42496         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42497         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42498         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42499         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42500         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42501         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42502         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42503         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42504         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42505         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42506         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42507         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42508         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42509         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42510         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42511         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42512         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42513         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42514         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42515         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42516         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42517
42518 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42519
42520         * math/tst-CMPLX.c: Include <stdio.h>.
42521
42522 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42523
42524         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42525         float.
42526         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42527         * sysdeps/sparc/bits/mathdef.h: Likewise.
42528
42529 2012-01-31  Marek Polacek  <polacek@redhat.com>
42530
42531         * libio/libio.h: Don't define _PARAMS.
42532         * locale/programs/config.h: Don't define PARAMS.
42533         * stdlib/strtol_l.c: Likewise.
42534         (__strtol_l): Remove PARAMS from the prototype.
42535
42536 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42537
42538         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42539         names.  Just use the correct names.  Remove unnecessary wrapper
42540         functions.
42541         * malloc/arena.c: Likewise.
42542         * malloc/hooks.c: Likewise.
42543
42544         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42545         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42546         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42547
42548 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42549
42550         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42551         into tail calls.
42552         (update_get_addr): New function.
42553         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42554         GET_ADDR_MODULE parameter.
42555
42556 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42557
42558         * crypt/cert.c: Remove __STDC__ conditionals.
42559         * crypt/crypt-entry.c: Likewise.
42560         * crypt/crypt_util.c: Likewise.
42561         * libio/filedoalloc.c: Likewise.
42562         * libio/fileops.c: Likewise.
42563         * libio/genops.c: Likewise.
42564         * libio/iofclose.c: Likewise.
42565         * libio/iofdopen.c: Likewise.
42566         * libio/iofopen.c: Likewise.
42567         * libio/iofopen64.c: Likewise.
42568         * libio/iogetdelim.c: Likewise.
42569         * libio/iopopen.c: Likewise.
42570         * libio/obprintf.c: Likewise.
42571         * libio/oldfileops.c: Likewise.
42572         * libio/oldiofclose.c: Likewise.
42573         * libio/oldiofdopen.c: Likewise.
42574         * libio/oldiofopen.c: Likewise.
42575         * libio/oldiopopen.c: Likewise.
42576         * libio/wfiledoalloc.c: Likewise.
42577         * libio/wgenops.c: Likewise.
42578         * locale/programs/xmalloc.c: Likewise.
42579         * misc/syslog.c: Likewise.
42580         * stdio-common/xbug.c: Likewise.
42581         * string/memchr.c: Likewise.
42582         * string/memcmp.c: Likewise.
42583         * string/memrchr.c: Likewise.
42584         * string/rawmemchr.c: Likewise.
42585         * sysdeps/posix/getcwd.c: Likewise.
42586         * time/strftime_l.c: Likewise.
42587
42588 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42589
42590         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42591         * config.make.in (config-cflags-sse2avx): Define.
42592         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42593         Fix typo.
42594
42595 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42596
42597         * scripts/config.guess: Update from upstream config git repository.
42598         * scripts/config.sub: Likewise.
42599
42600 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42601
42602         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42603         (EM_NUM): Update.
42604         (R_TILEPRO_*, R_TILEGX_*): New macros.
42605
42606         * scripts/firstversions.awk: Fix bug in version range handling.
42607
42608         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42609
42610         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42611
42612         * include/sys/epoll.h: New file.
42613         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42614         libc_hidden_def.
42615
42616 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42617
42618         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42619         Avoid unnecessary __WORDSIZE == 64 test.
42620         (fmaxf): Use VEX format if possible.
42621         (fmax): Likewise.
42622         (fminf): Likewise.
42623         (fmin): Likewise.
42624
42625         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42626         * math/math_private.h: Remove libc_fegetround* and
42627         libc_fesetround*.
42628         * sysdeps/i386/configure.in: Check for -msse2avx.
42629         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42630         also if SSE2AVX is defined.
42631         Remove libc_fegetround* and libc_fesetround*.
42632         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42633         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42634         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42635         of HAS_YMM_USABLE.
42636         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42637         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42638         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42639         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42640         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42641
42642         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42643
42644 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42645
42646         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42647         size is not set.
42648         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42649
42650 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42651
42652         [BZ #13618]
42653         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42654         relocation.
42655         * Makeconfig (libm): Define.
42656         * elf/Makefile: Add rules to build and run tst-relsort1.
42657         * elf/tst-relsort1.c: New file.
42658         * elf/tst-relsort1mod1.c: New file.
42659         * elf/tst-relsort1mod2.c: New file.
42660
42661 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42662
42663         * math/s_ldexp.c: Remove __STDC__ conditionals.
42664         * math/s_ldexpf.c: Likewise.
42665         * math/s_ldexpl.c: Likewise.
42666         * math/s_nextafter.c: Likewise.
42667         * math/s_nexttowardf.c: Likewise.
42668         * math/s_significand.c: Likewise.
42669         * math/s_significandf.c: Likewise.
42670         * math/s_significandl.c: Likewise.
42671         * math/w_jnl.c: Likewise.
42672         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42673         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42674         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42675         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42676         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42677         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42678         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42679         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42680         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42681         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42682         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42683         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42684         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42685         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42686         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42687         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42688         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42689         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42690         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42691         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42692         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42693         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42694         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42695         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42696         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42697         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42698         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42699         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42700         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42701         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42702         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42703         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42704         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42705         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42706         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42707         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42708         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42709         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42710         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42711         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42712         * sysdeps/ieee754/k_standard.c: Likewise.
42713         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42714         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42715         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42716         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42717         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42718         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42719         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42720         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42721         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42722         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42723         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42724         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42725         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42726         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42727         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42728         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42729         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42730         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42731         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42732         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42733         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42734         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42735         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42736         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42737         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42738         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42739         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42740         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42741         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42742         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42743         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42744         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42745         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42746         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42747         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42748         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42749         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42750         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42751         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42752         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42753         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42754         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42755         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42756         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42757         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42758         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42759         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42760         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42761         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42762         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42763         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42764         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42765         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42766         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42767         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42768         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42769         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42770         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42771         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42772         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42773         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42774         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42775         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42776         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42777         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42778         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42779         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42780         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42781         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42782         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42783         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42784         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42785         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42786         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42787         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42788         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42789         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42790         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42791         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42792         * sysdeps/ieee754/s_matherr.c: Likewise.
42793         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42794         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42795         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42796         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42797
42798 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42799
42800         * crypt/md5.h: Remove __STDC__ conditionals.
42801         * libio/libioP.h: Likewise.
42802         * locale/programs/config.h: Likewise.
42803         * sysdeps/generic/sysdep.h: Likewise.
42804         * sysdeps/i386/asm-syntax.h: Likewise.
42805         * sysdeps/s390/asm-syntax.h: Likewise.
42806         * sysdeps/unix/sysdep.h: Likewise.
42807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42809
42810 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42811
42812         * libio/libio.h: Remove __STDC__ conditionals.
42813         * malloc/obstack.h: Likewise.
42814         * math/complex.h: Likewise.
42815         * math/math.h: Likewise.
42816         * sysdeps/generic/_G_config.h: Likewise.
42817         * sysdeps/gnu/_G_config.h: Likewise.
42818         * sysdeps/mach/hurd/_G_config.h: Likewise.
42819         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42820         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42821         * sysdeps/sparc/bits/mathdef.h: Likewise.
42822
42823 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42824
42825         [BZ #13583]
42826         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42827         Clean up HAS_* macros.
42828         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42829         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42830         possible.
42831         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42832         HAS_AVX.
42833         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42834         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42835         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42836         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42837         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42838
42839 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42840
42841         * elf/tst-unique3.cc (gets): Remove declaration.
42842         * elf/tst-unique3lib.cc (gets): Likewise.
42843         * elf/tst-unique3lib2.cc (gets): Likewise.
42844         * elf/tst-unique4.cc (gets): Likewise.
42845
42846 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42847
42848         * include/stdio.h: Add C++ protection.  Add gets declarations and
42849         definitions.
42850         * debug/tst-chk1.c: Don't declare gets here.
42851         * stdio-common/tst-gets.c: Likewise.
42852
42853 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42854
42855         * posix/glob: Remove directory.
42856
42857 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42858
42859         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42860
42861 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42862
42863         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42864         of the non-standard EPFNOSUPPORT.
42865
42866 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42867
42868         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42869         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42870         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42871
42872 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42873
42874         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42875
42876 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42877
42878         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42879         transient errors.
42880         * nscd/grpcache.c (cache_addgr): Likewise.
42881         * nscd/hstcache.c (cache_addhst): Likewise.
42882         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42883         * nscd/pwdcache.c (cache_addpw): Likewise.
42884         * nscd/servicescache.c (cache_addserv): Likewise.
42885
42886 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42887
42888         * malloc/malloc.c: Various cleanups.
42889         * malloc/hooks.c: Likewise.
42890
42891         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42892         * stdlib/bug-fmtmsg1.c: New file.
42893
42894         * stdlib/fmtmsg.c (init): Add missing unlock.
42895         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42896
42897 2012-01-12  Marek Polacek  <polacek@redhat.com>
42898
42899         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42900         and _GNU_SOURCE.
42901
42902 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42903
42904         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42905         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42906         macro to ensure uniqueness of label name.
42907         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42908         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42909
42910 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42911
42912         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42913
42914         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42915         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42916         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42917         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42918
42919 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42920
42921         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42922
42923         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42924         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42925         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42926
42927         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42928
42929         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42930         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42931         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42932         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42933
42934         * math/bits/math-finite.h: Add ldexp support.
42935
42936 2012-01-10  Marek Polacek  <polacek@redhat.com>
42937
42938         * locale/programs/localedef.h (show_archive_content): Add noreturn
42939         attribute.
42940
42941 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42942
42943         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42944
42945 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42946
42947         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42948
42949         * io/Makefile (headers): Add bits/poll2.h.
42950
42951 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42952
42953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42954         typo #include statement.
42955
42956 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42957
42958         * include/sys/cdefs.h: Define __attribute_alloc_size.
42959         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42960         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42961         * elf/pldd.c: Likewise.
42962         * iconv/iconv_charmap.c: Likewise.
42963         * iconv/iconvconfig.c: Likewise.
42964         * iconv/strtab.c: Likewise.
42965         * locale/programs/locale.c: Likewise.
42966         * locale/programs/localedef.h: Likewise.
42967         * locale/programs/simple-hash.c: Likewise.
42968         * nscd/nscd.h: Likewise.
42969         * nss/makedb.c: Likewise.
42970         * sysdeps/generic/ldconfig.h: Likewise.
42971         * locale/programs/localedef.c: Remove xmalloc prototype.
42972         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42973
42974 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42975
42976         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42977         appropriate.
42978
42979 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42980
42981         * math/Makefile (tests): Add tst-CMPLX.
42982         * math/tst-CMPLX.c: New file.
42983
42984         * math/complex.h (CMPLXL): Fix typo.
42985
42986         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42987         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42988         GLIBC_2.16.
42989         * debug/tst-chk1.c: Add poll and ppoll tests.
42990         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42991         * include/sys/poll.h: Add hidden proto for ppoll.
42992         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42993         * sysdeps/mach/hurd/ppoll.c: Likewise.
42994         * io/ppoll.c: Likewise.
42995         * debug/poll_chk.c: New file.
42996         * debug/ppoll_chk.c: New file.
42997         * include/bits/poll2.h: New file.
42998         * io/bits/poll2.h: New file.
42999
43000         [BZ #1350]
43001         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43002
43003         * configure.in: static is always set to yes.  Remove.
43004         * config.make.in: Don't set build-static.
43005         * Makeconfig: Remove use of build-static.
43006         * dlfcn/Makefile: Likewise.
43007         * elf/Makefile: Likewise.
43008         * math/Makefile: Likewise.
43009         * misc/Makefile: Likewise.
43010         * nptl/Makefile: Likewise.
43011         * sysdeps/mach/hurd/Makefile: Likewise.
43012
43013         * configure.in: PWD_P is not used anymore.
43014         * config.make.in: Remove PWD_P entry.
43015
43016         * configure.in: Remove last remnants of RANLIB.
43017         No need to check for signed size_t anymore.
43018         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43019         and IA-64.
43020         Remove __builtin_expect test because we require at least gcc 3.4.
43021         * aclocal.m4: Likewise.
43022
43023         * wcsmbs/mbrtoc16.c: Implement using towc function.
43024         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43025         * wcsmbs/wcsmbsload.c: Likewise.
43026         * iconv/gconv_simple.c: Likewise.
43027         * iconv/gconv_int.h: Likewise.
43028         * iconv/gconv_builtin.h: Likewise.
43029         * iconv/iconv_prog.c: Remove CHAR16 handling.
43030
43031         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43032
43033         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43034
43035         * configure.in: Remove --with-elf and --enable-bounded options.
43036         Dont set base_machine for ia64.  More non-ELF conditions removed.
43037         Remove testing and setting of leading underscore information.
43038         * config.make.in (build-bounded): Set to no.
43039         * config.h.in: Remove NO_UNDERSCORES entry.
43040         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43041         them.
43042         * csu/start.c: Remove !NO_UNDERSCORE code.
43043         * locale/localeinfo.h: Likewise.
43044         * sysdeps/generic/machine-gmon.h: Likewise.
43045         * sysdeps/generic/sysdep.h: Likewise.
43046         * sysdeps/i386/sysdep.h: Likewise.
43047         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43048         * sysdeps/mach/sysdep.h: Likewise.
43049         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43050         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43051         * sysdeps/sh/sysdep.h: Likewise.
43052         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43053         * sysdeps/unix/i386/sysdep.S: Likewise.
43054         * sysdeps/unix/sparc/start.c: Likewise.
43055         * sysdeps/unix/sparc/sysdep.S: Likewise.
43056         * sysdeps/unix/sparc/sysdep.h: Likewise.
43057         * sysdeps/unix/start.c: Likewise.
43058         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43059         * sysdeps/x86_64/sysdep.h: Likewise.
43060
43061 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43062
43063         [BZ #13553]
43064         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43065         for non-gcc.
43066         * argp/argp-fmtstream.h: Use const instead __const.
43067         * argp/argp.h: Likewise.
43068         * assert/assert.h: Likewise.
43069         * bits/fenv.h: Likewise.
43070         * bits/sched.h: Likewise.
43071         * bits/sigset.h: Likewise.
43072         * bits/sigthread.h: Likewise.
43073         * catgets/nl_types.h: Likewise.
43074         * conform/data/pthread.h-data: Likewise.
43075         * crypt/crypt-private.h: Likewise.
43076         * crypt/crypt.h: Likewise.
43077         * crypt/crypt_util.c: Likewise.
43078         * ctype/ctype.h: Likewise.
43079         * debug/execinfo.h: Likewise.
43080         * debug/mbsnrtowcs_chk.c: Likewise.
43081         * debug/mbsrtowcs_chk.c: Likewise.
43082         * debug/wcsnrtombs_chk.c: Likewise.
43083         * debug/wcsrtombs_chk.c: Likewise.
43084         * debug/wcstombs_chk.c: Likewise.
43085         * dirent/dirent.h: Likewise.
43086         * dlfcn/dlfcn.h: Likewise.
43087         * elf/neededtest4.c: Likewise.
43088         * grp/grp.h: Likewise.
43089         * gshadow/gshadow.h: Likewise.
43090         * iconv/gconv.h: Likewise.
43091         * iconv/gconv_int.h: Likewise.
43092         * iconv/gconv_simple.c: Likewise.
43093         * iconv/iconv.h: Likewise.
43094         * iconv/loop.c: Likewise.
43095         * iconv/skeleton.c: Likewise.
43096         * include/aio.h: Likewise.
43097         * include/aliases.h: Likewise.
43098         * include/argz.h: Likewise.
43099         * include/arpa/inet.h: Likewise.
43100         * include/assert.h: Likewise.
43101         * include/dirent.h: Likewise.
43102         * include/dlfcn.h: Likewise.
43103         * include/execinfo.h: Likewise.
43104         * include/fcntl.h: Likewise.
43105         * include/fenv.h: Likewise.
43106         * include/glob.h: Likewise.
43107         * include/grp.h: Likewise.
43108         * include/libintl.h: Likewise.
43109         * include/mntent.h: Likewise.
43110         * include/netdb.h: Likewise.
43111         * include/pwd.h: Likewise.
43112         * include/rpc/netdb.h: Likewise.
43113         * include/sched.h: Likewise.
43114         * include/search.h: Likewise.
43115         * include/shadow.h: Likewise.
43116         * include/signal.h: Likewise.
43117         * include/stdio.h: Likewise.
43118         * include/stdlib.h: Likewise.
43119         * include/string.h: Likewise.
43120         * include/sys/socket.h: Likewise.
43121         * include/sys/stat.h: Likewise.
43122         * include/sys/statfs.h: Likewise.
43123         * include/sys/statvfs.h: Likewise.
43124         * include/sys/syslog.h: Likewise.
43125         * include/sys/time.h: Likewise.
43126         * include/sys/uio.h: Likewise.
43127         * include/time.h: Likewise.
43128         * include/unistd.h: Likewise.
43129         * include/utmp.h: Likewise.
43130         * include/wchar.h: Likewise.
43131         * include/wctype.h: Likewise.
43132         * inet/aliases.h: Likewise.
43133         * inet/arpa/inet.h: Likewise.
43134         * inet/netinet/ether.h: Likewise.
43135         * inet/netinet/in.h: Likewise.
43136         * intl/libintl.h: Likewise.
43137         * io/bits/fcntl2.h: Likewise.
43138         * io/fcntl.h: Likewise.
43139         * io/ftw.h: Likewise.
43140         * io/sys/poll.h: Likewise.
43141         * io/sys/stat.h: Likewise.
43142         * io/sys/statfs.h: Likewise.
43143         * io/sys/statvfs.h: Likewise.
43144         * io/utime.h: Likewise.
43145         * libio/bits/stdio.h: Likewise.
43146         * libio/bits/stdio2.h: Likewise.
43147         * libio/libio.h: Likewise.
43148         * libio/libioP.h: Likewise.
43149         * libio/stdio.h: Likewise.
43150         * locale/lc-ctype.c: Likewise.
43151         * locale/locale.h: Likewise.
43152         * login/utmp.h: Likewise.
43153         * malloc/arena.c: Likewise.
43154         * malloc/malloc.c: Likewise.
43155         * malloc/malloc.h: Likewise.
43156         * malloc/mcheck.c: Likewise.
43157         * malloc/mtrace.c: Likewise.
43158         * math/bits/mathcalls.h: Likewise.
43159         * math/fenv.h: Likewise.
43160         * math/math_private.h: Likewise.
43161         * misc/bits/error.h: Likewise.
43162         * misc/bits/syslog.h: Likewise.
43163         * misc/err.h: Likewise.
43164         * misc/error.h: Likewise.
43165         * misc/fstab.h: Likewise.
43166         * misc/mntent.h: Likewise.
43167         * misc/regexp.h: Likewise.
43168         * misc/search.h: Likewise.
43169         * misc/sgtty.h: Likewise.
43170         * misc/sys/mman.h: Likewise.
43171         * misc/sys/syslog.h: Likewise.
43172         * misc/sys/uio.h: Likewise.
43173         * misc/sys/xattr.h: Likewise.
43174         * misc/ttyent.h: Likewise.
43175         * nis/rpcsvc/ypclnt.h: Likewise.
43176         * nss/nss.h: Likewise.
43177         * posix/bits/unistd.h: Likewise.
43178         * posix/fnmatch.h: Likewise.
43179         * posix/glob.h: Likewise.
43180         * posix/sched.h: Likewise.
43181         * posix/spawn.h: Likewise.
43182         * posix/sys/wait.h: Likewise.
43183         * posix/unistd.h: Likewise.
43184         * posix/wordexp.h: Likewise.
43185         * pwd/pwd.h: Likewise.
43186         * resolv/netdb.h: Likewise.
43187         * resource/sys/resource.h: Likewise.
43188         * rt/aio.h: Likewise.
43189         * rt/bits/mqueue2.h: Likewise.
43190         * rt/mqueue.h: Likewise.
43191         * shadow/shadow.h: Likewise.
43192         * signal/signal.h: Likewise.
43193         * socket/send.c: Likewise.
43194         * socket/sendto.c: Likewise.
43195         * socket/sys/socket.h: Likewise.
43196         * stdio-common/printf.h: Likewise.
43197         * stdlib/bits/stdlib.h: Likewise.
43198         * stdlib/fmtmsg.h: Likewise.
43199         * stdlib/monetary.h: Likewise.
43200         * stdlib/stdlib.h: Likewise.
43201         * stdlib/ucontext.h: Likewise.
43202         * streams/stropts.h: Likewise.
43203         * string/argz.h: Likewise.
43204         * string/bits/string2.h: Likewise.
43205         * string/string.h: Likewise.
43206         * string/strings.h: Likewise.
43207         * sunrpc/rpc/auth.h: Likewise.
43208         * sunrpc/rpc/auth_des.h: Likewise.
43209         * sunrpc/rpc/clnt.h: Likewise.
43210         * sunrpc/rpc/netdb.h: Likewise.
43211         * sunrpc/rpc/pmap_clnt.h: Likewise.
43212         * sunrpc/rpc/xdr.h: Likewise.
43213         * sysdeps/generic/inttypes.h: Likewise.
43214         * sysdeps/generic/net/if.h: Likewise.
43215         * sysdeps/generic/sys/swap.h: Likewise.
43216         * sysdeps/gnu/net/if.h: Likewise.
43217         * sysdeps/gnu/utmpx.h: Likewise.
43218         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43219         * sysdeps/i386/i486/bits/string.h: Likewise.
43220         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43221         * sysdeps/s390/bits/string.h: Likewise.
43222         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43223         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43224         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43225         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43226         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43227         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43228         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43229         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43230         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43231         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43232         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43233         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43234         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43235         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43236         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43237         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43238         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43239         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43240         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43241         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43242         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43243         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43244         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43245         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43246         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43247         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43248         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43249         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43250         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43251         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43252         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43253         * sysvipc/sys/ipc.h: Likewise.
43254         * sysvipc/sys/msg.h: Likewise.
43255         * sysvipc/sys/sem.h: Likewise.
43256         * sysvipc/sys/shm.h: Likewise.
43257         * termios/termios.h: Likewise.
43258         * time/sys/time.h: Likewise.
43259         * time/time.h: Likewise.
43260         * wcsmbs/bits/wchar2.h: Likewise.
43261         * wcsmbs/uchar.h: Likewise.
43262         * wcsmbs/wchar.h: Likewise.
43263         * wctype/wctype.h: Likewise.
43264
43265         [BZ #13551]
43266         * Makeconfig: Remove all but ELF support including AIX support.
43267         * Makerules: Likewise.
43268         * config.h.in: Likewise.
43269         * config.make.in: Likewise.
43270         * configure: Likewise.
43271         * configure.in: Likewise.
43272         * csu/Makefile: Likewise.
43273         * csu/version.c: Likewise.
43274         * debug/Makefile: Likewise.
43275         * dlfcn/Makefile: Likewise.
43276         * elf/Makefile: Likewise.
43277         * extra-lib.mk: Likewise.
43278         * iconv/Makefile: Likewise.
43279         * include/libc-symbols.h: Likewise.
43280         * include/shlib-compat.h: Likewise.
43281         * resolv/Makefile: Likewise.
43282         * resolv/res_libc.c: Likewise.
43283         * rt/Makefile: Likewise.
43284         * sysdeps/i386/asm-syntax.h: Likewise.
43285         * sysdeps/i386/sysdep.h: Likewise.
43286         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43287         * sysdeps/mach/sysdep.h: Likewise.
43288         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43289         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43290         * sysdeps/s390/asm-syntax.h: Likewise.
43291         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43292         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43293         * sysdeps/sh/sysdep.h: Likewise.
43294         * sysdeps/unix/sparc/sysdep.h: Likewise.
43295         * sysdeps/wordsize-32/divdi3.c: Likewise.
43296         * sysdeps/x86_64/sysdep.h: Likewise.
43297
43298         * argp/Versions: Remove _argp_unlock_xxx.
43299
43300         [BZ #13559]
43301         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43302         * abilist/libBrokenLocale.abilist: Likewise.
43303         * abilist/libanl.abilist: Likewise.
43304         * abilist/libc.abilist: Likewise.
43305         * abilist/libcrypt.abilist: Likewise.
43306         * abilist/libdl.abilist: Likewise.
43307         * abilist/libm.abilist: Likewise.
43308         * abilist/libnsl.abilist: Likewise.
43309         * abilist/libpthread.abilist: Likewise.
43310         * abilist/libresolv.abilist: Likewise.
43311         * abilist/librt.abilist: Likewise.
43312         * abilist/libthread_db.abilist: Likewise.
43313         * abilist/libutil.abilist: Likewise.
43314         * abilist/libnss_db.abilist: New file.
43315
43316         * scripts/abilist.awk: Add support for indirect functions.
43317
43318         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43319
43320         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43321
43322         * shlib-versions: Remove entries for ports architectures.
43323
43324         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43325         files in ports.
43326         * elf/stackguard-macros.h: Remove support for IA-64.
43327         * elf/tst-auditmod1.c: Likewise.
43328         * sysdeps/generic/ldsodefs.h: Likewise.
43329
43330         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43331         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43332         configure files.
43333
43334         [BZ #13552]
43335         * configure.in: Remove --enable-omitfp support.
43336         * FAQ.in: Adjust.
43337         * config.make.in: Likewise.
43338         * Makeconfig: Likewise.
43339         * manual/install.texi: Likewise.
43340
43341         In case anyone cares, the IA-64 architecture could move to ports.
43342         * sysdeps/ia64/*: Removed.
43343         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43344         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43345
43346         [BZ #13555]
43347         * configure.in: Remove entries for unsupported architectures.
43348
43349         [BZ #13533]
43350         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43351         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43352         routines.
43353         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43354         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43355         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43356         fall back to using wcrtomb.
43357         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43358         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43359         renaming.
43360         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43361         * wcsmbs/tst-c16c32-1.c: New file.
43362
43363         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43364         local variable.
43365
43366         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43367
43368         * elf/tst-unique3.cc: Add explicit declaration of gets.
43369         * elf/tst-unique3lib.cc: Likewise.
43370         * elf/tst-unique3lib2.cc: Likewise.
43371         * elf/tst-unique4.cc: Likewise.
43372
43373         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43374
43375 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43376
43377         [BZ #13566]
43378         * assert/assert.h (static_assert): Don't define for C++.
43379         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43380         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43381
43382 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43383
43384         * iconv/loop.c (single loop): Fix assertion in storing of
43385         remaining bytes.
43386
43387         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43388
43389 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43390
43391         * posix/getconf.c: Update copyright year.
43392         * nss/getent.c: Likewise.
43393         * nss/makedb.c: Likewise.
43394         * iconv/iconvconfig.c: Likewise.
43395         * iconv/iconv_prog.c: Likewise.
43396         * elf/ldconfig.c: Likewise.
43397         * elf/pldd.c: Likewise.
43398         * elf/sotruss.ksh: Likewise.
43399         * catgets/gencat.c: Likewise.
43400         * csu/version.c: Likewise.
43401         * elf/ldd.bash.in: Likewise.
43402         * elf/sprof.c (print_version): Likewise.
43403         * locale/programs/locale.c: Likewise.
43404         * locale/programs/localedef.c: Likewise.
43405         * login/programs/pt_chown.c: Likewise.
43406         * nscd/nscd.c (print_version): Likewise.
43407         * debug/xtrace.sh: Likewise.
43408         * malloc/memusage.sh: Likewise.
43409         * malloc/mtrace.pl: Likewise.
43410         * debug/catchsegv.sh: Likewise.
43411
43412 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43413
43414         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43415         pure attribute.
43416
43417 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43418
43419         [BZ #13533]
43420         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43421         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43422         transformations.
43423         * iconv/gconv_int.h: Likewise.
43424         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43425         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43426         from libc for GLIBC_2.16.
43427         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43428         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43429         * wcsmbs/uchar.h: Really define mbstate_t.
43430         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43431         * wcsmbs/c16rtomb.c: New file.
43432         * wcsmbs/mbrtoc16.c: New file.
43433         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43434         for C/POSIX locale.
43435         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43436         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43437
43438         * wcsmbs/wchar.h: Add missing __restrict.
43439
43440 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43441
43442         [BZ #13532]
43443         * time/Makefile (routines): Add timespec_get.
43444         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43445         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43446         timespec for ISO C11.
43447         * time/timespec_get.c: New file.
43448         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43449         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43450
43451         [BZ #13531]
43452         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43453         * stdlib/stdlib.h: Declare aligned_alloc.
43454         * Versions.def: Add GLIBC_2.16 for libc.
43455         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43456
43457         [BZ 13527]
43458         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43459         ISO C11.
43460
43461         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43462         code.
43463
43464         [BZ #13528]
43465         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43466
43467         [BZ #13529]
43468         * assert/assert.h (static_assert): Define.
43469
43470         * version.h: Update for 2.16 development version.
43471
43472         [BZ #13526]
43473         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43474         _ISOC11_SOURCE.
43475
43476         * version.h (RELEASE): Bump for 2.15 release.
43477         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43478
43479         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43480         Patch by Marek Polacek <mpolacek@redhat.com>.
43481
43482         * bits/byteswap.h: Protect long long constants with __extension__.
43483         * sysdeps/i386/bits/byteswap.h: Likewise.
43484         * sysdeps/ia64/bits/byteswap.h: Likewise.
43485         * sysdeps/s390/bits/byteswap.h: Likewise.
43486         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43487
43488 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43489
43490         [BZ #13540]
43491         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43492         destination buffer.
43493         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43494
43495 2011-12-23  Marek Polacek  <polacek@redhat.com>
43496
43497         * elf/dl-addr.c (determine_info): Add inline keyword.
43498         * elf/tst-auditmod4b.c (check_avx): Likewise.
43499         * elf/tst-auditmod6b.c (check_avx): Likewise.
43500         * elf/tst-auditmod6c.c (check_avx): Likewise.
43501         * elf/tst-auditmod7b.c (check_avx): Likewise.
43502
43503 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43504
43505         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43506         !__SSE_MATH__.
43507
43508 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43509
43510         [BZ #13540]
43511         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43512         processing for last bytes.
43513
43514 2011-08-06  Bruno Haible  <bruno@clisp.org>
43515
43516         [BZ #13061]
43517         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43518         U+0385, not to U+1FEE.
43519
43520         [BZ #13062]
43521         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43522         entry for U+00A5 U+0301.
43523
43524 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43525
43526         [BZ #13166]
43527         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43528         buffer for the output is too small.
43529
43530         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43531         optimization.
43532
43533         [BZ #13185]
43534         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43535         SSE flags if possible.
43536
43537 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43538
43539         [BZ #13540]
43540         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43541         processing for last bytes.
43542
43543 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43544
43545         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43546         (syscall-list-default-options, syscall-list-default-condition)
43547         (syscall-list-includes): Define.
43548         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43549         list of ABIs and options and #if conditions for each ABI.  Do not
43550         handle common syscalls between ABIs specially.
43551         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43552         Remove.
43553         (syscall-list-variants, syscall-list-32bit-options)
43554         (syscall-list-32bit-condition, syscall-list-64bit-options)
43555         (syscall-list-64bit-condition): Define.
43556         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43557         (syscall-list-variants, syscall-list-32bit-options)
43558         (syscall-list-32bit-condition, syscall-list-64bit-options)
43559         (syscall-list-64bit-condition): Define.
43560         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43561         Remove.
43562         (syscall-list-variants, syscall-list-32bit-options)
43563         (syscall-list-32bit-condition, syscall-list-64bit-options)
43564         (syscall-list-64bit-condition): Define.
43565         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43566         Remove.
43567         (syscall-list-variants, syscall-list-32bit-options)
43568         (syscall-list-32bit-condition, syscall-list-64bit-options)
43569         (syscall-list-64bit-condition): Define.
43570
43571 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43572
43573         * locale/iso-639.def: Add brx entry.
43574
43575         [BZ #13328]
43576         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43577         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43578
43579         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43580         __feraiseexcept_renamed.
43581
43582 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43583
43584         [BZ #13538]
43585         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43586         EPOLLET with unsigned values.
43587         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43588         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43589
43590         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43591         to large cancellation.
43592         * math/s_cacoshf.c: Likewise.
43593         * math/s_cacoshl.c: Likewise.
43594
43595 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43596
43597         [BZ #13305]
43598         [BZ #12786]
43599         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43600         * math/s_cacoshf.c: Likewise.
43601         * math/s_cacoshl.c: Likewise.
43602
43603 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43604
43605         [BZ #13439]
43606         * iconv/gconv.h: Define __GCONV_SWAP.
43607         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43608         * iconvdata/utf-16.c: Likewise.
43609         * iconvdata/utf-32.c: Likewise.
43610
43611 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43612
43613         [BZ #13524]
43614         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43615         numerator after shifting it by one limb.
43616
43617 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43618
43619         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43620         under [__USE_EXTERN_INLINES].
43621
43622 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43623
43624         [BZ #13446]
43625         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43626
43627 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43628
43629         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43630         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43631         optimized code.
43632         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43633         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43634         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43635         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43636         for strncasecmp/strncasecmp_l compilation.
43637         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43638         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43639
43640 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43641
43642         [BZ #13484]
43643         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43644         of __asm__.
43645
43646 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43647
43648         [BZ #13506]
43649         * time/tzfile.c (__tzfile_read): Check values from file header.
43650
43651 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43652
43653         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43654         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43655         * powerpc/powerpc32/dl-start.S: Likewise.
43656         * powerpc/powerpc32/elf/start.S: Likewise.
43657         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43658         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43659         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43660         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43661         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43662         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43663         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43664         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43665         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43666         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43667         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43668         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43669         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43670         * powerpc/powerpc32/memset.S: Likewise.
43671         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43672         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43673         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43674         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43675         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43676         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43677         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43678         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43679         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43680         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43681         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43682         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43683         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43684
43685 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43686
43687         * math/libm-test.inc: Added more nearbyint tests.
43688         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43689         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43690         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43691         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43692
43693 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43694
43695         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43696         FD_CLOEXEC.
43697
43698 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43699
43700         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43701         Add wcscpy-ssse3 wcscpy-c.
43702         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43703         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43704         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43705         * sysdeps/x86_64/wcschr.S: New file.
43706         * sysdeps/x86_64/wcsrchr.S: New file.
43707         * string/test-strcmp.c: Remove checking of wcscmp function for
43708         wrong alignments.
43709         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43710         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43711         wcsrchr-sse2 wcsrchr-c.
43712         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43713         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43714         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43715         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43716         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43717         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43718         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43719         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43720         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43721         * wcsmbc/wcschr.c (WCSCHR): New macro.
43722
43723 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43724
43725         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43726         * wcsmbs/test-wcsrchr.c: New file.
43727         * string/test-strrchr.c: Add wcsrchr support.
43728         (WIDE): New macro.
43729         * wcsmbs/test-wcscpy.c: New file.
43730         * string/test-strcpy.c: Add wcscpy support.
43731         (WIDE): New macro.
43732
43733 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43734
43735         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43736         the inner loop.
43737
43738 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43739
43740         [BZ #13472]
43741         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43742
43743 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43744
43745         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43746         Minor optimizations.
43747
43748         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43749         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43750         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43751
43752 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43753
43754         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43755         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43756         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43757         for gcc to avoid warnings.
43758         * inet/Makefile (tests): Add tst-checks.
43759         * inet/tst-checks.c: New file.
43760
43761         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43762         warning.
43763
43764         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43765         __wmemcmp_sse2.
43766
43767         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43768         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43769
43770         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43771
43772 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43773
43774         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43775         problem.
43776
43777         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43778
43779 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43780
43781         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43782         conditional on GCC version.
43783         (__arch_compare_and_exchange_val_8_acq)
43784         (__arch_compare_and_exchange_val_16_acq)
43785         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43786         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43787         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43788
43789 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43790
43791         * sysdeps/sh/backtrace.c: New file.
43792
43793 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43794
43795         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43796         parenthesis.
43797
43798 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43799
43800         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43801         falling back to utime.
43802
43803 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43804
43805         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43806         expectations for float.
43807
43808 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43809
43810         * locale/weight.h (findidx): Add parameter len.
43811         * locale/weightwc.h (findidx): Likewise.
43812         * posix/fnmatch_loop.c (FCT): Adjust caller.
43813         * posix/regcomp.c (build_equiv_class): Likewise.
43814         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43815         * posix/regexec.c (check_node_accept_bytes): Likewise.
43816         * string/strcoll_l.c (STRCOLL): Likewise.
43817         * string/strxfrm_l.c (STRXFRM): Likewise.
43818
43819 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43820
43821         * Makefile.in: Remove CVSOPT handling.
43822         * configure.in: Remove use of AC_REVISION.
43823         * iconvdata/Makefile (distribute): No need to filter out CVS.
43824         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43825         handling.
43826
43827 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43828
43829         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43830         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43831         [USE_AS_STRNCASECMP_L]: Likewise.
43832         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43833         NO_TLS_DIRECT_SEG_REFS.
43834         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43835         Fix argument offsets for non-PIC.
43836         [USE_AS_STRNCASECMP_L]: Likewise.
43837         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43838         NO_TLS_DIRECT_SEG_REFS.
43839
43840 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43841
43842         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43843         O_CLOEXEC.
43844         * locale/loadlocale.c (_nl_load_locale): Likewise.
43845
43846 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43847
43848         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43849         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43850         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43851         (SYSCALL_GETTIME): Set errno on error.
43852
43853         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43854         count references to noai6ai_cached.
43855
43856 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43857
43858         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43859
43860         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43861         FD_CLOEXEC for /proc/self/maps.
43862
43863         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43864         FD_CLOEXEC for /proc/meminfo.
43865
43866         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43867         gai.conf.
43868
43869         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43870         FD_CLOEXEC for given file.
43871
43872         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43873
43874         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43875         FD_CLOEXEC for /etc/hosts.
43876         (_gethtent): Likewise.
43877
43878         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43879
43880         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43881         cancellation and set FD_CLOEXEC for /etc/netgroup.
43882
43883         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43884         reading /etc/publickey.
43885
43886         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43887         allow cancellation when reading /etc/group.
43888
43889         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43890         cancellation.
43891         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43892
43893         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43894         when using data file.
43895
43896         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43897
43898         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43899         (write_nis_obj): Use "c" and "e" in fopen.
43900
43901         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43902
43903         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43904
43905         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43906
43907         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43908
43909         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43910         locale.alias.
43911
43912         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43913
43914         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43915
43916         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43917
43918         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43919         file parsing and set FD_CLOEXEC.
43920
43921 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43922
43923         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43924
43925 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43926
43927         * malloc/arena.c (arena_get2): Don't call reused_arena when
43928         _int_new_arena failed.
43929
43930 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43931
43932         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43933         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43934         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43935         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43936         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43937         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43938         to compile strcasecmp and strncasecmp.
43939         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43940         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43941
43942         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43943
43944 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43945
43946         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43947         locale-defines.sym to gen-as-const-headers.
43948         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43949         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43950         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43951         to compile strcasecmp and strncasecmp.
43952         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43953         strcasecmp_l and strncasecmp_l.
43954         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43955         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43956         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43957         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43958         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43959         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43960         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43961         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43962         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43963         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43964         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43965
43966 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43967
43968         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43969         result of SYSDEP_GETTIME_CPU to retval.
43970         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43971         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43972
43973         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43974         variable.
43975
43976         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43977         mantissa words.
43978         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43979
43980         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43981         from unused variable.
43982
43983         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43984         DWARF definitions.
43985         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43986         for assembling.
43987
43988         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43989         over namespaces.
43990
43991         * sunrpc/rpc_prot.c (rejected): Fix case value.
43992
43993         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43994         unsigned long long int to avoid warnings in shift.
43995
43996         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43997         of use of trans.
43998         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43999         variable tmp.
44000
44001         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44002         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44003         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44004
44005         * nis/nis_table.c (nis_list): Use variable of correct type for
44006         result of __follow_path call.
44007
44008 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44009
44010         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44011         of math functions ceil, trunc, floor, round, and sqrt, when
44012         avaliable on the platform.
44013         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44014         name clash.
44015         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44016         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44017         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44018
44019 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44020
44021         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44022         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44023
44024 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44025
44026         * include/unistd.h: Fix __readlink return type.
44027         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44028
44029 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44030
44031         * stdlib/ucontext.h: Undo last change for makecontext.
44032
44033 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44034
44035         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44036
44037         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44038         * setjmp/setjmp.h: Mark functions as non-leaf.
44039         * setjmp/bits/setjmp2.h: Likewise.
44040         * stdlib/ucontext.h: Likewise.
44041
44042 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44043
44044         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44045         (reused_arena): Don't check arena limit.
44046         (arena_get2): Atomically check arena limit.
44047
44048 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44049
44050         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44051         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44052
44053         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44054         instructions.
44055
44056 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44057
44058         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44059         handler when locking.
44060
44061         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44062         Fix size of allocated buffer.
44063
44064 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44065
44066         [BZ #10103]
44067         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44068         declarations for long double functions.
44069         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44070
44071         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44072
44073 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44074
44075         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44076         installed.
44077
44078         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44079         is disabled.
44080
44081 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44082
44083         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44084
44085 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44086
44087         * include/alloca.h (stackinfo_alloca_round): Define.
44088         (extend_alloca): Use it.
44089         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44090         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44091         here.
44092
44093         * scripts/check-local-headers.sh: Ignore libaudit.h.
44094
44095         * nscd/Makefile (extra-objs): Make recursively expanded.
44096
44097 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44098
44099         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44100         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44101
44102         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44103         * posix/tst-rfc3484-2.c: Likewise.
44104         * posix/tst-rfc3484-3.c: Likewise.
44105
44106         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44107         process_vm_writev.
44108         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44109         process_vm_writev.
44110         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44111         process_vm_writev from libc using GLIBC_2.15 version.
44112
44113         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44114
44115 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44116
44117         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44118         stack usage.
44119
44120 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44121
44122         [BZ #13367]
44123         * nss/getent.c (initgroups_keys): Show error message in case no group
44124         names are given.
44125
44126         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44127         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44128         __bump_nl_timestamp.
44129         * nscd/connections (nscd_init): When host database is served open
44130         netlink socket and request notification about configuration changes.
44131         (main_loop_poll): Track netlink file descriptor and bump timestamp
44132         in case data becomes available.
44133         (main_loop_epoll): Likewise.
44134         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44135         (database_pers_head): Add extra_data fileds.
44136         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44137         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44138         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44139         Adjust caller.
44140         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44141         in6ai data, call __free_in6ai.
44142         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44143         Add -DHAVE_NETLINK.
44144         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44145         interface information.  Reuse previous data if netlink timestamp
44146         is not changed.
44147         (__bump_nl_timestamp): New function.
44148         (__free_in6ai): New function.
44149
44150 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44151
44152         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44153         close_not_cancel_no_status here.
44154         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44155
44156 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44157
44158         [BZ #13276]
44159         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44160         return value.
44161
44162         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44163         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44164         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44165
44166 2011-07-03  Andreas Jaeger  <aj@suse.de>
44167
44168         [BZ #10709]
44169         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44170         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44171         * math/libm-test.inc (sin_test): Add test case.
44172
44173 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44174
44175         [BZ #13337]
44176         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44177         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44178
44179         * elf/chroot_canon.c (chroot_canon): Cleanups.
44180
44181         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44182
44183         [BZ #13335]
44184         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44185         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44186
44187         * string/test-strchr.c: Make usable for strchrnul testing.
44188         * string/test-strchrnul.c: New file.
44189         * string/Makefile (strop-tests): Add strchrnul.
44190
44191         * po/it.po: Update from translation team.
44192         * po/es.po: Likewise.
44193
44194 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44195
44196         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44197         the three constants needed as parameters.  Drop the others.
44198         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44199         __m128i_strloadu_tolower.
44200         Create and initialize variable zero and use it in all the places
44201         where _mm_setzero_si128 was used.
44202
44203         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44204         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44205         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44206         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44207         anymore.
44208         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44209         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44210         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44211         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44212         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44213         __mpranred, __mptan.
44214         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44215         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44216         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44217         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44218         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44219         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44220         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44221         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44222         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44223
44224 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44225
44226         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44227         redefine if SHARED.
44228         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44229
44230         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44231         wide char related routines to wcsmbs subdir.
44232
44233 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44234
44235         [BZ #13344]
44236         * misc/sys/cdefs.h (__THROWNL): Define.
44237         * posix/unistd.h: Use __THREADNL instead of __THREAD
44238         for memory synchronization functions.
44239
44240 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44241
44242         [BZ #13349]
44243         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44244         doesn't exist.
44245         * manual/stdio.texi (Obstack Streams): Node removed.
44246
44247 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44248
44249         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44250         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44251         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44252
44253         * math/math_private.h (math_force_eval): Allow non-addressable
44254         arguments.
44255         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44256
44257 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44258
44259         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44260         file is not needed.
44261
44262         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44263         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44264         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44265         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44266         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44267         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44268         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44269         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44270         Add AVX variants.
44271         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44272         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44273         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44274         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44275         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44276         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44277         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44278         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44279         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44280         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44281         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44282         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44283         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44284         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44285         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44286         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44287         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44288         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44289         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44290
44291         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44292         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44293
44294         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44295         place.  Use VEX encoding when compiling for AVX.
44296
44297 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44298
44299         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44300         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44301
44302         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44303
44304 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44305
44306         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44307         useless if() expression.
44308         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44309         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44310         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44311         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44312         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44313         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44314         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44315         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44316         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44317         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44318         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44319         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44320         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44321         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44322         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44323         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44324         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44325         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44326         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44327
44328         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44329
44330 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44331
44332         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44333         condition.
44334         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44335
44336 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44337
44338         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44339         .text section.  Avoid duplicate constants.
44340         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44341         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44342         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44343         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44344         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44345         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44346         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44347         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44348         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44349         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44350         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44351         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44352         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44353         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44354         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44355         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44356         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44357         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44358         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44359         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44360         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44361         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44362         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44363         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44364         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44365         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44366         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44367         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44368         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44369         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44370         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44371         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44372         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44373         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44374         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44375         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44376         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44377         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44378         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44379         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44380         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44381         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44382         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44383         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44384         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44385
44386 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44387
44388         * sysdeps/x86_64/dla.h: Move to ...
44389         * sysdeps/x86_64/fpu/dla.h: ...here.
44390         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44391         situations.  Use __builtin_fma only for gcc 4.6 and up.
44392
44393         * config.make.in: Add have-mfma4 entry.
44394         * configure.in: Substitute libc_cv_cc_fma4.
44395         * math/Makefile (dbl-only-routines): Add sincostab.
44396         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44397         Use __sincostab not sincos.
44398         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44399         name is a macro.
44400         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44401         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44402         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44403         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44404         using __copysign.
44405         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44406         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44407         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44408         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44409         and __inv.
44410         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44411         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44412         __copysign.
44413         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44414         define aliases when function name is a macro.
44415         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44416         sysdeps/ieee754/dbl-64/sincos.tbl.
44417         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44418         fma4-enabled routines.
44419         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44420         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44421         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44422         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44423         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44424         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44425         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44426         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44427         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44428         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44429         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44430         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44431         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44432         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44433         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44434         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44435         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44436         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44437         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44438         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44439         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44440         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44441         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44442         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44443         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44444         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44445         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44446         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44447         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44448         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44449
44450         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44451         rename.
44452         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44453         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44454         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44455         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44456         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44457         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44458         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44459         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44460
44461 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44462
44463         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44464
44465 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44466
44467         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44468
44469         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44470         prediction.
44471         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44472
44473         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44474         Remove unused variable magic_bits.
44475         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44476
44477         * string/strnlen.c: Define and use STRNLEN macro.
44478         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44479         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44480         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44481         * wcsmbs/wcslen.c: Define and use WCSLEN.
44482         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44483         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44484         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44485         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44486         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44487         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44488         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44489
44490 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44491
44492         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44493         strnlen-sse2-no-bsf.
44494         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44495         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44496         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44497         Add strnlen support.
44498         (USE_AS_STRNLEN): New macro.
44499         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44500         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44501         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44502         * sysdeps/x86_64/wcslen.S: New file.
44503
44504 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44505
44506         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44507         XMM-moves are used for copying on small sizes.
44508
44509 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44510
44511         * wcsmbs/Makefile (strop-tests): Add wcschr.
44512         * wcsmbs/test-wcschr.c: New file.
44513         * string/test-strchr.c: Update.
44514         Add wcschr support.
44515         (WIDE): New macro.
44516
44517 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44518
44519         * wcsmbs/Makefile (strop-tests): Add wcslen.
44520         * wcsmbs/test-wcslen.c: New file.
44521         * string/test-strlen.c: Update.
44522         Add wcslen support.
44523         (WIDE): New macro.
44524
44525 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44526
44527         * po/it.po: Update from translation team.
44528
44529 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44530
44531         * sysdeps/x86_64/wcscmp.S: Update.
44532         Fix wrong comparison semantics.
44533         wcscmp shall use signed comparison not unsigned.
44534         Don't use substraction to avoid overflow bug.
44535         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44536         * wcsmbc/wcscmp.c: Likewise.
44537         * string/test-strcmp.c: Likewise.
44538         Add new tests to check cases with negative values.
44539
44540 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44541
44542         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44543         * sysdeps/x86_64/dla.h: ...here.  New file.
44544         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
44550         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44551         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44552         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44553
44554 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44555
44556         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44557         __ynl_finite aliases.
44558
44559 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44560
44561         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44562
44563         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44564         define DLA_FMA.
44565         [DLA_FMA] (EMULV): Use DLA_FMA.
44566         [DLA_FMA] (MUL12): Use EMULV.
44567         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44568         that are not needed.
44569         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44570         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44571         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44572         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44573         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44574         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44575         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44576
44577 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44578
44579         * math/s_nan.c: Undef __nan.
44580         * math/s_nanf.c: Undef __nanf.
44581         * math/s_nanl.c: Undef __nanl.
44582         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44583         "math_private.h".
44584
44585 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44586
44587         * math/s_catan.c: Add branch predictions.
44588         * math/s_catanf.c: Likewise.
44589         * math/s_catanh.c: Likewise.
44590         * math/s_catanhf.c: Likewise.
44591         * math/s_catanhl.c: Likewise.
44592         * math/s_catanl.c: Likewise.
44593         * math/s_cexp.c: Likewise.
44594         * math/s_cexpf.c: Likewise.
44595         * math/s_cexpl.c: Likewise.
44596         * math/s_clog.c: Likewise.
44597         * math/s_clog10.c: Likewise.
44598         * math/s_clog10f.c: Likewise.
44599         * math/s_clog10l.c: Likewise.
44600         * math/s_clogf.c: Likewise.
44601         * math/s_clogl.c: Likewise.
44602         * math/s_csqrt.c: Likewise.
44603         * math/s_csqrtf.c: Likewise.
44604         * math/s_csqrtl.c: Likewise.
44605         * math/s_ctanf.c: Likewise.
44606         * math/s_ctanh.c: Likewise.
44607         * math/s_ctanhf.c: Likewise.
44608         * math/s_ctanhl.c: Likewise.
44609         * math/s_ctanl.c: Likewise.
44610
44611         * math/math_private.h: Define __nan, __nanf, __nanl.
44612         * math/s_cacosh.c: Include <math_private.h>.
44613         * math/s_cacoshl.c: Likewise.
44614         * math/s_casinh.c: Likewise.
44615         * math/s_casinhf.c: Likewise.
44616         * math/s_casinhl.c: Likewise.
44617         * math/s_ccos.c: Rely entire on ccosh.
44618         * math/s_ccosf.c: Rely entire on ccoshf.
44619         * math/s_ccosl.c: Rely entirely on ccoshl.
44620         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44621         Remove tests for FE_INVALID.
44622         * math/s_ccoshf.c: Likewise.
44623         * math/s_ccoshl.c: Likewise.
44624         * math/s_csin.c: Likewise.
44625         * math/s_csinf.c: Likewise.
44626         * math/s_csinh.c Likewise.
44627         * math/s_csinhf.c: Likewise.
44628         * math/s_csinhl.c: Likewise.
44629         * math/s_csinl.c: Likewise.
44630         * math/s_ctan.c: Likewise.
44631         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44632         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44633         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44634
44635 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44636
44637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44638         compilation problems.
44639
44640         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44641         __builtin_expect.
44642
44643 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44644
44645         * sysdeps/i386/configure.in: Test for -mfma4 option.
44646         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44647         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44648         COMMON_CPUID_INDEX_80000001.
44649         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44650         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44651         use it if FMA3 is not supported.
44652         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44653
44654         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44655         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44656
44657 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44658
44659         [BZ #12892]
44660         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44661         it would create a cycle with a link time dependency.
44662
44663 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44664
44665         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44666         instruction.
44667         * string/Makefile (strop-tests): Add rawmemchr.
44668         * string/test-rawmemchr.c: New file.
44669
44670         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44671         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44672         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44673         when compiling str{,n}casecmp and when AVX is available.  Hook up
44674         new optimized code in initializers.
44675
44676 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44677
44678         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44679         __feraiseexcept instead of feraiseexcept.
44680
44681 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44682
44683         * math/math_private.h: Define defaults for libc_fetestexcept and
44684         libc_feupdateenv.
44685         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44686         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44687         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44688         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44689         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44690         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44691         libc_fetestexcept and libc_feupdateenv.
44692
44693         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44694         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44695         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44696         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44697         libc_feholdexcept_setround.
44698
44699         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44700         Add s_nearbyint-c and s_nearbyintf-c.
44701         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44702         nearbyintf inlines.
44703         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44704         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44705         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44706         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44707
44708         * math/math_private.h: Define defaults for libc_fegetround,
44709         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44710         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44711         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44712         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44713         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44714         standard functions.
44715         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44716         Remove comments and hacks for old compiler versions.
44717         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44718         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44719         libc_feholdexceptl.
44720
44721 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44722
44723         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44724         (__feraiseexcept_renamed): Add __NTH.
44725         (feraiseexcept): Add __NTH.  Rename local variables to fix
44726         namespace violations.
44727
44728 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44729
44730         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44731
44732         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44733
44734         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44735         recently added interfaces.
44736         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44737
44738         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44739         about macro parameter expansion.
44740
44741         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44742         __NO_MATH_INLINES is defined.  Cleanups.
44743
44744         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44745         and __floorf is target has SSE4.1.
44746         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44747         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44748         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44749         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44750
44751         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44752         name.
44753         (floorf): Likewise.
44754
44755         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44756
44757 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44758
44759         * misc/sys/cdefs.h: Fix last change.
44760
44761         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44762         database lookup.
44763
44764 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44765
44766         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44767
44768         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44769         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44770         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44771         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44772         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44773         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44774         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44775         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44776         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44777         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44778         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44779         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44780         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44781         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44782         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44783         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44784         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44785         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44786         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44787         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44788         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44789         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44790
44791         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44792         ceil, ceilf, floor, floorf.
44793
44794         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44795         Perform IRELATIVE relocations last.
44796
44797         * elf/do-rel.h: Add another parameter nrelative, replacing the
44798         local variable with the same name.  Change name of the function
44799         to end in Rel or Rela (uppercase).
44800         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44801         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44802         elf_dynamic_do_##reloc function.
44803
44804 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44805
44806         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44807         is sufficient, at least on modern CPUs.
44808
44809         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44810
44811         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44812         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44813
44814         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44815         __expl_finite.
44816         * math/bits/math-finite.h: Add entries for exp.
44817         * math/e_expl.c: Add __*_finite alias.
44818         * sysdeps/i386/fpu/e_exp.S: Likewise.
44819         * sysdeps/i386/fpu/e_expf.S: Likewise.
44820         * sysdeps/i386/fpu/e_expl.c: Likewise.
44821         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44822         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44823         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44824         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44825         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44826         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44827         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44828
44829         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44830         is sufficient, at least on modern CPUs.
44831
44832         * ctype/ctype-info.c (__ctype_init): Define.
44833         * include/ctype.h (__ctype_init): Declare.
44834         (__ctype_b_loc): The variable is always initialized.
44835         (__ctype_toupper_loc): Likewise.
44836         (__ctype_tolower_loc): Likewise.
44837         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44838         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44839
44840 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44841
44842         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44843
44844         * configure.in: Also look in $cxxmachine/include for C++ system
44845         headers.
44846
44847 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44848
44849         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44850         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44851         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44852         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44853         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44854         (USE_AS_WMEMCMP): New macro.
44855         Fixing indents.
44856         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44857         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44858         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44859         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44860         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44861         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44862         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44863         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44864         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44865         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44866         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44867         (USE_AS_WMEMCMP): New macro.
44868         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44869         * sysdeps/string/test-memcmp.c: Update.
44870         Fix simple_wmemcmp.
44871         Add new tests.
44872         * wcsmbs/wmemcmp.c: Update.
44873         (WMEMCMP): New macro.
44874         Fix overflow bug.
44875
44876 2011-10-12  Andreas Jaeger  <aj@suse.de>
44877
44878         [BZ #13268]
44879         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44880
44881 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44882
44883         * libio/iofwide.c (do_length): Avoid warning.
44884
44885         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44886
44887 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44888
44889         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44890
44891         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44892         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44893         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44894         * sysdeps/i386/i686/fpu/e_log.S: New file.
44895         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44896         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44897
44898         * ctype/ctype.h: Add support for inlined isXXX functions when
44899         compiling C++ code.
44900
44901 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44902
44903         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44904
44905         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44906
44907 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44908
44909         [BZ #13291]
44910         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44911
44912 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44913
44914         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44915         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44916         feraiseexcept.
44917
44918         * sysdeps/x86_64/memrchr.S: Check for zero size.
44919
44920         * string/stratcliff.c: Add memrchr tests.
44921
44922 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44923
44924         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44925         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44926         rawmemchr-sse2 rawmemchr-sse2-bsf.
44927         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44928         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44929         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44930         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44931         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44932         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44933         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44934         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44935         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44936         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44937         * string/memrchr.c (MEMRCHR): New macro.
44938
44939 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44940
44941         Add integration with gcc's -ffinite-math-only and optimize wrapper
44942         functions in libm.
44943         * Versions.def: Define GLIBC_2.15 version for libm.
44944         * math/Makefile (headers): Add bits/math-finite.h.
44945         * math/bits/math-finite.h: New file.
44946         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44947         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44948         * math/e_acoshl.c: Add __*_finite alias.
44949         * math/e_acosl.c: Likewise.
44950         * math/e_asinl.c: Likewise.
44951         * math/e_atan2l.c: Likewise.
44952         * math/e_atanhl.c: Likewise.
44953         * math/e_coshl.c: Likewise.
44954         * math/e_exp10.c: Likewise.
44955         * math/e_exp10f.c: Likewise.
44956         * math/e_exp10l.c: Likewise.
44957         * math/e_exp2l.c: Likewise.
44958         * math/e_fmodl.c: Likewise.
44959         * math/e_gammal_r.c: Likewise.
44960         * math/e_hypotl.c: Likewise.
44961         * math/e_j0l.c: Likewise.
44962         * math/e_j1l.c: Likewise.
44963         * math/e_jnl.c: Likewise.
44964         * math/e_lgammal_r.c: Likewise.
44965         * math/e_log10l.c: Likewise.
44966         * math/e_log2l.c: Likewise.
44967         * math/e_logl.c: Likewise.
44968         * math/e_powl.c: Likewise.
44969         * math/e_sinhl.c: Likewise.
44970         * math/e_sqrtl.c: Likewise.
44971         * math/e_scalb.c: Completely rewritten and optimized.
44972         * math/e_scalbf.c: Likewise.
44973         * math/e_scalbl.c: Likewise.
44974         * math/w_acos.c: Likewise.
44975         * math/w_acosf.c: Likewise.
44976         * math/w_acosl.c: Likewise.
44977         * math/w_acosh.c: Likewise.
44978         * math/w_acoshf.c: Likewise.
44979         * math/w_acoshl.c: Likewise.
44980         * math/w_asin.c: Likewise.
44981         * math/w_asinf.c: Likewise.
44982         * math/w_asinl.c: Likewise.
44983         * math/w_atan2.c: Likewise.
44984         * math/w_atan2f.c: Likewise.
44985         * math/w_atan2l.c: Likewise.
44986         * math/w_atanh.c: Likewise.
44987         * math/w_atanhf.c: Likewise.
44988         * math/w_atanhl.c: Likewise.
44989         * math/w_exp10.c: Likewise.
44990         * math/w_exp10f.c: Likewise.
44991         * math/w_exp10l.c: Likewise.
44992         * math/w_fmod.c: Likewise.
44993         * math/w_fmodf.c: Likewise.
44994         * math/w_fmodl.c: Likewise.
44995         * math/w_j0.c: Likewise.
44996         * math/w_j0f.c: Likewise.
44997         * math/w_j0l.c: Likewise.
44998         * math/w_j1.c: Likewise.
44999         * math/w_j1f.c: Likewise.
45000         * math/w_j1l.c: Likewise.
45001         * math/w_jn.c: Likewise.
45002         * math/w_jnf.c: Likewise.
45003         * math/w_log.c: Likewise.
45004         * math/w_logf.c: Likewise.
45005         * math/w_logl.c: Likewise.
45006         * math/w_log10.c: Likewise.
45007         * math/w_log10f.c: Likewise.
45008         * math/w_log10l.c: Likewise.
45009         * math/w_log2.c: Likewise.
45010         * math/w_log2f.c: Likewise.
45011         * math/w_log2l.c: Likewise.
45012         * math/w_pow.c: Likewise.
45013         * math/w_powf.c: Likewise.
45014         * math/w_powl.c: Likewise.
45015         * math/w_remainder.c: Likewise.
45016         * math/w_remainderf.c: Likewise.
45017         * math/w_remainderl.c: Likewise.
45018         * math/w_scalb.c: Likewise.
45019         * math/w_scalbf.c: Likewise.
45020         * math/w_scalbl.c: Likewise.
45021         * math/w_sqrt.c: Likewise.
45022         * math/w_sqrtf.c: Likewise.
45023         * math/w_sqrtl.c: Likewise.
45024         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45025         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45026         used.
45027         * math/math_private.h: Declare __kernel_standard_f.
45028         * math/w_cosh.c: Remove cruft and optimize a bit.
45029         * math/w_coshf.c: Likewise.
45030         * math/w_coshl.c: Likewise.
45031         * math/w_exp2.c: Likewise.
45032         * math/w_exp2f.c: Likewise.
45033         * math/w_exp2l.c: Likewise.
45034         * math/w_hypot.c: Likewise.
45035         * math/w_hypotf.c: Likewise.
45036         * math/w_hypotl.c: Likewise.
45037         * math/w_lgamma.c: Likewise.
45038         * math/w_lgamma_r.c: Likewise.
45039         * math/w_lgammaf.c: Likewise.
45040         * math/w_lgammaf_r.c: Likewise.
45041         * math/w_lgammal.c: Likewise.
45042         * math/w_lgammal_r.c: Likewise.
45043         * math/w_sinh.c: Likewise.
45044         * math/w_sinhf.c: Likewise.
45045         * math/w_sinhl.c: Likewise.
45046         * math/w_tgamma.c: Likewise.
45047         * math/w_tgammaf.c: Likewise.
45048         * math/w_tgammal.c: Likewise.
45049         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45050         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45051         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45052         Minor optimizations.  Pretty printing.  Remove cruft.
45053         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45054         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45055         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45056         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45057         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45058         * sysdeps/i386/fpu/e_asin.S: Likewise.
45059         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45060         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45061         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45062         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45063         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45064         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45065         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45066         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45067         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45068         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45069         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45070         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45071         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45072         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45073         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45074         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45075         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45076         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45077         * sysdeps/i386/fpu/e_log.S: Likewise.
45078         * sysdeps/i386/fpu/e_log10.S: Likewise.
45079         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45080         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45081         * sysdeps/i386/fpu/e_log2.S: Likewise.
45082         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45083         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45084         * sysdeps/i386/fpu/e_logf.S: Likewise.
45085         * sysdeps/i386/fpu/e_logl.S: Likewise.
45086         * sysdeps/i386/fpu/e_pow.S: Likewise.
45087         * sysdeps/i386/fpu/e_powf.S: Likewise.
45088         * sysdeps/i386/fpu/e_powl.S: Likewise.
45089         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45090         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45091         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45092         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45093         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45094         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45095         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45096         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45097         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45098         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45099         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45100         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45101         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45102         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45103         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45104         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45105         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45106         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45107         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45108         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45109         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45110         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45111         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45112         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45113         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45114         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45115         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45116         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45117         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45118         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45119         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45120         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45121         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45122         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45123         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45124         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45125         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45126         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45127         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45128         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45129         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45130         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45131         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45132         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45133         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45134         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45135         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45136         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45137         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45138         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45139         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45140         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45141         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45142         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45143         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45144         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45145         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45146         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45147         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45148         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45149         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45150         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45151         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45152         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45153         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45154         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45155         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45156         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45157         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45158         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45159         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45160         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45161         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45162         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45163         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45164         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45165         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45166         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45167         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45168         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45169         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45170         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45171         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45172         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45173         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45174         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45175         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45176         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45177         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45178         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45179         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45180         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45181         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45182         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45183         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45184         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45185         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45186         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45187         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45188         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45189         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45190         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45191         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45192         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45193         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45194         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45195         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45196         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45197         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45198         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45199         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45200         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45201         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45202         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45203         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45204         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45205         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45206         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45207         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45208         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45209         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45210         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45211         (__isnanf): Likewise.
45212         (__isinf_ns): Likewise.
45213         (__isinf_nsf): Likewise.
45214         (__finite): Likewise.
45215         (__finitef): Likewise.
45216         (__ieee754_sqrt): Define as macro.
45217         (__ieee754_sqrtf): Define as macro.
45218         (__ieee754_sqrtl): Define as macro.
45219         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45220         inlined copy.
45221         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45222         __FINITE_MATH_ONLY__ consistent.
45223         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45224
45225 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45226
45227         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45228         of rawmemchr.
45229
45230         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45231
45232 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45233
45234         * po/ja.po: Update from translation team.
45235
45236 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45237
45238         * locale/programs/locarchive.c (prepare_address_space): New function.
45239         (create_archive, enlarge_archive, open_archive): Use it.
45240
45241         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45242         inside [SHARED], where it is used.
45243
45244         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45245
45246         * nss/getent.c (netgroup_keys): Remove unused variable.
45247         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45248
45249 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45250
45251         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45252         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45253         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45254         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45255         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45256         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45257         * math/Makefile (libm-calls): Add s_isinf_ns.
45258         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45259         * math/multc3.c: Likewise.
45260         * math/s_casin.c: Likewise.
45261         * math/s_casinf.c: Likewise.
45262         * math/s_casinl.c: Likewise.
45263         * math/s_ccos.c: Likewise.
45264         * math/s_ccosf.c: Likewise.
45265         * math/s_ccosl.c: Likewise.
45266         * math/s_ctan.c: Likewise.
45267         * math/s_ctanf.c: Likewise.
45268         * math/s_ctanh.c: Likewise.
45269         * math/s_ctanhf.c: Likewise.
45270         * math/s_ctanhl.c: Likewise.
45271         * math/s_ctanl.c: Likewise.
45272         * math/w_fmod.c: Likewise.
45273         * math/w_fmodf.c: Likewise.
45274         * math/w_fmodl.c: Likewise.
45275         * math/w_remainder.c: Likewise.
45276         * math/w_remainderf.c: Likewise.
45277         * math/w_remainderl.c: Likewise.
45278         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45279         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45280         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45281         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45282         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45283         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45284         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45285         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45286
45287         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45288         of the number.
45289         * stdio-common/printf_fphex.c: Likewise.
45290         * stdio-common/printf_size.c: Likewise.
45291
45292         * math/e_exp10.c: Include math_private.h using <...> not "...".
45293         * math/e_exp10f.c: Likewise.
45294         * math/e_exp10l.c: Likewise.
45295         * math/e_exp2l.c: Likewise.
45296         * math/e_j0l.c: Likewise.
45297         * math/e_j1l.c: Likewise.
45298         * math/e_jnl.c: Likewise.
45299         * math/e_lgammal_r.c: Likewise.
45300         * math/e_rem_pio2l.c: Likewise.
45301         * math/e_scalb.c: Likewise.
45302         * math/e_scalbf.c: Likewise.
45303         * math/e_scalbl.c: Likewise.
45304         * math/k_cosl.c: Likewise.
45305         * math/k_sinl.c: Likewise.
45306         * math/k_tanl.c: Likewise.
45307         * math/s_cacoshf.c: Likewise.
45308         * math/s_catan.c: Likewise.
45309         * math/s_catanf.c: Likewise.
45310         * math/s_catanh.c: Likewise.
45311         * math/s_catanhf.c: Likewise.
45312         * math/s_catanhl.c: Likewise.
45313         * math/s_catanl.c: Likewise.
45314         * math/s_ccosh.c: Likewise.
45315         * math/s_ccoshf.c: Likewise.
45316         * math/s_ccoshl.c: Likewise.
45317         * math/s_cexp.c: Likewise.
45318         * math/s_cexpf.c: Likewise.
45319         * math/s_cexpl.c: Likewise.
45320         * math/s_clog.c: Likewise.
45321         * math/s_clog10.c: Likewise.
45322         * math/s_clog10f.c: Likewise.
45323         * math/s_clog10l.c: Likewise.
45324         * math/s_clogf.c: Likewise.
45325         * math/s_clogl.c: Likewise.
45326         * math/s_csin.c: Likewise.
45327         * math/s_csinf.c: Likewise.
45328         * math/s_csinh.c: Likewise.
45329         * math/s_csinhf.c: Likewise.
45330         * math/s_csinhl.c: Likewise.
45331         * math/s_csinl.c: Likewise.
45332         * math/s_csqrt.c: Likewise.
45333         * math/s_csqrtf.c: Likewise.
45334         * math/s_csqrtl.c: Likewise.
45335         * math/s_ctan.c: Likewise.
45336         * math/s_ctanf.c: Likewise.
45337         * math/s_ctanh.c: Likewise.
45338         * math/s_ctanhf.c: Likewise.
45339         * math/s_ctanhl.c: Likewise.
45340         * math/s_ctanl.c: Likewise.
45341         * math/s_ldexp.c: Likewise.
45342         * math/s_ldexpf.c: Likewise.
45343         * math/s_ldexpl.c: Likewise.
45344         * math/s_significand.c: Likewise.
45345         * math/s_significandf.c: Likewise.
45346         * math/s_significandl.c: Likewise.
45347         * math/w_acos.c: Likewise.
45348         * math/w_acosf.c: Likewise.
45349         * math/w_acosh.c: Likewise.
45350         * math/w_acoshf.c: Likewise.
45351         * math/w_acoshl.c: Likewise.
45352         * math/w_acosl.c: Likewise.
45353         * math/w_asin.c: Likewise.
45354         * math/w_asinf.c: Likewise.
45355         * math/w_asinl.c: Likewise.
45356         * math/w_atan2.c: Likewise.
45357         * math/w_atan2f.c: Likewise.
45358         * math/w_atan2l.c: Likewise.
45359         * math/w_atanh.c: Likewise.
45360         * math/w_atanhf.c: Likewise.
45361         * math/w_atanhl.c: Likewise.
45362         * math/w_cosh.c: Likewise.
45363         * math/w_coshf.c: Likewise.
45364         * math/w_coshl.c: Likewise.
45365         * math/w_dremf.c: Likewise.
45366         * math/w_exp10.c: Likewise.
45367         * math/w_exp10f.c: Likewise.
45368         * math/w_exp10l.c: Likewise.
45369         * math/w_exp2.c: Likewise.
45370         * math/w_exp2f.c: Likewise.
45371         * math/w_fmod.c: Likewise.
45372         * math/w_fmodf.c: Likewise.
45373         * math/w_fmodl.c: Likewise.
45374         * math/w_hypot.c: Likewise.
45375         * math/w_hypotf.c: Likewise.
45376         * math/w_hypotl.c: Likewise.
45377         * math/w_j0.c: Likewise.
45378         * math/w_j0f.c: Likewise.
45379         * math/w_j0l.c: Likewise.
45380         * math/w_j1.c: Likewise.
45381         * math/w_j1f.c: Likewise.
45382         * math/w_j1l.c: Likewise.
45383         * math/w_jn.c: Likewise.
45384         * math/w_jnf.c: Likewise.
45385         * math/w_jnl.c: Likewise.
45386         * math/w_lgamma.c: Likewise.
45387         * math/w_lgamma_r.c: Likewise.
45388         * math/w_lgammaf.c: Likewise.
45389         * math/w_lgammaf_r.c: Likewise.
45390         * math/w_lgammal.c: Likewise.
45391         * math/w_lgammal_r.c: Likewise.
45392         * math/w_log.c: Likewise.
45393         * math/w_log10.c: Likewise.
45394         * math/w_log10f.c: Likewise.
45395         * math/w_log10l.c: Likewise.
45396         * math/w_log2.c: Likewise.
45397         * math/w_log2f.c: Likewise.
45398         * math/w_log2l.c: Likewise.
45399         * math/w_logf.c: Likewise.
45400         * math/w_logl.c: Likewise.
45401         * math/w_pow.c: Likewise.
45402         * math/w_powf.c: Likewise.
45403         * math/w_powl.c: Likewise.
45404         * math/w_remainder.c: Likewise.
45405         * math/w_remainderf.c: Likewise.
45406         * math/w_remainderl.c: Likewise.
45407         * math/w_scalb.c: Likewise.
45408         * math/w_scalbf.c: Likewise.
45409         * math/w_scalbl.c: Likewise.
45410         * math/w_sinh.c: Likewise.
45411         * math/w_sinhf.c: Likewise.
45412         * math/w_sinhl.c: Likewise.
45413         * math/w_sqrt.c: Likewise.
45414         * math/w_sqrtf.c: Likewise.
45415         * math/w_sqrtl.c: Likewise.
45416         * math/w_tgamma.c: Likewise.
45417         * math/w_tgammaf.c: Likewise.
45418         * math/w_tgammal.c: Likewise.
45419
45420         * po/ja.po: Update from translation team.
45421
45422 2011-09-29  Andreas Jaeger  <aj@suse.de>
45423
45424         [BZ #13179]
45425         * sunrpc/netname.c (netname2host): Fix logic.
45426
45427         [BZ #6779]
45428         [BZ #6783]
45429         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45430         correctly.
45431         * math/w_remainder.c (__remainder): Likewise.
45432         * math/w_remainderf.c (__remainderf): Likewise.
45433         * math/libm-test.inc (remainder_test): Add test cases.
45434
45435 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45436
45437         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45438         sdiv_qrnnd.
45439
45440 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45441
45442         * string/test-memcmp.c: Avoid unncessary #defines.
45443         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45444
45445 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45446
45447         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45448         Use new sse2 version for core i3 - i7 as it's faster
45449         than sse42 version.
45450         (bit_Prefer_PMINUB_for_stringop): New.
45451         * sysdeps/x86_64/rawmemchr.S: Update.
45452         Replace with faster SSE2 version.
45453         * sysdeps/x86_64/memrchr.S: New file.
45454         * sysdeps/x86_64/memchr.S: Update.
45455         Replace with faster SSE2 version.
45456
45457 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45458
45459         * elf/dl-load.c (lose): Add cast to avoid warning.
45460
45461 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45462
45463         * po/ca.po: Update from translation team.
45464
45465         * inet/getnetgrent_r.c: Hook up nscd.
45466         * nscd/Makefile (routines): Add nscd_netgroup.
45467         (nscd-modules): Add netgroupcache.
45468         (CFLAGS-netgroupcache.c): Define.
45469         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45470         (cache_search): Add const to second parameter.
45471         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45472         INNETGR.
45473         (dbs): Add netgrdb entry.
45474         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45475         (verify_persistent_db): Handle netgrdb.
45476         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45477         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45478         GETFDNETGR.
45479         (netgroup_response_header): Define.
45480         (innetgroup_response_header): Define.
45481         (datahead): Add netgroup_response_header and innetgroup_response_header
45482         elements.
45483         * nscd/nscd.conf: Add entries for netgroup cache.
45484         * nscd/nscd.h (dbtype): Add netgrdb.
45485         (_PATH_NSCD_NETGROUP_DB): Define.
45486         (netgroup_iov_disabled): Declare.
45487         (xmalloc, xcalloc, xrealloc): Move declarations here.
45488         (cache_search): Adjust prototype.
45489         Add netgroup-related prototypes.
45490         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45491         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45492         (__nscd_innetgr): Declare.
45493         * nscd/selinux.c (perms): Use access_vector_t as element type and
45494         add netgroup-related initializers.
45495         * nscd/netgroupcache.c: New file.
45496         * nscd/nscd_netgroup.c: New file.
45497         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45498         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45499         For four parameters use innetgr.
45500         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45501         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45502         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45503         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45504
45505         * nscd/connections.c (register_traced_file): Don't register file
45506         for disabled databases.
45507
45508 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45509
45510         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45511
45512         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45513         from tree and freeing node.
45514
45515 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45516
45517         * nss/nsswitch.c (__nss_database_lookup): Handle
45518         nss_parse_service_list out of memory case.
45519
45520 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45521
45522         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45523         out of memory case.
45524
45525 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45526
45527         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45528         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45529         pass it down.
45530         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45531         elf_machine_rela, elf_machine_lazy_rel.
45532         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45533         (ELF_DYNAMIC_DO_REL): Likewise.
45534         (ELF_DYNAMIC_DO_RELA): Likewise.
45535         (ELF_DYNAMIC_RELOCATE): Likewise.
45536         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45537         to ELF_DYNAMIC_DO_REL.
45538         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45539         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45540         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45541         elf_machine_rela.
45542         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45543         skip_ifunc, don't call ifunc function if non-zero.
45544         (elf_machine_rela): Likewise.
45545         (elf_machine_lazy_rel): Likewise.
45546         (elf_machine_lazy_rela): Likewise.
45547         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45548         (elf_machine_lazy_rel): Likewise.
45549         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45550         Likewise.
45551         (elf_machine_lazy_rel): Likewise.
45552         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45553         Likewise.
45554         (elf_machine_lazy_rel): Likewise.
45555         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45556         (elf_machine_lazy_rel): Likewise.
45557         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45558         (elf_machine_lazy_rel): Likewise.
45559         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45560         (elf_machine_lazy_rel): Likewise.
45561         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45562         (elf_machine_lazy_rel): Likewise.
45563         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45564         (elf_machine_lazy_rel): Likewise.
45565         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45566         (elf_machine_lazy_rel): Likewise.
45567
45568 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45569
45570         * nss/nss_files/files-init.c (_nss_files_init): Use static
45571         initialization for all the *_traced_file variables.
45572
45573 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45574
45575         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45576
45577 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45578
45579         [BZ #13226]
45580         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45581
45582 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45583
45584         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45585         Reread the line before reparsing it.
45586
45587 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45588
45589         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45590
45591 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45592             Maxim Kuvyrkov  <maxim@codesourcery.com>
45593             Joseph Myers  <joseph@codesourcery.com>
45594
45595         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45596         if needed for __stack_chk_guard.
45597
45598 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45599
45600         * sysdeps/posix/spawni.c (script_execute): Always define it.
45601         It will be optimized away if unused.
45602         (maybe_script_execute): New function.
45603         (__spawni): Call it.
45604
45605         * Makerules: Don't include tls.make.
45606         (config-tls): Always set to thread.
45607         * tls.make.c: File removed.
45608
45609 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45610
45611         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45612         * config.make.in (CPPFLAGS-config): New substituted variable.
45613
45614 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45615
45616         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45617
45618         [BZ #13192]
45619         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45620         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45621
45622 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45623
45624         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45625         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45626         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45627         (CALL_FAIL): Likewise.
45628         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45629         (CALL_FAIL): Macro removed.
45630         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45631
45632 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45633
45634         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45635         for __FINITE_MATH_ONLY__ == 1.
45636
45637 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45638
45639         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45640         __ieee754_sqrt instead of sqrt.
45641         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45642         __ieee754_sqrtf instead of sqrtf.
45643         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45644         __floorf instead of floorf.
45645         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45646         __floorf, __truncf instead of floorf, truncf.
45647
45648 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45649
45650         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45651
45652         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45653         __extern_always_inline.
45654         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45655         32-bit.
45656
45657 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45658
45659         * elf/rtld.c (dl_main): Also relocate in dependency order when
45660         doing symbol dependency testing.
45661
45662 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45663
45664         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45665         Always define `refsym'.
45666
45667 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45668
45669         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45670         (__FD_ELT): Renamed from __FDELT.
45671         * misc/bits/select2.h (__FD_ELT): Likewise.
45672         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45673         __FD_MASK instead of __FDELT, __FDMASK.
45674         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45675         Likewise.
45676         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45677         Likewise.
45678
45679         * elf/Makefile (gen-ldd): Fix pattern.
45680
45681         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45682         (init_tls): Likewise.
45683
45684 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45685
45686         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45687
45688 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45689
45690         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45691         `struct cmsghdr *' instead of `void *'.
45692         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45693         Likewise.
45694
45695 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45696
45697         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45698         if non-absolute.
45699         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45700         ldd_rewrite_script.
45701
45702 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45703
45704         * configure.in: Remove --with-tls option.
45705         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45706         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45707         out in case it is missing.
45708         * sysdeps/ia64/elf/configure.in: Likewise.
45709         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45710         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45711         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45712         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45713         * sysdeps/sh/elf/configure.in: Likewise.
45714         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45715         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45716         * sysdeps/x86_64/elf/configure.in: Likewise.
45717         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45718         * sysdeps/mach/hurd/tls.h: Likewise.
45719
45720         [BZ #13067]
45721         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45722
45723         [BZ #13090]
45724         * configure.in: Fix use of AC_INIT.
45725
45726         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45727
45728 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45729
45730         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45731         __set_errno.
45732         * malloc/hooks.c: Likewise.
45733
45734         [BZ #11929]
45735         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45736         variables statically.
45737         (narenas): Initialize.
45738         (list_lock): Initialize.
45739         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45740         initializtion of main_arena and list_lock.  Small cleanups.
45741         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45742         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45743         Add initializers to main_arena and mp_.
45744         (malloc_state): Remove pagesize member.  Change all users to use
45745         GLRO(dl_pagesize).
45746
45747         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45748         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45749         is always initialized.
45750
45751         * malloc/malloc.c: Removed unused configurations and dead code.
45752         * malloc/arena.c: Likewise.
45753         * malloc/hooks.c: Likewise.
45754         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45755
45756         * include/tls.h: Removed.  USE___THREAD must always be defined.
45757         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45758         * elf/dl-libc.c: Likewise.
45759         * elf/dl-tsd.c: Likewise.
45760         * include/errno.h: Likewise.
45761         * include/netdb.h: Likewise.
45762         * include/resolv.h: Likewise.
45763         * inet/herrno-loc.c: Likewise.
45764         * inet/herrno.c: Likewise.
45765         * malloc/arena.c: Likewise.
45766         * malloc/hooks.c: Likewise.
45767         * malloc/malloc.c: Likewise.
45768         * resolv/res-state.c: Likewise.
45769         * resolv/res_libc.c: Likewise.
45770         * sysdeps/i386/dl-machine.h: Likewise.
45771         * sysdeps/ia64/dl-machine.h: Likewise.
45772         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45773         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45774         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45775         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45776         * sysdeps/sh/dl-machine.h: Likewise.
45777         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45778         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45779         * sysdeps/unix/i386/sysdep.S: Likewise.
45780         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45781         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45782         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45783         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45784         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45785         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45786         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45787         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45788         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45789         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45790         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45791         * sysdeps/x86_64/dl-machine.h: Likewise.
45792         * tls.make.c: Likewise.
45793
45794         * configure.in: Remove --with-__thread option.  Make tests for
45795         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45796         tls_model attribute fail if no support is available.  Remove
45797         USE_IN_LIBIO.
45798         * Makeconfig: Adjust for dropped configure option.  All features are
45799         now mandatory.
45800         * Makerules: Likewise.
45801         * Versions.def: Likewise.
45802         * argp/argp-fmtstream.c: Likewise.
45803         * argp/argp-fmtstream.h: Likewise.
45804         * argp/argp-help.c: Likewise.
45805         * assert/assert.c: Likewise.
45806         * config.h.in: Likewise.
45807         * config.make.in: Likewise.
45808         * configure: Likewise.
45809         * configure.in: Likewise.
45810         * csu/Versions: Likewise.
45811         * csu/init.c: Likewise.
45812         * elf/tst-audit2.c: Likewise.
45813         * elf/tst-tls10.c: Likewise.
45814         * elf/tst-tls10.h: Likewise.
45815         * elf/tst-tls11.c: Likewise.
45816         * elf/tst-tls12.c: Likewise.
45817         * elf/tst-tls14.c: Likewise.
45818         * elf/tst-tlsmod11.c: Likewise.
45819         * elf/tst-tlsmod12.c: Likewise.
45820         * elf/tst-tlsmod13.c: Likewise.
45821         * elf/tst-tlsmod13a.c: Likewise.
45822         * elf/tst-tlsmod14a.c: Likewise.
45823         * elf/tst-tlsmod15b.c: Likewise.
45824         * elf/tst-tlsmod16a.c: Likewise.
45825         * elf/tst-tlsmod16b.c: Likewise.
45826         * elf/tst-tlsmod7.c: Likewise.
45827         * elf/tst-tlsmod8.c: Likewise.
45828         * elf/tst-tlsmod9.c: Likewise.
45829         * gmon/gmon.c: Likewise.
45830         * grp/fgetgrent_r.c: Likewise.
45831         * grp/putgrent.c: Likewise.
45832         * hurd/fopenport.c: Likewise.
45833         * include/libc-symbols.h: Likewise.
45834         * include/tls.h: Likewise.
45835         * intl/gettextP.h: Likewise.
45836         * intl/loadinfo.h: Likewise.
45837         * locale/global-locale.c: Likewise.
45838         * locale/localeinfo.h: Likewise.
45839         * mach/devstream.c: Likewise.
45840         * malloc/arena.c: Likewise.
45841         * malloc/set-freeres.c: Likewise.
45842         * misc/err.c: Likewise.
45843         * misc/getttyent.c: Likewise.
45844         * misc/mntent_r.c: Likewise.
45845         * posix/getopt.c: Likewise.
45846         * posix/wordexp.c: Likewise.
45847         * pwd/fgetpwent_r.c: Likewise.
45848         * resolv/Versions: Likewise.
45849         * resolv/res_hconf.c: Likewise.
45850         * shadow/fgetspent_r.c: Likewise.
45851         * shadow/putspent.c: Likewise.
45852         * stdio-common/printf_fphex.c: Likewise.
45853         * stdio-common/tmpfile.c: Likewise.
45854         * stdlib/abort.c: Likewise.
45855         * stdlib/fmtmsg.c: Likewise.
45856         * sunrpc/auth_unix.c: Likewise.
45857         * sunrpc/clnt_perr.c: Likewise.
45858         * sunrpc/clnt_tcp.c: Likewise.
45859         * sunrpc/clnt_udp.c: Likewise.
45860         * sunrpc/clnt_unix.c: Likewise.
45861         * sunrpc/openchild.c: Likewise.
45862         * sunrpc/svc_simple.c: Likewise.
45863         * sunrpc/svc_tcp.c: Likewise.
45864         * sunrpc/svc_udp.c: Likewise.
45865         * sunrpc/svc_unix.c: Likewise.
45866         * sunrpc/xdr.c: Likewise.
45867         * sunrpc/xdr_array.c: Likewise.
45868         * sunrpc/xdr_rec.c: Likewise.
45869         * sunrpc/xdr_ref.c: Likewise.
45870         * sunrpc/xdr_stdio.c: Likewise.
45871
45872 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45873
45874         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45875
45876 2011-07-03  Andreas Jaeger  <aj@suse.de>
45877
45878         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45879         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45880         regenerate with gen-libm-tests.pl.
45881
45882 2010-05-12  Petr Baudis  <pasky@suse.cz>
45883
45884         [BZ #11589]
45885         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45886         around j0() zero points by switching to j1().
45887         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45888         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45889         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45890         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45891
45892 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45893
45894         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45895         instead of 0.
45896         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45897         instead of 0.
45898         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45899         Patch in part by Pavel Roskin <proski@gnu.org>.
45900
45901         [BZ #13138]
45902         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45903         realloc.
45904         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45905         Free memory block if necessary.
45906
45907         [BZ #12847]
45908         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45909         be NULL.  Don't lock in this case.
45910
45911 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45912
45913         * elf/elf.h (ELFOSABI_GNU): New macro.
45914         (ELFOSABI_LINUX): Define to that.
45915
45916 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45917
45918         * string/strncat.c (strncat): Undef the symbol in case it has been
45919         defined in bits/string.h.
45920
45921 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45922
45923         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45924
45925         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45926         link map.
45927
45928 2011-08-17  Andreas Jaeger  <aj@suse.de>
45929
45930         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45931
45932 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45933             Ian Lance Taylor  <iant@google.com>
45934
45935         * math/libm-test.inc (lround_test): New testcase.
45936         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45937
45938 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45939
45940         * Makefile: Remove support for automatic cvs check-ins.
45941         * Makerules: Likewise.
45942         * config.make.in: Likewise.
45943         * configure.in: Likewise.
45944         * intl/Makefile: Likewise.
45945         * locale/Makefile: Likewise.
45946         * po/Makefile: Likewise.
45947         * posix/Makefile: Likewise.
45948         * sysdeps/gnu/Makefile: Likewise.
45949         * sysdeps/mach/hurd/Makefile: Likewise.
45950         * sysdeps/sparc/sparc32/Makefile: Likewise.
45951
45952         [BZ #13118]
45953         * posix/Makefile (bug-regex32-ENV): Define.
45954         Patch by John Stanley <jpsinthemix@verizon.net>.
45955
45956         * misc/Makefile (headers): Add bits/select2.h.
45957         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45958         * misc/bits/select2.h: New file.
45959         * include/bits/select2.h: New file.
45960         * debug/Makefile (routines): Add fdelt_chk.
45961         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45962         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45963         FD_ISSET.
45964         * debug/fdelt_chk.c: New file.
45965
45966         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45967         * wcsmbs/test-wmemcmp.c: Likewise.
45968         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45969         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45970
45971 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45972
45973         * string/Makefile (strop-tests): Add memcmp.
45974         * string/test-wmemcmp.c: New file.
45975         * string/test-memcmp.c: Add wmemcmp support.
45976
45977 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45978
45979         [BZ #13153]
45980         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45981         2011-07-19 change.
45982
45983         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45984         garbage value in a __mach_port_mod_refs call in the cases of the
45985         task-self and thread-self ports.
45986
45987 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45988
45989         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45990
45991 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45992
45993         * elf/dl-load.c (lose): Check for non-null L.
45994
45995 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45996
45997         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45998
45999         * elf/dl-libc.c (dlerror_run): Pass back error code from
46000         dl_catch_error.
46001
46002         [BZ #13123]
46003         * elf/dl-load.c (lose): Free l_origin if it is valid.
46004
46005         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46006         names.
46007         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46008         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46009         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46010         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46011         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46012         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46013
46014 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46015
46016         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46017         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46018         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46019         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46020         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46021         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46022         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46023         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46024         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46025         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46026
46027 2011-08-15  Alan Modra  <amodra@gmail.com>
46028
46029         [BZ #13092]
46030         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46031         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46032         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46033         ppc_mcount to static-only-routines.
46034         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46035         __mcount_internal.
46036         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46037         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46038
46039 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46040
46041         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46042         for finite and infinity parameters.
46043
46044 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46045
46046         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46047         and add nop instructions for throughput optimization.
46048         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46049
46050 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46051
46052         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46053         aligned copy for power7 with vector-scalar instructions.
46054         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46055
46056 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46057
46058         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46059         AVX check.
46060
46061 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46062
46063         [BZ #13144]
46064         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46065         last change.
46066
46067 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46068
46069         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46070         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46071         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46072         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46073         clock_gettime.
46074
46075 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46076
46077         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46078         Forgot to demangle the pointer.
46079
46080         * sysdeps/i386/sysdep.h: Define atom_text_section.
46081         * sysdeps/x86_64/sysdep.h: Likewise.
46082         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46083         section with atom_text_section.
46084         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46085         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46086         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46087         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46088         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46089
46090         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46091         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46092         already be defined.  Change to take two parameters and don't assign
46093         result to variable.  Adjust all users.
46094         Define INTERNAL_GETTIME if not already defined.
46095         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46096         call.
46097         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46098         HAVE_CLOCK_GETTIME_VSYSCALL.
46099         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46100
46101         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46102         gettimeofday vsyscall, just use time.
46103
46104 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46105
46106         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46107         <errno.h>.
46108
46109 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46110
46111         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46112         syscall on x86-64.
46113         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46114         syscall.
46115         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46116         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46117         syscall if possible.
46118
46119 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46120
46121         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46122         e_ident.  Don't pass to find_mapsXX.
46123         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46124
46125 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46126
46127         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46128         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46129         * sysdeps/x86_64/multiarch/strchr.S: Update.
46130         Check bit_slow_BSF bit.
46131         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46132         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46133         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46134
46135 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46136
46137         [BZ #13134]
46138         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46139         before glibc 2.15.
46140         (tryshell): Define.
46141         (__spawni): Change last parameter to be flag.  Test
46142         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46143         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46144         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46145         * posix/spawni.c: Likewise.
46146         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46147         * posix/spawnp.c: Likewise.  Change normal version to use
46148         SPAWN_XFLAGS_USE_PATH.
46149         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46150         SPAWN_XFLAGS_TRY_SHELL.
46151
46152         [BZ #13150]
46153         * posix/glob.h: Remove gcc 1.x support.
46154
46155         [BZ #13068]
46156         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46157
46158 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46159
46160         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46161         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46162         strrchr-sse2-bsf
46163         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46164         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46165         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46166         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46167         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46168         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46169
46170 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46171
46172         * sysdeps/x86_64/wcscmp.S: New file.
46173
46174         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46175         wcscmp-c wcscmp-sse2
46176         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46177         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46178         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46179         * wcsmbs/wcscmp.c: Allow renaming.
46180
46181 2011-09-05  David S. Miller  <davem@davemloft.net>
46182
46183         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46184         stack slot, rather than the struct return pointer slot.
46185         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46186         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46188         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46189
46190 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46191
46192         * po/ja.po: Update from translation team.
46193
46194         [BZ #13144]
46195         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46196         kernel in 64-bit binaries.
46197
46198 2011-09-01  David S. Miller  <davem@davemloft.net>
46199
46200         * elf/elf.h (HWCAP_SPARC_*): Move to..
46201         * sysdeps/sparc/sysdep.h: this new file and add new values.
46202         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46203         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46204         _DL_HWCAP_COUNT to 24.
46205         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46206         entries.
46207         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46208         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46209         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46210         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46211         instead of magic constants.
46212         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46213
46214 2011-08-31  David S. Miller  <davem@davemloft.net>
46215
46216         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46217         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46218         Reimplement to do errno handling inline.
46219         (SYSCALL_ERROR_HANDLER): New macro.
46220         (__SYSCALL_STRING): Do not do errno handling in asm.
46221         (__CLONE_SYSCALL_STRING): Delete.
46222         (__INTERNAL_SYSCALL_STRING): Delete.
46223         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46224         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46225         (PSEUDO): Reimplement to do errno handling inline.
46226         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46227         (SYSCALL_ERROR_HANDLER): New macro.
46228         (__SYSCALL_STRING): Do not do errno handling in asm.
46229         (__CLONE_SYSCALL_STRING): Delete.
46230         (__INTERNAL_SYSCALL_STRING): Delete.
46231         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46232         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46233         i386.
46234         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46235         (inline_syscall*): Add 'err' argument.
46236         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46237         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46238         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46239         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46240
46241         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46242         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46243
46244 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46245
46246         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46247
46248 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46249
46250         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46251         directive.
46252
46253 2011-08-24  David S. Miller  <davem@davemloft.net>
46254
46255         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46256
46257 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46258
46259         * elf/Makefile: Add rules to build and run unload8 test.
46260         * elf/unload8.c: New file.
46261         * elf/unload8mod1.c: New file.
46262         * elf/unload8mod1x.c: New file.
46263         * elf/unload8mod2.c: New file.
46264         * elf/unload8mod3.c: New file.
46265
46266         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46267         it wasn't used.
46268
46269 2011-08-23  David S. Miller  <davem@davemloft.net>
46270
46271         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46272         subtract stack bias.
46273         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46274         %sp not %fp in calculations.
46275         (_JMPBUF_UNWINDS_ADJ): Likewise.
46276
46277         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46278         (aio_suspend): Call it to force an exception region around the
46279         AIO_MISC_WAIT() invocation.
46280
46281 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46282
46283         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46284         backslash.
46285
46286 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46287
46288         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46289         protection macro.
46290         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46291         and <dl-machine.h>.
46292         (Elf64_FuncDesc): Remove.
46293
46294 2011-08-22  David S. Miller  <davem@davemloft.net>
46295
46296         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46297         sigaltstack check, add missing cfi directives.
46298         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46299         missing cfi directives, and sigaltstack handling.
46300
46301 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46302
46303         [BZ #11724]
46304         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46305         object is seen twice.
46306         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46307
46308         * elf/Makefile (distribute): Add tst-initorder2.c.
46309         (tests): Add tst-initorder2.
46310         (modules-names): Add tst-initorder2a tst-initorder2b
46311         tst-initorder2c tst-initorder2d.  Add rules to build them.
46312         ($(objpfx)tst-initorder2.out): New rule.
46313         * elf/tst-initorder2.c: New file.
46314         * elf/tst-initorder2.exp: New file.
46315
46316 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46317
46318         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46319
46320         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46321         dependencies back to end of function.
46322
46323         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46324         $(elfobjdir)/ld.so.
46325
46326 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46327
46328         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46329         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46330         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46331         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46332         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46333         of __vdso_gettimeofday.
46334         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46335         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46336         attribute_hidden.
46337         (_libc_vdso_platform_setup): Remove initialization of
46338         __vdso_gettimeofday and __vdso_time.
46339
46340 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46341
46342         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46343         and fgetc_unlocked.
46344         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46345         getc_unlocked.
46346
46347         * elf/dl-open.c (add_to_global): Report additions to the global scope
46348         for LD_DEBUG=scopes.
46349         (dl_open_worker): Also print scope of newly loaded dependencies.
46350         (_dl_show_scope): Indicate if there is no scope.
46351
46352         [BZ #13114]
46353         * stdio-common/Makefile (tests): Add bug24.
46354         * stdio-common/bug24.c: New file.
46355
46356 2011-08-19  Andreas Jaeger  <aj@suse.de>
46357
46358         [BZ #13114]
46359         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46360         non-existant file when using close-on-exec mode.
46361
46362 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46363
46364         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46365         the very first instruction.
46366
46367         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46368         the CFI state in the end.
46369         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46370         inclusion of dl-trampoline.h.
46371         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46372
46373 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46374
46375         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46376         expectations for long double.
46377
46378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46379         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46380
46381 2011-08-14  David S. Miller  <davem@davemloft.net>
46382
46383         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46384         artificual limit depends upon the system page size.
46385
46386 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46387
46388         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46389         * resolv/Makefile: Define CFLAGS-libresolv.
46390
46391 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46392
46393         * nss/makedb.c (compute_tables): Make variables used in nested
46394         function static.
46395
46396 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46397
46398         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46399         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46400         if buffer was too small.
46401
46402         * elf/pldd.c (main): Attach to all threads in the process.
46403         Rewrite /proc handling to use *at functions.
46404
46405 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46406
46407         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46408         specifies first scope to show.
46409         (dl_open_worker): Update callers.  Move printing scope of new
46410         object to before the relocation.
46411         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46412         * sysdeps/generic/ldsodefs.h: Update declaration.
46413
46414         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46415         string for the scope number.
46416
46417 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46418
46419         * nscd/servicescache.c (cache_addserv): Make sure written is always
46420         initialized.
46421
46422 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46423
46424         * sysdeps/i386/i486/bits/atomic.h
46425         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46426         statement expression, so as to suppress "set but not used" warning.
46427         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46428
46429         * string/strncat.c (STRNCAT): Use prototype definition.
46430
46431         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46432         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46433         -Iprograms here.
46434         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46435         (localedef-modules): Add localedef.
46436         (locale-modules): Add locale.
46437
46438         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46439         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46440         to avoid a warning.
46441
46442 2011-08-14  David S. Miller  <davem@davemloft.net>
46443
46444         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46445         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46446
46447 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46448
46449         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46450         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46451         * elf/rtld.c (dl_main): Set l_name of vDSO.
46452         Call _dl_show_scope when DL_DEBUG_SCOPES.
46453         (process_dl_debug): Recognize scopes flag and also set it for all.
46454         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46455         Declare _dl_show_scope.
46456
46457         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46458         (do_dlopen): Pass caller_dlopen to dl_open.
46459         (__libc_dlopen_mode): Initialize caller_dlopen.
46460
46461         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46462         of libc.  Make tolower call locale-independent.  Optimize a bit by
46463         using isdigit instead of isalnum.
46464         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46465
46466 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46467
46468         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46469         was a dependency or dynamically loaded.
46470
46471 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46472
46473         * intl/l10nflist.c: Allow architecture-specific pop function.
46474         * sysdeps/x86_64/l10nflist.c: New file.
46475
46476         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46477         classification.
46478
46479 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46480
46481         * include/dirent.h: Add libc_hidden_proto for scandirat and
46482         scandirat64.  Don't declare __scandirat64.
46483         * dirent/scandirat.c: Add libc_hidden_def.
46484         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46485         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46486
46487 2011-08-10  David S. Miller  <davem@davemloft.net>
46488
46489         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46490         enum.
46491         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46492         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46493         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46494
46495 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46496
46497         * Versions.def [libc]: Add GLIBC_2.15.
46498         * dirent/Makefile (routines): Add scandirat and scandirat64.
46499         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46500         GLIBC_2.15.
46501         * dirent/dirent.h: Declare scandirat and scandirat64.
46502         * dirent/scandirat.c: New file.
46503         * dirent/scandirat64.c: New file.
46504         * sysdeps/wordsize-64/scandirat.c: New file.
46505         * sysdeps/wordsize-64/scandirat64.c: New file.
46506         * dirent/opendir.c: Define opendirat.
46507         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46508         using scandirat.
46509         * dirent/scandir64.c: Adjust for scandir.c change.
46510         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46511         __scandirat64, and __scandir_cancel_handler.
46512         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46513         additional parameter and use openat instead of open (outside of ld.so).
46514         Add new __opendir as wrapper around __opendirat.
46515         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46516         here without requiring old scandirat implementation.
46517
46518 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46519
46520         * dirent/scandir.c (cancel_handler): Renamed to
46521         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46522         defined.  Adjust users.
46523         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46524         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46525
46526 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46527
46528         * string/test-string.h (IMPL): Use __STRING to expand name and then
46529         stringify it.
46530
46531         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46532         of cleanups.
46533
46534 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46535
46536         * string/Makefile: Update.
46537         (strop-tests): Append strncat.
46538         * string/test-wcscmp.c: New file.
46539         New comprehensive test for wcscmp.
46540         * string/test-strcmp.c: Update.
46541         (WIDE): New define.
46542
46543 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46544
46545         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46546         line.
46547
46548 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46549
46550         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46551         encoding to ACE if AI_IDN.
46552
46553 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46554
46555         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46556         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46557
46558 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46559
46560         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46561         Fix overflow bug in strncat.
46562         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46563
46564         * string/test-strncat.c: Update.
46565         Add new tests for checking overflow bugs.
46566
46567 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46568
46569         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46570         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46571         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46572         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46573         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46574         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46575         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46576         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46577         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46578
46579         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46580         (USE_AS_STRCAT): Define.
46581         Add strcat and strncat support.
46582         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46583
46584 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46585
46586         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46587         __n bigger than INT_MAX+1.
46588         (__strncmp_g): Likewise.
46589
46590 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46591
46592         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46593         * libio/stido.h: Likewise.
46594
46595         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46596         (AF_NFC): Define.
46597         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46598         (AF_NFC): Define.
46599
46600         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46601         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46602         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46603         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46604         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46605
46606         [BZ #13021]
46607         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46608         installed.
46609
46610         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46611         typo.
46612         (_dl_x86_64_save_sse): Likewise.
46613
46614 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46615
46616         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46617         OSXSAVE.
46618         (_dl_x86_64_save_sse): Likewise.
46619
46620         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46621
46622         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46623
46624 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46625
46626         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46627         change.
46628         (_dl_x86_64_save_sse): Use correct AVX check.
46629
46630 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46631
46632         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46633         bug in strncpy/strncat.
46634         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46635
46636 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46637
46638         * string/tester.c (test_strcat): Add tests for different alignments
46639         of source and destination.
46640         (test_strncat): Likewise.
46641
46642 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46643
46644         [BZ #12852]
46645         * posix/glob.c (glob): Check passed in values before using them in
46646         expressions to avoid some overflows.
46647         (glob_in_dir): Likewise.
46648
46649         [BZ #13007]
46650         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46651         check for AVX enablement so that we don't crash with old kernels and
46652         new hardware.
46653         * elf/tst-audit4.c: Add same checks here.
46654         * elf/tst-audit6.c: Likewise.
46655
46656         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46657
46658 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46659
46660         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46661
46662 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46663
46664         * po/cs.po: Update from translation team.
46665         * po/bg.po: Likewise.
46666
46667 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46668
46669         * misc/sys/cdefs.h: Add support for const attribute.
46670         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46671         to gnu_dev_{major,minor,makedev} functions.
46672
46673 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46674
46675         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46676
46677 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46678
46679         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46680         strlen results.
46681
46682 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46683
46684         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46685         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46686         register in order to avoid conflicts with the soft frame pointer
46687         being held in r11 when necessary.
46688         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46689         (INTERNAL_VSYSCALL_NCS): Likewise.
46690
46691 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46692
46693         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46694         * elf/dl-fini.c (_dl_fini): Adjust caller.
46695         * elf/dl-close.c (_dl_close_worker): Likewise.
46696         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46697
46698 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46699
46700         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46701         "aux_cache->nlibs < 0".
46702
46703         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46704         in the reload-count case.
46705
46706 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46707
46708         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46709         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46710         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46711         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46712         * sysdeps/x86_64/multiarch/strcat.S: New file.
46713         * sysdeps/x86_64/multiarch/strncat.S: New file.
46714         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46715         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46716         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46717         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46718         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46719         (USE_AS_STRCAT): Define.
46720         Add strcat and strncat support.
46721         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46722         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46723         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46724         * string/strncat.c: Update.
46725         (USE_AS_STRNCAT): Define.
46726         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46727         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46728         and i7.
46729         * sysdeps/x86_64/multiarch/init-arch.h
46730         (bit_Prefer_PMINUB_for_stringop): New.
46731         (index_Prefer_PMINUB_for_stringop): Likewise.
46732         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46733         bit_Prefer_PMINUB_for_stringop.
46734
46735 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46736
46737         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46738         buffer64.
46739         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46740         of casting of buffer.
46741         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46742         buffer32 and buffer64.
46743         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46744         writes instead of casting of buffer.
46745         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46746         buffer32.
46747         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46748         casting of buffer.
46749
46750 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46751
46752         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46753
46754 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46755
46756         * nscd/nscd.c (termination_handler): Don't do anything for a database
46757         if it has not yet been initialized.
46758
46759 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46760
46761         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46762
46763 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46764
46765         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46766
46767 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46768
46769         * po/nl.po: Update from translation team.
46770         * po/sv.po: Likewise.
46771
46772 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46773
46774         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46775         now disallowed by GCC.
46776
46777         * configure.in (use-default-link): Default to yes if a test -shared
46778         link meets our qualifications.
46779         * configure: Regenerated.
46780
46781         * config.make.in (output-format): New variable.
46782         * configure.in: Check for ld --print-output-format support.
46783         * configure: Regenerated.
46784         * Makerules ($(common-objpfx)format.lds)
46785         [$(output-format) != unknown]: Just use $(output-format),
46786         instead of the linker-script munging.
46787
46788 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46789
46790         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46791         of $(common-objpfx)shlib.lds.
46792         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46793
46794         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46795         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46796
46797         * configure.in (-z relro check): Adjust test code to add a large
46798         writable data section after it.
46799         * configure: Regenerated.
46800
46801 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46802
46803         * configure.in (-z relro check): Fix test code to make the variable
46804         truly const.
46805         * configure: Regenerated.
46806
46807 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46808
46809         * nscd/nscd.h (struct traced_file): Define.
46810         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46811         elements.  Add traced_files.
46812         (inotify_fd): Declare.
46813         (register_traced_file): Declare.
46814         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46815         (inotify_fd): Export.
46816         (resolv_conf_descr): Remove.
46817         (nscd_init): Move inotify descriptor creation to main.
46818         Don't register files for notification here.
46819         (register_traced_file): New function.
46820         (invalidate_cache): Don't use reset_res to determine whether to call
46821         res_init, go through the list of registered files.
46822         (main_loop_poll): The inotify descriptors are now stored in the
46823         structures for the traced files.
46824         (main_loop_epoll): Likewise
46825         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46826         to __nss_disable_nscd.
46827         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46828         for a database anymore.  Check the records for all the registered
46829         files instead.
46830         * nss/Makefile (libnss_files-routines): Add files-init.
46831         (libnss_db-routines): Add db-init.
46832         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46833         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46834         * nss/nss_db/db-init.c: New file.
46835         * nss/nss_files/files-init.c: New file.
46836         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46837         __nss_lookup_function.
46838         (__nss_lookup_function): Call nss_load_library.
46839         (nss_load_all_libraries): New function.
46840         (__nss_disable_nscd): Take parameter with callback function for files
46841         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46842         used for the cached services.
46843         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46844         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46845         options for features to all the files in nscd.
46846
46847         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46848
46849 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46850
46851         * csu/elf-init.c (__libc_csu_init): Comment typo.
46852
46853 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46854
46855         * po/pl.po: Update from translation team.
46856         * po/ja.po: Likewise.
46857         * po/ru.po: Likewise.
46858         * po/ko.po: Likewise.
46859         * po/fr.po: Likewise.
46860
46861 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46862
46863         * configure.in (.ctors/.dtors header and trailer check):
46864         Use an empirical test on a built program.
46865         * configure: Regenerated.
46866
46867         * configure.in (-z relro check): Use an empirical test on a built DSO.
46868         Detect, but do not require, on ia64.
46869         * configure: Regenerated.
46870
46871         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46872         Update tests that use readelf to use $READELF instead.
46873         * configure: Regenerated.
46874
46875 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46876
46877         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46878         if the result is not used.
46879
46880 2011-07-05  Andreas Jaeger  <aj@suse.de>
46881
46882         [BZ#9696]
46883         * stdlib/tst-strtod.c: Add testcase.
46884
46885 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46886
46887         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46888         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46889         The latter has a higher limit.  Take additional parameter to pass to
46890         the new function.
46891         (__pathconf): Pass file to __statfs_link_max.
46892         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46893         __statfs_link_max.
46894         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46895         __statfs_link_max.
46896
46897         [BZ #12868]
46898         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46899         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46900         Handle Lustre.
46901         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46902         (__statfs_filesize_max): Likewise.
46903         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46904
46905 2011-07-05  Andreas Jaeger  <aj@suse.de>
46906
46907         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46908
46909 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46910
46911         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46912         `status' variable.
46913         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46914         Likewise.
46915
46916 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46917
46918         * Makefile (strop-tests): Add strncat.
46919         * string/test-strncat.c: New file.
46920
46921 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46922
46923         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46924
46925 2011-06-21  Andreas Jaeger  <aj@suse.de>
46926
46927         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46928         Copy rule from iconvdata/Makefile.
46929
46930 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46931
46932         [BZ #12922]
46933         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46934         but no long options are defined, just return 'W'.
46935
46936 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46937
46938         [BZ #9696]
46939         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46940
46941 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46942
46943         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46944         netgroups to read.
46945         (innetgr): Likewise.
46946
46947 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46948
46949         * config.make.in (install_root): Default to $(DESTDIR).
46950
46951 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46952
46953         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46954
46955 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46956
46957         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46958
46959         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46960         containing directory rather than embedding absolute directory names.
46961
46962         * scripts/check-local-headers.sh: Rewritten using awk.
46963         Match by word, not by line.  Print error messages for matches.
46964         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46965
46966         * Makerules [shlib-lds-flags empty]:
46967         ($(common-objpfx)libc_pic.opts): New target.
46968         ($(common-objpfx)libc_pic.os.clean): New target.
46969         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46970
46971         * config.make.in (OBJCOPY): New variable.
46972         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46973         * configure: Regenerated.
46974
46975         * config.make.in (use-default-link): New variable.
46976         * configure.in (use_default_link): Grok --with-default-link to set it.
46977         * configure: Regenerated.
46978         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46979         (shlib-lds, shlib-lds-flags): Define to empty.
46980
46981         * Makerules (shlib-lds): New variable.
46982         (shlib-lds-flags): New variable.
46983         (build-shlib, build-moduile, build-module-asneeded): Use it.
46984         ($(common-objpfx)libc.so): Use $(shlib-lds).
46985         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46986         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46987
46988         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46989         DT_FLAGS/DT_FLAGS_1 with zero flags.
46990
46991         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46992         linker script munging.
46993
46994 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46995
46996         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46997         as 128-bit value.
46998         * crypt/sha512.c (sha512_process_block): Perform total addition using
46999         128-bit if possible.
47000         (__sha512_finish_ctx): Likewise.
47001         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47002         as 64-bit value.
47003         * crypt/sha256.c (SWAP64): Define.
47004         (sha256_process_block): Perform total addition using 64-bit if
47005         possible.
47006         (__sha256_finish_ctx): Likewise.
47007
47008 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47009
47010         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47011         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47012         * nscd/hstcache.c (cache_addhst): Likewise.
47013         * nscd/grpcache.c (cache_addgr): Likewise.
47014         * nscd/aicache.c (addhstaiX): Likewise
47015         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47016
47017 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47018
47019         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47020         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47021         * nscd/hstcache.c (cache_addhst): Likewise.
47022         * nscd/grpcache.c (cache_addgr): Likewise.
47023         * nscd/aicache.c (addhstaiX): Likewise
47024
47025 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47026
47027         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47028         domain only when needed.
47029
47030 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47031
47032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47033         is always restored.
47034
47035 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47036
47037         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47038         are re-adding the entry.
47039         * nscd/servicescache.c (cache_addserv): Likewise.
47040
47041 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47042
47043         * sysdeps/generic/dl-irel.h: fix protection against multiple
47044         inclusions.
47045         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47046
47047 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47048
47049         [BZ #12935]
47050         * malloc/memusage.sh: Fix quoting in message.
47051         * debug/xtrace.sh: Likewise.
47052
47053         * configure.in: Remove support for --experimental-malloc option, make
47054         it the default.
47055         * config.make.in: Likewise.
47056         * malloc/Makefile: Likewise.
47057
47058 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47059
47060         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47061         two-byte characters.
47062
47063 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47064
47065         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47066         AC_CACHE_CHECK invocation.
47067         * configure: Regenerated.
47068
47069         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47070
47071 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47072
47073         [BZ #12350]
47074         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47075         bit from old_res_options.
47076
47077         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47078
47079         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47080         value type for setfct.
47081
47082 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47083
47084         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47085         __gettimeofday instead of gettimeofday.
47086
47087 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47088
47089         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47090
47091 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47092
47093         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47094
47095         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47096         info.
47097
47098 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47099
47100         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47101         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47102         strcpy-sse2-unaligned strncpy-sse2-unaligned
47103         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47104         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47105         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47106         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47107         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47108         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47109         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47110         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47111         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47112         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47113         (STRCPY): Support SSE2 and SSSE3 versions.
47114
47115 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47116
47117         [BZ #12874]
47118         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47119         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47120         kernels which artificially limit size of requests.
47121
47122 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47123
47124         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47125         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47126         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47127         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47128         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47129         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47130         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47131         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47132         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47133         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47134         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47135         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47136         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47137         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47138         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47139         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47140         Enable unaligned load optimization for Intel Core i3, i5 and i7
47141         processors.
47142         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47143         Define.
47144         (index_Fast_Unaligned_Load): Define.
47145         (HAS_FAST_UNALIGNED_LOAD): Define.
47146
47147 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47148
47149         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47150
47151 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47152
47153         [BZ #12907]
47154         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47155         until it is clear that the information is realy needed.
47156         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47157
47158 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47159
47160         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47161
47162 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47163
47164         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47165         /sys/devices/system/cpu/online if it is usable.
47166
47167         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47168         reading the information from the /proc filesystem to once a second.
47169
47170 2011-06-21  Andreas Jaeger  <aj@suse.de>
47171
47172         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47173         NULL after inclusion of kernel headers.
47174
47175 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47176
47177         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47178         calls to internal_setent.
47179
47180         [BZ #12885]
47181         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47182         addresses using gethostbyname4_r ignore IPv4 addresses.
47183
47184         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47185         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47186
47187         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47188
47189 2011-06-20  David S. Miller  <davem@davemloft.net>
47190
47191         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47192         inclusions.
47193         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47194
47195         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47196         (elf_irel): Use it.
47197         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47198         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47199         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47200         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47201         * sysdeps/x86_64/dl-irel.h: Likewise.
47202
47203         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47204         * elf/dl-sym.c: Likewise.
47205
47206 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47207
47208         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47209         need to dereference resplen2.
47210
47211 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47212
47213         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47214
47215 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47216
47217         * Makeconfig: Define vardbdir and inst_vardbdir.
47218         * nss/Makefile: Add rules to install db-Makefile.
47219
47220         * nss/nss_db/db-XXX.c: Cleanup.
47221
47222         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47223         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47224         GLIBC_PRIVATE.
47225         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47226         * nss/makedb.c: Implement -g option to specify that value strings
47227         are generated and should not be added to table iterated over for
47228         get*ent calls.
47229         * nss/nss_db/db-initgroups.c: New file.
47230
47231         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47232         interface.
47233
47234         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47235         (internal_getgrouplist): Adjust to name change.
47236         Update use_initgroups_entry if this is not the first call.
47237         * nss/databases.def: Add initgroups entry.
47238
47239         * nss/makedb.c (compute_tables): Check result of multiple hash table
47240         sizes to minimize maximum chain length.
47241
47242 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47243
47244         * Versions.def: Add entry for libnss_db.
47245         * shlib-versions: Likewise.
47246         * nss/Makefile: Add rules to build libnss_db.
47247         * nss/Versions: Add libnss_db information.  Organize libnss_files
47248         entries better.
47249         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47250         makedb progra.  Some minor improvements to generate smaller files.
47251         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47252         here from...
47253         * nss/makedb.c: ...here.
47254         Improve database format to be smaller and require less memory at
47255         runtime.
47256         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47257         db anymore.
47258         * nss/nss_db/db-netgrp.c: Likewise.
47259         * nss/nss_db/db-open.c: Likewise.
47260         * nss/nss_files/flies-XXX.x: Adjust comments.
47261         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47262         * nss/nss_files/files-grp.c: Likewise.
47263         * nss/nss_files/files-hosts.c: Likewise.
47264         * nss/nss_files/files-network.c: Likewise.
47265         * nss/nss_files/files-proto.c: Likewise.
47266         * nss/nss_files/files-pwd.c: Likewise.
47267         * nss/nss_files/files-rpc.c: Likewise.
47268         * nss/nss_files/files-service.c: Likewise.
47269         * nss/nss_files/files-sgrp.c: Likewise.
47270         * nss/nss_files/files-spwd.c: Likewise.
47271         * nss/nss_db/db-alias.c: Removed.
47272         * nss/nss_db/dummy-db.h: Removed.
47273
47274 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47275
47276         * nss/makedb.c: Rewritten to not use database library.
47277         * nss/Makefile: Update to build new makedb program.
47278
47279 2011-06-14  Andreas Jaeger  <aj@suse.de>
47280
47281         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47282         memset declaration.
47283
47284 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47285
47286         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47287         tmpbuf.
47288
47289 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47290
47291         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47292         * elf/Makefile ($(objpfx)ld.so): Likewise.
47293
47294         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47295         Don't list ld.so twice in dependencies.
47296
47297         * posix/bug-regex31.c: Include <stdlib.h>.
47298
47299         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47300
47301         * nis/nss_compat/compat-spwd.c
47302         (getspent_next_nss_netgr): Remove unused variable.
47303         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47304
47305         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47306         nonmembers" output to use the right array.
47307
47308         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47309
47310         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47311
47312         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47313         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47314         * catgets/gencat.c (read_input_file): Likewise.
47315         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47316
47317         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47318         variable definition inside #if's controlling its use.
47319
47320         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47321
47322         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47323
47324         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47325
47326         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47327         unreachable code.
47328
47329         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47330
47331         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47332         * configure: Regenerated.
47333
47334         * Makerules: Revert last change.
47335         * elf/Makefile: Likewise.
47336
47337 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47338
47339         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47340         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47341         (reloc-link): Likewise.
47342
47343 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47344
47345         * elf/Makefile: Add rules to build pldd.
47346         * elf/pldd.c: New file.
47347         * elf/pldd-xx.c: New file.
47348
47349 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47350
47351         * version.h: Update for 2.15 development version.
47352
47353 2011-06-07  David S. Miller  <davem@davemloft.net>
47354
47355         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47356         ifuncs.
47357         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47358         elf_machine_lazy_rel): Likewise.
47359         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47360         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47361         elf_machine_lazy_rel): Likewise.
47362         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47363         dl_hwcap via passed in argument.
47364         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47365         Likewise.
47366
47367 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47368
47369         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47370
47371 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47372
47373         [BZ #12849]
47374         * manual/fdl-1.1.texi: New file, verbatim from:
47375         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47376         * manual/lgpl-2.1.texi: New file, verbatim from:
47377         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47378         * manual/Makefile (licenses): New variable, list those new file names.
47379         (texis): Use it.
47380         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47381
47382         * manual/fdl.texi: File removed.
47383         * manual/lesser.texi: File removed.
47384         * manual/libc.texinfo (Copying, Documentation License):
47385         Use new @include file names, put @appendix directive before @include.
47386
47387 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47388
47389         [BZ #12841]
47390         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47391         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47392         (mq_open): Add __NTH.
47393
47394 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47395
47396         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47397         Assume Intel Core i3/i5/i7 processor if AVX is available.
47398
47399 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47400
47401         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47402         typo.
47403
47404 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47405
47406         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47407         memory.  Use alloca_account.  Fix memory leak when retrying.
47408
47409 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47410
47411         * version.h (RELEASE): Bump for 2.14 release.
47412         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47413
47414         * config.make.in (RANLIB): Remove entry.
47415
47416 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47417
47418         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47419         (libc.pot): Work around missing support for .ksh extension in xgettext.
47420
47421         [BZ #12684]
47422         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47423         if both request failed.
47424         (send_dg): In case of server errors clear resplen or *resplen2.
47425
47426         [BZ #12454]
47427         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47428         when there are multiple maps.
47429         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47430         (_dl_fini): Remove test here.
47431
47432         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47433
47434 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47435
47436         [BZ #12350]
47437         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47438         bit from old_res_options.
47439         (gaih_inet): Likewise.
47440
47441         [BZ #11099]
47442         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47443         as signed.
47444
47445         * resolv/res_init.c (res_setoptions): Make the code more compact.
47446
47447         [BZ #11558]
47448         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47449         set RES_USEVC.
47450
47451         [BZ #11634]
47452         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47453
47454         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47455
47456         [BZ #11781]
47457         * malloc/malloc.h: Declare malloc hook variables as volatile.
47458
47459         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47460         in last patch.
47461
47462         [BZ #11799]
47463         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47464         raise in the comment.
47465         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47466         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47467         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47468
47469 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47470
47471         [BZ #12811]
47472         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47473         grow the buffers more if it already has to be sufficient.
47474         (build_wcs_upper_buffer): Likewise.
47475         * posix/regexec.c (check_matching): Likewise.
47476         (clean_state_log_if_needed): Likewise.
47477         (extend_buffers): Don't enlarge buffers beyond size of the input
47478         buffer.
47479         Patches mostly by Emil Wojak <emil@wojak.eu>.
47480         * posix/bug-regex32.c: New file.
47481         * posix/Makefile (tests): Add bug-regex32.
47482
47483         * locale/findlocale.c (_nl_find_locale): Return right away if
47484         _nl_explode_name failed.
47485         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47486
47487         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47488
47489         * debug/xtrace.sh: Unify messages.
47490         * malloc/memusage.sh: Likewise.
47491
47492         [BZ #12813]
47493         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47494         time symbol from vDSO.  Substitute with vsyscall if not available.
47495         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47496         __vdso_time.
47497
47498         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47499         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47500         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47501         Add sendmmsg and internal_sendmmsg.
47502         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47503         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47504         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47505
47506         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47507         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47508         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47509
47510 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47511
47512         [BZ #12813]
47513         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47514         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47515         available.
47516         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47517         __vdso_getcpu.
47518
47519         [BZ #12814]
47520         * iconvdata/Makefile (tests): Add bug-iconv9.
47521         * iconvdata/bug-iconv9.c: New file.
47522
47523 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47524
47525         [BZ #12814]
47526         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47527
47528 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47529
47530         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47531         (struct user_regs_struct): Change intcs field back to cs.
47532
47533 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47534
47535         * po/ja.po: Update from translation team.
47536
47537 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47538
47539         [BZ #12795]
47540         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47541         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47542
47543 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47544
47545         * stdlib/longlong.h: Update from GCC.
47546
47547 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47548
47549         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47550         parameter name.
47551         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47552         Add parameter name.
47553         (__sysconf): Pass it down.
47554
47555 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47556
47557         [BZ #12671]
47558         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47559         some situations.
47560         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47561         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47562         add in in __libc_use_alloca calls.  Adjust callers.
47563         (glob): Use malloc in some situations.
47564
47565         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47566         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47567         pltexit.
47568
47569 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47570
47571         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47572         and CLOCK_BOOTTIME_ALARM.
47573
47574         [BZ #12782]
47575         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47576         is returned.
47577
47578         * string/_strerror.c (__strerror_r): Print negative errors as signed
47579         numbers.
47580
47581         [BZ #12777]
47582         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47583         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47584         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47585
47586         * configure.in: Fix typo in redirection and correct removal of test
47587         files in two cases.
47588
47589         [BZ #12788]
47590         * locale/setlocale.c (new_composite_name): Fix test to check for
47591         identical name of all categories.
47592
47593         [BZ #12792]
47594         * libio/filedoalloc.c (local_isatty): New function.
47595         (_IO_file_doallocate): Use local_isatty.
47596         * stdio-common/perror.c (perror): In case a new stream is used
47597         forward the stream error.
47598         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47599         error flag.
47600
47601 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47602
47603         [BZ #11869]
47604         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47605         alloca.
47606         * include/alloca.h (extend_alloca_account): Define.
47607
47608         [BZ #11857]
47609         * posix/regex.h: Fix comments with documentation of user-accessible
47610         fields after compilation and describe correct free'ing of pattern
47611         after re_compile_pattern.
47612         Patch by Reuben Thomas <rrt@sc3d.org>.
47613
47614 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47615
47616         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47617         and -mno-altivec to prevent the compiler from using Altivec and/or
47618         VSX instructions when the corresponding registers are not available.
47619
47620 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47621
47622         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47623
47624 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47625
47626         * libio/freopen.c (freopen): Use __dup2, not dup2.
47627         * libio/freopen64.c (freopen64): Likewise.
47628
47629 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47630
47631         [BZ #12775]
47632         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47633         * math/Makefile (tests): Add test-powl.
47634         (CFLAGS-test-powl.c): Define.
47635         * math/test-powl.c: New file.
47636
47637 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47638
47639         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47640
47641 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47642
47643         [BZ #11837]
47644         * iconvdata/gb18030.c: Update to GB18020-2005.
47645
47646 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47647
47648         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47649         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47650         Patch by Aharon Robbins <arnold@skeeve.com>.
47651
47652         [BZ #11892]
47653         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47654         on the stack.
47655
47656         [BZ #11895]
47657         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47658         through underflows.
47659
47660         [BZ #12766]
47661         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47662         point to strings before performing equality test for error_one_per_line
47663         mode.
47664
47665         [BZ #11697]
47666         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47667
47668         [BZ #11820]
47669         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47670         (struct user_fpregs_struct): Avoid __uint*_t types.
47671
47672         [BZ #6420]
47673         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47674         symbol info.  Use it instead of calling _dl_addr locally.
47675         (lock_and_info): New function.
47676         (tr_freehook): Call lock_and_info and pass symbol info as additional
47677         parameter to tr_where.
47678         (tr_mallochook): Likewise.
47679         (tr_reallochook): Likewise.
47680         (tr_memalignhook): Likewise.
47681
47682         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47683         used and couldn't be at all thread-safe.
47684
47685 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47686
47687         * libio/freopen.c (freopen): Don't close old file descriptor
47688         before the new one is opened.  Instead dup the new file descriptor
47689         to the old one after the new stream is created.
47690         * libio/freopen64.c (freopen64): Likewise.
47691         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47692         * libio/fileops.c (_IO_new_file_close_it): Handle new
47693         _IO_FLAGS2_NOCLOSE flag.
47694         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47695         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47696         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47697         _IO_FLAGS2_NOCLOSE flag.
47698         * include/unistd.h: Add hidden_proto for dup3.
47699         Define __have_dup3.
47700         * io/dup3.c: Define hidden symbol.
47701         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47702
47703         [BZ #7101]
47704         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47705         when an incomplete long option is used.
47706         * posix/tst-getopt_long1.c: New file.
47707         * posix/Makefile (tests): Add tst-getopt_long1.
47708
47709         [BZ #10138]
47710         * scripts/config.guess: Update from autoconf-2.68.
47711         * scripts/config.sub: Likewise.
47712
47713         [BZ #10157]
47714         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47715         tests into ...
47716         (has_cpuclock): ...this.  New function.
47717         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47718         macro here based on has_cpuclock code.
47719
47720         [BZ #10149]
47721         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47722         First byte (not low byte) is now always NUL.
47723         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47724
47725         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47726         Use non-cancelable interfaces.
47727
47728         [BZ #9809]
47729         * locale/iso-639.def: Add entry for Sorani.
47730
47731         [BZ #11901]
47732         * include/stdlib.h: Move include protection to the right place.
47733         Define abort_msg_s.  Declare __abort_msg with it.
47734         * stdlib/abort.c (__abort_msg): Adjust type.
47735         * assert/assert.c (__assert_fail_base): New function.  Majority
47736         of code from __assert_fail.  Allocate memory for __abort_msg with
47737         mmap.
47738         (__assert_fail): Now call __assert_fail_base.
47739         * assert/assert-perr.c: Remove bulk of implementation.  Use
47740         __assert_fail_base.
47741         * include/assert.hL Declare __assert_fail_base.
47742         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47743         mmap.
47744         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47745
47746 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47747
47748         [BZ #11952]
47749         [BZ #12453]
47750         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47751         until all modules are registered in the DTV.
47752         * elf/Makefile: Add rules to build and run tst-tls19.
47753         * elf/tst-tls19.c: New file.
47754         * elf/tst-tls19mod1.c: New file.
47755         * elf/tst-tls19mod2.c: New file.
47756         * elf/tst-tls19mod3.c: New file.
47757         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47758
47759         [BZ #12083]
47760         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47761         correctly.
47762
47763         [BZ #12601]
47764         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47765         two-byte sequence errors.
47766         * iconvdata/Makefile (tests): Add bug-iconv8.
47767         * iconvdata/bug-iconv8.c: New file.
47768
47769         [BZ #12626]
47770         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47771         buf2 definition.
47772
47773         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47774
47775         [BZ #12432]
47776         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47777         (dummy_getcfa): New function.
47778         (init): Get _Unwind_GetCFA address, use dummy if not found.
47779         (backtrace_helper): In recursion check, also check whether CFA changes.
47780         (__backtrace): Completely initialize arg.
47781
47782         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47783         storing incomplete byte sequence in state object.  Avoid testing for
47784         guaranteed too small input if we know there is enough data available.
47785
47786 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47787
47788         * Makeconfig (+link-pie): Indent.
47789         * Rules (binaries-pie): Define if $(have-fpie) and
47790         $(build-shared).
47791         (binaries-shared): Also filter out $(binaries-pie).
47792         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47793         * nscd/Makefile (others-pie): Add nscd.
47794         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47795         ($(objpfx)nscd): Remove command override.
47796         * login/Makefile (others-pie): Add pt_chown.
47797         ($(objpfx)pt_chown): Remove command override.
47798         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47799         remove command overrides.
47800
47801 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47802
47803         * libio/tst_putwc.c: Fix error messages.
47804
47805         [BZ #12724]
47806         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47807         currently writing and seek to current position when not.
47808         * libio/Makefile (tests): Add bug-fclose1.
47809         * libio/bug-fclose1.c: New file.
47810
47811 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47812
47813         [BZ #12511]
47814         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47815         don't set DF_1_NODELETE here.
47816         (do_lookup_x): When entering new entry test for copy relocation
47817         and if necessary set DF_1_NODELETE flag.
47818         * elf/tst-unique4.cc: New file.
47819         * elf/tst-unique4.h: New file.
47820         * elf/tst-unique4lib.cc: New file.
47821         * elf/Makefile: Add rules to build and run tst-unique4.
47822         Patch by Piotr Bury <pbury@goahead.com>.
47823
47824 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47825
47826         [BZ #12052]
47827         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47828
47829         [BZ #12625]
47830         * misc/mntent_r.c (addmntent): Flush the stream after the output
47831
47832         [BZ #12393]
47833         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47834         (is_trusted_path_normalize): Skip initial colon.  Append slash
47835         to empty buffer.  Duplicate is_trusted_path code but allow
47836         constructed patch to be prefix.
47837         (is_dst): Allow $ORIGIN followed by /.
47838         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47839         Correct testing of result of is_trusted_path_normalize
47840         (decompose_rpath): Fix warning.
47841
47842 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47843
47844         [BZ #11257]
47845         * grp/initgroups.c (internal_getgrouplist): When we found the service
47846         list through the initgroups entry in nsswitch.conf do not always
47847         continue on a successful lookup.  Don't always use the
47848         __nss_group_database value if it is set.
47849         * nss/nsswitch.conf (initgroups): Change action for successful db
47850         lookup to continue for compatibility.
47851
47852 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47853
47854         [BZ #11532]
47855         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47856         and CP774 modules.
47857         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47858         and CP774 modules.
47859         * iconvdata/tst-tables.sh: Likewise.
47860         * iconvdata/cp770.c: New file.
47861         * iconvdata/cp771.c: New file.
47862         * iconvdata/cp772.c: New file.
47863         * iconvdata/cp773.c: New file.
47864         * iconvdata/cp774.c: New file.
47865         * iconvdata/testdata/CP770: New file.
47866         * iconvdata/testdata/CP770..UTF8: New file.
47867         * iconvdata/testdata/CP771: New file.
47868         * iconvdata/testdata/CP771..UTF8: New file.
47869         * iconvdata/testdata/CP772: New file.
47870         * iconvdata/testdata/CP772..UTF8: New file.
47871         * iconvdata/testdata/CP773: New file.
47872         * iconvdata/testdata/CP773..UTF8: New file.
47873         * iconvdata/testdata/CP774: New file.
47874         * iconvdata/testdata/CP774..UTF8: New file.
47875
47876         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47877         END CHARMAP line.
47878         * iconvdata/gen-8bit-gap.sh: Likewise.
47879         * iconvdata/gen-8bit.sh: Likewise.
47880
47881         * locale/iso-639.def: Add ary entry.
47882
47883         [BZ #11258]
47884         * locale/C-translit.h.in: Add U20A1 transliteration.
47885
47886         [BZ #12178]
47887         * locale/iso-639.def: Add wae entry.
47888         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47889
47890         [BZ #12545]
47891         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47892         for n.
47893
47894         [BZ #12711]
47895         * locale/C-translit.h.in: Add entry for U20B9.
47896         Patch by pravin.d.s@gmail.com.
47897
47898 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47899
47900         [BZ #12713]
47901         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47902         ENAMETOOLONG use generic getcwd.
47903         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47904         in rtld.  Use *stat64.
47905         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47906         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47907         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47908         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47909         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47910         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47911         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47912         __fstatat64 macros.
47913         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47914         * dirent/rewinddir.c: Add libc_hidden_def.
47915         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47916         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47917
47918         * include/dirent.h (__alloc_dir): Add flags parameter.
47919         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47920         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47921         __alloc_dir.
47922         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47923         from fdopendir if O_CLOEXEC is already set.
47924
47925 2011-03-15  Alan Modra  <amodra@gmail.com>
47926
47927         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47928         l_tls_firstbyte_offset non-zero.  Save padding offset in
47929         l_tls_firstbyte_offset for later use.
47930         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47931         freeing static tls block.
47932
47933 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47934
47935         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47936         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47937         being defined by the kernel headers.
47938
47939 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47940
47941         [BZ #12734]
47942         * resolv/resolv.h: Define RES_NOTLDQUERY.
47943         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47944         no-tld-query and set RES_NOTLDQUERY.
47945         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47946         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47947         modern BIND to search name as TLD unless forbidden.
47948
47949 2011-05-07  Petr Baudis  <pasky@suse.cz>
47950             Ulrich Drepper  <drepper@gmail.com>
47951
47952         [BZ #12393]
47953         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47954         (is_trusted_path): ...to here.
47955         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47956         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47957         using is_trusted_path_normalize() in setuid scripts.
47958
47959 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47960
47961         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47962         __BEGIN/__END_DECLS.
47963
47964 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47965
47966         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47967         NSS_STATUS_NOTFOUND if no record was found.
47968
47969 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47970
47971         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47972         (headers-not-in-tirpc): Remove rpc/netdb.h
47973         * resolv/netdb.h: Revert last change.
47974
47975 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47976
47977         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47978         circular dependency between libgcc.a and libc.a.
47979
47980 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47981
47982         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47983         * nis/Makefile: Don't install rpcsvc/*.
47984         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47985         instead of <rpc/types.h>.
47986         (MAXHOSTNAMELEN): Define.
47987
47988 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47989
47990         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47991
47992 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47993
47994         [BZ #12714]
47995         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47996         gethostbyname4_r when IPv6 results are possible.
47997
47998 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47999
48000         [BZ #12723]
48001         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48002         _PC_PIPE_BUF handling.
48003
48004 2011-04-30  Bruno Haible  <bruno@clisp.org>
48005
48006         [BZ #12717]
48007         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48008         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48009         to 'int'.
48010         * inet/getnameinfo.c (getnameinfo): Likewise.
48011
48012 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48013
48014         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48015         to groups setting in database lookup.
48016         * nss/nsswitch.conf: Add initgroups entry.
48017
48018 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48019
48020         [BZ #12685]
48021         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48022         mode string.
48023         Patch by Eric Blake <eblake@redhat.com>.
48024
48025 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48026
48027         * sunrpc/Makefile (need-export-routines): Add svc_run.
48028         (routines): Remove svc_run.
48029         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48030         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48031         * sunrpc/svc_run.c (svc_run): Likewise.
48032         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48033
48034 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48035
48036         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48037         problem in reallocation in last patch.
48038
48039 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48040
48041         * sunrpc/Makefile: Move inclusion of Rules.
48042
48043 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48044
48045         * nss/nss_files/files-initgroups.c: New file.
48046         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48047         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48048         _nss_files_initgroups_dyn.
48049
48050 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48051
48052         * elf/elf.h (R_ARM_IRELATIVE): Define.
48053
48054 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48055
48056         * po/ru.po: Update from translation team.
48057
48058 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48059
48060         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48061         dependencies.
48062
48063 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48064
48065         [BZ #12653]
48066         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48067         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48068         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48069         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48070         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48071
48072 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48073
48074         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48075         differing bytes.
48076         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48077         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48078         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48079
48080 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48081
48082         [BZ #12420]
48083         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48084         storing it.
48085         * stdlib/bug-getcontext.c: New file.
48086         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48087
48088 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48089
48090         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48091         instructions into .machine "z9-109".
48092         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48093         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48094
48095 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48096
48097         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48098         between environment variables and auxiliary vector.
48099
48100 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48101
48102         * Makefile: Add rules to build linkobj/libc.so.
48103         * include/libc-symbols.h: Define libc_hidden_nolink.
48104         * include/rpc/auth.h: Mark functions which are to be hidden.
48105         * include/rpc/auth_des.h: Likewise.
48106         * include/rpc/auth_unix.h: Likewise.
48107         * include/rpc/clnt.h: Likewise.
48108         * include/rpc/des_crypt.h: Likewise.
48109         * include/rpc/key_prot.h: Likewise.
48110         * include/rpc/pmap_clnt.h: Likewise.
48111         * include/rpc/pmap_prot.h: Likewise.
48112         * include/rpc/pmap_rmt.h: Likewise.
48113         * include/rpc/rpc_msg.h: Likewise.
48114         * include/rpc/svc.h: Likewise.
48115         * include/rpc/svc_auth.h: Likewise.
48116         * include/rpc/xdr.h: Likewise.
48117         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48118         * nss/Makefile: Likewise.
48119         * sunrpc/Makefile: Don't install headers.  Build library with normal
48120         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48121         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48122         for the compat linking library.  Remove use of INTDEF/INTUSE.
48123         * sunrpc/auth_none.c: Likewise.
48124         * sunrpc/auth_unix.c: Likewise.
48125         * sunrpc/authdes_prot.c: Likewise.
48126         * sunrpc/authuxprot.c: Likewise.
48127         * sunrpc/clnt_gen.c: Likewise.
48128         * sunrpc/clnt_perr.c: Likewise.
48129         * sunrpc/clnt_raw.c: Likewise.
48130         * sunrpc/clnt_simp.c: Likewise.
48131         * sunrpc/clnt_tcp.c: Likewise.
48132         * sunrpc/clnt_udp.c: Likewise.
48133         * sunrpc/clnt_unix.c: Likewise.
48134         * sunrpc/des_crypt.c: Likewise.
48135         * sunrpc/des_soft.c: Likewise.
48136         * sunrpc/get_myaddr.c: Likewise.
48137         * sunrpc/key_call.c: Likewise.
48138         * sunrpc/key_prot.c: Likewise.
48139         * sunrpc/netname.c: Likewise.
48140         * sunrpc/pm_getmaps.c: Likewise.
48141         * sunrpc/pm_getport.c: Likewise.
48142         * sunrpc/pmap_clnt.c: Likewise.
48143         * sunrpc/pmap_prot.c: Likewise.
48144         * sunrpc/pmap_prot2.c: Likewise.
48145         * sunrpc/pmap_rmt.c: Likewise.
48146         * sunrpc/publickey.c: Likewise.
48147         * sunrpc/rpc_cmsg.c: Likewise.
48148         * sunrpc/rpc_common.c: Likewise.
48149         * sunrpc/rpc_dtable.c: Likewise.
48150         * sunrpc/rpc_prot.c: Likewise.
48151         * sunrpc/rpc_thread.c: Likewise.
48152         * sunrpc/rtime.c: Likewise.
48153         * sunrpc/svc.c: Likewise.
48154         * sunrpc/svc_auth.c: Likewise.
48155         * sunrpc/svc_authux.c: Likewise.
48156         * sunrpc/svc_raw.c: Likewise.
48157         * sunrpc/svc_run.c: Likewise.
48158         * sunrpc/svc_simple.c: Likewise.
48159         * sunrpc/svc_tcp.c: Likewise.
48160         * sunrpc/svc_udp.c: Likewise.
48161         * sunrpc/svc_unix.c: Likewise.
48162         * sunrpc/svcauth_des.c: Likewise.
48163         * sunrpc/xcrypt.c: Likewise.
48164         * sunrpc/xdr.c: Likewise.
48165         * sunrpc/xdr_array.c: Likewise.
48166         * sunrpc/xdr_float.c: Likewise.
48167         * sunrpc/xdr_intXX_t.c: Likewise.
48168         * sunrpc/xdr_mem.c: Likewise.
48169         * sunrpc/xdr_rec.c: Likewise.
48170         * sunrpc/xdr_ref.c: Likewise.
48171         * sunrpc/xdr_sizeof.c: Likewise.
48172         * sunrpc/xdr_stdio.c: Likewise.
48173
48174 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48175
48176         [BZ #12650]
48177         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48178         * sysdeps/ia64/dl-tls.h: Likewise.
48179         * sysdeps/powerpc/dl-tls.h: Likewise.
48180         * sysdeps/s390/dl-tls.h: Likewise.
48181         * sysdeps/sh/dl-tls.h: Likewise.
48182         * sysdeps/sparc/dl-tls.h: Likewise.
48183         * sysdeps/x86_64/dl-tls.h: Likewise.
48184         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48185
48186 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48187
48188         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48189         rpath element also skip the following colon.
48190         (expand_dynamic_string_token): Add is_path parameter and pass
48191         down to DL_DST_REQUIRED and _dl_dst_substitute.
48192         (decompose_rpath): Call expand_dynamic_string_token with
48193         non-zero is_path.  Ignore empty rpaths.
48194         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48195         with zero is_path.
48196
48197 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48198
48199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48200         Make cancelable.
48201
48202 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48203
48204         [BZ #12655]
48205         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48206         Patch by Filipe David Manana <fdmanana@apache.org>.
48207
48208 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48209
48210         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48211         Maintain aligned stack.
48212         (CHECK_RSP): Remove unused macro.
48213
48214 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48215
48216         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48217         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48218
48219 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48220
48221         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48222
48223         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48224
48225 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48226
48227         [BZ #12518]
48228         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48229         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48230         * sysdeps/x86_64/memmove.c: New file.
48231         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48232         (memcpy): Renamed to ...
48233         (__new_memcpy): This.
48234         (memcpy): Provide GLIBC_2_14 memcpy.
48235         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48236         (memcpy): Provide GLIBC_2_2_5 memcpy.
48237
48238 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48239
48240         [BZ #12631]
48241         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48242
48243 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48244
48245         * misc/syncfs.c: New file.
48246         * misc/Makefile (routines): Add syncfs.
48247         * posix/unistd.h: Declare syncfs.
48248         * sysdeps/unix/syscalls.list: Add syncfs.
48249
48250 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48251
48252         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48253         open_by_handle_at.
48254         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48255         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48256         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48257         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48258         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48259         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48260         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48261
48262 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48263
48264         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48265         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48266         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48267         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48268         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48269         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48270         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48271
48272         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48273         sync_file_range.c with -fexceptions.
48274         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48275         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48276         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48277         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48278         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48279         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48280         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48281         sync_file_range as cancellation point
48282         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48283         now a wrapper around __call_sync_file_range with cancellation handling.
48284         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48285         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48286         function name to __call_sync_file_range.
48287         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48288         Add call_sync_file_range.
48289
48290 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48291
48292         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48293         bits/timex.h.
48294
48295 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48296
48297         * iconv/iconv.h: Fix typo in comment.
48298         * io/fcntl.h: Likewise.
48299         * libio/stdio.h: Likewise.
48300         * posix/spawn.h: Likewise.
48301         * posix/unistd.h: Likewise.
48302         * stdlib/stdlib.h: Likewise.
48303         * time/time.h: Likewise.
48304         * wcsmbs/wchar.h: Likewise.
48305
48306         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48307         open_by_handle): Add.
48308         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48309         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48310         Augment a few comments.
48311         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48312         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48313         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48314         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48315         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48316         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48317         open_by_handle.
48318
48319         * io/fcntl.h (AT_EMPTY_PATH): Define.
48320
48321 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48322
48323         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48324         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48325         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48326         to...
48327         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48328         * Versions.def: Add GLIBC_2.14.
48329         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48330         Export.
48331
48332 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48333
48334         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48335         round counter.
48336         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48337
48338 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48339
48340         [BZ #12597]
48341         * string/test-strncmp.c (do_page_test): New function.
48342         (check2): Likewise.
48343         (test_main): Call check2.
48344         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48345
48346 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48347
48348         [BZ #12587]
48349         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48350         Handle cache information in CPU leaf 4.
48351         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48352
48353 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48354
48355         [BZ #12583]
48356         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48357         character representation.
48358         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48359
48360 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48361
48362         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48363         END(__isnan) to END(__isnanf) to match function entry point/label
48364         EALIGN(__isnanf,...).
48365
48366 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48367
48368         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48369
48370 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48371
48372         [BZ #12510]
48373         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48374         copy from the symbol referenced in the relocation to initialize the
48375         used variable.
48376         Patch by Piotr Bury <pbury@goahead.com>.
48377         * elf/Makefile: Add rules to build and tst-unique3.
48378         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48379         * elf/tst-unique3.cc: New file.
48380         * elf/tst-unique3.h: New file.
48381         * elf/tst-unique3lib.cc: New file.
48382         * elf/tst-unique3lib2.cc: New file.
48383
48384         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48385
48386 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48387
48388         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48389         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48390         to _start.
48391
48392 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48393
48394         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48395         to-be-loaded object along a path to loader is ld.so.
48396
48397 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48398             Ulrich Drepper  <drepper@gmail.com>
48399
48400         * sysdeps/x86_64/memset.S: After aligning destination, code
48401         branches to different locations depending on the value of
48402         misalignment, when multiarch is enabled. Fix this.
48403
48404 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48405
48406         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48407         Set _x86_64_preferred_memory_instruction for AMD processsors.
48408         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48409         Set bit_Prefer_SSE_for_memop for AMD processors.
48410
48411 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48412
48413         * libio/fmemopen.c (fmemopen): Optimize a bit.
48414
48415 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48416
48417         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48418
48419 2011-03-03  Roland McGrath  <roland@redhat.com>
48420
48421         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48422
48423 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48424
48425         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48426         __bzero_ultra1 instead of __memset_ultra1.
48427
48428 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48429             Ulrich Drepper  <drepper@gmail.com>
48430
48431         [BZ #12509]
48432         * include/link.h (struct link_map): Add l_orig_initfini.
48433         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48434         returning unsuccessfully.
48435         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48436         close of a file loaded at startup, restore the original l_initfini
48437         list.
48438         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48439         list, store the pointer.
48440         * elf/Makefile ($(objpfx)noload-mem): New rule.
48441         (noload-ENV): Define.
48442         (tests): Add $(objpfx)noload-mem.
48443         * elf/noload.c: Include <memcheck.h>.
48444         (main): Call mtrace.  Close all opened handles.
48445
48446 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48447
48448         [BZ #12454]
48449         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48450         dependencies are missing.
48451
48452 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48453
48454         Fix __if_freereq crash: Unlike the generic version which uses free,
48455         Hurd needs munmap.
48456         * sysdeps/mach/hurd/ifreq.h: New file.
48457
48458 2011-01-27  Petr Baudis  <pasky@suse.cz>
48459             Ulrich Drepper  <drepper@gmail.com>
48460
48461         [BZ 12445]#
48462         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48463         to extend_alloca().
48464         * stdio-common/bug23.c: New file.
48465         * stdio-common/Makefile (tests): Add bug23.
48466
48467 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48468             Ulrich Drepper  <drepper@gmail.com>
48469
48470         [BZ #12489]
48471         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48472         before performing relro protection.  At old place add assertion
48473         to make sure nothing changed.
48474
48475 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48476             Glauber de Oliveira Costa  <glommer@gmail.com>
48477
48478         * elf/elf.h: Add new ARM TLS relocs.
48479
48480 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48481
48482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48483         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48484         cast from r3.
48485         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48486         'tests' variable.
48487         * sysdeps/wordsize-64/tst-writev.c: New file.
48488
48489 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48490
48491         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48492         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48493         insns in _dl_start to prevent a TOC reference before relocs are
48494         resolved.
48495
48496 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48497
48498         [BZ #12469]
48499         * Makeconfig: Remove RANLIB definition.
48500         * Makerules: Don't use RANLIB.
48501         * aclocal.m4: Remove ranlib test.
48502         * configure.in: No need to check for ranlib.
48503         * elf/rtld-Rules: Don't use RANLIB.
48504
48505 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48506
48507         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48508         protection macro.
48509         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48510         inclusion protection macro.
48511
48512         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48513         SIGRTMIN and SIGRTMAX and print information in that case only when
48514         SIGRTMIN is defined.
48515
48516 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48517
48518         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48519         arginfo fn returning -1.
48520
48521         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48522         and thousands string is zero terminated.
48523
48524 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48525
48526         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48527         sysdeps/unix/sysv/linux/bits/socket.h.
48528
48529 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48530
48531         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48532         (__CPU_COUNT): Remove old macros.
48533         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48534         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48535         (__CPU_ALLOC, __CPU_FREE): Add macros.
48536         (__sched_cpualloc, __sched_cpufree): Add declarations.
48537
48538 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48539
48540         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48541         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48542         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48543         (readdhstai): Return value of addhstaiX call.
48544         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48545         (addgrbyX): Return value returned by cache_addgr.
48546         (readdgrbyname): Return value returned by addgrbyX.
48547         (readdgrbygid): Likewise.
48548         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48549         (addpwbyX): Return value returned by cache_addpw.
48550         (readdpwbyname): Return value returned by addhstbyX.
48551         (readdpwbyuid): Likewise.
48552         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48553         (addservbyX): Return value returned by cache_addserv.
48554         (readdservbyname): Return value returned by addservbyX:
48555         (readdservbyport): Likewise.
48556         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48557         (addhstbyX): Return value returned by cache_addhst.
48558         (readdhstbyname): Return value returned by addhstbyX.
48559         (readdhstbyaddr): Likewise.
48560         (readdhstbynamev6): Likewise.
48561         (readdhstbyaddrv6): Likewise.
48562         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48563         (readdinitgroups): Return value returned by addinitgroupsX.
48564         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48565         (prune_cache): Keep track of timeout value of re-added entries.
48566         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48567         * nscd/nscd.h: Adjust prototypes of readd* functions.
48568
48569 2011-02-04  Roland McGrath  <roland@redhat.com>
48570
48571         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48572         (nis_stats): Likewise.
48573         * nis/nis_modify.c (nis_modify): Likewise.
48574         * nis/nis_remove.c (nis_remove): Likewise.
48575         * nis/nis_add.c (nis_add): Likewise.
48576
48577         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48578
48579         * posix/fnmatch_loop.c: Add some consts.
48580
48581         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48582
48583 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48584
48585         [BZ #12460]
48586         * config.make.in (config-cflags-novzeroupper): Define.
48587         * configure.in: Substitute libc_cv_cc_novzeroupper.
48588         * elf/Makefile (AVX-CFLAGS): Define.
48589         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48590         (CFLAGS-tst-auditmod4a.c): Likewise.
48591         (CFLAGS-tst-auditmod4b.c): Likewise.
48592         (CFLAGS-tst-auditmod6b.c): Likewise.
48593         (CFLAGS-tst-auditmod6c.c): Likewise.
48594         (CFLAGS-tst-auditmod7b.c): Likewise.
48595         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48596
48597 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48598
48599         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48600         function to the callback.
48601         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48602
48603 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48604
48605         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48606         of errno.
48607
48608 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48609
48610         [BZ #11724]
48611         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48612         of constructors.
48613         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48614         of destructors.
48615         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48616
48617         [BZ #11724]
48618         * elf/Makefile: Add rules to build and run new test.
48619         * elf/tst-initorder.c: New file.
48620         * elf/tst-initorder.exp: New file.
48621         * elf/tst-initordera1.c: New file.
48622         * elf/tst-initordera2.c: New file.
48623         * elf/tst-initordera3.c: New file.
48624         * elf/tst-initordera4.c: New file.
48625         * elf/tst-initorderb1.c: New file.
48626         * elf/tst-initorderb2.c: New file.
48627         * elf/tst-order-a1.c: New file.
48628         * elf/tst-order-a2.c: New file.
48629         * elf/tst-order-a3.c: New file.
48630         * elf/tst-order-a4.c: New file.
48631         * elf/tst-order-b1.c: New file.
48632         * elf/tst-order-b2.c: New file.
48633         * elf/tst-order-main.c: New file.
48634         New test case by George Gensure <werkt0@gmail.com>.
48635
48636 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48637
48638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48639         decoding ACE if AI_CANONIDN.
48640
48641 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48642
48643         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48644
48645 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48646
48647         * version.h (RELEASE): Bump for 2.13 release.
48648         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48649
48650         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48651
48652         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48653         MADV_NOHUGEPAGE.
48654         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48655         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48656         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48657         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48658         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48659         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48660
48661         * posix/getconf.c: Update copyright year.
48662         * catgets/gencat.c: Likewise.
48663         * csu/version.c: Likewise.
48664         * debug/catchsegv.sh: Likewise.
48665         * debug/xtrace.sh: Likewise.
48666         * elf/ldconfig.c: Likewise.
48667         * elf/ldd.bash.in: Likewise.
48668         * elf/sprof.c (print_version): Likewise.
48669         * iconv/iconv_prog.c: Likewise.
48670         * iconv/iconvconfig.c: Likewise.
48671         * locale/programs/locale.c: Likewise.
48672         * locale/programs/localedef.c: Likewise.
48673         * malloc/memusage.sh: Likewise.
48674         * malloc/mtrace.pl: Likewise.
48675         * nscd/nscd.c (print_version): Likewise.
48676         * nss/getent.c: Likewise.
48677
48678         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48679         PF_CAIF, and PF_ALG.
48680         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48681
48682 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48683
48684         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48685         (modules-names): Use them.
48686         (ifunc-test-modules, ifunc-pie-tests): Define.
48687         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48688         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48689         (test-extras): Likewise.
48690         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48691         $(compile-command.c).
48692         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48693         (all-built-dso): Define.
48694         (check-textrel.out, check-execstack.out): Depend on it.
48695
48696         * configure.in: Don't override --enable-multi-arch.
48697
48698 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48699
48700         [BZ #6812]
48701         * nscd/hstcache.c (tryagain): Define.
48702         (cache_addhst): Return tryagain not notfound for temporary errors.
48703         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48704         failed.
48705
48706 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48707
48708         [BZ #10563]
48709         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48710         to make the syscall.
48711         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48712
48713         [BZ #12378]
48714         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48715         and fall back to matching as normal character if the string ends before
48716         the matching ']' is found.  This is what POSIX requires.
48717         * posix/testfnm.c: Adjust test result.
48718         * posix/globtest.sh: Adjust test result.  Add new test.
48719         * posix/tst-fnmatch.input: Likewise.
48720         * posix/tst-fnmatch2.c: Add new test.
48721
48722 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48723
48724         * elf/Makefile (check-execstack): Revert last change.  Depend on
48725         check-execstack.h.
48726         (check-execstack.h): New target.
48727         (generated): Add check-execstack.h.
48728         * elf/check-execstack.c: Include "check-execstack.h".
48729         (main): Revert last change.
48730         (handle_file): Return zero if GNU_STACK is absent and
48731         DEFAULT_STACK_PERMS doesn't include PF_X.
48732
48733 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48734
48735         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48736         in child fails because the descriptor is already closed.
48737         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48738         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48739         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48740
48741         [BZ #12397]
48742         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48743         syscall.
48744
48745         [BZ #10484]
48746         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48747         temporary buffer used to handle multi lookups locally.
48748         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48749
48750 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48751
48752         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48753         loader is ld.so.
48754
48755 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48756
48757         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48758         alignment for SSE2.
48759
48760 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48761
48762         [BZ #12394]
48763         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48764         characters.  When rounding increased number of integer digits recompute
48765         number of groups.
48766         * stdio-common/tst-grouping.c: New file.
48767         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48768
48769 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48770
48771         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48772         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48773
48774         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48775         void.
48776         * bits/select.h: Likewise.
48777
48778 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48779
48780         * po/ja.po: Update from translation team.
48781
48782 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48783
48784         [BZ #11155]
48785         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48786         implementation just like for lxstat, fxstatat, et al.
48787
48788 2010-12-27  Jim Meyering  <meyering@redhat.com>
48789
48790         [BZ #12348]
48791         * posix/regexec.c (build_trtable): Return failure indication upon
48792         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48793
48794 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48795
48796         [BZ #12201]
48797         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48798         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48799         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48800         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48801
48802         [BZ #12207]
48803         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48804
48805         [BZ #12204]
48806         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48807         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48808
48809 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48810
48811         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48812         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48813         script has SORT_BY_INIT_PRIORITY.
48814         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48815         NO_CTORS_DTORS_SECTIONS is defined.
48816         * elf/soinit.c: Likewise.
48817         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48818         NO_CTORS_DTORS_SECTIONS is defined.
48819         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48820         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48821         * sysdeps/sh/init-first.c: Likewise.
48822         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48823
48824 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48825
48826         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48827         always use the slow path.
48828
48829 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48830
48831         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48832         similar rule which adds the sysdep directories to the header search in
48833         order to pick up the correct platform stackinfo.h.
48834         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48835         perform test if it is, otherwise return successfully without testing.
48836         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48837         DEFAULT_STACK_PERMS define in stackinfo.h.
48838         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48839         defined in stackinfo.h.
48840         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48841         DEFAULT_STACK_PERMS defined in stackinfo.h.
48842         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48843         * sysdeps/ia64/stackinfo.h: Likewise.
48844         * sysdeps/s390/stackinfo.h: Likewise.
48845         * sysdeps/sh/stackinfo.h: Likewise.
48846         * sysdeps/sparc/stackinfo.h: Likewise.
48847         * sysdeps/x86_64/stackinfo.h: Likewise.
48848         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48849         PF_X for powerpc64.  Retain PF_X for powerpc32.
48850
48851 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48852
48853         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48854         accurately.
48855         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48856         GETDENTS_64BIT_ALIGNED.
48857
48858 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48859
48860         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48861
48862 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48863
48864         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48865         _GNU_SOURCE.
48866
48867         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48868         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48869         Remove __restrict.
48870         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48871         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48872
48873 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48874
48875         [BZ #11655]
48876         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48877         are initialized.
48878
48879 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48880
48881         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48882
48883 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48884
48885         * po/it.po: Update from translation team.
48886
48887 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48888
48889         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48890         unused codes.
48891
48892 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48893
48894         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48895
48896 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48897
48898         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48899         specially.
48900         (gaih_getanswer_slice): Likewise.
48901
48902 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48903
48904         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48905
48906 2010-05-31  Petr Baudis  <pasky@suse.cz>
48907
48908         [BZ #11149]
48909         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48910         silently even in the chroot mode.
48911
48912 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48913
48914         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48915         last patch a bit.  Pretty printing
48916
48917 2010-05-31  Petr Baudis <pasky@suse.cz>
48918
48919         [BZ #10085]
48920         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48921         initialization of skip_initgroups_dyn.
48922
48923 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48924
48925         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48926         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48927
48928 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48929
48930         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48931
48932 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48933
48934         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48935         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48936         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48937         ($(objpfx)tst-fnmatch-mem): New rule.
48938         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48939         * posix/tst-fnmatch.c (main): Call mtrace.
48940
48941 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48942
48943         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48944         Support Intel processor model 6 and model 0x2c.
48945
48946 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48947
48948         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48949           signed comparison.
48950
48951 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48952
48953         [BZ #12205]
48954         * string/test-strncasecmp.c (check_result): New function.
48955         (do_one_test): Use it.
48956         (check1): New function.
48957         (test_main): Use it.
48958         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48959         Support strcasecmp and strncasecmp.
48960
48961 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48962
48963         [BZ #12194]
48964         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48965         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48966
48967 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48968
48969         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48970         IFUNC support.
48971         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48972         memset-x86-64.
48973         * sysdeps/x86_64/multiarch/bzero.S: New file.
48974         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48975         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48976         * sysdeps/x86_64/multiarch/memset.S: New file.
48977         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48979         Set bit_Prefer_SSE_for_memop for Intel processors.
48980         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48981         Define.
48982         (index_Prefer_SSE_for_memop): Define.
48983         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48984
48985 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48986
48987         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48988         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48989
48990 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48991
48992         [BZ #12191]
48993         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48994         (__x86_64_raw_data_cache_size_half): Likewise.
48995         (__x86_64_raw_shared_cache_size): Likewise.
48996         (__x86_64_raw_shared_cache_size_half): Likewise.
48997
48998         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48999         (__x86_64_raw_data_cache_size_half): Likewise.
49000         (__x86_64_raw_shared_cache_size): Likewise.
49001         (__x86_64_raw_shared_cache_size_half): Likewise.
49002         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49003         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49004         and __x86_64_raw_shared_cache_size_half.  Round
49005         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49006         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49007         to multiple of 256 bytes.
49008
49009 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49010
49011         [BZ #12167]
49012         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49013         of inacessible symlinks.  Verify result of symlink before returning it.
49014         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49015         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49016
49017 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49018
49019         * math/math.h (isinf): Fix typo in comment.
49020
49021 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49022
49023         * po/da.po: Update from translation team.
49024
49025 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49026
49027         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49028         is added to the list.
49029
49030 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49031             Ulrich Drepper  <drepper@gmail.com>
49032
49033         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49034         the global list here.  Move code to...
49035         (_dl_add_to_namespace_list): ...here.  New function.
49036         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49037         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49038         * elf/dl-load.c (lose): Don't remove the element from the list.
49039         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49040         (_dl_map_object): Likewise.
49041
49042 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49043
49044         [BZ #12159]
49045         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49046         into all bytes of SSE register.
49047         Patch by Richard Li <richardpku@gmail.com>.
49048
49049 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49050
49051         [BZ #12140]
49052         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49053         perturbing.
49054
49055 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49056
49057         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49058         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49059         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49060         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49062         submachine.
49063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49064
49065 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49066
49067         * include/dlfcn.h (__RTLD_SECURE): Define.
49068         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49069         mode & __RTLD_SECURE instead.
49070         (open_path): Rename preloaded parameter to secure.
49071         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49072         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49073         * elf/dl-deps.c (openaux): Likewise.
49074         * elf/rtld.c (struct map_args): Remove is_preloaded.
49075         (map_doit): Don't use it.
49076         (dl_main): Likewise.
49077         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49078         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49079
49080 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49081
49082         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49083         (sysd-rules-targets): Remove duplicates.
49084         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49085         rtld-%.$o dependency.
49086
49087 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49088
49089         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49090         _dl_map_object do it.
49091
49092 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49093
49094         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49095         fast fma builtins, define the macros in the C99 standard.
49096         (FP_FAST_FMAF): Likewise.
49097         (FP_FAST_FMAL): Likewise.
49098         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49099
49100         * bits/mathdef.h: Update copyright year.
49101         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49102
49103 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49104
49105         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49106         builtins, define the macros in the C99 standard.
49107         (FP_FAST_FMAF): Likewise.
49108         (FP_FAST_FMAL): Likewise.
49109         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49110         multiply/add.
49111         (FP_FAST_FMAF): Likewise.
49112
49113 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49114
49115         [BZ #3268]
49116         * math/libm-test.inc (fma_test): Some new testcases.
49117         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49118         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49119         y and infinite z.  Do multiplication by C already in long double.
49120         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49121         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49122         y and infinite z.  Do bitwise or of inexact bit into u.d.
49123         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49124         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49125         * sysdeps/i386/fpu/s_fma.S: Removed.
49126         * sysdeps/i386/fpu/s_fmal.S: Removed.
49127
49128 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49129
49130         [BZ #3268]
49131         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49132         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49133         computation is not scheduled after fetestexcept.  Fix value
49134         of minimum denormal long double.
49135
49136 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49137
49138         [BZ #3268]
49139         * math/libm-test.inc (fma_test): Add some more tests.
49140         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49141         correctly.
49142
49143 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49144
49145         * scripts/data/localplt-s390-linux-gnu.data: New file.
49146         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49147
49148 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49149
49150         [BZ #3268]
49151         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49152         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49153         instead of dbl-64.
49154         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49155         inlines.
49156         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49157         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49158         if one of x and y is very large and the other is subnormal.
49159         * sysdeps/s390/fpu/s_fmaf.c: New file.
49160         * sysdeps/s390/fpu/s_fma.c: New file.
49161         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49162         * sysdeps/powerpc/fpu/s_fma.S: New file.
49163         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49164         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49165         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49166
49167 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49168
49169         [BZ #3268]
49170         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49171         fma tests.
49172         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49173         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49174         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49175         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49176         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49177         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49178         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49179
49180 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49181
49182         [BZ #12078]
49183         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49184         * posix/bug-regex31.input: Add test case.
49185
49186 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49187
49188         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49189         * posix/bug-regex31.input: New file.
49190
49191         [BZ #12078]
49192         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49193         (parse_sub_exp): Fix last change, use postorder.
49194
49195         * posix/bug-regex31.c: New file.
49196         * posix/Makefile: Add rules to build and run bug-regex31.
49197
49198         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49199
49200         [BZ #12078]
49201         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49202
49203         [BZ #12108]
49204         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49205         to have entries in sys_siglist.
49206
49207         [BZ #12093]
49208         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49209         be NULL.
49210
49211 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49212
49213         [BZ #3268]
49214         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49215         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49216         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49217         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49218         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49219         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49220         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49221         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49222         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49223         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49224         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49225         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49226         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49227         * math/ftestexcept.c (fetestexcept): Likewise.
49228         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49229         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49230         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49231         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49232         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49233         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49234         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49235
49236 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49237
49238         [BZ #12107]
49239         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49240         newline.
49241
49242 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49243
49244         * string/bug-strstr1.c: New file.
49245         * string/Makefile: Add rules to build and run bug-strstr1.
49246
49247 2010-10-05  Eric Blake  <eblake@redhat.com>
49248
49249         [BZ #12092]
49250         * string/str-two-way.h (two_way_long_needle): Always clear memory
49251         when skipping input due to the shift table.
49252
49253 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49254
49255         [BZ #12005]
49256         * malloc/mcheck.c: Handle large requests.
49257
49258         [BZ #12077]
49259         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49260         for strncmp and strncasecmp.
49261         * string/stratcliff.c: Add tests for strcmp and strncmp.
49262         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49263
49264 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49265
49266         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49267         __set_fpscr.
49268
49269 2010-09-30  Andreas Jaeger  <aj@suse.de>
49270
49271         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49272         (CGROUP_SUPER_MAGIC): Define.
49273         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49274         Handle btrfs and cgroup file systems.
49275         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49276         Likewise.
49277
49278 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49279
49280         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49281         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49282
49283 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49284
49285         [BZ #12067]
49286         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49287         trying to locate the ELF header.
49288
49289 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49290
49291         [BZ #11611]
49292         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49293         Mask out sign-bit copies when constructing f_fsid.
49294
49295 2010-09-24  Petr Baudis <pasky@suse.cz>
49296
49297         * debug/stack_chk_fail_local.c: Add missing licence exception.
49298         * debug/warning-nop.c: Likewise.
49299
49300 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49301
49302         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49303         implementing getdents64 using getdents syscall, set d_type if
49304         __ASSUME_GETDENTS32_D_TYPE.
49305
49306 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49307
49308         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49309         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49310
49311 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49312
49313         [BZ #12037]
49314         * posix/unistd.h: Undo change of feature selection for ftruncate from
49315         2010-01-11.
49316
49317 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49318
49319         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49320         detection.
49321
49322 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49323
49324         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49325         fanotify_mark.
49326         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49327
49328 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49329
49330         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49331         variables after CHECK_SP call.
49332         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49333
49334 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49335             Ulrich Drepper  <drepper@redhat.com>
49336
49337         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49338         re-relocationg ld.so.
49339         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49340         _dl_init_paths call.
49341         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49342         here anymore.
49343
49344 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49345
49346         * resolv/res_init.c (__res_vinit): Count the default server we added.
49347
49348 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49349             Ulrich Drepper  <drepper@redhat.com>
49350
49351         [BZ #11968]
49352         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49353         (____longjmp_chk): Use %ebx for saving value across system call.
49354         Add unwind info.
49355
49356 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49357
49358         * manual/Makefile: Don't mix pattern rules with normal rules.
49359
49360 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49361
49362         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49363         operation.
49364         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49365         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49366         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49367         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49368         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49369         Likewise.
49370
49371 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49372
49373         [BZ #11979]
49374         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49375         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49376
49377 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49378
49379         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49380         * sysdeps/x86_64/addmul_1.S: Likewise.
49381         * sysdeps/x86_64/lshift.S: Likewise.
49382         * sysdeps/x86_64/mul_1.S: Likewise.
49383         * sysdeps/x86_64/rshift.S: Likewise.
49384         * sysdeps/x86_64/sub_n.S: Likewise.
49385         * sysdeps/x86_64/submul_1.S: Likewise.
49386
49387 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49388
49389         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49390         Define __sched_param instead of SCHED_* and sched_param when
49391         <bits/sched.h> is included with __need_schedparam defined.
49392         * bits/sched.h [__need_schedparam]
49393         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49394         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49395         (__defined_schedparam): Define to 1.
49396         (__sched_param): New structure, identical to sched_param.
49397         (__need_schedparam): Undefine.
49398
49399 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49400
49401         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49402         (epoll_create1): Declare.
49403
49404         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49405
49406 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49407
49408         [BZ #7066]
49409         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49410         shifting retval into place.
49411
49412 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49413
49414         * nis/rpcsvc/nis.h: Update copyright notice.
49415         * nis/rpcsvc/nis.x: Likewise.
49416         * nis/rpcsvc/nis_callback.h: Likewise.
49417         * nis/rpcsvc/nis_callback.x: Likewise.
49418         * nis/rpcsvc/nis_object.x: Likewise.
49419         * nis/rpcsvc/nis_tags.h: Likewise.
49420         * nis/rpcsvc/yp.h: Likewise.
49421         * nis/rpcsvc/yp.x: Likewise.
49422         * nis/rpcsvc/ypupd.h: Likewise.
49423         * nis/yp_xdr.c: Likewise.
49424         * nis/ypupdate_xdr.c: Likewise.
49425
49426         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49427         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49428         (pmap_getport): Use __libc_rpc_getport.
49429         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49430         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49431         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49432
49433 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49434
49435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49436         fanotify_mark.
49437
49438 2010-08-27  Roland McGrath  <roland@redhat.com>
49439
49440         * sysdeps/i386/i686/multiarch/Makefile
49441         (CFLAGS-varshift.c): New variable.
49442
49443 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49444
49445         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49446         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49447
49448         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49449
49450         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49451
49452 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49453
49454         * sysdeps/x86_64/strlen.S: Unroll the loop.
49455         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49456         strlen-sse2 strlen-sse2-bsf.
49457         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49458         __strlen_no_bsf if bit_Slow_BSF is set.
49459         (__strlen_sse42): Removed.
49460         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49461         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49462
49463 2010-08-25  Roland McGrath  <roland@redhat.com>
49464
49465         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49466         * sysdeps/x86_64/multiarch/varshift.c: New file.
49467         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49468         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49469         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49470         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49471
49472 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49473
49474         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49475         strlen-sse2 strlen-sse2-bsf.
49476         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49477         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49478         (__strlen_sse2): Removed.
49479         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49480         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49481         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49482         bit_Slow_BSF for Atom.
49483         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49484         (index_Slow_BSF): Define.
49485         (HAS_SLOW_BSF): Define.
49486
49487 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49488
49489         [BZ #10851]
49490         * resolv/res_init.c (__res_vinit): When no server address at all
49491         is given default to loopback.
49492
49493 2010-08-24  Roland McGrath  <roland@redhat.com>
49494
49495         * configure.in: Remove config-name.h generation.
49496         * configure: Regenerated.
49497         * config-name.in: File removed.
49498         * scripts/config-uname.sh: New file.
49499         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49500         ($(objdir)config-name.h): New target.
49501
49502         * sunrpc/rpc_parse.h: Avoid nested comment.
49503
49504 2010-08-24  Richard Henderson  <rth@redhat.com>
49505             Ulrich Drepper  <drepper@redhat.com>
49506             H.J. Lu  <hongjiu.lu@intel.com>
49507
49508         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49509         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49510         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49511         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49512         _mm_alignr_epi8 with _mm_loadu_si128.
49513         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49514         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49515         (__m128i_shift_right): Removed.
49516         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49517         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49518         * sysdeps/x86_64/multiarch/varshift.h: New file.
49519         * sysdeps/x86_64/multiarch/varshift.S: New file.
49520
49521 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49522
49523         * configure.in: Move assembler checks to before sysdep dir checking.
49524
49525 2010-08-20  Petr Baudis  <pasky@suse.cz>
49526
49527         * LICENSES: Sync the sunrpc license.
49528
49529 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49530
49531         * sunrpc/auth_des.c: Update copyright notice once again.
49532         * sunrpc/auth_none.c: Likewise.
49533         * sunrpc/auth_unix.c: Likewise.
49534         * sunrpc/authdes_prot.c: Likewise.
49535         * sunrpc/authuxprot.c: Likewise.
49536         * sunrpc/bindrsvprt.c: Likewise.
49537         * sunrpc/clnt_gen.c: Likewise.
49538         * sunrpc/clnt_perr.c: Likewise.
49539         * sunrpc/clnt_raw.c: Likewise.
49540         * sunrpc/clnt_simp.c: Likewise.
49541         * sunrpc/clnt_tcp.c: Likewise.
49542         * sunrpc/clnt_udp.c: Likewise.
49543         * sunrpc/clnt_unix.c: Likewise.
49544         * sunrpc/des_crypt.c: Likewise.
49545         * sunrpc/des_soft.c: Likewise.
49546         * sunrpc/get_myaddr.c: Likewise.
49547         * sunrpc/getrpcport.c: Likewise.
49548         * sunrpc/key_call.c: Likewise.
49549         * sunrpc/key_prot.c: Likewise.
49550         * sunrpc/openchild.c: Likewise.
49551         * sunrpc/pm_getmaps.c: Likewise.
49552         * sunrpc/pm_getport.c: Likewise.
49553         * sunrpc/pmap_clnt.c: Likewise.
49554         * sunrpc/pmap_prot.c: Likewise.
49555         * sunrpc/pmap_prot2.c: Likewise.
49556         * sunrpc/pmap_rmt.c: Likewise.
49557         * sunrpc/rpc/auth.h: Likewise.
49558         * sunrpc/rpc/auth_unix.h: Likewise.
49559         * sunrpc/rpc/clnt.h: Likewise.
49560         * sunrpc/rpc/des_crypt.h: Likewise.
49561         * sunrpc/rpc/key_prot.h: Likewise.
49562         * sunrpc/rpc/netdb.h: Likewise.
49563         * sunrpc/rpc/pmap_clnt.h: Likewise.
49564         * sunrpc/rpc/pmap_prot.h: Likewise.
49565         * sunrpc/rpc/pmap_rmt.h: Likewise.
49566         * sunrpc/rpc/rpc.h: Likewise.
49567         * sunrpc/rpc/rpc_des.h: Likewise.
49568         * sunrpc/rpc/rpc_msg.h: Likewise.
49569         * sunrpc/rpc/svc.h: Likewise.
49570         * sunrpc/rpc/svc_auth.h: Likewise.
49571         * sunrpc/rpc/types.h: Likewise.
49572         * sunrpc/rpc/xdr.h: Likewise.
49573         * sunrpc/rpc_clntout.c: Likewise.
49574         * sunrpc/rpc_cmsg.c: Likewise.
49575         * sunrpc/rpc_common.c: Likewise.
49576         * sunrpc/rpc_cout.c: Likewise.
49577         * sunrpc/rpc_dtable.c: Likewise.
49578         * sunrpc/rpc_hout.c: Likewise.
49579         * sunrpc/rpc_main.c: Likewise.
49580         * sunrpc/rpc_parse.c: Likewise.
49581         * sunrpc/rpc_parse.h: Likewise.
49582         * sunrpc/rpc_prot.c: Likewise.
49583         * sunrpc/rpc_sample.c: Likewise.
49584         * sunrpc/rpc_scan.c: Likewise.
49585         * sunrpc/rpc_scan.h: Likewise.
49586         * sunrpc/rpc_svcout.c: Likewise.
49587         * sunrpc/rpc_tblout.c: Likewise.
49588         * sunrpc/rpc_util.c: Likewise.
49589         * sunrpc/rpc_util.h: Likewise.
49590         * sunrpc/rpcinfo.c: Likewise.
49591         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49592         * sunrpc/rpcsvc/key_prot.x: Likewise.
49593         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49594         * sunrpc/rpcsvc/mount.x: Likewise.
49595         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49596         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49597         * sunrpc/rpcsvc/rex.x: Likewise.
49598         * sunrpc/rpcsvc/rstat.x: Likewise.
49599         * sunrpc/rpcsvc/rusers.x: Likewise.
49600         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49601         * sunrpc/rpcsvc/spray.x: Likewise.
49602         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49603         * sunrpc/rtime.c: Likewise.
49604         * sunrpc/svc.c: Likewise.
49605         * sunrpc/svc_auth.c: Likewise.
49606         * sunrpc/svc_authux.c: Likewise.
49607         * sunrpc/svc_raw.c: Likewise.
49608         * sunrpc/svc_run.c: Likewise.
49609         * sunrpc/svc_simple.c: Likewise.
49610         * sunrpc/svc_tcp.c: Likewise.
49611         * sunrpc/svc_udp.c: Likewise.
49612         * sunrpc/svc_unix.c: Likewise.
49613         * sunrpc/svcauth_des.c: Likewise.
49614         * sunrpc/xcrypt.c: Likewise.
49615         * sunrpc/xdr.c: Likewise.
49616         * sunrpc/xdr_array.c: Likewise.
49617         * sunrpc/xdr_float.c: Likewise.
49618         * sunrpc/xdr_mem.c: Likewise.
49619         * sunrpc/xdr_rec.c: Likewise.
49620         * sunrpc/xdr_ref.c: Likewise.
49621         * sunrpc/xdr_sizeof.c: Likewise.
49622         * sunrpc/xdr_stdio.c: Likewise.
49623
49624         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49625         handling.
49626
49627 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49628
49629         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49630
49631 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49632
49633         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49634         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49635         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49636         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49637         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49638         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49639         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49640         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49641         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49642         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49643         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49644         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49645         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49646         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49647
49648 2010-07-26  Anton Blanchard  <anton@samba.org>
49649
49650         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49651         * malloc/arena.c (heap_trim): Likewise.
49652
49653 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49654
49655         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49656         here.  Not...
49657         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49658         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49659
49660 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49661
49662         * sysdeps/i386/elf/Makefile: New file.
49663
49664 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49665
49666         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49667         from fanotify_init.
49668         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49669         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49670
49671 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49672
49673         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49674         of strncasecmp_l.
49675         * sysdeps/multiarch/strcmp.S: Likewise.
49676
49677 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49678
49679         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49680         strncase_l-nonascii.
49681         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49682         Add strncase_l-ssse3.
49683         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49684         * sysdeps/x86_64/strcmp.S: Likewise.
49685         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49686         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49687         * sysdeps/x86_64/strncase.S: New file.
49688         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49689         * sysdeps/x86_64/strncase_l.S: New file.
49690         * string/Makefile (strop-tests): Add strncasecmp.
49691         * string/test-strncasecmp.c: New file.
49692
49693         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49694         warning.
49695
49696         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49697         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49698
49699 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49700
49701         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49702
49703 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49704
49705         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49706         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49707         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49708
49709 2010-05-01  Alan Modra  <amodra@gmail.com>
49710
49711         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49712         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49713         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49714         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49715         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49716         tidying.  Don't tail-call __sigjmp_save for static lib.
49717         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49718         save location.
49719         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49720         (CALL_MCOUNT): Add eh info, and nop after bl.
49721         (TAIL_CALL_SYSCALL_ERROR): New macro.
49722         (PSEUDO_RET): Use it.
49723         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49724         Correct save location of integer regs and cr.
49725         (_dl_profile_resolve): Correct cr save location.  Delete nops
49726         after bl when SHARED.  Reduce cfi size a little by better
49727         placement of cfi directives.
49728         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49729         make a stack frame.  Instead use parm save area as a temp.
49730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49731         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49733         Don't make a stack frame for parent, use parm save area.
49734         Increase child stack frame to 112 bytes.  Don't save unused reg,
49735         and adjust reg usage.  Set up cfi on error recovery and
49736         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49738         (__makecontext): Add dummy nop after jump to exit.
49739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49740         Use correct parm save area and cr save, reduce stack frame.
49741         Correct cfi for possible PSEUDO_RET frame setup.
49742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49743         Branch to local label emitted by PSEUDO_RET rather than
49744         __syscall_error.
49745
49746 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49747
49748         [BZ #11904]
49749         * locale/programs/locale.c (print_assignment): New function.
49750         (show_locale_vars): Use it.
49751
49752 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49753
49754         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49755         field.
49756         (struct statfs64): Likewise.
49757         (_STATFS_F_FLAGS): Define.
49758         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49759         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49760         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49761         (ST_VALID): Define locally.
49762         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49763         __statvfs_getflags, use the provided value.
49764         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49765         __ASSUME_STATFS_F_FLAGS.
49766
49767         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49768
49769         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49770         Add sys/fanotify.h.
49771         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49772         fanotify_mask for GLIBC_2.13.
49773         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49774         fanotify_init and fanotify_mark.
49775         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49776         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49777
49778         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49779         Add prlimit.
49780         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49781         prlimit64 for GLIBC_2.13.
49782         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49783         prlimit64.
49784         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49785         syscall.
49786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49787         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49788         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49789         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49790         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49791         add prlimit alias.
49792         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49793
49794         [BZ #11903]
49795         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49796         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49797
49798         * nss/Makefile: Add rules to build and run tst-nss-test1.
49799         * shlib-versions: Add entry for libnss_test1.
49800         * nss/nss_test1.c: New file.
49801         * nss/tst-nss-test1.c: New file.
49802
49803         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49804         (__nss_configure_lookup): Set appropriate entry in
49805         __nss_configure_lookup to true.
49806         * nss/nsswitch.h: Define enum with indeces of databases in
49807         databases and __nss_database_custom arrays.  Declare
49808         __nss_database_custom.
49809         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49810         to avoid using nscd when custom rules are installed.
49811         * nss/getXXbyYY_r.c: Likewise.
49812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49813
49814         * nss/nss_files/files-parse.c: Whitespace fixes.
49815
49816 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49817
49818         [BZ #11883]
49819         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49820         * posix/fnmatch_loop.c: Likewise.
49821
49822 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49823
49824         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49825         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49826         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49827         * Versions.def [GLIBC_2.13]: Add.
49828
49829 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49830
49831         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49832         Also fail if tpwd after pwuid call is NULL.
49833
49834 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49835
49836         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49837         when converting to ms.
49838
49839 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49840
49841         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49842         EOPNOTSUPP errors with ENOTTY.
49843         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49844         EOPNOTSUPP errors with ENOTTY.
49845
49846 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49847
49848         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49849         Add strcasecmp_l-ssse3.
49850         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49851         strcasecmp.
49852         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49853         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49854         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49855
49856 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49857
49858         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49859
49860         * string/Makefile (strop-tests): Add strcasecmp.
49861         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49862         strcasecmp_l-nonascii.
49863         (gen-as-const-headers): Add locale-defines.sym.
49864         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49865         * sysdeps/x86_64/strcasecmp.S: New file.
49866         * sysdeps/x86_64/strcasecmp_l.S: New file.
49867         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49868         * sysdeps/x86_64/locale-defines.sym: New file.
49869         * string/test-strcasecmp.c: New file.
49870
49871         * string/test-strcasestr.c: Test both ends of the range of characters.
49872         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49873
49874 2010-07-29  Roland McGrath  <roland@redhat.com>
49875
49876         [BZ #11856]
49877         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49878
49879 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49880
49881         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49882         for ld.so.
49883
49884 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49885
49886         * manual/memory.texi (Malloc Tunable Parameters): Document
49887         M_PERTURB.
49888
49889 2010-07-26  Roland McGrath  <roland@redhat.com>
49890
49891         [BZ #11840]
49892         * configure.in (-fgnu89-inline check): Set and substitute
49893         gnu89_inline, not libc_cv_gnu89_inline.
49894         * configure: Regenerated.
49895         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49896
49897 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49898
49899         * string/test-strnlen.c: New file.
49900         * string/Makefile (strop-tests): Add strnlen.
49901         * string/tester.c (test_strnlen): Add a few more test cases.
49902         * string/tst-strlen.c: Better error reporting.
49903
49904         * sysdeps/x86_64/strnlen.S: New file.
49905
49906 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49907
49908         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49909         lower-latency instructions.
49910
49911 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49912
49913         * string/test-strcasestr.c: New file.
49914         * string/test-strstr.c: New file.
49915         * string/Makefile (strop-tests): Add strstr and strcasestr.
49916         * string/str-two-way.h: Don't undefine MAX.
49917         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49918
49919 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49920
49921         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49922         strcasestr-nonascii.
49923         (CFLAGS-strcasestr-nonascii.c): Define.
49924         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49925         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49926         Remove unused attribute.
49927
49928 2010-07-20  Roland McGrath  <roland@redhat.com>
49929
49930         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49931         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49932         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49933         like LD_HWCAP_MASK can disable hwcaps.
49934
49935 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49936
49937         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49938
49939 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49940
49941         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49942         call in strcasestr.
49943         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49944         __strcasestr_sse42_nonascii.
49945         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49946         strcasestr-nonascii.c.
49947         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49948
49949 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49950
49951         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49952         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49953         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49954         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49955
49956 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49957
49958         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49959         fcntl.
49960
49961 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49962
49963         [BZ #11577]
49964         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49965         dl_signal_cerror.
49966
49967 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49968
49969         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49970         _PC_PIPE_BUF using F_GETPIPE_SZ.
49971
49972 2010-07-05  Roland McGrath  <roland@redhat.com>
49973
49974         * manual/arith.texi (Rounding Functions): Fix rint description
49975         implicit in round description.
49976
49977 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49978
49979         * elf/Makefile: Fix linking for a few tests to make recent linker
49980         happy.
49981
49982 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49983
49984         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49985         $(common-objpfx)libc_nonshared.a.
49986
49987 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49988
49989         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49990         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49991         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49992         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49993         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49994         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49995         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49996         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50011         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50012         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50013         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50014         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50015         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50016         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50017         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50018         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50019         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50020         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50021         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50022         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50037
50038 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50039
50040         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50041         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50042         * string/memmove.c (memmove): Renamed to ...
50043         (MEMMOVE): ...this.  Default to memmove.
50044         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50045         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50046         (END_CHK): Define.
50047         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50048         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50049         mempcpy-ssse3-back memmove-ssse3-back.
50050         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50051         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50052         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50053         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50054         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50055         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50056         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50057         * sysdeps/x86_64/multiarch/memmove.c: New file.
50058         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50059         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50060         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50061         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50062         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50063         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50064         Define.
50065         (index_Fast_Copy_Backward): Define.
50066         (HAS_ARCH_FEATURE): Define.
50067         (HAS_FAST_REP_STRING): Define.
50068         (HAS_FAST_COPY_BACKWARD): Define.
50069
50070 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50071
50072         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50073         Restore proper fallback handling.
50074
50075 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50076
50077         [BZ #11701]
50078         * posix/group_member.c (__group_member): Correct checking loop.
50079
50080         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50081         OOM in getpwuid_r correctly.  Return error number when the caller
50082         should return, otherwise -1.
50083         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50084         call returning > 0 value.
50085         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50086
50087 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50088
50089         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50090         libc_nonshared.a from targets in modules-names.
50091
50092 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50093
50094         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50095         requires it.
50096
50097 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50098
50099         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50100         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50101         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50102         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50103
50104 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50105
50106         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50107
50108 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50109
50110         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50111         and F_GETPIPE_SZ.
50112         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50113         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50114         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50115         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50116         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50117         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50118
50119 2010-06-14  Roland McGrath  <roland@redhat.com>
50120
50121         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50122
50123 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50124
50125         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50126         __REDIRECT followed by __THROW.
50127         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50128         * posix/getopt.h (getopt): Likewise.
50129
50130 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50131
50132         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50133         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50134         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50135         in AT_FLAGS.
50136         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50137         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50138
50139 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50140
50141         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50142
50143 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50144
50145         [BZ #11640]
50146         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50147         Properly check family and model.
50148
50149 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50150
50151         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50152
50153 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50154
50155         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50156
50157 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50158
50159         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50160         symbol reference.
50161
50162 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50163
50164         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50165         symbol reference.
50166
50167 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50168
50169         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50170         and internal_recvmmsg.
50171         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50172         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50173         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50174         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50175
50176         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50177         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50178         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50179
50180 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50181
50182         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50183
50184 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50185
50186         POWER7 optimizations.
50187         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50188         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50189
50190 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50191
50192         * version.h: Update for 2.13 development version.
50193
50194 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50195
50196         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50197         exceptions.  Return 0.
50198
50199 2010-05-07  Roland McGrath  <roland@redhat.com>
50200
50201         * elf/ldconfig.c (main): Add a const.
50202
50203 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50204
50205         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50206         (args_options): Add no-idn option.
50207         (ahosts_keys_int): Add idn_flags to ai_flags.
50208         (parse_option): Handle 'i' option to clear idn_flags.
50209
50210         * malloc/malloc.c (_int_free): Possible race in the most recently
50211         added check.  Only act on the data if no current modification
50212         happened.
50213
50214 See ChangeLog.17 for earlier changes.